.has-public-bottom-nav{padding-bottom:calc(92px + env(safe-area-inset-bottom))}
.public-bottom-nav{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));z-index:70;display:grid;grid-template-columns:repeat(3,1fr);width:min(360px,calc(100% - 24px));padding:6px;border:1px solid rgba(32,32,32,.08);border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 16px 42px rgba(32,32,32,.16);transform:translateX(-50%);backdrop-filter:blur(16px)}
.public-bottom-nav a{display:grid;justify-items:center;align-content:center;gap:3px;min-height:58px;border-radius:18px;color:#8a8782;font-size:12px;font-weight:800;line-height:1;transition:background .18s ease,color .18s ease,transform .18s ease}
.public-bottom-nav a:hover{transform:translateY(-1px);color:var(--ink)}
.public-bottom-nav a.active{background:var(--ink);color:#fff}
.public-bottom-nav svg{width:22px;height:22px;fill:currentColor}
.home-more-menu,.quick-float,.quick-float-link{bottom:calc(84px + env(safe-area-inset-bottom))}
.incentive-float,.preview-top-rocket{bottom:calc(84px + env(safe-area-inset-bottom))}
.preview-top-rocket{position:fixed;right:max(16px,calc(50% - 334px));z-index:68;display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(32,32,32,.1);border-radius:50%;background:rgba(255,255,255,.96);box-shadow:0 10px 26px rgba(32,32,32,.14);opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .18s ease,transform .18s ease,visibility .18s ease;cursor:pointer}.preview-top-rocket.visible{opacity:1;visibility:visible;transform:translateY(0)}.preview-top-rocket img{display:block;width:21px;height:21px;object-fit:contain}
.has-public-bottom-nav .product-load-tip{bottom:calc(104px + env(safe-area-inset-bottom))}
.buyer-page{background:transparent!important}
.buyer-shell{position:relative;z-index:1;width:min(980px,calc(100% - 28px));margin:0 auto;padding:18px 0 26px}
.buyer-topbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.buyer-brand{display:flex;align-items:center;gap:9px;font-size:18px;font-weight:900}
.buyer-brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:var(--ink);color:#fff;overflow:hidden}
.buyer-brand-mark img{width:100%;height:100%;object-fit:cover}
.buyer-login-view{display:grid;align-content:center;gap:16px;min-height:calc(100vh - 148px);min-height:calc(100dvh - 148px);width:min(460px,100%);margin:0 auto}
.buyer-auth-title{display:grid;gap:7px}
.buyer-auth-title h1{font-size:30px}
.buyer-auth-title p{margin:0;color:var(--muted);line-height:1.65}
.buyer-auth-card{display:grid;gap:12px;padding:20px;border-radius:24px}
.buyer-auth-card h2{margin:0;font-size:21px}
.buyer-auth-card .btn{width:100%}
.buyer-auth-switch{display:flex;justify-content:center;gap:8px;align-items:center;color:var(--muted);font-size:13px}
.buyer-auth-switch button{border:0;background:transparent;color:var(--ink);font-weight:900;cursor:pointer}
.buyer-wechat-btn{background:#12b86a!important;border-color:#12b86a!important}
.buyer-app{display:grid;gap:16px}
.buyer-profile-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,280px);gap:16px;align-items:stretch;padding:18px;border:1px solid rgba(32,32,32,.07);border-radius:24px;background:rgba(255,255,255,.94);box-shadow:0 14px 34px rgba(32,32,32,.08)}
.buyer-profile{display:flex;align-items:center;gap:14px;min-width:0}
.buyer-avatar{width:76px;height:76px;flex:0 0 76px;border-radius:24px;object-fit:cover;background:#f0efeb;border:1px solid rgba(32,32,32,.08)}
.buyer-profile-copy{display:grid;gap:5px;min-width:0}
.buyer-profile-copy strong{font-size:22px;overflow:hidden;text-overflow:ellipsis}
.buyer-profile-copy span{color:var(--muted);font-size:13px}
.buyer-wallet{display:grid;align-content:center;justify-items:end;gap:7px;padding:14px 16px;border-radius:20px;background:#f4f8f5}
.buyer-wallet small{color:var(--muted);font-weight:800}
.buyer-wallet strong{font-size:27px;line-height:1.1}
.buyer-wallet .btn{min-height:36px;border-radius:999px;padding-inline:14px}
.buyer-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.buyer-shortcut{display:grid;justify-items:center;gap:7px;min-height:92px;padding:14px 8px;border:1px solid var(--line);border-radius:20px;background:#fff;color:var(--ink);cursor:pointer;box-shadow:0 8px 22px rgba(32,32,32,.05)}
.buyer-shortcut:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(32,32,32,.09)}
.buyer-shortcut svg{width:25px;height:25px;color:var(--accent);fill:currentColor}
.buyer-shortcut strong{font-size:14px}
.buyer-shortcut span{color:var(--muted);font-size:12px}
.buyer-orders{display:grid;gap:12px;padding:18px;border-radius:24px;background:#fff;border:1px solid var(--line)}
.buyer-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.buyer-section-head h2{margin:0;font-size:20px}
.buyer-section-head .btn{min-height:34px;border-radius:999px;padding-inline:12px}
.buyer-order-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.buyer-order-tab{display:grid;justify-items:center;gap:6px;padding:12px 8px;border:1px solid var(--line);border-radius:17px;background:#fff;color:var(--muted);cursor:pointer}
.buyer-order-tab.active{border-color:var(--ink);background:var(--ink);color:#fff}
.buyer-order-tab strong{font-size:21px;line-height:1}
.buyer-order-tab span{font-size:12px}
.buyer-content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.buyer-list-section{display:grid;gap:12px;min-width:0;padding:18px;border:1px solid var(--line);border-radius:24px;background:rgba(255,255,255,.95)}
.buyer-list-section.wide{grid-column:1 / -1}
.buyer-list{display:grid;gap:9px}
.buyer-list-item{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:10px;align-items:center;min-width:0;padding:10px;border:1px solid rgba(32,32,32,.07);border-radius:17px;background:#fff}
.buyer-list-item img{width:54px;height:54px;object-fit:cover;border-radius:14px;background:#f4f3f0}
.buyer-list-main{display:grid;gap:4px;min-width:0}
.buyer-list-main strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.buyer-list-main span{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.buyer-list-actions{display:flex;gap:6px;align-items:center}
.buyer-list-actions button{width:34px;height:34px;padding:0;border:1px solid var(--line);border-radius:11px;background:#fff;color:var(--ink);cursor:pointer}
.buyer-list-actions svg{width:17px;height:17px;fill:currentColor}
.buyer-empty{padding:18px 8px;text-align:center;color:var(--muted);font-size:13px}
.buyer-follow-list{display:grid;gap:9px}
.buyer-follow-item{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;border:1px solid rgba(32,32,32,.07);border-radius:17px}
.buyer-follow-item strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.buyer-follow-item span{color:var(--muted);font-size:12px}
.buyer-modal-card{width:min(460px,calc(100% - 24px))}
.buyer-pay-choice-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.buyer-pay-choice{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--muted);cursor:pointer}
.buyer-pay-choice.active{border-color:var(--ink);background:var(--ink);color:#fff}
.buyer-pay-choice svg{width:19px;height:19px;fill:currentColor}
.pay-choice.balance{border-color:#e3a127;background:#fffaf0;color:#9a6510}
.pay-choice.balance.active{border-color:#e3a127;background:#e3a127;color:#fff}
@media (max-width:760px){
  .buyer-shell{width:min(560px,calc(100% - 20px));padding-top:10px}
  .buyer-topbar{margin-bottom:8px}
  .buyer-login-view{min-height:calc(100vh - 132px);min-height:calc(100dvh - 132px)}
  .buyer-profile-section{grid-template-columns:1fr;padding:14px}
  .buyer-wallet{justify-items:start;grid-template-columns:1fr auto;align-items:center}
  .buyer-wallet small{grid-column:1 / -1}
  .buyer-wallet strong{grid-column:1}
  .buyer-wallet .btn{grid-column:2;grid-row:2}
  .buyer-shortcuts{gap:7px}
  .buyer-shortcut{min-height:82px;padding:11px 4px;border-radius:16px}
  .buyer-shortcut svg{width:22px;height:22px}
  .buyer-shortcut strong{font-size:12px}
  .buyer-shortcut span{font-size:11px}
  .buyer-content-grid{grid-template-columns:1fr}
  .buyer-list-section.wide{grid-column:auto}
  .buyer-list-section{padding:14px}
  .buyer-order-tab strong{font-size:19px}
  .buyer-list-item{grid-template-columns:46px minmax(0,1fr) auto;padding:8px}
  .buyer-list-item img{width:46px;height:46px}
}

/* product preview interaction refinement - 20260808 */
.front-app-frame.product-detail-page,
.front-app-frame.product-detail-page>.front-app-content{background:transparent!important}
.front-app-frame.product-detail-page>.front-app-content>.fixed-bg-pattern{
  position:fixed!important;
  left:50%;
  top:0;
  width:min(var(--front-device-width,100vw),100vw);
  height:100vh;
  height:100dvh;
  min-height:100dvh;
  z-index:0;
  transform:translateX(-50%);
  background:
    radial-gradient(circle at 12% 18%,rgba(255,255,255,.72) 0 72px,transparent 73px),
    radial-gradient(circle at 92% 76%,rgba(221,239,231,.6) 0 118px,transparent 119px),
    linear-gradient(145deg,#f6f8f4 0%,#edf3ef 52%,#f8f7f3 100%);
  background-attachment:fixed;
}
.front-app-frame.product-detail-page>.front-app-content>.front-page-layer>.product-detail-shell{z-index:1}
.front-app-frame.product-detail-page .product-detail-topbar{
  height:53px;
  min-height:53px;
  padding:4px 6px;
  margin-bottom:10px;
  box-shadow:0 8px 20px rgba(37,52,45,.06);
}
.front-app-frame.product-detail-page .product-top-icon{width:43px;height:43px}
.front-app-frame.product-detail-page .product-top-icon svg{width:19px;height:19px}
.front-app-frame.product-detail-page .product-bottom-bar{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:2px;
  width:min(calc(var(--front-device-width,100vw) - 20px),calc(100% - 20px));
  height:53px;
  min-height:53px;
  padding:4px;
  border-radius:999px;
  background:rgba(255,255,255,.94);
  box-shadow:0 14px 34px rgba(37,52,45,.16);
}
.front-app-frame.product-detail-page .product-bottom-bar button{
  min-height:43px!important;
  height:43px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  transition:filter .18s ease,transform .18s ease,background .18s ease,color .18s ease;
}
.front-app-frame.product-detail-page .product-bottom-bar button:active{transform:scale(.97)}
.front-app-frame.product-detail-page .product-bottom-redeem{border:0;background:#f1f3f0;color:#313833}
.front-app-frame.product-detail-page .product-bottom-primary{background:#ffad4b;color:#fff}
.front-app-frame.product-detail-page .product-bottom-buy{background:#f33565;color:#fff}
.front-app-frame.product-detail-page .product-bottom-primary.is-added{background:#e8f7ed;color:#218456}
.front-app-frame.product-detail-page .product-bottom-bar button+button{box-shadow:inset 1px 0 rgba(32,32,32,.09)}
.front-app-frame.product-detail-page .product-image-track{isolation:isolate}
.front-app-frame.product-detail-page .product-main-image-prev,
.front-app-frame.product-detail-page .product-main-image-next{visibility:visible!important}
.front-app-frame.product-detail-page .product-main-image-prev{transform:translate3d(-100%,0,0)}
.front-app-frame.product-detail-page .product-main-image{transform:translate3d(0,0,0)}
.front-app-frame.product-detail-page .product-main-image-next{transform:translate3d(100%,0,0)}
.front-app-frame.product-detail-page .product-image-track.is-dragging .product-main-image,
.front-app-frame.product-detail-page .product-image-track.is-dragging .product-main-image-prev,
.front-app-frame.product-detail-page .product-image-track.is-dragging .product-main-image-next{transition:none!important}
.front-app-frame.product-detail-page .product-image-zoom{width:36px;height:36px}
.front-app-frame.product-detail-page .product-image-zoom svg{width:19px;height:19px}
.front-app-frame.product-detail-page .product-heat{gap:5px}
.front-app-frame.product-detail-page .product-heat i{font-style:normal;color:#b3b8b2}
.front-app-frame.product-detail-page .product-id-label{color:#747b75;font-size:.94em;font-weight:900}
.front-app-frame.product-detail-page .shop-follow-btn{transition:background .18s ease,color .18s ease,transform .18s ease,opacity .18s ease}
.front-app-frame.product-detail-page .shop-follow-btn:disabled{cursor:wait;opacity:.68}
.front-app-frame.product-detail-page .shop-follow-btn.is-following-bounce{animation:shopFollowBounce .34s ease}
@keyframes shopFollowBounce{0%{transform:scale(1)}45%{transform:scale(1.08)}100%{transform:scale(1)}}
.front-app-frame.product-detail-page .product-image-modal{background:rgba(10,13,13,.94)!important}
.front-app-frame.product-detail-page .image-viewer-stage{padding:8px 0 56px}
.front-app-frame.product-detail-page .image-viewer-stage img{max-width:100%;max-height:100%;border-radius:4px;filter:drop-shadow(0 20px 32px rgba(0,0,0,.18))}
.front-app-frame.product-detail-page .image-viewer-controls{
  position:absolute;
  left:50%;
  bottom:22px;
  z-index:3;
  display:flex;
  align-items:center;
  min-height:38px;
  padding:3px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(255,255,255,.13);
  transform:translateX(-50%);
  backdrop-filter:blur(14px);
}
.front-app-frame.product-detail-page .image-viewer-controls button{
  min-width:48px;
  height:32px;
  padding:0 10px;
  border:0;
  border-radius:999px;
  background:transparent;
  color:#fff;
  font-size:15px;
  font-weight:800;
  cursor:pointer;
}
.front-app-frame.product-detail-page .image-viewer-controls button+button{border-left:1px solid rgba(255,255,255,.18);border-radius:0 999px 999px 0}
.front-app-frame.product-detail-page .image-viewer-controls button:hover{background:rgba(255,255,255,.14)}
@media (max-width:760px){
  .front-app-frame.product-detail-page .product-detail-topbar{height:53px;min-height:53px}
  .front-app-frame.product-detail-page .product-bottom-bar{width:calc(100% - 20px);bottom:calc(12px + env(safe-area-inset-bottom))}
  .front-app-frame.product-detail-page .product-bottom-bar button{font-size:11px}
}

/* refined storefront detail: shared pill geometry and quiet gallery */
.front-app-frame .product-detail-shell{
  width:calc(100% - 20px);
  padding-top:10px;
  padding-bottom:calc(112px + env(safe-area-inset-bottom));
}
.front-app-frame .product-detail-topbar{
  top:10px;
  width:100%;
  height:56px;
  min-height:56px;
  margin:0 0 12px;
  padding:5px 7px;
  border-radius:999px;
  border-color:rgba(32,32,32,.07);
  background:rgba(255,255,255,.96);
  box-shadow:none;
}
.front-app-frame .product-top-icon{width:44px;height:44px}
.front-app-frame .product-top-icon svg{width:20px;height:20px}
.front-app-frame .product-hero-image{
  border-radius:18px;
  box-shadow:none;
}
.front-app-frame .product-image-track{
  position:absolute;
  inset:0;
  display:block;
  overflow:hidden;
  touch-action:pan-y;
}
.front-app-frame .product-main-image{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transform:translate3d(0,0,0);
  transition:transform .34s cubic-bezier(.22,.8,.24,1);
  backface-visibility:hidden;
  will-change:transform;
}
.front-app-frame .product-main-image-next{
  visibility:hidden;
  transform:translate3d(100%,0,0);
}
.front-app-frame .product-main-image-next.is-ready{visibility:visible}
.front-app-frame .product-image-track.slide-next .product-main-image{transform:translate3d(-100%,0,0)}
.front-app-frame .product-image-track.slide-next .product-main-image-next{transform:translate3d(0,0,0)}
.front-app-frame .product-image-track.slide-prev .product-main-image{transform:translate3d(100%,0,0)}
.front-app-frame .product-image-track.slide-prev .product-main-image-next{transform:translate3d(0,0,0)}
.front-app-frame .product-main-image.is-dragging{transition:none}
.front-app-frame .product-price,
.front-app-frame .product-title-row h1{
  font-size:18px;
  line-height:1.38;
}
.front-app-frame .product-price{font-weight:900}
.front-app-frame .product-bottom-bar,
.front-app-frame .public-bottom-nav{
  width:min(calc(var(--front-device-width) - 20px),calc(100% - 20px));
  height:56px;
  min-height:56px;
  padding:5px;
  border-radius:999px;
}
.front-app-frame .product-bottom-bar{gap:5px}
.front-app-frame .product-bottom-bar button{
  min-height:44px!important;
  border-radius:999px;
  font-size:12px;
}
.front-app-frame .product-bottom-icon{font-size:10px}
.front-app-frame .product-bottom-icon svg{width:18px;height:18px}
.front-app-frame .public-bottom-nav a{
  min-height:44px;
  border-radius:999px;
  gap:3px;
  font-size:12px;
}
.front-app-frame .public-bottom-nav svg{width:18px;height:18px}
.front-app-frame .product-poster-modal{
  align-items:center!important;
  padding:56px 12px calc(18px + env(safe-area-inset-bottom))!important;
  background:rgba(12,14,14,.86)!important;
}
.front-app-frame .product-poster-sheet{
  position:relative;
  display:grid;
  justify-items:center;
  gap:10px;
  width:min(390px,100%);
  max-height:calc(100dvh - 74px);
  background:transparent;
}
.front-app-frame .product-poster-sheet .poster-canvas{
  display:block;
  width:100%;
  height:auto;
  border-radius:18px;
  background:#fff;
  box-shadow:0 16px 38px rgba(0,0,0,.22);
}
.front-app-frame .product-poster-close{
  position:absolute;
  top:-46px;
  right:0;
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.16);
  color:#fff;
  font-size:25px;
  line-height:1;
  cursor:pointer;
}
.front-app-frame .product-poster-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  width:100%;
  padding:0;
}
.front-app-frame .product-poster-actions .btn{
  min-height:44px;
  border-radius:999px;
}
@media (max-width:380px){
  .public-bottom-nav a{min-height:54px;font-size:11px}
  .buyer-shortcut span{display:none}
  .buyer-shortcut{min-height:66px}
}
.product-detail-page{background:transparent!important}
.product-detail-shell{position:relative;z-index:1;width:min(760px,calc(100% - 24px));margin:0 auto;padding:12px 0 calc(128px + env(safe-area-inset-bottom))}
.product-detail-topbar{position:sticky;top:0;z-index:50;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 -4px 10px;padding:8px 4px;background:linear-gradient(to bottom,rgba(255,255,255,.96),rgba(255,255,255,.78));backdrop-filter:blur(14px)}
.product-top-actions{display:flex;align-items:center;gap:8px}
.icon-round-btn{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(32,32,32,.08);border-radius:999px;background:rgba(255,255,255,.94);color:var(--ink);box-shadow:0 10px 24px rgba(32,32,32,.08);cursor:pointer}
.icon-round-btn svg{width:21px;height:21px;fill:currentColor}
.product-gallery{display:grid;gap:10px}
.product-hero-image{position:relative;overflow:hidden;border-radius:22px;background:#f6f4f0;border:1px solid rgba(32,32,32,.06)}
.product-hero-image img{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover}
.product-thumb-strip{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
.product-thumb-strip button{flex:0 0 58px;width:58px;height:58px;border:2px solid transparent;border-radius:14px;padding:0;overflow:hidden;background:#fff;cursor:pointer}
.product-thumb-strip button.active{border-color:var(--ink)}
.product-thumb-strip img{width:100%;height:100%;object-fit:cover}
.product-summary{display:grid;gap:10px;margin-top:12px;padding:16px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.95);box-shadow:0 10px 28px rgba(32,32,32,.06)}
.product-price-line{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}
.product-price{color:#e5484d;font-size:28px;font-weight:900;line-height:1}
.product-heat{display:inline-flex;align-items:center;gap:4px;color:var(--muted);font-size:13px;font-weight:800}
.product-heat svg{width:15px;height:15px;fill:currentColor}
.product-tags{display:flex;flex-wrap:wrap;gap:7px}
.product-tag{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#f4f7f5;color:#476255;font-size:12px;font-weight:900}
.product-title-row{display:flex;align-items:center;gap:8px;min-width:0}
.product-category-chip{display:inline-flex;align-items:center;min-height:24px;padding:0 8px;border-radius:7px;background:var(--ink);color:#fff;font-size:12px;font-weight:900;flex:0 0 auto}
.product-title-row h1{font-size:22px;line-height:1.28}
.product-desc{margin:0;color:var(--muted);line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}
.detail-section{display:grid;gap:12px;margin-top:14px;padding:16px;border:1px solid var(--line);border-radius:22px;background:rgba(255,255,255,.95)}
.detail-section-head{display:flex;align-items:center;justify-content:space-between;gap:10px}
.detail-section-head h2{margin:0;font-size:19px}
.comment-list{display:grid;gap:10px}
.comment-item{display:grid;grid-template-columns:42px minmax(0,1fr);gap:9px;padding:10px;border:1px solid rgba(32,32,32,.06);border-radius:16px;background:#fff}
.comment-item img{width:42px;height:42px;border-radius:14px;object-fit:cover;background:#f2f1ed}
.comment-body{display:grid;gap:4px;min-width:0}
.comment-body strong{font-size:14px}
.comment-body p{margin:0;color:#42413d;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}
.comment-body span{color:var(--muted);font-size:12px}
.comment-form{display:grid;gap:8px}
.comment-form textarea{min-height:76px}
.shop-card{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border:1px solid rgba(32,32,32,.06);border-radius:18px;background:#fff}
.shop-card-main{display:grid;gap:5px;min-width:0}
.shop-card-main strong{font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-card-main span{color:var(--muted);font-size:13px}
.guess-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.guess-card{min-width:0;overflow:hidden;border:1px solid rgba(32,32,32,.06);border-radius:18px;background:#fff;cursor:pointer}
.guess-card img{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#f6f4f0}
.guess-card div{display:grid;gap:4px;padding:9px}
.guess-card strong{font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.guess-card span{color:#e5484d;font-size:13px;font-weight:900}
.product-bottom-bar{position:fixed;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));z-index:80;display:grid;grid-template-columns:54px 54px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:7px;width:min(620px,calc(100% - 22px));padding:7px;border:1px solid rgba(32,32,32,.08);border-radius:24px;background:rgba(255,255,255,.96);box-shadow:0 16px 44px rgba(32,32,32,.18);transform:translateX(-50%);backdrop-filter:blur(16px)}
.product-bottom-bar button{min-width:0;border-radius:17px}
.product-bottom-icon{display:grid;place-items:center;gap:2px;border:0;background:#f5f5f4;color:var(--ink);font-size:11px;font-weight:900;cursor:pointer}
.product-bottom-icon svg{width:20px;height:20px;fill:currentColor}
.product-bottom-primary{border:0;background:var(--ink);color:#fff;font-weight:900;cursor:pointer;transition:background .2s ease,color .2s ease}
.product-bottom-primary.is-added{background:#edf8f1;color:#218456}
.product-bottom-buy{border:0;background:#e5484d;color:#fff;font-weight:900;cursor:pointer}
.product-bottom-bar .hidden{display:none!important}
@media (max-width:520px){
  .product-detail-shell{width:min(460px,calc(100% - 18px));padding-top:6px}
  .product-title-row{align-items:flex-start}
  .product-title-row h1{font-size:20px}
  .product-bottom-bar{grid-template-columns:48px 48px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);width:min(620px,calc(100% - 14px))}
  .product-bottom-bar button{min-height:50px}
  .product-bottom-primary,.product-bottom-buy{font-size:13px}
}

/* public shop */
.public-shop-page{background:#f6f7f5!important}
.public-shop-shell{width:min(760px,calc(100% - 24px));margin:0 auto;padding:10px 0 34px}
.public-shop-topbar{position:sticky;top:10px;z-index:50;display:grid;grid-template-columns:40px minmax(0,1fr) 40px;align-items:center;min-height:54px;padding:6px 8px;border:1px solid rgba(32,32,32,.1);border-radius:999px;background:rgba(255,255,255,.94);box-shadow:0 10px 28px rgba(32,32,32,.1);backdrop-filter:blur(16px)}
.public-shop-topbar strong{overflow:hidden;font-size:15px;font-weight:900;text-align:center;text-overflow:ellipsis;white-space:nowrap}
.public-shop-topbar button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:50%;background:transparent;color:#202020;cursor:pointer}
.public-shop-topbar button:hover{background:#f1f2ef}
.public-shop-topbar svg{width:21px;height:21px;fill:currentColor}
.public-shop-profile{margin-top:12px;padding:22px 18px;background:#fff}
.public-shop-main{display:flex;align-items:center;gap:13px;min-width:0}
.public-shop-main>img{width:68px;height:68px;flex:0 0 68px;border-radius:50%;object-fit:cover;background:#f0f1ef}
.public-shop-main>div{min-width:0;flex:1 1 auto}
.public-shop-main h1{margin:0;font-size:24px;font-weight:900;line-height:1.25;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.public-shop-main p{margin:7px 0 0;color:#878b87;font-size:13px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.public-shop-main>button{min-width:74px;height:40px;padding:0 14px;border:1px solid #f33565;border-radius:8px;background:#f33565;color:#fff;font-weight:900;cursor:pointer}
.public-shop-main>button.followed{background:#fff2f5;color:#f33565}
.public-shop-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:20px;padding-top:17px;border-top:1px solid #eef0ed}
.public-shop-stats div{display:grid;gap:5px;text-align:center}
.public-shop-stats strong{font-size:20px;font-weight:900}
.public-shop-stats span{color:#909590;font-size:12px}
.public-shop-products{margin-top:10px;padding:18px 14px 24px;background:#fff}
.public-shop-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.public-shop-section-head h2{margin:0;font-size:20px;font-weight:900}
.shop-search-box{display:grid;grid-template-columns:minmax(0,1fr) 38px;width:min(260px,62%);height:40px;border:1px solid #e2e5e1;border-radius:999px;background:#f7f8f6;overflow:hidden}
.shop-search-box input{min-width:0;padding:0 2px 0 14px;border:0;background:transparent;outline:none;font-size:13px}
.shop-search-box button{display:grid;place-items:center;padding:0;border:0;background:transparent;color:#666b66;cursor:pointer}
.shop-search-box svg{width:19px;height:19px;fill:currentColor}
.public-shop-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.public-shop-grid>article{min-width:0;overflow:hidden;border:1px solid #e9ece8;border-radius:8px;background:#fff;cursor:pointer}
.public-shop-grid>article>img{display:block;width:100%;aspect-ratio:1 / 1;object-fit:cover;background:#f4f5f2}
.public-shop-grid>article>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:10px}
.public-shop-grid strong{grid-column:1/-1;overflow:hidden;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
.public-shop-grid span{color:#ef3f5e;font-size:15px;font-weight:900}
.public-shop-grid small{align-self:end;color:#969b96;font-size:11px;text-align:right}
.public-shop-grid>.buyer-empty{grid-column:1/-1}
.public-shop-sort-row{width:100%;margin:0 0 14px;padding:3px;justify-content:stretch;gap:3px;background:#f4f4f4;border-radius:999px}
.public-shop-sort-row .pill{flex:1 1 0;min-height:34px;padding-inline:12px;border-color:transparent;background:transparent;color:#77736b;font-size:13px}
.public-shop-sort-row .pill.active{background:#202020;border-color:#202020;color:#fff}
.public-shop-action-icon{display:block;width:20px;height:20px;object-fit:contain;pointer-events:none}
.public-shop-page #shopShareBtn svg,.public-shop-page #shopSearchBtn svg{display:none}
.public-shop-page #shopShareBtn::before,.public-shop-page #shopSearchBtn::before{display:block;width:20px;height:20px;background-position:center;background-repeat:no-repeat;background-size:contain;content:""}
.public-shop-page #shopShareBtn::before{background-image:url("/assets/product-icons/share.svg?v=2026081022")}
.public-shop-page #shopSearchBtn::before{background-image:url("/assets/product-icons/search.svg?v=2026081022")}
body.front-frame-page>.front-app-frame.public-shop-page .public-shop-main>button,
.public-shop-page .public-shop-main>button{min-width:51px;height:32px;padding-inline:10px;border:1px solid #f4b1bf;border-radius:999px;background:#fff;color:#dd4865;font-size:11px;font-weight:700;cursor:pointer;transition:transform .18s ease,filter .18s ease,background .18s ease,color .18s ease,border-color .18s ease}
body.front-frame-page>.front-app-frame.public-shop-page .public-shop-main>button.followed,
.public-shop-page .public-shop-main>button.followed{border-color:#fce0e5;background:#fff2f5;color:#d84a65}
body.front-frame-page>.front-app-frame.public-shop-page .public-shop-main>button:active,
.public-shop-page .public-shop-main>button:active{transform:scale(.95)}
@media (max-width:520px){
  .public-shop-shell{width:calc(100% - 16px);padding-top:6px}
  .public-shop-topbar{top:6px}
  .public-shop-profile{padding:18px 13px}
  .public-shop-main>img{width:58px;height:58px;flex-basis:58px}
  .public-shop-main h1{font-size:20px}
  .public-shop-main>button{min-width:62px;padding-inline:10px}
  .public-shop-products{padding-inline:10px}
  .public-shop-section-head{align-items:flex-start;flex-direction:column}
  .shop-search-box{width:100%}
  .public-shop-sort-row{margin-top:-2px;margin-bottom:12px}
  .public-shop-sort-row .pill{min-height:30px;padding-inline:8px;font-size:11px}
}

/* product detail refresh */
.product-detail-page{background:#f6f7f5!important}
.product-detail-shell{width:min(760px,calc(100% - 24px));padding:10px 0 calc(116px + env(safe-area-inset-bottom))}
.product-detail-topbar{position:sticky;top:10px;z-index:50;width:100%;min-height:54px;margin:0 0 12px;padding:6px 8px;border:1px solid rgba(32,32,32,.1);border-radius:999px;background:rgba(255,255,255,.92);box-shadow:0 10px 28px rgba(32,32,32,.1);backdrop-filter:blur(16px)}
.product-detail-topbar>strong{font-size:15px;font-weight:900}
.product-top-actions{display:flex;align-items:center;gap:4px}
.product-top-icon{display:grid;place-items:center;width:40px;height:40px;padding:0;border:0;border-radius:999px;background:transparent;color:var(--ink);cursor:pointer}
.product-top-icon:hover{background:#f1f2ef}
.product-top-icon svg{width:21px;height:21px;fill:currentColor}
.product-cart-action{position:relative}
.product-cart-badge{position:absolute;top:2px;right:1px;display:grid;place-items:center;min-width:16px;height:16px;padding:0 4px;border:2px solid #fff;border-radius:999px;background:#f33565;color:#fff;font:800 9px/1 sans-serif}
.product-gallery{gap:0}
.product-hero-image{position:relative;display:block;width:100%;aspect-ratio:1 / 1;border-radius:8px;background:#fff;overflow:hidden;box-shadow:0 8px 22px rgba(32,32,32,.07)}
.product-hero-trigger{display:block;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;touch-action:pan-y}
.product-hero-trigger img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease,opacity .22s ease;will-change:transform,opacity}
.product-image-zoom{position:absolute;right:12px;bottom:12px;z-index:3;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.9);color:#252525;box-shadow:0 5px 16px rgba(0,0,0,.16);cursor:pointer}
.product-image-zoom svg{width:18px;height:18px;fill:currentColor}
.product-thumb-strip{padding:8px 0}
.product-thumb-strip button{width:56px;height:56px;flex-basis:56px;border-radius:8px;background:#fff}
.product-thumb-strip button.active{border-color:#f33565}
.product-summary{gap:12px;margin-top:0;padding:18px 16px;border:0;border-radius:8px;background:#fff;box-shadow:none}
.product-price-line{align-items:center}
.product-price{color:#ef3f5e;font-size:28px}
.product-heat{color:#898b87}
.product-tags{gap:6px}
.product-tag{min-height:25px;padding:0 9px;border-radius:5px;background:#fff3e9;color:#a66421;font-size:12px}
.product-title-row{align-items:flex-start;gap:8px}
.product-category-chip{min-height:24px;border-radius:4px;background:#f33565;font-size:11px;line-height:24px}
.product-title-row h1{margin:0;min-width:0;font-size:22px;font-weight:900;line-height:1.4;overflow-wrap:anywhere}
.product-desc{margin-top:2px;color:#6e716d}
.detail-section{gap:13px;margin-top:10px;padding:17px 16px;border:0;border-radius:8px;background:#fff;box-shadow:none}
.detail-section-head{align-items:center}
.detail-section-head h2{font-size:20px;font-weight:900}
.review-heading{display:flex;align-items:center;gap:10px}
.review-heading h2{margin:0;line-height:1.2}
.review-heading>span{color:#b06d20;font-size:17px;font-weight:900;line-height:1.2}
.detail-link-btn{display:inline-flex;align-items:center;gap:3px;padding:0;border:0;background:transparent;color:#8b98a8;font-size:15px;cursor:pointer}
.detail-link-btn span{font-size:24px;line-height:14px}
.review-tag-row{display:flex;gap:8px;overflow-x:auto;padding-bottom:2px}
.review-tag-row:empty{display:none}
.review-tag-row span,.comment-item-tags i{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:8px;background:#fff6e9;color:#a66421;font-size:13px;font-style:normal;white-space:nowrap}
.comment-preview-list{gap:14px}
.comment-item{grid-template-columns:40px minmax(0,1fr);gap:10px;padding:0;border:0;border-radius:0;background:transparent}
.comment-item img{width:40px;height:40px;border-radius:50%;background:#f2f1ed}
.comment-body{gap:5px}
.comment-name-line{display:flex;align-items:center;gap:8px;min-width:0}
.comment-name-line strong{font-size:15px;font-weight:900}
.comment-rating-label{display:inline-flex;align-items:center;min-height:20px;padding:0 6px;border-radius:4px;background:#fff0f3;color:#ef4667;font-size:10px;font-weight:800;white-space:nowrap}
.comment-stars{color:#f4a523;font-size:13px;letter-spacing:0}
.comment-purchase{color:#8c98a7;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.comment-body p{color:#21262f;font-size:15px;line-height:1.65}
.comment-body time{color:#9ca3ad;font-size:12px}
.comment-item-tags{display:flex;gap:6px;flex-wrap:wrap}
.comment-item-tags i{min-height:22px;padding:0 7px;border-radius:4px;font-size:11px}
.shop-section{margin-top:10px;padding:18px 16px;background:#fff}
.shop-profile-row{display:flex;align-items:center;gap:12px;min-width:0}
.shop-profile-row>img{width:58px;height:58px;flex:0 0 58px;border-radius:50%;object-fit:cover;background:#f1f1ef}
.shop-profile-copy{display:grid;gap:6px;min-width:0;flex:1 1 auto}
.shop-profile-copy strong{font-size:18px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-profile-copy span{color:#8b8f8d;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.shop-profile-actions{display:flex;gap:8px;flex:0 0 auto}
.shop-follow-btn,.shop-enter-btn{min-width:70px;height:38px;padding:0 14px;border-radius:8px;font-weight:900;cursor:pointer}
.shop-follow-btn{border:1px solid #f33565;background:#fff;color:#f33565}
.shop-follow-btn.followed{background:#fff2f5}
.shop-enter-btn{border:1px solid #f33565;background:#f33565;color:#fff}
.shop-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px;padding-top:15px;border-top:1px solid #f0f1ef}
.shop-stats div{display:grid;gap:4px;text-align:center}
.shop-stats strong{font-size:18px;font-weight:900}
.shop-stats span{color:#919691;font-size:12px}
.guess-grid{gap:9px}
.guess-card{border:1px solid #eceeea;border-radius:8px;box-shadow:none}
.guess-card img{background:#f5f6f3}
.guess-card div{padding:9px 10px}
.guess-card strong{font-weight:900}
.product-bottom-bar{bottom:calc(14px + env(safe-area-inset-bottom));width:min(620px,calc(100% - 20px));padding:6px;border-radius:999px;background:rgba(255,255,255,.95);box-shadow:0 14px 38px rgba(32,32,32,.18)}
.product-bottom-bar button{border-radius:999px}
.product-bottom-icon{background:#f3f4f1}
.product-bottom-icon.is-favorite{background:#fff0f4;color:#f33565}
.product-bottom-primary{background:#ff9f28}
.product-bottom-buy{background:#f33565}
.product-comment-modal{z-index:4300}
.product-comment-sheet{max-height:min(82vh,760px)!important;background:#fff}
.product-sheet-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 17px;border-bottom:1px solid #eef0ed}
.product-sheet-head strong{font-size:18px;font-weight:900}
.product-sheet-head button{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:#f2f3f1;color:#676b67;font-size:24px;line-height:1;cursor:pointer}
.comment-sheet-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:13px 17px 0;padding:12px 13px;border-radius:8px;background:#f7f8f9}
.comment-sheet-summary>div{display:flex;align-items:center;gap:9px}.comment-sheet-summary>div>strong{color:#23272d;font-size:27px;line-height:1}.comment-summary-stars{color:#f2a137;font-size:13px;letter-spacing:0}
.comment-sheet-summary p{display:grid;gap:4px;margin:0;color:#8d939c;font-size:11px;text-align:right}.comment-sheet-summary p b{color:#3b4047;font-size:13px}.comment-sheet-summary p span{white-space:nowrap}
.product-comment-sheet>.review-tag-row{padding:12px 17px 0}
.product-comment-sheet>.sheet-review-tags button{display:inline-flex;align-items:center;min-height:29px;padding:0 11px;border:1px solid #e8eaed;border-radius:999px;background:#fff;color:#737b84;font-size:11px;font-weight:650;white-space:nowrap;cursor:pointer}
.product-comment-sheet>.sheet-review-tags button.active{border-color:#f2a3b2;background:#fff1f4;color:#df4967}
.sheet-comment-list{padding:14px 17px;overflow:auto}
.comment-form{display:grid;gap:10px;padding:12px 17px 17px;border-top:1px solid #eef0ed;background:#fff}
.comment-rating-row{display:flex;align-items:center;gap:10px;color:#6c706c;font-size:13px}
.comment-rating-row>div{display:flex;gap:2px}
.comment-rating-row button{padding:0;border:0;background:transparent;color:#d8dcd8;font-size:24px;cursor:pointer}
.comment-rating-row button.active{color:#f4a523}
.comment-tag-picker{display:flex;gap:7px;overflow:auto}
.comment-tag-picker button{min-height:30px;padding:0 10px;border:1px solid #e7e9e6;border-radius:6px;background:#fff;color:#8c918c;font-size:12px;white-space:nowrap;cursor:pointer}
.comment-tag-picker button.active{border-color:#f3bd75;background:#fff6e9;color:#a66421}
.comment-permission-tip{padding:18px;color:#9a9e99;font-size:13px;text-align:center}
.product-image-modal{z-index:5200;align-items:center!important;padding:0!important;background:rgba(12,14,14,.9)!important;touch-action:none}
.product-image-viewer{position:relative;display:grid;place-items:center;width:100%;height:100%;padding:48px 58px}
.image-viewer-stage{display:grid;place-items:center;width:100%;height:100%;overflow:hidden;touch-action:none}
.image-viewer-stage img{display:block;max-width:100%;max-height:100%;object-fit:contain;transform-origin:center;transition:transform .16s ease;user-select:none;-webkit-user-drag:none}
.image-viewer-close,.image-viewer-arrow{position:absolute;z-index:2;display:grid;place-items:center;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;cursor:pointer}
.image-viewer-close{top:18px;right:18px;width:40px;height:40px;font-size:28px}
.image-viewer-arrow{top:50%;width:42px;height:42px;margin-top:-21px;font-size:35px;line-height:1}
.image-viewer-arrow.prev{left:14px}.image-viewer-arrow.next{right:14px}
.product-poster-card{width:min(500px,calc(100% - 24px));max-height:min(92vh,900px)!important}
.product-poster-body{padding:14px 16px;overflow:auto;background:#f4f5f2}
.product-poster-body canvas{display:block;width:min(100%,390px);height:auto;margin:0 auto;border-radius:8px;box-shadow:0 12px 30px rgba(32,32,32,.16)}
.product-poster-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:12px 16px 16px}
.product-qr-holder{position:absolute;width:1px;height:1px;overflow:hidden;pointer-events:none}
@media (max-width:520px){
  .product-detail-shell{width:calc(100% - 16px);padding-top:6px}
  .product-detail-topbar{top:6px}
  .product-summary,.detail-section,.shop-section{padding-inline:13px}
  .product-title-row h1{font-size:20px}
  .shop-profile-actions{gap:5px}
  .shop-follow-btn,.shop-enter-btn{min-width:58px;padding-inline:10px}
  .product-image-viewer{padding-inline:48px}
}

/* compact storefront and stable product gallery */
.product-title-row{display:block}
.product-title-row h1{display:block;margin:0;min-width:0;overflow-wrap:anywhere}
.product-title-row h1 .product-category-chip{display:inline-flex;margin:0 7px 2px 0;vertical-align:middle}
.image-viewer-close,.image-viewer-arrow{box-sizing:border-box;flex:0 0 auto;min-width:40px;min-height:40px;max-width:42px;max-height:42px;aspect-ratio:1/1;border-radius:50%;padding:0}
.image-viewer-stage img{touch-action:none;will-change:transform}
.product-hero-image{touch-action:pan-y}
.product-hero-trigger img.is-dragging{transition:none}
.product-hero-trigger img.slide-next{animation:productImageSlideNext .34s cubic-bezier(.22,.8,.24,1)}
.product-hero-trigger img.slide-prev{animation:productImageSlidePrev .34s cubic-bezier(.22,.8,.24,1)}
.image-viewer-stage img.slide-next{animation:productImageSlideNext .34s cubic-bezier(.22,.8,.24,1)}
.image-viewer-stage img.slide-prev{animation:productImageSlidePrev .34s cubic-bezier(.22,.8,.24,1)}
@keyframes productImageSlideNext{from{opacity:.4;transform:translate3d(28px,0,0) scale(.985)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}
@keyframes productImageSlidePrev{from{opacity:.4;transform:translate3d(-28px,0,0) scale(.985)}to{opacity:1;transform:translate3d(0,0,0) scale(1)}}

@media (max-width:760px){
  .has-public-bottom-nav{padding-bottom:calc(80px + env(safe-area-inset-bottom))}
  .public-bottom-nav{bottom:calc(12px + env(safe-area-inset-bottom));width:min(326px,calc(100% - 40px));padding:5px;border-radius:21px}
  .public-bottom-nav a{gap:2px;min-height:50px;border-radius:16px;font-size:10px}.public-bottom-nav svg{width:19px;height:19px}
  .home-more-menu,.quick-float,.quick-float-link,.incentive-float,.preview-top-rocket{bottom:calc(74px + env(safe-area-inset-bottom))}
  .buyer-shell{width:min(560px,calc(100% - 16px));padding-top:8px}
  .buyer-auth-title h1{font-size:25px}.buyer-auth-title p{font-size:13px}.buyer-modal-card{width:min(410px,calc(100% - 20px))}
  .product-detail-shell{width:calc(100% - 14px);padding-top:5px;padding-bottom:calc(98px + env(safe-area-inset-bottom))}
  .product-detail-topbar{top:5px;min-height:46px;margin-bottom:9px;padding:4px 6px}.product-detail-topbar>strong{font-size:13px}.product-top-icon{width:36px;height:36px}.product-top-icon svg{width:18px;height:18px}
  .product-gallery{gap:0}.product-image-zoom{right:9px;bottom:9px;width:29px;height:29px}.product-image-zoom svg{width:16px;height:16px}.product-thumb-strip{gap:6px;padding:7px 0}.product-thumb-strip button{width:48px;height:48px;flex-basis:48px}
  .product-summary{gap:9px;padding:14px 12px}.product-price{font-size:24px}.product-heat{font-size:11px}.product-tag{min-height:22px;padding-inline:8px;font-size:10px}.product-category-chip{min-height:21px;padding-inline:7px;font-size:10px;line-height:21px}.product-title-row h1{font-size:18px;line-height:1.38}.product-desc{font-size:12px;line-height:1.65}
  .detail-section{gap:10px;margin-top:8px;padding:14px 12px}.detail-section-head h2{font-size:17px}.detail-link-btn{font-size:12px}.review-tag-row span{min-height:29px;padding-inline:10px;font-size:11px}.comment-preview-list{gap:11px}.comment-item{grid-template-columns:34px minmax(0,1fr);gap:8px}.comment-item img{width:34px;height:34px}.comment-name-line strong{font-size:13px}.comment-body p{font-size:13px}
  .shop-section{margin-top:8px;padding:14px 12px}.shop-profile-row{gap:9px}.shop-profile-row>img{width:49px;height:49px;flex-basis:49px}.shop-profile-copy strong{font-size:15px}.shop-follow-btn,.shop-enter-btn{min-width:52px;height:34px;padding-inline:8px;font-size:12px}.shop-stats{margin-top:14px;padding-top:12px}.shop-stats strong{font-size:16px}.shop-stats span{font-size:10px}
  .guess-grid{gap:7px}.guess-card div{padding:7px 8px}.guess-card strong,.guess-card span{font-size:11px}
  .product-bottom-bar{bottom:calc(12px + env(safe-area-inset-bottom));grid-template-columns:43px 43px minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);gap:5px;width:min(620px,calc(100% - 20px));padding:5px}.product-bottom-bar button{min-height:44px!important}.product-bottom-icon{font-size:9px}.product-bottom-icon svg{width:17px;height:17px}.product-bottom-primary,.product-bottom-buy{font-size:12px}
  .product-image-viewer{padding:42px 44px}.image-viewer-close{top:14px;right:14px;width:36px;height:36px;min-width:36px;min-height:36px;font-size:24px}.image-viewer-arrow{width:40px;height:40px;min-width:40px;min-height:40px;margin-top:-20px;font-size:30px}.image-viewer-arrow.prev{left:4px}.image-viewer-arrow.next{right:4px}
  .public-shop-shell{width:calc(100% - 14px)}.public-shop-topbar{top:5px;min-height:46px}.public-shop-topbar button{width:36px;height:36px}.public-shop-profile{margin-top:9px;padding:15px 11px}.public-shop-main>img{width:50px;height:50px;flex-basis:50px}.public-shop-main h1{font-size:18px}.public-shop-products{margin-top:8px;padding:14px 9px 20px}.public-shop-section-head h2{font-size:17px}.public-shop-grid{gap:8px}.public-shop-grid>article>div{padding:8px}.public-shop-grid strong{font-size:12px}.public-shop-grid span{font-size:13px}
}

/* product-bottom-actions-20260808 */
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{
  grid-template-columns:43px 43px repeat(3,minmax(0,1fr));
  gap:5px;
}
@media (min-width:700px){
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{
    grid-template-columns:54px 54px repeat(3,minmax(0,1fr));
    gap:7px;
  }
}

/* product-bottom-reference-20260808 */
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{
  position:fixed;
  left:50%;
  right:auto;
  bottom:max(12px,calc(8px + env(safe-area-inset-bottom)));
  width:min(calc(var(--front-device-width,100vw) - 20px),calc(100% - 20px));
  height:53px;
  min-height:53px;
  padding:4px;
  display:grid;
  grid-template-columns:43px 43px 43px minmax(0,1fr) minmax(0,1fr);
  gap:3px;
  border:1px solid rgba(32,32,32,.08);
  border-radius:999px;
  background:rgba(255,255,255,.96);
  box-shadow:0 12px 30px rgba(32,32,32,.16);
  transform:translateX(-50%);
  backdrop-filter:blur(14px);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar button{
  min-width:0;
  min-height:45px!important;
  height:45px;
  padding:0;
  border:0;
  border-radius:999px;
  box-shadow:none!important;
  white-space:nowrap;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon{
  display:grid;
  place-items:center;
  align-content:center;
  gap:4px;
  background:transparent;
  color:#4a4a4a;
  font-size:12px;
  font-weight:500;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon svg{
  width:29px;
  height:29px;
  fill:currentColor;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon.is-favorite{
  background:transparent;
  color:#f33565;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-primary{
  background:#ececec;
  color:#fff;
  font-size:16px;
  font-weight:800;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-buy{
  background:#ff1f52;
  color:#fff;
  font-size:16px;
  font-weight:800;
}
@media (max-width:699px){
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{
    width:calc(100% - 20px);
    grid-template-columns:43px 43px 43px minmax(0,1fr) minmax(0,1fr);
    gap:3px;
    bottom:max(12px,calc(8px + env(safe-area-inset-bottom)));
  }
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-primary,
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-buy{
    font-size:15px;
  }
}

/* Independent product header and compact share-poster presentation. */
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-shell{
  padding-top:78px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar{
  position:fixed;
  top:max(10px,calc(8px + env(safe-area-inset-top)));
  left:50%;
  z-index:1200;
  box-sizing:border-box;
  display:block;
  width:410px;
  max-width:calc(100vw - 20px);
  height:57px;
  min-height:57px;
  margin:0;
  padding:4px;
  border:1px solid rgba(32,32,32,.08);
  border-radius:999px;
  background:rgba(255,255,255,.97);
  box-shadow:0 10px 26px rgba(32,32,32,.11);
  transform:translateX(-50%);
  backdrop-filter:blur(14px);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar>strong{
  position:absolute;
  top:50%;
  left:50%;
  margin:0;
  color:#232523;
  font-size:15px;
  font-weight:800;
  line-height:1;
  letter-spacing:0;
  transform:translate(-50%,-50%);
  white-space:nowrap;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar>#productBackBtn{
  position:absolute;
  top:4px;
  left:4px;
  width:47px;
  height:47px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-top-actions{
  position:absolute;
  top:4px;
  right:4px;
  gap:2px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-top-actions .product-top-icon{
  width:47px;
  height:47px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-top-actions .product-top-icon svg,
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar>#productBackBtn svg{
  width:19px;
  height:19px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-poster-modal{
  align-items:center!important;
  padding:38px 12px calc(18px + env(safe-area-inset-bottom))!important;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-poster-sheet{
  width:min(300px,calc(100vw - 76px));
  gap:8px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-poster-sheet .poster-canvas{
  border-radius:12px;
  box-shadow:0 12px 28px rgba(0,0,0,.2);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-poster-close{
  top:-42px;
  width:32px;
  height:32px;
  font-size:22px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-poster-actions{
  gap:7px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-poster-actions .btn{
  min-height:40px;
  font-size:13px;
}
@media (max-width:699px){
  body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar{
    left:50%;
    right:auto;
    width:min(410px,calc(100vw - 20px));
    max-width:none;
    transform:translateX(-50%);
  }
}

/* Product header and the independent floating action capsule. */
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-shell{
  width:calc(100% - 20px);
  box-sizing:border-box;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar{
  box-sizing:border-box;
  left:50%;
  right:auto;
  width:min(410px,calc(100vw - 20px));
  max-width:none;
  height:57px;
  min-height:57px;
  margin-inline:0;
  padding:4px;
  border-color:rgba(32,32,32,.08);
  border-radius:999px;
  transform:translateX(-50%);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{
  position:fixed;
  left:50%;
  right:auto;
  bottom:max(12px,calc(8px + env(safe-area-inset-bottom)));
  z-index:1200;
  box-sizing:border-box;
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  align-items:stretch;
  gap:3px;
  width:min(410px,calc(100vw - 20px));
  max-width:none;
  height:57px;
  min-height:57px;
  padding:4px;
  border:1px solid rgba(32,32,32,.08);
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.97);
  box-shadow:0 10px 26px rgba(32,32,32,.14);
  transform:translateX(-50%);
  backdrop-filter:blur(14px);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-tools,
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-purchase{
  box-sizing:border-box;
  display:grid;
  align-items:stretch;
  min-width:0;
  height:47px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-tools{
  grid-template-columns:repeat(3,38px);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-purchase{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:3px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-purchase:has(.product-bottom-buy.hidden){
  grid-template-columns:1fr;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar button{
  box-sizing:border-box;
  min-width:0;
  min-height:47px!important;
  height:47px;
  margin:0;
  padding:0;
  border:0;
  border-radius:999px;
  line-height:1;
  box-shadow:none!important;
  white-space:nowrap;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon{
  display:grid;
  grid-template-rows:20px 12px;
  place-content:center;
  place-items:center;
  gap:2px;
  background:transparent;
  color:#494b49;
  font-size:10px;
  font-weight:600;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon svg{
  width:20px;
  height:20px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-primary,
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-buy{
  width:100%;
  font-size:13px;
  font-weight:800;
}
body.front-frame-page>.front-app-frame.product-detail-page.product-pending .product-gallery,
body.front-frame-page>.front-app-frame.product-detail-page.product-pending .product-summary,
body.front-frame-page>.front-app-frame.product-detail-page.product-pending .detail-section,
body.front-frame-page>.front-app-frame.product-detail-page.product-pending .shop-section,
body.front-frame-page>.front-app-frame.product-detail-page.product-pending .product-bottom-bar{
  opacity:0;
  pointer-events:none;
}
@media (max-width:699px){
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{
    left:50%;
    right:auto;
    width:min(410px,calc(100vw - 20px));
    max-width:none;
    transform:translateX(-50%);
  }
}

/* Storefront finish: stable square media and independent capsules. */
.front-app-frame.product-detail-page .product-hero-image,
.front-app-frame.product-detail-page .product-hero-trigger,
.front-app-frame.product-detail-page .product-image-track{
  aspect-ratio:1 / 1;
}
.front-app-frame.product-detail-page .product-hero-image{
  background:#f5f6f5;
  box-shadow:none;
}
.front-app-frame.product-detail-page .product-image-track,
.front-app-frame.product-detail-page .product-main-image{
  overflow:hidden;
}
.front-app-frame.product-detail-page .product-main-image,
.front-app-frame.product-detail-page .product-hero-trigger img,
.front-app-frame.product-detail-page .product-thumb-strip img{
  width:100%;
  height:100%;
  object-fit:cover!important;
  object-position:50% 50%;
}
.front-app-frame.product-detail-page .product-tag,
.front-app-frame.product-detail-page .product-category-chip{
  border-radius:999px;
}
.front-app-frame.product-detail-page .product-tag{
  min-height:26px;
  padding-inline:10px;
}
.front-app-frame.product-detail-page .product-category-chip{
  min-height:25px;
  padding-inline:9px;
  line-height:25px;
}
.front-app-frame.product-detail-page .pay-choice-row{
  grid-template-columns:1fr;
  gap:9px;
}
.front-app-frame.product-detail-page .order-delivery-fields{display:grid;gap:9px}
.front-app-frame.product-detail-page .order-delivery-fields .field{display:grid;gap:5px}
.front-app-frame.product-detail-page .order-delivery-fields .field>span{color:#6f747c;font-size:11px;font-weight:700}
.front-app-frame.product-detail-page .order-delivery-fields .input{height:41px;min-height:41px;border-radius:8px;background:#f8f9fa}
.front-app-frame.product-detail-page .order-delivery-fields .input:focus{background:#fff}
.front-app-frame.product-detail-page .pay-choice{
  min-height:58px;
  padding-inline:14px;
  border-radius:16px;
}
.front-app-frame.product-detail-page .product-detail-topbar{
  box-shadow:none!important;
}
.front-app-frame.product-detail-page .image-viewer-stage img{
  object-fit:contain;
  object-position:center;
}
@media (min-width:700px){
  .front-app-frame.product-detail-page .product-image-viewer{
    padding:72px max(84px,calc((100vw - 1100px) / 2));
  }
  .front-app-frame.product-detail-page .image-viewer-stage{
    width:min(980px,calc(100vw - 210px));
    height:min(78dvh,820px);
    padding:0 0 60px;
  }
  .front-app-frame.product-detail-page .image-viewer-stage img{
    max-width:100%;
    max-height:100%;
    border-radius:8px;
  }
  .front-app-frame.product-detail-page .image-viewer-arrow.prev{left:max(24px,calc(50% - 560px));}
  .front-app-frame.product-detail-page .image-viewer-arrow.next{right:max(24px,calc(50% - 560px));}
  .front-app-frame.product-detail-page .image-viewer-close{top:22px;right:max(24px,calc(50% - 560px));}
}
.home-entry-page .public-bottom-nav{
  box-sizing:border-box;
  display:grid;
  align-items:stretch;
  width:min(410px,calc(100% - 20px));
  height:57px;
  min-height:57px;
  padding:4px;
  border-radius:999px;
  overflow:hidden;
  background:rgba(255,255,255,.97);
  box-shadow:0 10px 26px rgba(32,32,32,.14);
}
.home-entry-page .public-bottom-nav a{
  min-height:47px;
  height:47px;
  border-radius:999px;
}
@media (max-width:699px){
  .front-app-frame.product-detail-page .product-tag{min-height:23px;padding-inline:9px}
  .front-app-frame.product-detail-page .product-category-chip{min-height:22px;padding-inline:8px;line-height:22px}
  .home-entry-page .public-bottom-nav{width:min(410px,calc(100% - 20px));height:53px;min-height:53px;padding:4px}
  .home-entry-page .public-bottom-nav a{min-height:45px;height:45px;border-radius:999px}
}

/* Stable product chips: title wrapping no longer relies on inline baselines. */
.front-app-frame.product-detail-page .product-summary .product-tags{align-items:center;gap:6px;min-height:26px}
.front-app-frame.product-detail-page .product-summary .product-tag{box-sizing:border-box;justify-content:center;height:26px;min-height:26px;padding:0 10px;border:1px solid #ffdbe4;border-radius:999px;background:#fff2f5;color:#c52f50;font-size:12px;font-weight:800;line-height:1;white-space:nowrap;vertical-align:initial}
.front-app-frame.product-detail-page .product-title-row{display:block}
.front-app-frame.product-detail-page .product-title-row h1{display:flex;align-items:flex-start;gap:8px;min-width:0;margin:0;line-height:1.38}
.front-app-frame.product-detail-page .product-title-row .product-category-chip{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;height:25px;min-height:25px;margin:2px 0 0!important;padding:0 9px;border-radius:999px;background:#f33565;color:#fff;font-size:11px;font-weight:800;line-height:1;white-space:nowrap;vertical-align:initial}
.front-app-frame.product-detail-page .product-title-row #productTitle{display:block;min-width:0;flex:1 1 auto;overflow-wrap:anywhere}
@media (max-width:699px){
  .front-app-frame.product-detail-page .product-summary .product-tags{min-height:23px}
  .front-app-frame.product-detail-page .product-summary .product-tag{height:23px;min-height:23px;padding-inline:9px;font-size:10px}
  .front-app-frame.product-detail-page .product-title-row{margin-top:1px}
  .front-app-frame.product-detail-page .product-title-row .product-category-chip{height:22px;min-height:22px;margin-top:2px!important;padding-inline:8px;font-size:10px}
}

/* Product preview refinement: fixed backdrop, rich sections, and no separate detail card. */
body.front-frame-page>.front-app-frame.product-detail-page>.front-app-content>.fixed-bg-pattern{
  position:fixed!important;
  background-attachment:fixed;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-shell{
  width:calc(100% - 20px);
  padding-top:78px;
  padding-bottom:calc(104px + env(safe-area-inset-bottom));
}
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar,
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{
  width:min(410px,calc(100vw - 20px));
  height:57px;
  min-height:57px;
  border:1px solid rgba(31,38,47,.09);
  border-radius:999px;
  background:rgba(255,255,255,.97);
  box-shadow:0 10px 26px rgba(31,38,47,.13);
  backdrop-filter:blur(16px);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar{
  overflow:hidden;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar>strong{
  color:#22262c;
  font-size:14px;
  font-weight:800;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-top-icon{
  color:#3b424b;
  transition:background .18s ease,color .18s ease,transform .18s ease;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-top-icon:hover{background:#f3f5f6;color:#1e252d}
body.front-frame-page>.front-app-frame.product-detail-page .product-top-icon:active{transform:scale(.92)}
body.front-frame-page>.front-app-frame.product-detail-page .product-cart-badge{
  top:3px;
  right:2px;
  min-width:15px;
  height:15px;
  border-color:#fff;
  background:#f44e6d;
  box-shadow:0 2px 6px rgba(244,78,109,.24);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-gallery{gap:0}
body.front-frame-page>.front-app-frame.product-detail-page .product-hero-image{
  overflow:hidden;
  border:1px solid rgba(31,38,47,.06);
  border-radius:10px;
  background:#e9ecef;
  box-shadow:0 9px 24px rgba(31,38,47,.07);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-hero-image::after{
  position:absolute;
  inset:0;
  z-index:1;
  border-radius:inherit;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);
  content:"";
  pointer-events:none;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-main-image,
body.front-frame-page>.front-app-frame.product-detail-page .product-hero-trigger img{background:#e9ecef}
body.front-frame-page>.front-app-frame.product-detail-page .product-image-zoom{
  right:10px;
  bottom:10px;
  width:33px;
  height:33px;
  border:1px solid rgba(31,38,47,.08);
  border-radius:50%;
  background:rgba(255,255,255,.95);
  box-shadow:0 5px 13px rgba(20,25,30,.13);
  color:#313842;
  transition:transform .18s ease,background .18s ease;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-image-zoom:active{transform:scale(.91);background:#fff}
body.front-frame-page>.front-app-frame.product-detail-page .product-thumb-strip{
  gap:8px;
  padding:8px 1px;
  scrollbar-width:none;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-thumb-strip::-webkit-scrollbar{display:none}
body.front-frame-page>.front-app-frame.product-detail-page .product-thumb-strip button{
  position:relative;
  width:50px;
  height:50px;
  flex-basis:50px;
  overflow:hidden;
  border:1px solid #e3e6e9;
  border-radius:8px;
  background:#eef0f2;
  box-shadow:none;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-thumb-strip button.active{
  border-color:#f44e6d;
  box-shadow:0 0 0 2px rgba(244,78,109,.14);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-thumb-strip button:active{transform:scale(.94)}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary,
body.front-frame-page>.front-app-frame.product-detail-page .detail-section,
body.front-frame-page>.front-app-frame.product-detail-page .shop-section{
  border:1px solid rgba(31,38,47,.055);
  border-radius:10px;
  background:#fff;
  box-shadow:0 5px 15px rgba(31,38,47,.025);
}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary{
  gap:12px;
  margin-top:0;
  padding:17px 15px 16px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-price-line{
  align-items:center;
  min-height:28px;
  padding-bottom:0;
  border-bottom:0;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-price{
  color:#f44e6d;
  font-size:25px;
  font-weight:850;
  letter-spacing:0;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-heat{
  gap:4px;
  color:#858b94;
  font-size:11px;
  font-weight:600;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-heat svg{width:14px;height:14px;color:#87909a}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tags{
  gap:6px;
  min-height:25px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tag{
  height:25px;
  min-height:25px;
  padding-inline:10px;
  border:1px solid #e2e7ec;
  border-radius:999px;
  background:#f8fafb;
  color:#687380;
  font-size:11px;
  font-weight:700;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tag.tag-tone-0{border-color:#dce8fa;background:#f4f8ff;color:#54739e}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tag.tag-tone-1{border-color:#f0e2c9;background:#fff9ef;color:#9a703a}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tag.tag-tone-2{border-color:#e5dafa;background:#f8f5ff;color:#8060a4}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tag.tag-tone-3{border-color:#d3ecea;background:#f1fbfa;color:#3d887f}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tag.tag-tone-4{border-color:#f2d9df;background:#fff5f6;color:#a95a6c}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tag.tag-status-active{border-color:#d9eadd;background:#f4fbf5;color:#4c8660}
body.front-frame-page>.front-app-frame.product-detail-page .product-summary .product-tag.tag-status-soldout{border-color:#f1d8d8;background:#fff5f5;color:#ae5555}
body.front-frame-page>.front-app-frame.product-detail-page .product-title-row h1{
  align-items:flex-start;
  gap:7px;
  color:#22262c;
  font-size:19px;
  font-weight:800;
  line-height:1.45;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-title-row .product-category-chip{
  height:23px;
  min-height:23px;
  margin-top:3px!important;
  padding-inline:9px;
  background:#303943;
  color:#fff;
  font-size:10px;
  font-weight:700;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-desc{
  margin:2px 0 0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#727b86;
  font-size:12px;
  line-height:1.72;
}
body.front-frame-page>.front-app-frame.product-detail-page .detail-section{
  gap:13px;
  margin-top:10px;
  padding:16px 15px;
}
body.front-frame-page>.front-app-frame.product-detail-page .detail-section-head h2{
  display:flex;
  align-items:center;
  gap:8px;
  color:#22262c;
  font-size:17px;
  font-weight:800;
}
body.front-frame-page>.front-app-frame.product-detail-page .detail-section-head h2::before{
  width:3px;
  height:16px;
  border-radius:99px;
  background:#f44e6d;
  content:"";
}
body.front-frame-page>.front-app-frame.product-detail-page .review-heading{align-items:center;gap:8px}
body.front-frame-page>.front-app-frame.product-detail-page .review-heading>span{color:#e8a03a;font-size:14px;font-weight:700;line-height:1.2}
body.front-frame-page>.front-app-frame.product-detail-page .detail-link-btn{min-height:28px;padding:0 2px;color:#8a939d;font-size:12px;font-weight:600}
body.front-frame-page>.front-app-frame.product-detail-page .detail-link-btn span{font-size:20px;line-height:1}
body.front-frame-page>.front-app-frame.product-detail-page .review-tag-row{gap:7px;padding-bottom:0}
body.front-frame-page>.front-app-frame.product-detail-page .review-tag-row span,
body.front-frame-page>.front-app-frame.product-detail-page .comment-item-tags i{
  min-height:28px;
  padding-inline:10px;
  border:1px solid #f1e2cb;
  border-radius:999px;
  background:#fff9ef;
  color:#9b743d;
  font-size:11px;
  font-weight:600;
}
body.front-frame-page>.front-app-frame.product-detail-page .comment-preview-list{gap:0}
body.front-frame-page>.front-app-frame.product-detail-page .comment-item{
  grid-template-columns:38px minmax(0,1fr);
  gap:10px;
  padding:12px 0;
  border-bottom:1px solid #f0f1f2;
}
body.front-frame-page>.front-app-frame.product-detail-page .comment-item:first-child{padding-top:1px}
body.front-frame-page>.front-app-frame.product-detail-page .comment-item:last-child{padding-bottom:0;border-bottom:0}
body.front-frame-page>.front-app-frame.product-detail-page .comment-item img{width:38px;height:38px;border:1px solid #edf0f2;border-radius:50%}
body.front-frame-page>.front-app-frame.product-detail-page .comment-body{gap:5px}
body.front-frame-page>.front-app-frame.product-detail-page .comment-name-line strong{font-size:13px;font-weight:700}
body.front-frame-page>.front-app-frame.product-detail-page .comment-rating-label{min-height:18px;padding-inline:5px;font-size:9px}
body.front-frame-page>.front-app-frame.product-detail-page .comment-stars{font-size:12px;color:#f0a035}
body.front-frame-page>.front-app-frame.product-detail-page .comment-body p{color:#4b535d;font-size:13px;line-height:1.65}
body.front-frame-page>.front-app-frame.product-detail-page .comment-purchase,
body.front-frame-page>.front-app-frame.product-detail-page .comment-body time{color:#98a0a9;font-size:11px}
.comment-review-images{display:flex;flex-wrap:wrap;gap:6px;margin-top:2px}.comment-review-images img{width:64px!important;height:64px!important;border:0!important;border-radius:7px!important;object-fit:cover}
body.front-frame-page>.front-app-frame.product-detail-page .shop-section{margin-top:10px;padding:16px 15px}
body.front-frame-page>.front-app-frame.product-detail-page .shop-profile-row{gap:10px}
body.front-frame-page>.front-app-frame.product-detail-page .shop-profile-row>img{
  width:52px;
  height:52px;
  flex-basis:52px;
  border:2px solid #f2f4f5;
  box-shadow:0 4px 12px rgba(31,38,47,.07);
}
body.front-frame-page>.front-app-frame.product-detail-page .shop-profile-copy{gap:4px}
body.front-frame-page>.front-app-frame.product-detail-page .shop-profile-copy strong{color:#22262c;font-size:15px;font-weight:800}
body.front-frame-page>.front-app-frame.product-detail-page .shop-profile-copy span{font-size:11px;color:#858b94}
body.front-frame-page>.front-app-frame.product-detail-page .shop-profile-actions{gap:6px}
body.front-frame-page>.front-app-frame.product-detail-page .shop-follow-btn,
body.front-frame-page>.front-app-frame.product-detail-page .shop-enter-btn{
  min-width:51px;
  height:32px;
  padding-inline:8px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  transition:transform .18s ease,filter .18s ease,background .18s ease;
}
body.front-frame-page>.front-app-frame.product-detail-page .shop-follow-btn{border-color:#f4b1bf;background:#fff;color:#dd4865}
body.front-frame-page>.front-app-frame.product-detail-page .shop-follow-btn.followed{border-color:#fce0e5;background:#fff2f5;color:#d84a65}
body.front-frame-page>.front-app-frame.product-detail-page .shop-enter-btn{border-color:#303943;background:#303943;color:#fff}
body.front-frame-page>.front-app-frame.product-detail-page .shop-follow-btn:active,
body.front-frame-page>.front-app-frame.product-detail-page .shop-enter-btn:active{transform:scale(.95)}
body.front-frame-page>.front-app-frame.product-detail-page .shop-stats{
  gap:0;
  margin-top:15px;
  padding:11px 0;
  border:0;
  border-radius:8px;
  background:#f7f8f9;
}
body.front-frame-page>.front-app-frame.product-detail-page .shop-stats div+div{border-left:1px solid #e6e9eb}
body.front-frame-page>.front-app-frame.product-detail-page .shop-stats strong{color:#3b434c;font-size:15px;font-weight:750}
body.front-frame-page>.front-app-frame.product-detail-page .shop-stats span{color:#969da5;font-size:10px}
body.front-frame-page>.front-app-frame.product-detail-page .guess-grid{gap:9px}
body.front-frame-page>.front-app-frame.product-detail-page .guess-card{
  overflow:hidden;
  border:1px solid #e8ebed;
  border-radius:9px;
  background:#fff;
  box-shadow:none;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
body.front-frame-page>.front-app-frame.product-detail-page .guess-card:hover{border-color:#d9dde1;box-shadow:0 8px 18px rgba(31,38,47,.07);transform:translateY(-2px)}
body.front-frame-page>.front-app-frame.product-detail-page .guess-card img{background:#f0f2f3}
body.front-frame-page>.front-app-frame.product-detail-page .guess-card div{gap:5px;padding:9px 9px 10px}
body.front-frame-page>.front-app-frame.product-detail-page .guess-card strong{color:#3c444d;font-size:12px;font-weight:700}
body.front-frame-page>.front-app-frame.product-detail-page .guess-card span{color:#f44e6d;font-size:13px;font-weight:800}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{
  grid-template-columns:126px minmax(0,1fr);
  gap:0;
  padding:4px;
  overflow:hidden;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-tools{
  grid-template-columns:repeat(3,42px);
  gap:0;
  overflow:hidden;
  border-radius:0;
  background:transparent;
  border-right:0;
  box-shadow:inset -1px 0 #e9ecef;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-purchase{
  gap:0;
  overflow:hidden;
  border-radius:999px;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar button{
  min-height:47px!important;
  height:47px;
  font-weight:700;
  transition:transform .16s ease,filter .16s ease,background .16s ease;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar button:active{transform:scale(.965)}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon{border-radius:0;background:transparent;color:#4d5660;font-size:9px;font-weight:600}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon+.product-bottom-icon{border-left:0}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon svg{width:19px;height:19px}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-icon.is-favorite{background:transparent;color:#e84766}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-primary{border-radius:999px 0 0 999px;background:#f3a33d;color:#fff;font-size:12px;font-weight:800}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-buy{border-radius:0 999px 999px 0;background:#f44e6d;color:#fff;font-size:12px;font-weight:800}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-purchase:has(.product-bottom-buy.hidden) .product-bottom-primary{border-radius:999px}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-primary:hover,
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-buy:hover{filter:brightness(.97)}
body.front-frame-page>.front-app-frame.product-detail-page .product-comment-sheet{overflow:hidden;border-radius:14px 14px 0 0!important;box-shadow:0 -14px 38px rgba(28,34,41,.14)}
body.front-frame-page>.front-app-frame.product-detail-page .product-sheet-head{padding:15px 16px;background:#fff}
body.front-frame-page>.front-app-frame.product-detail-page .product-sheet-head strong{font-size:16px}
body.front-frame-page>.front-app-frame.product-detail-page .product-sheet-head button{width:30px;height:30px;background:#f4f6f7;color:#6f7882;font-size:22px}
body.front-frame-page>.front-app-frame.product-detail-page .sheet-comment-list{padding:14px 16px 18px}
body.front-frame-page>.front-app-frame.product-detail-page .comment-form{padding:12px 16px calc(16px + env(safe-area-inset-bottom));background:#fafbfb}
body.front-frame-page>.front-app-frame.product-detail-page .comment-tag-picker button{border-radius:999px;background:#fff}
body.front-frame-page>.front-app-frame.product-detail-page .product-poster-sheet .poster-canvas{border-radius:10px;box-shadow:0 16px 38px rgba(0,0,0,.25)}
body.front-frame-page>.front-app-frame.product-detail-page .product-poster-actions .btn{min-height:41px;border-radius:999px;font-size:12px}
body.front-frame-page>.front-app-frame.product-detail-page .product-image-modal{background:rgba(15,19,23,.94)!important}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-stage img{border-radius:8px;box-shadow:0 20px 52px rgba(0,0,0,.28)}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-close,
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow{border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.12);backdrop-filter:blur(10px)}
@media (max-width:699px){
  body.front-frame-page>.front-app-frame.product-detail-page .product-detail-shell{width:calc(100% - 16px);padding-top:70px;padding-bottom:calc(94px + env(safe-area-inset-bottom))}
  body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar,
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{width:min(410px,calc(100vw - 16px));height:53px;min-height:53px}
  body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar>#productBackBtn,
  body.front-frame-page>.front-app-frame.product-detail-page .product-top-actions .product-top-icon{width:43px;height:43px}
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{grid-template-columns:120px minmax(0,1fr)}
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-tools{grid-template-columns:repeat(3,40px);gap:0}
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-tools,
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-purchase{height:43px}
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar button{min-height:43px!important;height:43px}
  body.front-frame-page>.front-app-frame.product-detail-page .product-summary{padding:15px 13px}
  body.front-frame-page>.front-app-frame.product-detail-page .product-price{font-size:23px}
  body.front-frame-page>.front-app-frame.product-detail-page .product-title-row h1{font-size:18px}
  body.front-frame-page>.front-app-frame.product-detail-page .detail-section,
  body.front-frame-page>.front-app-frame.product-detail-page .shop-section{padding:14px 13px}
  body.front-frame-page>.front-app-frame.product-detail-page .detail-section-head h2{font-size:16px}
  body.front-frame-page>.front-app-frame.product-detail-page .shop-profile-row>img{width:48px;height:48px;flex-basis:48px}
}
@media (max-width:360px){
  body.front-frame-page>.front-app-frame.product-detail-page .product-detail-shell{width:calc(100% - 14px)}
  body.front-frame-page>.front-app-frame.product-detail-page .product-detail-topbar,
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{width:calc(100vw - 14px)}
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar{grid-template-columns:108px minmax(0,1fr)}
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-tools{grid-template-columns:repeat(3,36px);gap:0}
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-primary,
  body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar .product-bottom-buy{font-size:11px}
  body.front-frame-page>.front-app-frame.product-detail-page .shop-follow-btn,
  body.front-frame-page>.front-app-frame.product-detail-page .shop-enter-btn{min-width:45px;padding-inline:6px}
}
@media (prefers-reduced-motion:reduce){
  body.front-frame-page>.front-app-frame.product-detail-page *,
  body.front-frame-page>.front-app-frame.product-detail-page *::before,
  body.front-frame-page>.front-app-frame.product-detail-page *::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* Keep wrapped product names starting below the category chip. */
body.front-frame-page>.front-app-frame.product-detail-page .product-title-row h1{
  display:block;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-title-row .product-category-chip{
  display:inline-flex;
  margin:0 7px 2px 0!important;
  vertical-align:middle;
}
body.front-frame-page>.front-app-frame.product-detail-page .product-title-row #productTitle{
  display:inline;
  min-width:0;
  overflow-wrap:anywhere;
}

/* Image viewer controls follow the preview frame instead of the viewport edges. */
body.front-frame-page>.front-app-frame.product-detail-page .product-image-viewer{
  box-sizing:border-box;
  display:grid;
  place-items:center;
  padding:82px 82px 106px;
}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-frame{
  position:relative;
  display:grid;
  place-items:center;
  width:min(980px,calc(100vw - 210px));
  height:min(78dvh,820px);
  max-height:calc(100dvh - 188px);
}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-stage{
  width:100%;
  height:100%;
  padding:0;
  overflow:hidden;
  border-radius:12px;
}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-stage img{
  max-width:100%;
  max-height:100%;
  border-radius:12px;
  box-shadow:0 18px 46px rgba(0,0,0,.26);
}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-close,
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow{
  display:grid;
  place-items:center;
  width:44px;
  min-width:44px;
  height:44px;
  min-height:44px;
  max-width:44px;
  max-height:44px;
  margin:0;
  padding:0;
  border:1px solid rgba(255,255,255,.2);
  border-radius:12px;
  background:rgba(34,39,44,.76);
  box-shadow:0 8px 20px rgba(0,0,0,.16);
  color:#fff;
  backdrop-filter:blur(10px);
  transition:transform .16s ease,background .16s ease;
}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-close:hover,
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow:hover{background:rgba(55,61,68,.92)}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-close:active,
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow:active{transform:scale(.93)}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-close{
  top:-52px;
  right:0;
  font-size:27px;
}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow{
  top:50%;
  margin-top:-22px;
  font-size:33px;
  line-height:1;
}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow.prev{left:-58px}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow.next{right:-58px}
body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-controls{bottom:18px}
@media (max-width:699px){
  body.front-frame-page>.front-app-frame.product-detail-page .product-image-viewer{padding:70px 47px 100px}
  body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-frame{
    width:100%;
    height:min(70dvh,700px);
    max-height:calc(100dvh - 170px);
  }
  body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-close{
    top:-48px;
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
    max-width:38px;
    max-height:38px;
    border-radius:11px;
    font-size:23px;
  }
  body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow{
    width:38px;
    min-width:38px;
    height:38px;
    min-height:38px;
    max-width:38px;
    max-height:38px;
    margin-top:-19px;
    border-radius:11px;
    font-size:29px;
  }
  body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow.prev{left:-43px}
  body.front-frame-page>.front-app-frame.product-detail-page .image-viewer-arrow.next{right:-43px}
}

/* Product detail uses the same fixed storefront backdrop as the buyer center. */
body.front-frame-page > .front-app-frame.product-detail-page,
body.front-frame-page > .front-app-frame.product-detail-page > .front-app-content {
  background: #eff2f4 !important;
}

body.front-frame-page > .front-app-frame.product-detail-page > .front-app-content > .fixed-bg-pattern {
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  transform: none;
  background:
    radial-gradient(circle at -2px 24%, #dce5e8 0 148px, transparent 149px),
    radial-gradient(circle at calc(100% + 64px) 10%, rgba(220, 228, 232, .72) 0 118px, transparent 119px),
    radial-gradient(circle at 92% 70%, rgba(226, 230, 234, .78) 0 78px, transparent 79px),
    #eff2f4 !important;
}

/* Image preview stays focused: gestures work, while controls do not cover the artwork. */
body.front-frame-page > .front-app-frame.product-detail-page .product-image-viewer {
  padding: 18px 12px 76px;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-frame {
  width: min(1120px, 100%);
  height: calc(100dvh - 102px);
  max-height: none;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-stage {
  padding: 0;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-stage img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-close,
body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-arrow,
body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-controls {
  display: none !important;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-bottom-close {
  position: absolute;
  z-index: 3;
  bottom: 16px;
  left: 50%;
  min-width: 96px;
  height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 13px;
  font-weight: 750;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-bottom-close:active {
  background: rgba(255, 255, 255, .24);
}

@media (max-width: 699px) {
  body.front-frame-page > .front-app-frame.product-detail-page .product-image-viewer {
    padding: 14px 10px 74px;
  }

  body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-frame {
    height: calc(100dvh - 96px);
  }
}

/* 商品详情与其他前台页面共用纯色画布，不再绘制背景圆。 */
body.front-frame-page > .front-app-frame.product-detail-page,
body.front-frame-page > .front-app-frame.product-detail-page > .front-app-content {
  background: #f5f6f7 !important;
  background-image: none !important;
}

body.front-frame-page > .front-app-frame.product-detail-page > .front-app-content > .fixed-bg-pattern {
  display: none !important;
  background: none !important;
  background-image: none !important;
}

/* Keep every image inside the preview canvas before zooming, including tall screenshots. */
body.front-frame-page > .front-app-frame.product-detail-page .product-image-viewer {
  display: block;
  width: 100%;
  height: 100dvh;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-height: none;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-stage img {
  display: block;
  flex: 0 1 auto;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  object-position: center;
}

body.front-frame-page > .front-app-frame.product-detail-page .image-viewer-stage img.is-portrait {
  max-width: min(100%, 68dvh) !important;
}

/* product-action-icons-20260810 */
body.front-frame-page > .front-app-frame.product-detail-page .product-top-actions .product-cart-action > svg,
body.front-frame-page > .front-app-frame.product-detail-page .product-top-actions #shareProductBtn > svg,
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#enterShopBottomBtn > svg,
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#favoriteProductBtn > svg,
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#redeemThemeBtn > svg {
  display: none;
}

body.front-frame-page > .front-app-frame.product-detail-page .product-top-actions .product-cart-action::before,
body.front-frame-page > .front-app-frame.product-detail-page .product-top-actions #shareProductBtn::before,
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#enterShopBottomBtn::before,
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#favoriteProductBtn::before,
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#redeemThemeBtn::before {
  display: block;
  width: 20px;
  height: 20px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

body.front-frame-page > .front-app-frame.product-detail-page .product-top-actions .product-cart-action::before { background-image: url("/assets/product-icons/cart.svg"); }
body.front-frame-page > .front-app-frame.product-detail-page .product-top-actions #shareProductBtn::before { background-image: url("/assets/product-icons/share.svg?v=2026081022"); }
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#enterShopBottomBtn::before { background-image: url("/assets/product-icons/store.svg"); }
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#favoriteProductBtn::before { background-image: url("/assets/product-icons/favorite.svg"); }
body.front-frame-page > .front-app-frame.product-detail-page .product-bottom-icon#redeemThemeBtn::before { background-image: url("/assets/product-icons/redeem.svg"); }

/* group purchase: one flat list for the detail page and one sheet for each step */
.product-group-section{scroll-margin-bottom:96px}
.product-group-head .detail-link-btn.hidden{display:none}
.product-group-list{display:grid;gap:8px;min-width:0}
.product-group-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:10px 0;border-bottom:1px solid #edf0ec}
.product-group-item:last-child{border-bottom:0}
.product-group-main{display:flex;align-items:center;gap:10px;min-width:0;width:100%}
.product-group-main .product-group-join{margin-left:auto;flex:0 0 auto}
.product-group-action{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-width:0;margin-left:auto;flex:0 0 auto}
.product-group-countdown{color:#e5484d;font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
.product-group-members{display:flex;align-items:center;min-width:0;padding-left:2px}
.product-group-members img,.product-group-empty{width:30px;height:30px;flex:0 0 30px;border:2px solid #fff;border-radius:50%;object-fit:cover;background:#f0f2ef;box-shadow:0 0 0 1px #e5e9e4}
.product-group-members img+img,.product-group-empty+img,.product-group-members img+.product-group-empty{margin-left:-7px}
.product-group-empty{display:grid;place-items:center;color:#929992;font-size:17px;font-weight:700;line-height:1}
.product-group-copy{display:grid;gap:3px;min-width:0;margin-left:9px}
.product-group-copy strong,.product-group-copy small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.product-group-copy strong{font-size:13px;color:#222923}
.product-group-copy small{color:#e5484d;font-size:11px;font-weight:800}
.product-group-join{min-width:72px;height:32px;padding:0 11px;border:0;border-radius:999px;background:#202522;color:#fff;font-size:11px;font-weight:800;cursor:pointer}
.product-group-join:disabled{background:#e5e8e4;color:#8a918b;cursor:not-allowed}
.product-group-item.is-completed .product-group-copy small{color:#7b827b}
.product-group-sheet{width:min(430px,calc(100% - 20px));max-height:min(72dvh,560px);overflow:hidden;border-radius:22px 22px 0 0;box-shadow:0 -12px 38px rgba(32,37,34,.14)}
.product-group-sheet-body{display:grid;gap:12px;min-width:0;padding:16px 14px calc(16px + env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain}
.product-group-all-list{display:grid;gap:0;min-width:0}
.product-group-all-list .product-group-item{padding:12px 2px}
.product-group-mode-choice,.product-group-tier-choice{width:100%;min-width:0;border:1px solid #e4e9e4;border-radius:16px;background:#fff;color:#202522;text-align:left;cursor:pointer;transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}
.product-group-mode-choice{display:grid;grid-template-columns:40px minmax(0,1fr) 20px;align-items:center;gap:12px;min-height:68px;padding:12px 13px}
.product-group-tier-list{display:grid;gap:10px;min-width:0}
.product-group-tier-choice{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:11px;min-height:64px;padding:10px 12px}
.product-group-mode-choice:hover,.product-group-tier-choice:hover{border-color:#bfc9c0;background:#fbfcfb;box-shadow:0 5px 14px rgba(32,37,34,.06);transform:translateY(-1px)}
.product-group-mode-choice:disabled,.product-group-tier-choice:disabled{cursor:not-allowed;opacity:.72;transform:none;box-shadow:none}
.product-group-choice-icon,.product-group-tier-icon{display:grid;place-items:center;flex:0 0 auto;font-weight:800}
.product-group-choice-icon{width:38px;height:38px;padding:9px;border-radius:12px;background:#f1f3f0;object-fit:contain}
.product-group-mode-choice:first-child .product-group-choice-icon{background:#eef6ff}
.product-group-mode-choice:nth-child(2) .product-group-choice-icon{background:#f2f0ff}
.product-group-choice-copy,.product-group-tier-copy{display:grid;gap:5px;min-width:0}
.product-group-choice-copy strong,.product-group-tier-copy strong{font-size:14px;line-height:1.2}
.product-group-tier-copy>span{color:#747c75;font-size:12px;line-height:1.2}
.product-group-choice-action,.product-group-tier-action{display:flex;align-items:center;justify-content:flex-end;gap:3px;min-width:18px}
.product-group-choice-action{color:#9aa39b}
.product-group-choice-action.is-disabled{color:#e5484d;font-size:11px;font-weight:800;white-space:nowrap}
.product-group-choice-action b,.product-group-tier-action b{color:#9aa39b;font-size:22px;font-weight:400;line-height:1}
.product-group-tier-icon{width:34px;height:34px;padding:8px;border-radius:11px;background:#f2f0ff;object-fit:contain}
.product-group-tier-action{display:grid;grid-template-columns:auto 14px;align-items:center;gap:3px;min-width:74px;justify-content:end}
.product-group-tier-action em{color:#202522;font-size:11px;font-style:normal;font-weight:800;white-space:nowrap}
.product-group-tier-action.is-limit-reached,.product-group-tier-action small{color:#e5484d;font-size:10px;font-weight:800;white-space:nowrap}
.product-group-tier-action.is-limit-reached{grid-template-columns:1fr;gap:2px;justify-items:end}
.product-group-tier-action small{display:block;line-height:1.2}
.product-group-tier-choice.is-disabled .product-group-tier-action em{color:#e5484d}
.product-group-tier-choice.is-disabled .product-group-tier-icon{background:#fff1f1;filter:grayscale(1);opacity:.72}
.product-group-sheet-empty{margin:0;padding:16px 0;color:#8a918b;text-align:center;font-size:12px}
@media (max-width:520px){
  .product-group-item{gap:7px}
  .product-group-join{min-width:68px;padding-inline:9px}
  .product-group-sheet{width:calc(100% - 12px)}
  .product-group-sheet-body{gap:10px;padding:12px 10px calc(14px + env(safe-area-inset-bottom))}
  .product-group-mode-choice{grid-template-columns:38px minmax(0,1fr) 18px;gap:10px;min-height:66px}
  .product-group-tier-choice{grid-template-columns:34px minmax(0,1fr) auto;gap:9px;min-height:62px;padding-inline:10px}
  .product-group-tier-icon{width:32px;height:32px;padding:7px}
  .product-group-tier-action{min-width:67px}
}

body.front-frame-page > .front-app-frame.product-detail-page .pay-choice .payment-channel-icon,
body.front-frame-page > .front-app-frame.product-detail-page .buyer-pay-choice .payment-channel-icon {
  width: 28px;
  height: 28px;
}

/* Store title treatment for the product detail and public store pages. */
body.front-frame-page > .front-app-frame.product-detail-page .shop-profile-copy {
  display: flex;
  align-items: center;
  min-width: 0;
}

body.front-frame-page > .front-app-frame.product-detail-page .shop-profile-copy > strong {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  overflow: hidden;
  line-height: 1.25;
}

body.front-frame-page > .front-app-frame.product-detail-page .shop-profile-copy > strong #shopName {
  min-width: 0;
  overflow: hidden;
  color: #22262c;
  font-size: inherit;
  font-weight: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body.front-frame-page > .front-app-frame.product-detail-page .shop-name-icon,
.public-shop-page .public-shop-main .shop-name-icon {
  display: block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  object-fit: contain;
}

.public-shop-page .public-shop-main h1 {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 6px;
  margin: 0;
}

.public-shop-page .public-shop-main h1 #publicShopName {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Shared storefront filters */
.catalog-filter-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;margin-top:8px;min-width:0}
.catalog-filter-chips{display:flex;gap:6px;min-width:0;overflow-x:auto;padding:0 1px 2px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.catalog-filter-chips::-webkit-scrollbar{display:none}
.catalog-filter-chips button{flex:0 0 auto;min-height:34px;padding:0 13px;border:1px solid #e9ebe8;border-radius:999px;background:#fff;color:#6f746f;font-size:13px;font-weight:650;line-height:1;cursor:pointer;transition:background .16s ease,border-color .16s ease,color .16s ease,transform .16s ease}
.catalog-filter-chips button.active{border-color:#202020;background:#202020;color:#fff}
.catalog-filter-chips button:active{transform:scale(.96)}

/* Public store profile and catalog */
.public-shop-page{background:#f3f4f2!important}
.public-shop-page .public-shop-topbar{box-shadow:none!important}
.public-shop-page #shopShareBtn::before,.public-shop-page #shopSearchBtn::before{display:none!important}
.public-shop-page .public-shop-profile{overflow:hidden;margin-top:10px;padding:0;border-radius:8px;background:transparent}
.public-shop-cover{height:clamp(170px,34vw,245px);overflow:hidden;background:#eceeeb}
.public-shop-cover img{display:block;width:100%;height:100%;object-fit:cover}
.public-shop-info{padding:0 18px 17px;background:#fff}
.public-shop-page .public-shop-main{display:grid;grid-template-columns:78px minmax(0,1fr) auto;align-items:center;gap:13px;min-height:78px}
.public-shop-page .public-shop-main>img{width:78px;height:78px;min-width:0;flex:none;margin:0;transform:translateY(-50%);border:4px solid #fff;box-shadow:0 3px 10px rgba(20,24,20,.08)}
.public-shop-page .public-shop-main>div{min-width:0;padding:0}
.public-shop-page .public-shop-main h1{font-size:18px;line-height:1.3}
.public-shop-page .public-shop-main>button{align-self:center;margin:0}
.public-shop-page .public-shop-stats{margin-top:1px;padding-top:14px}
.public-shop-page .public-shop-stats strong{font-size:16px}
.public-shop-page .public-shop-stats span{font-size:10px}
.public-shop-page .public-shop-products{border-radius:8px}
body.front-frame-page>.front-app-frame.public-shop-page .public-bottom-nav{width:min(356px,calc(100% - 28px))}
.public-shop-page .public-shop-section-head{justify-content:flex-end;margin-bottom:10px}
.public-shop-page .shop-search-box{width:min(100%,360px)}
.public-shop-page .public-shop-sort-row{margin-bottom:9px}
.public-shop-page #shopParentCategories{margin-top:7px}
.public-shop-page #shopChildCategories{margin-top:7px}
.public-shop-page .catalog-filter-row+.public-shop-grid,
.public-shop-page .category-row+.public-shop-grid{margin-top:12px}
.public-shop-grid>article{width:100%;min-width:0}
.public-shop-product-media{position:relative;width:100%;overflow:hidden;aspect-ratio:1/1;background:#f4f5f2}
.public-shop-grid>article>.public-shop-product-media>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.public-shop-product-media>span{position:absolute;right:7px;bottom:7px;padding:3px 7px;border-radius:999px;background:rgba(255,255,255,.9);color:#5f6460;font-size:9px;font-weight:700}
.public-shop-grid small{display:flex;align-items:center;justify-content:flex-end;gap:4px}
.shop-product-offer{display:inline-flex!important;align-items:center;min-height:18px;padding:0 6px;border-radius:999px;font-size:9px!important;font-weight:700!important}
.shop-product-offer.free{background:#edf8f1;color:#2d8654}
.shop-product-offer.activity{background:#fff0ed;color:#e05a3d}

.public-shop-poster-modal{z-index:7200;align-items:center;padding:20px}
.public-shop-poster-sheet{position:relative;display:grid;justify-items:center;gap:12px;width:min(390px,100%);max-height:calc(100dvh - 40px);overflow:auto;padding:0;background:transparent;box-shadow:none;scrollbar-width:none}
.public-shop-poster-sheet::-webkit-scrollbar{display:none}
.public-shop-poster-sheet canvas{display:block;width:min(100%,320px);height:auto;border-radius:7px;background:#f4f5f3}
.public-shop-poster-close{position:absolute;right:calc(50% - min(50%,160px) + 8px);top:8px;z-index:2;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(32,32,32,.78);color:#fff;font-size:21px;cursor:pointer}
.public-shop-poster-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:min(100%,320px)}
.public-shop-poster-actions .btn{min-height:40px}

@media (max-width:560px){
  .public-shop-page .public-shop-shell{width:calc(100% - 14px)}
  .public-shop-cover{height:176px}
  .public-shop-info{padding-inline:12px}
  .public-shop-page .public-shop-main{grid-template-columns:66px minmax(0,1fr) auto;gap:9px;min-height:66px}
  .public-shop-page .public-shop-main>img{width:66px;height:66px;border-width:3px}
  .public-shop-page .public-shop-main h1{font-size:15px}
  .public-shop-page .public-shop-section-head{align-items:stretch;flex-direction:row}
  .public-shop-page .shop-search-box{width:100%}
  .catalog-filter-row{grid-template-columns:minmax(0,1fr)}
  .catalog-filter-chips button{min-height:30px;padding-inline:11px;font-size:11px}
}

@media (max-width: 699px) {
  body.front-frame-page > .front-app-frame.product-detail-page .shop-name-icon,
  .public-shop-page .public-shop-main .shop-name-icon {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }
}

/* Bound pricing and read-only reviews. */
body.front-frame-page > .front-app-frame.product-detail-page .product-tag.tag-feature-free {
  border-color: #cfeede;
  background: #e9f8f0;
  color: #21865d;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-tag.tag-feature-activity {
  border-color: #f8d7df;
  background: #fff0f3;
  color: #df4967;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-tag.tag-feature-gift {
  border-color: #f2dfb9;
  background: #fff7e8;
  color: #a66b14;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-tag.tag-feature-blind-box {
  border-color: #f2d6c2;
  background: #fff0e4;
  color: #b95f24;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-tag.tag-feature-limit {
  border-color: #d9dee5;
  background: #f3f5f7;
  color: #59616b;
}
body.internal-redeem-disabled .front-app-frame.product-detail-page .product-bottom-bar,
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar.internal-redeem-disabled{grid-template-columns:minmax(0,3fr) minmax(0,7fr)}
body.internal-redeem-disabled .front-app-frame.product-detail-page .product-bottom-tools,
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-bar.internal-redeem-disabled .product-bottom-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-buy.is-limit-reached,
body.front-frame-page>.front-app-frame.product-detail-page .product-bottom-buy:disabled{background:#a9afb6;color:#fff;cursor:not-allowed;filter:none}
body.front-frame-page > .front-app-frame.home-page .product-card-feature.gift {
  border-color: #f2dfb9;
  background: #fff7e8;
  color: #a66b14;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-section {
  gap: 10px;
  padding-block: 14px;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-head {
  min-height: 26px;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-head h2 {
  margin: 0;
  font-size: 16px;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-head > span {
  color: #a66b14;
  font-size: 11px;
  font-weight: 750;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-related-head > span {
  color: #3768b8;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-list {
  display: grid;
  gap: 8px;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item {
  display: grid;
  grid-template-columns: 62px minmax(0,1fr) auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  padding: 9px;
  border: 1px solid #eceeea;
  border-radius: 8px;
  background: #f7f8f6;
  color: #252a27;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item > img {
  width: 62px;
  height: 62px;
  border-radius: 7px;
  object-fit: cover;
  background: #eef0ed;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item > span {
  display: grid;
  justify-items: start;
  gap: 7px;
  min-width: 0;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item strong {
  max-width: 100%;
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item small {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 0 8px;
  border-radius: 999px;
  background: #fff;
  color: #727872;
  font-size: 10px;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item em {
  padding-right: 3px;
  color: #a66b14;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-related-item {
  border-color: #dfe6ef;
  background: #f6f8fb;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-related-item .product-related-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 11px;
  border-radius: 999px;
  background: #30343a;
  color: #fff;
  font-size: 10px;
}
@media (max-width:699px) {
  body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item {
    grid-template-columns: 54px minmax(0,1fr) auto;
    gap: 9px;
    padding: 8px;
  }
  body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item > img { width:54px;height:54px; }
  body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item strong { font-size:12px; }
  body.front-frame-page > .front-app-frame.product-detail-page .product-gift-item em { font-size:10px; }
}
body.front-frame-page > .front-app-frame.product-detail-page .review-heading { display: flex; align-items: center; }
body.front-frame-page > .front-app-frame.product-detail-page .review-heading > h2,
body.front-frame-page > .front-app-frame.product-detail-page .review-heading > span { display: inline-flex; align-items: center; line-height: 1.2; }
body.front-frame-page > .front-app-frame.product-detail-page .product-comment-sheet {
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  width: min(680px, 100%);
  max-height: min(84dvh, 760px) !important;
}
body.front-frame-page > .front-app-frame.product-detail-page .sheet-comment-list {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-order-step { display: grid; gap: 13px; }
body.front-frame-page > .front-app-frame.product-detail-page .product-order-step > header {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 32px;
  align-items: center;
  min-height: 34px;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-order-step > header strong {
  grid-column: 2;
  font-size: 15px;
  text-align: center;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-order-step > header button {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #7b818a;
}
body.front-frame-page > .front-app-frame.product-detail-page .product-order-step > header button:last-child { grid-column: 3; font-size: 22px; }
body.front-frame-page > .front-app-frame.product-detail-page .product-order-step-back { grid-column: 1; grid-row: 1; font-size: 11px; text-align: left; }
body.front-frame-page > .front-app-frame.product-detail-page .order-delivery-fields { display: grid; gap: 10px; }

@media (max-width: 699px) {
  body.front-frame-page > .front-app-frame.product-detail-page .product-comment-modal { align-items: end; padding: 12vh 0 0; }
  body.front-frame-page > .front-app-frame.product-detail-page .product-comment-sheet {
    width: 100%;
    max-width: 100%;
    max-height: 86dvh !important;
    border-radius: 16px 16px 0 0 !important;
  }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-sheet-summary { margin: 10px 13px 0; padding: 10px 11px; }
  body.front-frame-page > .front-app-frame.product-detail-page .product-comment-sheet > .review-tag-row { padding: 10px 13px 0; }
  body.front-frame-page > .front-app-frame.product-detail-page .sheet-comment-list { padding: 11px 13px calc(18px + env(safe-area-inset-bottom)); }
  body.front-frame-page > .front-app-frame.product-detail-page .sheet-comment-list .comment-item { grid-template-columns: 34px minmax(0, 1fr); gap: 8px; }
  body.front-frame-page > .front-app-frame.product-detail-page .sheet-comment-list .comment-item img { width: 34px; height: 34px; }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-name-line { display: grid; grid-template-columns:minmax(0,auto) auto; justify-content:start; gap:4px 7px; }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-name-line strong { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-stars { grid-column:1 / -1; margin-left: 0; line-height:1; }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-review-images { flex-wrap:nowrap; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; -webkit-overflow-scrolling:touch; }
  body.front-frame-page > .front-app-frame.product-detail-page .order-sheet { width: calc(100% - 16px); }
}

/* Keep the compact and expanded review rows aligned on every viewport. */
body.front-frame-page > .front-app-frame.product-detail-page .comment-item {
  align-items: start;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-name-line {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  min-height: 20px;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-name-line strong {
  min-width: 0;
  overflow: hidden;
  color: #2f3740;
  font-size: 13px;
  font-weight: 750;
  line-height: 20px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-rating-label {
  flex: 0 0 auto;
  min-height: 18px;
  padding: 0 7px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
  line-height: 18px;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-rating-line {
  display: flex;
  align-items: center;
  min-height: 16px;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-stars {
  display: inline-block;
  color: #f0a035;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 16px;
  white-space: nowrap;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-purchase {
  min-width: 0;
  color: #98a0a9;
  font-size: 11px;
  line-height: 17px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-body p {
  margin: 0;
  color: #4b535d;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-item-tags {
  display: flex;
  gap: 6px;
  max-width: 100%;
  overflow-x: auto;
  padding: 1px 0 2px;
  scrollbar-width: none;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-item-tags::-webkit-scrollbar { display: none; }
body.front-frame-page > .front-app-frame.product-detail-page .comment-item-tags i {
  flex: 0 0 auto;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 22px;
}
body.front-frame-page > .front-app-frame.product-detail-page .comment-body time {
  color: #a0a7ae;
  font-size: 10px;
  line-height: 16px;
}
body.front-frame-page > .front-app-frame.product-detail-page .sheet-comment-list .comment-item + .comment-item {
  margin-top: 3px;
  padding-top: 14px;
  border-top: 1px solid #f0f1f2;
}
@media (max-width: 699px) {
  body.front-frame-page > .front-app-frame.product-detail-page .comment-item,
  body.front-frame-page > .front-app-frame.product-detail-page .sheet-comment-list .comment-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
  }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-item img,
  body.front-frame-page > .front-app-frame.product-detail-page .sheet-comment-list .comment-item img {
    width: 34px;
    height: 34px;
  }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-name-line {
    display: flex;
    gap: 6px;
  }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-rating-line {
    min-height: 15px;
  }
  body.front-frame-page > .front-app-frame.product-detail-page .comment-stars {
    font-size: 11px;
    line-height: 15px;
  }
}

/* 最终背景规则放在文件末尾，保证商品详情首屏不再回退到旧背景。 */
body.front-frame-page > .front-app-frame.product-detail-page,
body.front-frame-page > .front-app-frame.product-detail-page > .front-app-content {
  background: #f5f6f7 !important;
  background-image: none !important;
}

body.front-frame-page > .front-app-frame.product-detail-page > .front-app-content > .fixed-bg-pattern {
  display: none !important;
  background: none !important;
  background-image: none !important;
}
