/* v0.13.335 — product page feed after the store block: chips + endless cards + in-between ads (web, Android WebView) */
.pfeed-section{margin-top:26px}
.pfeed-section .pfeed-head{margin-bottom:12px}
.pfeed-section .pfeed-head h2{margin:0;color:#182538;font-size:24px;font-weight:850;letter-spacing:-.3px}
.pfeed-chips{display:flex;gap:8px;margin:0 0 16px;padding:2px 0 6px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.pfeed-chips::-webkit-scrollbar{display:none}
.pfeed-chip{display:flex;flex:0 0 auto;max-width:280px;flex-direction:column;align-items:flex-start;justify-content:center;gap:1px;min-height:48px;padding:7px 15px;border:1px solid #e3e8ef;border-radius:14px;background:#f4f6f9;color:#182538;font:inherit;text-align:left;cursor:pointer;transition:background .15s ease,border-color .15s ease,color .15s ease}
.pfeed-chip b{max-width:100%;overflow:hidden;font-size:13px;font-weight:750;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
.pfeed-chip small{color:#7c8798;font-size:11px;line-height:1.2;white-space:nowrap}
.pfeed-chip:hover{border-color:#c9d3e0;background:#eef2f7}
.pfeed-chip.is-active{border-color:#075bff;background:#075bff;color:#fff}
.pfeed-chip.is-active small{color:rgba(255,255,255,.82)}
.pfeed-chip:focus-visible{outline:2px solid #075bff;outline-offset:2px}
.pfeed-section .pfeed-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.pfeed-section .pfeed-grid.is-loading{opacity:.55;transition:opacity .15s ease}
.pfeed-section .pfeed-card{position:relative;display:flex;min-width:0;flex-direction:column;overflow:visible!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;transition:transform .18s ease}
.pfeed-section .pfeed-card:hover{z-index:2;transform:translateY(-2px);box-shadow:none!important}
.pfeed-section .pfeed-card .product-image{height:auto!important;aspect-ratio:3/4;border-radius:15px!important;background:#f4f6f9;overflow:hidden}
.pfeed-section .pfeed-card .product-card-gallery-frame>img{width:100%;height:100%;padding:0!important;object-fit:cover!important;background:#f4f6f9!important}
.pfeed-section .pfeed-body{display:flex;min-height:166px;flex:1;flex-direction:column;gap:6px;padding:8px 3px 0!important}
.pfeed-section .pfeed-prices{display:flex;min-height:24px;min-width:0;max-width:100%;align-items:baseline;flex-wrap:wrap;gap:3px 6px;line-height:1.2}
.pfeed-section .pfeed-prices strong{color:#00a957;font-size:18px;font-weight:850;white-space:nowrap}
.pfeed-section .pfeed-prices.has-discount strong{color:#f02b78}
.pfeed-section .pfeed-prices del{color:#8e98a5;font-size:11px;white-space:nowrap}
.pfeed-section .pfeed-prices>span{color:#ed2871;font-size:11px;font-weight:800;white-space:nowrap}
.pfeed-section .pfeed-store{display:block;overflow:hidden;color:#7c8798;font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
.pfeed-section .pfeed-name{color:inherit;text-decoration:none}
.pfeed-section .pfeed-name h3{display:-webkit-box;height:38px;min-height:38px;margin:0;overflow:hidden;color:#182538;font-size:13px;font-weight:600;line-height:1.4;text-overflow:ellipsis;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.pfeed-section .pfeed-rating{display:flex;min-width:0;min-height:19px;align-items:center;gap:5px;overflow:hidden;color:#26364a;font-size:11px;line-height:1.2;white-space:nowrap}
.pfeed-section .pfeed-star{color:#ffab18;font-size:15px;line-height:1}
.pfeed-section .pfeed-rating>b{font-size:11px;font-weight:750}
.pfeed-section .pfeed-count{min-width:0;overflow:hidden;color:#758398;font-size:10px;text-overflow:ellipsis}
.pfeed-section .pfeed-body form{width:100%;margin:auto 0 0}
.pfeed-section .pfeed-body form .add-cart{width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 9px!important;border:0!important;border-radius:11px!important;background:#075bff!important;color:#fff!important;font-size:12px!important;font-weight:750!important;white-space:nowrap}
.pfeed-section .pfeed-body form .add-cart:disabled{background:#e8edf2!important;color:#8290a0!important}
/* in-between ad: full row, 5:1 image (same creative as the home feed ad) */
.pfeed-section .pfeed-ad{position:relative;grid-column:1/-1;margin:6px 0 10px}
.pfeed-ad-label{position:absolute;z-index:5;top:9px;right:10px;padding:4px 8px;border-radius:9px;background:rgba(255,255,255,.88);color:#65758a;font-size:11px;font-weight:750;line-height:1;pointer-events:none}
.pfeed-section .pfeed-ad .market-ad{display:block}
.pfeed-empty{margin:12px 0;padding:16px 0;color:#758398;font-size:13px}
.pfeed-foot{display:flex;justify-content:center;margin:18px 0 6px}
.pfeed-more{min-width:220px;height:44px;padding:0 22px;border:1px solid #d7dee8;border-radius:12px;background:#fff;color:#182538;font:inherit;font-size:14px;font-weight:750;cursor:pointer}
.pfeed-more:hover{border-color:#075bff;color:#075bff}
.pfeed-loading{display:inline-flex;align-items:center;gap:9px;color:#758398;font-size:13px}
.pfeed-loading i{width:16px;height:16px;border:2px solid #d7dee8;border-top-color:#075bff;border-radius:50%;animation:pfeed-spin .8s linear infinite}
.pfeed-sentinel{height:1px}
@keyframes pfeed-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.pfeed-section .pfeed-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .pfeed-section .pfeed-head h2{font-size:19px}
  .pfeed-chip{min-height:44px;padding:6px 12px;border-radius:12px}
  .pfeed-section .pfeed-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
  .pfeed-section .pfeed-body{min-height:156px;gap:5px}
  .pfeed-section .pfeed-prices strong{font-size:16px}
  .pfeed-section .pfeed-prices del,.pfeed-section .pfeed-prices>span{font-size:9px}
  .pfeed-section .pfeed-name h3{height:35px;min-height:35px;font-size:12px}
  .pfeed-section .pfeed-body form .add-cart{height:38px!important;min-height:38px!important;font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){.pfeed-section .pfeed-card{transition:none}.pfeed-loading i{animation:none}}
/* Android WebView product page: white rounded card like the other native sections */
body.native-mobile-app .pfeed-section.is-native{margin:8px 0 0;padding:16px;border-radius:22px;background:#fff}
body.native-mobile-app .pfeed-section.is-native .pfeed-head h2{color:#111c31;font-size:18px;font-weight:950}
body.native-mobile-app .pfeed-section.is-native .pfeed-grid{gap:8px}
body.native-mobile-app .pfeed-section.is-native .pfeed-card .product-image{aspect-ratio:1/1.13;border-radius:14px!important}
/* dark theme */
html[data-theme="dark"] .pfeed-section .pfeed-head h2,html[data-theme="dark"] .pfeed-section .pfeed-name h3{color:#edf3fa}
html[data-theme="dark"] .pfeed-chip{border-color:#354153;background:#202936;color:#edf3fa}
html[data-theme="dark"] .pfeed-chip small{color:#9fb0c4}
html[data-theme="dark"] .pfeed-chip:hover{background:#29364a}
html[data-theme="dark"] .pfeed-chip.is-active{border-color:#3b82ff;background:#2563eb;color:#fff}
html[data-theme="dark"] .pfeed-chip.is-active small{color:rgba(255,255,255,.82)}
html[data-theme="dark"] .pfeed-section .pfeed-card .product-image,html[data-theme="dark"] .pfeed-section .pfeed-card .product-card-gallery-frame>img{background:#1b2430!important}
html[data-theme="dark"] .pfeed-section .pfeed-rating{color:#c9d5e3}
html[data-theme="dark"] .pfeed-more{border-color:#354153;background:#202936;color:#edf3fa}
html[data-theme="dark"] .pfeed-ad-label{background:rgba(23,30,40,.88);color:#c0cbd8}
html[data-theme="dark"] body.native-mobile-app .pfeed-section.is-native{background:#151c26}
/* v0.13.336: chips with a small product photo (reference) */
.pfeed-chip-copy{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:1px}
.pfeed-chip-copy b{max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.pfeed-chip.has-image{flex-direction:row;align-items:center;gap:10px;padding:5px 15px 5px 5px}
.pfeed-chip-img{width:38px;height:38px;flex:0 0 auto;border-radius:10px;background:#fff;object-fit:cover}
@media(max-width:760px){.pfeed-chip-img{width:34px;height:34px}}
.pfeed-section .pfeed-left{color:#e8336d;font-size:11px;font-weight:750;line-height:1.2}
