.discovery-page .product-hero{padding:54px 0 46px;max-width:850px}
.discovery-page .product-hero h1{margin-top:12px}
.discovery-page .search{align-items:center}
.discovery-page .search input[name="q"]{flex:1;width:auto;min-width:0}
.search-camera-wrap{position:relative;display:block;flex:none}
.search-camera{width:40px;height:40px;display:grid;place-items:center;flex:none;color:#54466e;border-radius:10px}
.search-camera:hover{background:#f0edfa;color:#5845d6}
.image-source-menu{position:absolute;right:0;top:calc(100% + 9px);z-index:12;display:grid;gap:4px;width:max-content;min-width:154px;padding:6px;border:1px solid #e3deed;border-radius:12px;background:#fff;box-shadow:0 12px 32px #231a4524}
.image-source-menu[hidden]{display:none}
.discovery-page .search .image-source-menu button{display:block;width:100%;min-height:40px;padding:8px 12px;border:0;border-radius:8px;background:#fff;color:#302747;text-align:left;font:inherit;font-size:14px;cursor:pointer}
.discovery-page .search .image-source-menu button:hover,.discovery-page .search .image-source-menu button:focus-visible{background:#f2effc;color:#5845d6}
.image-search-upload{position:absolute;width:1px;height:1px;overflow:hidden}
.image-camera-dialog{width:min(480px,calc(100vw - 32px));max-width:none;padding:18px;border:1px solid #dfdbec;border-radius:18px;background:#fff;color:#28263a;box-shadow:0 22px 70px #11142a45}
.image-camera-dialog::backdrop{background:#11142ab8}
.image-camera-dialog video{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#161625}
.image-camera-dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.image-camera-dialog button{min-height:42px;padding:9px 14px;border:1px solid #ded9ec;border-radius:9px;background:#fff;color:#352774;font:inherit;cursor:pointer}
.image-camera-dialog [data-camera-shoot]{border-color:#5845d6;background:#5845d6;color:#fff}
.image-camera-dialog [data-camera-shoot]:disabled{opacity:.45;cursor:wait}
.image-camera-error{margin:12px 0 0;color:#9d2c3d;font-size:14px}
.discovery-page .category-rail{position:relative;min-width:0}
.discovery-page .category-orbs{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x proximity;scrollbar-width:thin;padding:10px 2px 20px;margin:0 0 36px}
.discovery-page .category-orb{flex:0 0 130px;scroll-snap-align:start}
.discovery-page .category-orb-art--photo{width:88px;height:88px}
.category-rail-arrow{display:none}
.discovery-page .category-rail-ready .category-rail-arrow{display:grid;place-items:center;position:absolute;z-index:2;top:42px;width:38px;height:38px;border:1px solid #e6e3f0;border-radius:50%;background:#fff;color:#4634bc;box-shadow:0 4px 14px #211d3629;font:inherit;cursor:pointer}
.discovery-page .category-rail-ready .category-rail-previous{left:-18px}
.discovery-page .category-rail-ready .category-rail-next{right:-18px}
.category-rail-arrow:disabled{opacity:0;pointer-events:none}
.discovery-shelves{margin:0 0 50px;display:grid;gap:46px}
.discovery-shelf{min-width:0}
.shelf-heading{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:18px}
.shelf-kicker{display:block;color:#5845d6;font-size:11px;font-weight:750;letter-spacing:.16em;margin-bottom:5px}
.shelf-heading h2{font-size:26px;letter-spacing:-.035em;line-height:1.3;margin:0}
.shelf-actions{display:flex;align-items:center;gap:8px}
.shelf-view-all{white-space:nowrap;display:inline-flex;align-items:center;gap:7px;color:#302747;font-size:13px;font-weight:750;letter-spacing:.03em;padding:9px 2px 9px 12px}
.shelf-view-all:hover{color:#5845d6}
.shelf-arrow{display:none;border:1px solid #e4dfef;background:#fff;color:#433765;width:34px;height:34px;border-radius:50%;font:inherit;line-height:1;cursor:pointer}
.shelf-ready .shelf-arrow{display:inline-grid;place-items:center}
.shelf-arrow:disabled{opacity:.32;cursor:default}
.shelf-track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 75px)/6);gap:15px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:thin;scroll-padding-inline:2px;padding:2px 2px 15px}
.shelf-card{min-width:0;scroll-snap-align:start}
.shelf-cover{display:block;position:relative;aspect-ratio:1;background:#f4f2fa;border-radius:16px;overflow:hidden}
.shelf-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .2s}
.shelf-cover:hover img{transform:scale(1.045)}
.shelf-no-photo{height:100%;display:grid;place-items:center;color:#837c94;font-size:13px}
.shelf-qc{position:absolute;left:10px;bottom:10px;border-radius:20px;background:#fff;color:#423493;padding:4px 9px;font-size:11px;font-weight:750;box-shadow:0 2px 12px #22223826}
.shelf-card-info{padding:9px 2px 0}
.shelf-card-info>a{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.7em;line-height:1.35;font-size:14px;color:#27283a}
.shelf-card-info>a:hover{color:#5845d6}
.shelf-card-meta{margin-top:6px;font-size:15px;font-weight:750;color:#363052}
.shelf-card-meta .reference-price{font-size:inherit}
.catalog-filter-panel{margin:4px 0 26px;border:1px solid #e7e4ef;border-radius:16px;padding:0 16px;background:#faf9fd}
.catalog-filter-panel>summary{cursor:pointer;padding:13px 3px;font-weight:700;color:#443765}
.catalog-filter-panel[open]>summary{border-bottom:1px solid #e9e6f1;margin-bottom:15px}
.catalog-filter-panel .catalog-filters{margin-top:0}
.catalog-filter-panel>p{margin-top:6px}
.discovery-page:not(.discovery-landing) .product-hero{padding:27px 0 24px}
.discovery-page:not(.discovery-landing) .product-hero h1{font-size:clamp(27px,3vw,38px)}
.discovery-page:not(.discovery-landing) .category-orbs{margin-bottom:16px}
.discovery-page:not(.discovery-landing) .category-orb{flex-basis:108px;min-height:112px;font-size:12px}
.discovery-page:not(.discovery-landing) .category-orb-art,.discovery-page:not(.discovery-landing) .category-orb-art--photo{width:72px;height:72px}
.discovery-page:not(.discovery-landing) .category-rail-ready .category-rail-arrow{top:30px}
.discovery-page:not(.discovery-landing) .subcategory-navigation{margin-bottom:16px;padding-top:14px}
.discovery-page:not(.discovery-landing) .subcategory-navigation h2{font-size:15px;margin-bottom:10px}
.discovery-page:not(.discovery-landing) .subcategory-list{position:relative;display:flex;overflow-x:auto;gap:8px;padding-bottom:12px;scrollbar-width:thin}
.discovery-page:not(.discovery-landing) .subcategory-item{flex:0 0 auto;min-height:42px;white-space:nowrap}
.discovery-page:not(.discovery-landing) .product-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.discovery-page:not(.discovery-landing) .product-card{border:0;border-radius:0;overflow:visible}
.discovery-page:not(.discovery-landing) .product-cover{border-radius:16px}
.discovery-page:not(.discovery-landing) .product-body{padding:9px 2px}
.discovery-page:not(.discovery-landing) .product-body h3{font-size:14px;line-height:1.35;margin:5px 0}
.discovery-page:not(.discovery-landing) .product-price{font-size:16px}
@media(max-width:1100px) and (min-width:701px){.shelf-track{grid-auto-columns:clamp(180px,24vw,240px)}}
@media(max-width:1100px) and (min-width:701px){.discovery-page:not(.discovery-landing) .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){.discovery-page .product-hero{padding:32px 0 26px}.discovery-page .search input[name="q"]{padding:10px 8px;font-size:13px}.discovery-page .search button{padding:10px 12px}.search-camera{width:34px;height:38px}.discovery-page .category-orbs{gap:6px;margin-bottom:26px}.discovery-page .category-orb{flex-basis:103px;min-height:105px}.discovery-page .category-orb-art--photo{width:76px;height:76px}.discovery-page .category-rail-ready .category-rail-arrow{display:none}.discovery-shelves{gap:32px;margin-bottom:35px}.shelf-heading h2{font-size:21px}.shelf-kicker{font-size:9px}.shelf-track{grid-auto-columns:65vw;gap:12px}.shelf-actions{gap:2px}.shelf-view-all{font-size:12px}.shelf-ready .shelf-arrow{display:none}.catalog-filter-panel{padding:0 12px}.discovery-page:not(.discovery-landing) .product-hero{padding:17px 0}.discovery-page:not(.discovery-landing) .category-orb{flex-basis:92px;min-height:100px}.discovery-page:not(.discovery-landing) .category-orb-art--photo{width:70px;height:70px}.discovery-page:not(.discovery-landing) .subcategory-item{font-size:12px}.discovery-page:not(.discovery-landing) .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.discovery-page:not(.discovery-landing) .product-body h3{font-size:13px}}
@media(max-width:360px){.shelf-track{grid-auto-columns:72vw}.shelf-heading h2{font-size:19px}}
/* Mobile discovery is a two-card shopping layout, not a scaled desktop rail. */
@media(max-width:700px){
  .discovery-landing .product-hero{padding:24px 0 18px}
  .discovery-landing .product-hero h1{margin:12px 0;font-size:clamp(27px,7.4vw,31px);line-height:1.24}
  .discovery-landing .product-hero p{margin:0;font-size:15px;line-height:1.5}
  .discovery-landing .search{margin-top:22px}
  .discovery-landing .category-orbs{margin-bottom:20px}
  .discovery-landing .shelf-track{grid-auto-columns:calc((100% - 12px)/2);gap:12px;padding:2px 0 12px;scrollbar-width:none}
  .discovery-landing .shelf-track::-webkit-scrollbar{display:none}
  .discovery-landing .shelf-cover{border-radius:12px}
  .discovery-landing .shelf-card-info{padding:7px 0 0}
  .discovery-landing .shelf-card-info>a{font-size:12px;line-height:1.35}
  .discovery-landing .shelf-card-meta{font-size:13px}
}
@media(prefers-reduced-motion:reduce){.shelf-cover img{transition:none}}

/* Compact monochrome marketplace marks in the existing product search form. */
.search-platform-logos{display:flex;align-items:center;gap:6px;flex:none;margin:0 8px 0 4px}
.search-platform-logo{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#898992;color:#fff;font-family:Arial,"Noto Sans SC",sans-serif;font-weight:800;line-height:1;white-space:nowrap}
.search-platform-logo--1688{font-size:10px;letter-spacing:-.7px}
.search-platform-logo--weidian{font-size:10px;letter-spacing:-1px}
.search-platform-logo--taobao{font-size:16px}
@media(max-width:700px){.discovery-page .search{flex-wrap:wrap}.discovery-page .search input[name="q"]{flex:1 1 100%}.search-platform-logos{margin:0 auto 0 8px}.discovery-page .search>button[type="submit"]{margin-left:auto}}
