.product-gallery{margin:14px 0 22px}.product-gallery .form-label{margin-bottom:10px}.product-gallery small{display:block;margin-top:9px;color:var(--muted);font-size:11px;line-height:1.5}
#product-gallery-list{display:flex;gap:8px;flex-wrap:wrap}.gallery-preview{width:88px;height:76px;position:relative;border:1px solid var(--line);border-radius:11px;overflow:hidden;background:var(--raised)}
.gallery-preview>button:first-child{width:100%;height:100%;padding:0;background:none}.gallery-preview img{width:100%;height:100%;object-fit:contain}.gallery-preview>button:nth-child(2){position:absolute;top:2px;right:2px;width:24px;height:24px;padding:0;border-radius:50%;background:var(--bg);color:var(--text);font-size:20px;line-height:1}.gallery-preview span{position:absolute;bottom:0;left:0;right:0;background:color-mix(in srgb,var(--bg) 85%,transparent);font-size:10px;text-align:center;pointer-events:none}
.product-gallery-add{position:relative;margin-top:12px;overflow:hidden;cursor:pointer}.product-gallery-add input{position:absolute;inset:0;opacity:0;cursor:pointer}.product-gallery-add[hidden]{display:none}.draft-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:20px 0}.draft-actions button{font-size:12px}
.product-gallery-view{min-width:0}.product-page-thumbs{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.product-page-thumbs button{width:72px;height:64px;padding:3px;border:1px solid var(--line);border-radius:10px;background:var(--raised)}.product-page-thumbs button.selected{border:2px solid var(--accent)}.product-page-thumbs img{width:100%;height:100%;object-fit:contain}
.seller-search{margin:16px 0 22px}.seller-search>.search-large{max-width:620px}.seller-search-results{margin:24px 0}.seller-search-results h2{font-size:18px;margin-bottom:12px}.seller-search-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px}.seller-search-grid>button{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid var(--line);border-radius:13px;background:var(--surface);text-align:left;min-width:0}.seller-search-grid>button:hover{border-color:var(--accent)}.seller-search-grid .avatar{width:40px;height:40px;flex:0 0 40px}.seller-search-grid span{min-width:0;flex:1}.seller-search-grid strong,.seller-search-grid small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.seller-search-grid strong{font-size:13px}.seller-search-grid small{font-size:11px;color:var(--muted)}.seller-search-grid .icon{width:16px}
.chat-listing{position:relative;min-width:0}.chat-listing .chat-item{padding-right:44px!important}.chat-pin{position:absolute;right:10px;top:50%;transform:translateY(-50%);width:30px;height:30px;display:grid;place-items:center;border-radius:8px;background:transparent;color:var(--muted);opacity:.55;z-index:2}.chat-pin:hover,.chat-pin:focus-visible,.chat-pin.active{opacity:1;color:var(--accent);background:var(--raised)}.chat-pin .icon{width:15px;height:15px}.chat-pin.active .icon{fill:color-mix(in srgb,var(--accent) 25%,transparent)}
@media(max-width:700px){.seller-search-grid{grid-template-columns:1fr}.chat-listing .chat-item{padding-right:48px!important}}
.product-photo-carousel{position:relative;min-width:0}
.product-photo-carousel .upload-box{margin:0;aspect-ratio:16/9;max-height:none}
.product-photo-carousel .upload-preview img{object-fit:contain}
.photo-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:40px;height:44px;border-radius:14px;background:color-mix(in srgb,var(--bg) 80%,transparent);border:1px solid var(--line);color:var(--text);font-size:30px;line-height:1;backdrop-filter:blur(12px)}
.photo-carousel-arrow.previous{left:8px}.photo-carousel-arrow.next{right:8px}
.photo-carousel-arrow[hidden]{display:none}
.photo-carousel-arrow:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.photo-carousel-count{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);pointer-events:none;background:color-mix(in srgb,var(--bg) 85%,transparent);border:1px solid var(--line);border-radius:20px;padding:4px 10px;color:var(--text);font-size:11px;white-space:nowrap}
.product-gallery-ready[data-photo-uploading] .product-photo-carousel{opacity:.65;pointer-events:none}
.product-photo-carousel .upload-preview{padding:28px 48px}
.product-photo-carousel .upload-preview:has(img){padding:0}
