/* Page styles extracted from brand.html. Keep after common.css and ui.css. */

html,body{margin:0;background:#f6f4f6;color:#202124;font-family:var(--font-sans,-apple-system,BlinkMacSystemFont,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Helvetica Neue,Arial,sans-serif)}
body{padding-bottom:calc(72px + env(safe-area-inset-bottom))}
.brand-shell{width:100%;max-width:480px;margin:0 auto;box-sizing:border-box;padding:10px 10px 86px}
.brand-search-panel{position:relative;margin:2px 0 10px;padding:10px;border-radius:18px;background:linear-gradient(135deg,#fff,#fff7f9);box-shadow:0 8px 22px rgba(22,22,22,.045);box-sizing:border-box;z-index:5}
.brand-search-row{display:flex;align-items:center;gap:8px}
.brand-cat-select{width:60px;height:38px;border:0;border-radius:999px;background:#f7f3f5;color:#5f5861;font-size:12px;padding:0 0px 0 11px;outline:none;box-sizing:border-box}
.brand-search-box{flex:1;min-width:0;height:38px;border-radius:999px;background:#f7f3f5;display:flex;align-items:center;padding:0 8px 0 13px;box-sizing:border-box}
.brand-search-icon{width:17px;height:17px;margin-right:6px;color:#9b949d;flex:0 0 auto}
.brand-search-input{flex:1;min-width:0;border:0;background:transparent;outline:none;font-size:13px;color:#242228}
.brand-search-input::placeholder{color:#b6afb7}
.brand-search-btn{border:0;background:linear-gradient(135deg,#ff6f86,#ff3d6e);color:#fff;border-radius:999px;height:28px;min-width:50px;padding:0 12px;font-size:12px}
.brand-filter-tip{display:none!important;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:11px;color:#9d96a0}
.brand-filter-clear{border:0;background:transparent;color:#ff5d67;font-size:11px;padding:0;display:none}
.brand-suggest{position:absolute;left:10px;right:10px;top:58px;display:none;background:#fff;border-radius:16px;box-shadow:0 14px 34px rgba(25,25,25,.12);overflow:hidden;z-index:30;border:1px solid rgba(255,93,103,.08)}
.brand-suggest-item{display:flex;align-items:center;gap:10px;padding:9px 10px;text-decoration:none;color:#28252b;border-bottom:1px solid #f6f3f5;box-sizing:border-box}
.brand-suggest-item:last-child{border-bottom:0}
.brand-suggest-thumb{width:38px;height:38px;border-radius:10px;background:#f6f3f5;overflow:hidden;display:flex;align-items:center;justify-content:center;color:#ff5d67;font-size:15px;font-weight:700;flex:0 0 auto}
.brand-suggest-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.brand-suggest-main{flex:1;min-width:0}
.brand-suggest-name{font-size:12px;line-height:38px;color:#262329;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-suggest-name em{font-style:normal;color:#ff2f6d;background:rgba(255,47,109,.08);border-radius:3px;padding:0 1px}
.brand-sub{margin:6px 4px 14px;font-size:12px;line-height:1.45;color:#9a949c}
.brand-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.brand-card{min-width:0;display:flex;flex-direction:column;align-items:center;gap:7px;padding:14px 8px;border-radius:16px;background:#fff;text-decoration:none;color:#222;box-shadow:0 8px 20px rgba(20,20,20,.05);box-sizing:border-box}
.brand-card img,.brand-card .letter{width:54px;height:54px;border-radius:50%;object-fit:cover;background:#f4f4f4}
.brand-card .letter{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#fff2f4,#ffe1e5);color:#ff5d67;font-weight:700}
.brand-card strong{display:block;max-width:100%;font-size:13px;font-weight:600;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-products{width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;box-sizing:border-box}
.brand-product-card{min-width:0;overflow:hidden;border-radius:14px;background:#fff;box-shadow:0 6px 16px rgba(24,24,24,.045);cursor:pointer}
.brand-product-img{position:relative;width:100%;aspect-ratio:1/1;background:#f5f2f3;overflow:hidden}
.brand-product-img img{width:100%;height:100%;object-fit:cover;display:block}
.brand-product-img .gradient-rose{width:100%;height:100%;background:linear-gradient(135deg,#fff0f3,#f3f4ff)}
.brand-product-body{padding:8px 8px 9px}
.brand-product-name{font-size:12px;line-height:1.28;color:#252429;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 0 7px}
.brand-product-price-row{display:flex;align-items:flex-end;justify-content:space-between;gap:6px}
.brand-product-price{font-size:15px;font-weight:700;line-height:1;color:#ff5d67;letter-spacing:-.2px}
.brand-product-price small{font-size:10px;margin-right:1px;font-weight:600}
.brand-product-tag{font-size:10px;line-height:1;color:#9a949c;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand-empty{grid-column:1/-1;padding:28px 18px;text-align:center;color:#999;background:#fff;border-radius:16px;font-size:13px;line-height:1.8}
.brand-empty a{color:#ff5d67;text-decoration:none}
.brand-load{display:block;width:100%;border:0;background:transparent;color:#ff5d67;padding:14px 0 4px;margin-top:8px;font-size:12px}
.brand-load.is-done{color:#aaa}
@media(min-width:520px){.brand-shell{padding-left:12px;padding-right:12px}.brand-products{gap:10px}.brand-product-body{padding:9px 10px 10px}.brand-product-name{font-size:13px}.brand-product-price{font-size:16px}}
#productList.brand-products article{width:auto!important;margin:0!important;display:block!important;box-sizing:border-box!important}
