*{box-sizing:border-box} :root{--p:#e2539c;--p2:#f79bc2;--t:#25182e;--m:#796f81;--l:#efe3ec;--bg:#fff7fb;--d:#e14e83;--g:#16845b;--shadow:0 10px 28px rgba(226,83,156,.10);--shadow-soft:0 6px 18px rgba(92,45,87,.08)}body{margin:0;background:var(--bg);color:var(--t);font-family:Inter,system-ui,sans-serif}a{text-decoration:none;color:inherit}button,input{font:inherit}.topbar{position:sticky;top:0;z-index:20;height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 16px;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--l);box-shadow:0 2px 10px rgba(92,45,87,.04)}.brand{font-size:20px;font-weight:900;color:var(--p)}.brand span{color:var(--t)}.icon-btn{border:0;background:transparent;font-size:20px;padding:7px}.top-actions{display:flex}.search-wrap{height:48px;display:flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--l);border-radius:16px;padding:0 14px;box-shadow:var(--shadow-soft)}.search-wrap input{width:100%;border:0;outline:0}main{max-width:980px;margin:auto;padding:14px 14px 90px}.hero{margin-top:14px;border-radius:20px;padding:22px;min-height:190px;display:flex;align-items:center;justify-content:space-between;color:#fff;background:linear-gradient(135deg,var(--p),var(--p2))}.hero h1{margin:7px 0;font-size:clamp(28px,7vw,46px)}.hero p{opacity:.9}.hero-art{font-size:48px}.primary,.secondary{border:0;border-radius:11px;padding:11px 16px;font-weight:800}.primary{background:var(--p);color:#fff}.secondary{background:#f0efff;color:var(--p)}.hero .primary{background:#fff;color:var(--p)}.section{margin-top:24px}.section-head{display:flex;justify-content:space-between}.section-head h2{margin:0 0 14px;font-size:18px}.section-head a{color:var(--p);font-size:13px;font-weight:800}.category-row{display:flex;gap:12px;overflow:auto}.category{min-width:78px;display:grid;place-items:center;gap:6px;padding:10px 6px;background:#fff;border:1px solid var(--l);border-radius:14px;font-size:25px}.category span{font-size:11px;color:var(--m)}.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.card{background:#fff;border:1px solid var(--l);border-radius:18px;overflow:hidden;box-shadow:var(--shadow-soft)}.pic{height:155px;display:grid;place-items:center;background:#f0f0f6;font-size:54px}.info{padding:10px}.info h3{font-size:14px;margin:0 0 6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.rating{font-size:12px;color:#f3a000}.rating span,.muted{color:var(--m)}.price{display:block;color:var(--d);font-size:17px;font-weight:900;margin-top:7px}.bottom{position:fixed;left:0;right:0;bottom:0;z-index:30;height:68px;display:grid;grid-template-columns:repeat(5,1fr);background:rgba(255,255,255,.98);border-top:1px solid var(--l);box-shadow:0 -4px 18px rgba(92,45,87,.06)}.bottom a{display:grid;place-items:center;align-content:center;color:var(--m);font-size:19px}.bottom span{font-size:10px}.bottom .active{color:var(--p);font-weight:900}.title{display:flex;gap:10px;align-items:center;margin:6px 0 18px}.title h1{font-size:23px}.panel{background:#fff;border:1px solid var(--l);border-radius:18px;padding:16px;margin-bottom:14px;box-shadow:var(--shadow-soft)}.row{display:flex;justify-content:space-between;gap:10px}.divider{border-top:1px solid var(--l);margin:14px 0}.status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}.pending{background:#fff2cf;color:#9a6900}.paid{background:#e7f8f0;color:var(--g)}.shipped{background:#eaf0ff;color:#3154b8}.input{width:100%;border:1px solid var(--l);border-radius:11px;padding:11px}.full{width:100%}.tabs{display:flex;gap:8px;overflow:auto;margin-bottom:14px}.tab{white-space:nowrap;border:1px solid var(--l);background:#fff;border-radius:999px;padding:9px 13px;font-weight:800}.tab.active{background:var(--p);color:#fff}.order{background:#fff;border:1px solid var(--l);border-radius:15px;padding:14px;margin-bottom:12px}.product{display:flex;gap:12px}.thumb{width:68px;height:68px;border-radius:10px;background:#f0f0f6;display:grid;place-items:center;font-size:28px}.actions{display:flex;gap:8px;margin-top:12px}.small{border:1px solid var(--l);background:#fff;border-radius:9px;padding:8px 11px;font-size:12px;font-weight:800}.small.primary{background:var(--p);color:#fff}.chat{display:flex;gap:12px;align-items:center;padding:13px;background:#fff;border:1px solid var(--l);border-radius:14px;margin-bottom:10px}.avatar{width:45px;height:45px;border-radius:50%;display:grid;place-items:center;background:#ebe8ff;color:var(--p);font-weight:900}.grow{flex:1}.profile{display:flex;gap:14px;align-items:center}.avatar.big{width:64px;height:64px;font-size:25px}.menu a{display:flex;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--l)}.menu a:last-child{border:0}.sticky{position:fixed;left:0;right:0;bottom:68px;background:#fff;border-top:1px solid var(--l);padding:10px;display:grid;grid-template-columns:1fr 1.3fr;gap:8px;z-index:15}@media(min-width:760px){main{padding-top:24px}.grid{grid-template-columns:repeat(4,1fr)}.bottom{display:none}.sticky{position:static;margin-top:15px;background:transparent;border:0;padding:0}.topbar{padding:0 max(24px,calc((100vw - 980px)/2))}}
/* V6 role/profile layout fixes */
.page-title{display:flex;align-items:center;gap:10px;margin:6px 0 18px}.page-title h1{font-size:23px;margin:0}
.primary-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:11px;padding:11px 16px;font-weight:800;background:var(--p);color:#fff;cursor:pointer}
.primary-btn.full{width:100%}.small.full{display:flex;justify-content:center;width:100%}.danger-link{color:#b52f3a!important;text-align:center}
.form-group{margin-bottom:14px}.form-group label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.select,.textarea{width:100%;border:1px solid var(--l);border-radius:11px;padding:11px;background:#fff;font:inherit}.textarea{min-height:110px;resize:vertical}
.product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.total{font-size:24px;font-weight:900;margin-top:5px}
@media(max-width:560px){.product-grid{grid-template-columns:1fr}.brand{font-size:19px}.title h1{font-size:28px}}
.alert-danger{background:#ffe9eb!important;color:#b52f3a;border-color:#ffc7cc!important}.alert-success{background:#e7f8f0!important;color:#16845b;border-color:#bdebd8!important}.image-note{font-size:12px;color:var(--m);margin-top:8px}.image-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:14px}.image-item{border:1px solid var(--l);border-radius:12px;padding:7px;background:#fff}.image-item img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:8px;background:#f0f0f6}.image-actions{display:flex;gap:5px;align-items:center;justify-content:center;margin-top:7px;flex-wrap:wrap}.discount-table{margin-top:14px}.discount-head,.discount-row{display:grid;grid-template-columns:1.1fr 1fr 1.1fr 42px;gap:8px;align-items:center}.discount-head{font-size:11px;font-weight:800;color:var(--m);padding:0 3px 6px}.discount-row{margin-bottom:8px}.discount-row .input,.discount-row .select{min-width:0}.seller-product-row{display:flex;gap:12px;padding:12px 0;border-bottom:1px solid var(--l);align-items:center}.seller-product-thumb{width:64px;height:64px;border-radius:12px;background:#f0f0f6;display:grid;place-items:center;font-size:27px;overflow:hidden;flex:none}.seller-product-thumb img{width:100%;height:100%;object-fit:cover}.seller-product-main{min-width:0;flex:1}.seller-product-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-top:7px}.product-card-pic{position:relative}.product-card-pic img{width:100%;height:100%;object-fit:cover}.heart{position:absolute;right:7px;top:7px;background:rgba(255,255,255,.9);border-radius:50%;z-index:2}.discount-badge{display:inline-block;background:#fff1e8;color:#c24d12;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:800;margin-top:6px}.gallery-main{height:330px;border-radius:18px;background:#f0f0f6;display:grid;place-items:center;overflow:hidden}.gallery-main img{width:100%;height:100%;object-fit:contain}.gallery-main span{font-size:100px}.gallery-thumbs{display:flex;gap:8px;overflow:auto;margin-top:10px}.gallery-thumb{width:66px;height:66px;padding:3px;border:2px solid transparent;border-radius:10px;background:#fff;overflow:hidden;flex:none}.gallery-thumb.active{border-color:var(--p)}.gallery-thumb img{width:100%;height:100%;object-fit:cover;border-radius:7px}.discount-list{display:grid;gap:8px}.discount-line{display:flex;justify-content:space-between;padding:10px 12px;background:#f7f7fb;border-radius:10px}.danger{background:#ffe9eb;color:#b52f3a}.status.danger{background:#ffe9eb;color:#b52f3a}@media(max-width:560px){.image-grid{grid-template-columns:repeat(2,1fr)}.discount-head,.discount-row{grid-template-columns:1fr 1fr 1fr 34px}.gallery-main{height:280px}}

/* Session/role clarity */
.account-icon{min-width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#f0efff;color:var(--p);font-size:13px;font-weight:900}
.account-strip{display:flex;align-items:center;gap:9px;flex-wrap:wrap;background:#fff;border:1px solid var(--l);border-radius:12px;padding:9px 12px;margin-bottom:12px;font-size:12px;color:var(--m)}
.account-strip b{color:var(--t)}.account-strip a{margin-left:auto;color:var(--p);font-weight:800}.role-chip{display:inline-flex;padding:4px 7px;border-radius:999px;background:#eeeaff;color:var(--p);font-size:10px;font-weight:900}

/* V11 cart, checkout and order workflow */
.cart-line{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--l)}.cart-line:last-child{border-bottom:0}.cart-price{text-align:right;min-width:82px}.cart-price small{display:block;margin-top:4px}.qty-form{display:flex;align-items:center;gap:7px;margin-top:9px;flex-wrap:wrap}.qty-form label{font-size:12px;color:var(--m);font-weight:700}.qty-input{width:78px;padding:7px 9px}.inline-form{display:inline}.link-danger{border:0;background:transparent;color:#b52f3a;font-size:12px;font-weight:800;padding:7px 0;cursor:pointer}.total-row{font-size:18px}.summary-line{padding:6px 0}.payment-option{display:flex;gap:10px;align-items:flex-start;padding:12px;border:1px solid var(--l);border-radius:12px;margin-bottom:9px;cursor:pointer}.payment-option input{margin-top:4px}.payment-option span{display:grid;gap:3px}.payment-option small{color:var(--m)}.empty-state{text-align:center;padding:34px 18px}.shipment-box{margin-top:12px;padding:12px;border-radius:11px;background:#f3f5ff;border:1px solid #e1e6ff}.shipment-form{margin-top:13px;padding-top:13px;border-top:1px solid var(--l)}.compact-product{margin:8px 0}.compact-product .thumb{width:48px;height:48px;font-size:20px}.primary-btn:disabled{opacity:.5;cursor:not-allowed}@media(max-width:560px){.cart-line{display:grid;grid-template-columns:64px 1fr}.cart-price{grid-column:2;text-align:left}.payment-option{padding:10px}}

/* V13 buyer-paid fee, shipment proof and registered payout destination */
.payout-preview{display:flex;gap:14px;align-items:center;flex-wrap:wrap;padding:12px;border:1px solid var(--l);border-radius:12px;background:#fafafe;margin:10px 0 14px}
.payout-qr{width:150px;height:150px;object-fit:contain;border-radius:12px;border:1px solid var(--l);background:#fff;padding:6px}.payout-qr.small-qr{width:92px;height:92px;margin-top:9px}
.shipment-entry{padding:10px 0;border-top:1px solid #e1e6ff}.shipment-entry:first-of-type{border-top:0}.shipment-proof-link{display:flex;gap:10px;align-items:center;margin-top:9px;color:var(--p);font-size:12px;font-weight:800}.shipment-proof{width:105px;height:105px;object-fit:cover;border-radius:10px;border:1px solid #d9dded;background:#fff}.withdrawal-history{padding:12px 0;border-bottom:1px solid var(--l)}.withdrawal-history:last-child{border-bottom:0}
@media(max-width:560px){.payout-qr{width:120px;height:120px}.shipment-proof-link{align-items:flex-start;flex-direction:column}.shipment-proof{width:100%;height:auto;max-height:260px;object-fit:contain}}

/* V14 notification badges */
.notify-link,.nav-with-badge,.badge-link{position:relative}.notification-count{position:absolute;top:0;right:0;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#e53945;color:#fff!important;font-size:10px!important;font-weight:900;line-height:18px;text-align:center;box-shadow:0 0 0 2px #fff}.bottom .notification-count{top:5px;right:calc(50% - 24px)}.inline-count{position:static;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;margin-left:6px;box-shadow:none}.notification-list{display:grid;gap:10px}.notification-item{display:block;background:#fff;border:1px solid var(--l);border-radius:14px;padding:14px}.notification-item.unread{border-left:4px solid var(--d);background:#fffafb}.notification-meta{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.notification-type{font-size:10px;font-weight:900;text-transform:uppercase;color:var(--p)}.notification-new{display:inline-flex;border-radius:999px;background:var(--d);color:#fff;padding:3px 7px;font-size:10px;font-weight:900}.owner-payment-card{display:grid;grid-template-columns:1fr minmax(130px,190px);gap:18px;align-items:start}.owner-payment-qr{width:100%;max-width:190px;aspect-ratio:1/1;object-fit:contain;background:#fff;border:1px solid var(--l);border-radius:14px;padding:8px}@media(max-width:600px){.owner-payment-card{grid-template-columns:1fr}.owner-payment-qr{max-width:240px}}

/* V15 saved address, quantity picker, reputation, invoices and refund/deadline UI */
.search-form{display:flex;align-items:center;gap:8px}.search-form input{flex:1}.search-form button{border:0;background:var(--p);color:#fff;border-radius:9px;padding:8px 12px;font-weight:800}.product-code{display:inline-block;margin-top:7px;font-size:11px;color:var(--m);background:#f5f5fb;border-radius:999px;padding:5px 8px}.quantity-picker{display:grid;grid-template-columns:44px minmax(90px,130px) 44px;gap:8px;align-items:center}.quantity-picker button{height:42px;border:1px solid var(--l);background:#fff;border-radius:10px;font-size:20px;font-weight:900}.quantity-picker input{text-align:center}.product-buy-actions{display:grid;grid-template-columns:1fr 1.2fr;gap:9px}.invoice-toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:10px}.deadline{font-size:11px;font-weight:800;color:#6d6d78;background:#f5f5f7;padding:6px 9px;border-radius:999px}.deadline.overdue{background:#ffe9eb;color:#b52f3a}.refund-line{margin-top:8px;padding:8px 10px;background:#fff5f5;border-radius:9px;font-size:12px;color:#8d3640}.review-form{display:grid;grid-template-columns:140px 1fr auto;gap:7px;margin-top:9px;align-items:center}.review-form .input,.review-form .select{padding:7px 9px}.status.danger,.small.danger{background:#ffe9eb;color:#b52f3a;border-color:#ffc7cc}@media(max-width:600px){.product-buy-actions{grid-template-columns:1fr}.review-form{grid-template-columns:1fr}.quantity-picker{grid-template-columns:42px 1fr 42px}}

/* V17 automatic translation + seller voucher promotions */
.voucher-form{display:grid;grid-template-columns:1fr auto;gap:9px;align-items:center}.voucher-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:14px 0;border-bottom:1px solid var(--l)}.voucher-row:last-child{border-bottom:0}.voucher-code{display:inline-flex;align-items:center;border:1px dashed var(--p);background:#f4f2ff;color:var(--p);border-radius:8px;padding:5px 8px;font-size:12px;font-weight:900;letter-spacing:.3px;margin-right:6px}.voucher-public-list{display:grid;gap:9px}.voucher-public{border:1px dashed #c8c1ff;background:#faf9ff;border-radius:12px;padding:12px}.voucher-public b{display:block;margin-top:7px}.payment-breakdown{margin-top:12px;padding:10px 12px;border-radius:11px;background:#f7f7fb}.translation-preview{padding:11px;border-radius:10px;background:#f8f8fc;border:1px solid var(--l);margin-top:9px}.translation-preview small{display:block;color:var(--m);margin-bottom:4px}
@media(max-width:600px){.voucher-form{grid-template-columns:1fr}.voucher-form .primary-btn{width:100%}.voucher-row{flex-direction:column}.voucher-row .actions{width:100%}}

.seller-quick-actions .primary-btn{min-width:150px;text-align:center}.seller-quick-actions .inline-count{margin-left:6px}@media(max-width:520px){.seller-quick-actions{display:grid!important;grid-template-columns:1fr 1fr}.seller-quick-actions .primary-btn{min-width:0;width:100%;padding-left:8px;padding-right:8px}.seller-quick-actions .primary-btn:last-child{grid-column:1/-1}}


/* V19 compact mobile refresh */
.top-actions{display:flex;align-items:center;gap:4px}.topbar.compact .top-actions{gap:6px}.topbar.compact .brand{font-size:19px}.menu-sheet{position:fixed;inset:62px 12px auto 12px;z-index:60;background:#fff;border:1px solid var(--l);border-radius:18px;box-shadow:var(--shadow);padding:10px;display:none}.menu-sheet.open{display:block}.menu-sheet a{display:flex;justify-content:space-between;align-items:center;padding:12px 10px;border-radius:12px;font-weight:700;color:var(--t)}.menu-sheet a:hover{background:#fff2f8}.menu-sheet .menu-divider{border-top:1px solid var(--l);margin:8px 0}.backdrop{position:fixed;inset:62px 0 0 0;background:rgba(37,24,46,.20);z-index:55;display:none}.backdrop.show{display:block}.section-chips{display:flex;gap:8px;overflow:auto;padding-bottom:2px}.chip{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:999px;background:#fff;border:1px solid var(--l);white-space:nowrap;font-size:12px;font-weight:800;box-shadow:var(--shadow-soft)}.chip.active{background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;border-color:transparent}.compact-count{font-size:11px;color:var(--m)}.card .info{padding:12px}.card .price{font-size:16px}

.product-shell{display:grid;gap:12px}.product-summary-card{background:#fff;border:1px solid var(--l);border-radius:20px;padding:14px;box-shadow:var(--shadow-soft)}.product-summary-card h2{margin:0 0 6px;font-size:18px;line-height:1.35}.product-meta-top{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:12px;margin-bottom:8px}.product-meta-top .rating{font-size:12px}.stock-pill{font-size:11px;font-weight:800;color:var(--m);background:#f7eef5;padding:6px 9px;border-radius:999px;white-space:nowrap}.compact-price{font-size:24px;font-weight:900;color:var(--d);margin:0 0 6px}.inline-discounts{display:flex;gap:7px;overflow:auto;padding-bottom:2px;margin-top:8px}.discount-chip{display:inline-flex;align-items:center;gap:4px;padding:6px 10px;border-radius:999px;background:#fff4f8;color:#b43a73;border:1px solid #ffd2e5;white-space:nowrap;font-size:11px;font-weight:800}.voucher-chip-row{display:flex;gap:8px;overflow:auto}.voucher-chip{min-width:170px;border:1px dashed #e7b1ce;background:#fffafd;border-radius:14px;padding:9px 10px;display:flex;justify-content:space-between;gap:8px;align-items:center}.voucher-chip.claimed{border-color:var(--p);background:#fff2f8}.voucher-chip .voucher-code{margin:0 0 5px 0;font-size:11px}.voucher-chip small{display:block;color:var(--m);font-size:11px}.voucher-chip .small{padding:7px 10px}.product-summary-card .product-code{margin-top:6px}.store-mini{display:flex;justify-content:space-between;gap:10px;align-items:center}.store-mini .muted{font-size:12px}.compact-description{font-size:13px;line-height:1.55}.buy-form-card .form-group label{font-size:12px}.buy-preview{padding:12px;border-radius:14px;background:#fff7fb;border:1px solid #ffd9ea}.buy-preview .row{font-size:13px;margin:4px 0}.buy-preview .row b{font-size:13px}.buy-preview .row:last-child b{font-size:16px}.voucher-selected{padding:10px 12px;border-radius:12px;font-size:12px;margin:10px 0;background:#fff4f8;border:1px solid #ffd1e4;color:#8f2f5f}.buy-preview-note{font-size:11px;color:var(--m);margin-top:7px}.product-section-label{margin:0 0 10px;font-size:14px}.gallery-card{padding:0;overflow:hidden}.gallery-card .gallery-main{height:320px;border-radius:18px 18px 0 0}.gallery-card .gallery-thumbs{padding:10px 12px 12px}.compact-actions{margin-top:14px}.compact-actions .secondary,.compact-actions .primary{padding:12px 14px}.topbar-index .brand{max-width:52vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:560px){main{padding:12px 12px 88px}.hero{padding:18px;min-height:160px}.hero h1{font-size:28px}.section-head h2{font-size:16px}.product-summary-card h2{font-size:17px}.compact-price{font-size:22px}.gallery-card .gallery-main{height:286px}.title.compact-title{margin:2px 0 10px}.title.compact-title h1{font-size:19px}.topbar{height:58px}.menu-sheet{inset:58px 10px auto 10px}.backdrop{inset:58px 0 0 0}.icon-btn{font-size:18px;padding:7px 6px}.brand{font-size:18px}.voucher-chip{min-width:150px}.gallery-thumbs{gap:6px}.gallery-thumb{width:58px;height:58px}.product-code{font-size:10px}.compact-description{font-size:12.5px}.card .info h3{font-size:13px}.rating,.muted{font-size:11px}.topbar-index .brand{max-width:58vw}}

/* V20 branding + homepage slideshow */
.brand-logo{display:block;max-height:38px;max-width:180px;object-fit:contain}.banner-slider{position:relative;margin-top:14px;border-radius:22px;overflow:hidden;background:#f5e9f0;box-shadow:var(--shadow)}.banner-track{position:relative;aspect-ratio:16/7;min-height:150px}.banner-slide{position:absolute;inset:0;opacity:0;pointer-events:none;transition:opacity .45s ease;display:block;background:#f5e9f0}.banner-slide.active{opacity:1;pointer-events:auto}.banner-slide img{width:100%;height:100%;display:block;object-fit:cover}.banner-overlay{position:absolute;left:14px;right:14px;bottom:14px;max-width:70%;padding:10px 12px;border-radius:14px;background:rgba(32,18,36,.62);backdrop-filter:blur(5px);color:#fff;display:grid;gap:3px}.banner-overlay b{font-size:16px}.banner-overlay span{font-size:12px;opacity:.92}.banner-dots{position:absolute;right:14px;bottom:12px;display:flex;gap:6px;z-index:4}.banner-dot{width:8px;height:8px;border:0;border-radius:99px;background:rgba(255,255,255,.55);padding:0;transition:.2s}.banner-dot.active{width:22px;background:#fff}.admin-banner-thumb{width:170px;max-width:100%;aspect-ratio:16/7;object-fit:cover;border-radius:12px;border:1px solid #e7e8ef}.admin-logo-preview{max-width:220px;max-height:90px;object-fit:contain;border:1px solid #e7e8ef;border-radius:12px;padding:8px;background:#fff}@media(max-width:560px){.brand-logo{max-height:34px;max-width:145px}.banner-track{aspect-ratio:16/8;min-height:145px}.banner-overlay{max-width:76%;left:10px;bottom:10px;padding:8px 10px}.banner-overlay b{font-size:14px}.banner-overlay span{font-size:11px}.banner-dots{right:10px;bottom:10px}}

/* V21 default slideshow + authentication polish */
.default-banner{display:flex;align-items:center;justify-content:space-between;padding:24px;color:#fff;overflow:hidden}.default-banner-one{background:linear-gradient(135deg,#e2539c 0%,#f79bc2 52%,#ffd9ea 100%)}.default-banner-two{background:linear-gradient(135deg,#ba5dd7 0%,#e2539c 48%,#ffb9d5 100%)}.default-banner-three{background:linear-gradient(135deg,#ef6f99 0%,#f7a36d 52%,#ffd7a8 100%)}.default-banner-copy{display:grid;gap:6px;max-width:68%;position:relative;z-index:2}.default-banner-copy small{font-size:10px;font-weight:900;letter-spacing:1px;opacity:.9}.default-banner-copy b{font-size:25px;line-height:1.12}.default-banner-copy span{font-size:13px;line-height:1.45;opacity:.92}.default-banner-art{font-size:64px;filter:drop-shadow(0 12px 22px rgba(72,27,56,.18));transform:rotate(-6deg)}
.auth-main{max-width:480px;padding-top:38px}.auth-card{padding:24px}.auth-brand{display:flex;justify-content:center;align-items:center;min-height:52px;margin-bottom:4px}.auth-brand .brand-logo{max-height:52px;max-width:220px}.auth-brand-fallback{font-size:24px;font-weight:900;color:var(--p)}.auth-card h1{text-align:center;margin:8px 0 24px;font-size:26px}.auth-footer{display:grid;gap:10px;text-align:center;margin-top:16px;font-size:13px}.auth-footer a{color:var(--p);font-weight:800}.forgot-link{display:flex;justify-content:flex-end;margin-top:-4px;margin-bottom:14px;font-size:12px}.forgot-link a{color:var(--p);font-weight:800}.auth-note{font-size:12px;line-height:1.5;color:var(--m);text-align:center;margin-top:14px}.password-rule{font-size:11px;color:var(--m);margin-top:6px}.dev-reset-box{margin-top:12px;padding:12px;border-radius:12px;background:#fff5fa;border:1px solid #ffd4e7;font-size:12px;word-break:break-all}.reset-success-icon{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;margin:0 auto 10px;background:#e7f8f0;color:#16845b;font-size:28px;font-weight:900}
@media(max-width:560px){.default-banner{padding:18px}.default-banner-copy{max-width:73%;gap:5px}.default-banner-copy b{font-size:20px}.default-banner-copy span{font-size:11.5px}.default-banner-art{font-size:48px}.auth-main{padding-top:18px}.auth-card{padding:20px}.auth-card h1{font-size:23px}.auth-brand .brand-logo{max-height:46px;max-width:190px}}

/* V22 true horizontal carousel + categories + profile photos */
.banner-slider{overflow:hidden}.banner-track{display:flex;position:relative;width:100%;transform:translate3d(0,0,0);will-change:transform;transition:transform .62s cubic-bezier(.22,.61,.36,1)}.banner-slide{position:relative;inset:auto;opacity:1;pointer-events:auto;flex:0 0 100%;width:100%;min-width:100%;transition:none}.banner-slide.active{opacity:1}.banner-slide img{position:absolute;inset:0}.default-banner{min-height:100%}.banner-track>.banner-slide{aspect-ratio:16/7}.banner-slider .banner-dots{z-index:8}.banner-slider:hover .banner-track{will-change:transform}
.category-intro{margin:-8px 0 14px}.category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.category-card{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--l);border-radius:18px;padding:14px;box-shadow:var(--shadow-soft)}.category-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(135deg,#fff0f7,#ffe1ef);font-size:23px}.category-card b{display:block;font-size:14px}.category-card small{display:block;margin-top:3px;color:var(--m);font-size:11px}.category-arrow{font-size:24px;color:var(--p)}
.profile-photo{width:72px;height:72px;border-radius:50%;object-fit:cover;border:3px solid #fff;box-shadow:0 5px 18px rgba(92,45,87,.14);flex:none}.profile-photo-row{align-items:center}.profile-photo-actions{display:inline-flex;margin-top:8px}.profile-file-button{position:relative;overflow:hidden;cursor:pointer;display:inline-flex}.profile-file-button input{position:absolute;inset:0;opacity:0;cursor:pointer}.profile-photo-note{font-size:11px;margin:10px 0 0}.bottom-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;display:block}.seller-avatar-photo{width:58px;height:58px;border-radius:50%;object-fit:cover;border:2px solid #fff;box-shadow:0 4px 14px rgba(92,45,87,.12)}
@media(max-width:560px){.banner-track>.banner-slide{aspect-ratio:16/8}.category-grid{grid-template-columns:1fr}.profile-photo{width:66px;height:66px}.category-card{padding:12px}}

/* V23 seller reputation tier icons */
.tier-icon{width:19px;height:19px;display:inline-grid;place-items:center;vertical-align:-4px;margin:0 3px;border-radius:6px;color:#fff;font-size:11px;font-weight:900;line-height:1;box-shadow:0 2px 6px rgba(30,20,38,.14);border:1px solid rgba(255,255,255,.75)}
.tier-new{background:linear-gradient(135deg,#aab0bb,#737985)}
.tier-bronze{background:linear-gradient(135deg,#d79a67,#8a4f2c)}
.tier-silver{background:linear-gradient(135deg,#eef1f5,#929aa7);color:#4c5360}
.tier-gold{background:linear-gradient(135deg,#ffd86a,#c98b12)}
.tier-diamond{background:linear-gradient(135deg,#9ee8ff,#6e7cff 52%,#d89cff)}
.tier-label{font-size:11px;color:var(--m);margin-left:3px}

/* V24.5 Food & restaurant storefront */
.food-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;margin:14px 0 18px;border:1px solid rgba(226,83,156,.18);border-radius:22px;background:linear-gradient(135deg,#fff7fb,#fff0f6);box-shadow:0 10px 30px rgba(226,83,156,.08)}
.food-hero small{font-weight:900;letter-spacing:.12em;color:#b63c7b}.food-hero h1{margin:5px 0 8px;font-size:clamp(28px,5vw,44px)}.food-hero p{margin:0;max-width:680px;color:#6f6670;line-height:1.55}.food-hero-art{font-size:clamp(58px,10vw,94px);filter:drop-shadow(0 8px 18px rgba(226,83,156,.15))}.food-search{margin-top:0}.food-quick-chips{margin:12px 0 18px;overflow:auto;padding-bottom:2px}.food-quick-chips .chip{white-space:nowrap}.food-rules{border-left:4px solid #e2539c}.food-badge{display:inline-flex;align-items:center;width:max-content;padding:4px 8px;border-radius:999px;background:#fff0f6;color:#b63c7b;border:1px solid #f4bfd8;font-size:10px;font-weight:900;letter-spacing:.03em}.food-card .info{gap:6px}.food-card .pic{background:linear-gradient(145deg,#fff7fb,#fff)}.food-order-note{border:1px solid #f2c3da;background:linear-gradient(135deg,#fffafd,#fff2f8);border-radius:14px;padding:14px}.food-order-note b{display:block;margin-bottom:4px}.food-status-actions{display:grid;gap:10px;margin-top:12px}.food-status-actions form{margin:0}
@media(max-width:650px){.food-hero{padding:18px;align-items:flex-start}.food-hero-art{font-size:54px}.food-hero p{font-size:13px}}


/* V24.9 seller-managed Pre-Order batches */
.preorder-badge{display:inline-flex;align-items:center;width:max-content;padding:4px 8px;border-radius:999px;background:#eef2ff;color:#4254b8;border:1px solid #cfd7ff;font-size:10px;font-weight:900;letter-spacing:.03em}
.preorder-note{border:1px solid #d8ddff;background:linear-gradient(135deg,#fbfcff,#f2f4ff);border-radius:14px;padding:14px}.preorder-note b{display:block;margin-bottom:4px}.preorder-note .muted{line-height:1.5}
.preorder-hero{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px;margin:14px 0 18px;border:1px solid rgba(78,94,190,.18);border-radius:22px;background:linear-gradient(135deg,#fbfcff,#f0f3ff);box-shadow:0 10px 30px rgba(71,83,168,.08)}
.preorder-hero small{font-weight:900;letter-spacing:.12em;color:#4c5db7}.preorder-hero h1{margin:5px 0 8px;font-size:clamp(28px,5vw,44px)}.preorder-hero p{margin:0;max-width:680px;color:#6f6f82;line-height:1.55}.preorder-hero-art{font-size:clamp(58px,10vw,94px);filter:drop-shadow(0 8px 18px rgba(71,83,168,.15))}
.preorder-rules{border-left:4px solid #5365c5}.preorder-card .pic{background:linear-gradient(145deg,#f5f6ff,#fff)}.preorder-card .info{gap:6px}.preorder-category-card{margin-bottom:12px;border-color:#dce1ff;background:linear-gradient(135deg,#fff,#f7f8ff)}.preorder-category-card .category-icon{background:linear-gradient(135deg,#eef1ff,#e0e5ff)}
.po-stats-line{display:flex;gap:8px;flex-wrap:wrap;margin-top:7px;font-size:11px;color:var(--m)}.po-stats-line b{color:var(--t)}
.po-batch-card{border-color:#dfe3ff}.po-batch-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:12px 0}.po-batch-stats>div{padding:10px;border:1px solid #e5e8fb;border-radius:12px;background:#fafbff;display:grid;gap:4px}.po-batch-stats span{font-size:10px;color:var(--m)}.po-batch-stats b{font-size:17px}.preorder-chip{border-color:#cfd7ff!important;background:#f5f7ff!important;color:#4152ae!important}.preorder-chip:hover{background:#edf0ff!important}
@media(max-width:650px){.preorder-hero{padding:18px;align-items:flex-start}.preorder-hero-art{font-size:54px}.preorder-hero p{font-size:13px}.po-batch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* V24.9.5 mobile PO batch workflow */
.po-page-head{align-items:flex-start;flex-wrap:wrap}.po-page-head .title{margin-bottom:10px}.po-create-btn{white-space:nowrap}.po-batch-head{align-items:flex-start;flex-wrap:wrap}.po-batch-name{min-width:0}.po-order-summary{margin:12px 0;padding:13px;border:1px solid #e5e8fb;border-radius:14px;background:#fff}.po-order-summary-main{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.po-order-summary-main>div{min-width:0}.po-order-summary-total{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin:10px 0;color:var(--m);font-size:12px}.po-order-summary-total b{color:var(--t);font-size:15px}.po-stage-chips{display:flex;gap:6px;flex-wrap:wrap;margin:9px 0}.po-stage-chips span{display:inline-flex;padding:5px 8px;border-radius:999px;background:#f2f3f8;color:#6f7180;font-size:10px;font-weight:800}.po-stage-chips span.active{background:#fff1da;color:#916100}.po-stage-chips span.done{background:#e7f8f0;color:#16845b}.po-stage-chips span.danger-chip{background:#ffe9eb;color:#b52f3a}.po-manage-orders-btn{margin-top:10px}.po-state-note{margin-top:12px;margin-bottom:12px}.po-batch-actions{flex-wrap:wrap}.po-missing-row{padding:10px 0;border-top:1px solid #eee;align-items:center;flex-wrap:wrap}.po-missing-row>div{min-width:0}
.po-detail-title{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin:6px 0 16px}.po-detail-title>div{min-width:0}.po-detail-title h1{margin:3px 0 3px;font-size:24px;line-height:1.18}.po-detail-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}.po-detail-summary>div{padding:11px;border:1px solid #e5e8fb;border-radius:12px;background:#fff;display:grid;gap:4px;min-width:0}.po-detail-summary span{font-size:10px;color:var(--m)}.po-detail-summary b{font-size:16px;overflow-wrap:anywhere}.po-stage-chips-large{margin:0 0 14px}.po-orders-heading{align-items:center;margin-top:20px}.po-orders-heading h2{margin-bottom:0}.po-order-list{display:grid;gap:10px}.po-order-card{background:#fff;border:1px solid var(--l);border-radius:15px;padding:13px;box-shadow:var(--shadow-soft);min-width:0}.po-order-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.po-order-card-head>div{min-width:0}.po-order-card-head .muted{font-size:11px;overflow-wrap:anywhere}.po-order-card-head .status{flex:none;max-width:48%;text-align:center;justify-content:center;white-space:normal}.po-order-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:11px 0}.po-order-metrics>div{background:#fafbff;border:1px solid #eceef8;border-radius:10px;padding:9px;display:grid;gap:3px;min-width:0}.po-order-metrics span{font-size:10px;color:var(--m)}.po-order-metrics b{font-size:13px;overflow-wrap:anywhere}.po-paid-text{color:var(--g)}.po-delivery-details{border-top:1px solid var(--l);border-bottom:1px solid var(--l);padding:9px 0;margin:8px 0}.po-delivery-details summary{cursor:pointer;font-size:12px;font-weight:800;color:var(--p)}.po-delivery-details>div{padding-top:9px;font-size:12px;line-height:1.5;overflow-wrap:anywhere}.po-persist-note{display:flex;gap:8px;align-items:flex-start;padding:10px;border-radius:10px;background:#fff5df;color:#865c00;font-size:11px;margin-top:10px}.po-persist-note b{white-space:nowrap}.po-persist-note span{line-height:1.35}.po-persist-note.shipped-note{background:#eaf0ff;color:#3154b8}.po-persist-note.done-note{background:#e7f8f0;color:#16845b}.po-order-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:11px}.po-order-actions form{margin:0}.po-order-actions .primary-btn,.po-order-actions .small{min-height:36px}.order-filter-back{flex-wrap:wrap;margin:0 0 12px}
@media(max-width:560px){.po-page-head{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:start}.po-page-head .title{margin:0}.po-page-head .title h1{font-size:22px;line-height:1.15;margin:6px 0}.po-create-btn{padding:10px 12px;font-size:12px;max-width:138px;white-space:normal;text-align:center}.po-batch-card{padding:12px;overflow:hidden}.po-batch-head .status{font-size:10px}.po-order-summary-main{align-items:center}.po-order-summary-main .muted{font-size:11px;line-height:1.35}.po-order-summary-main .status{flex:none}.po-detail-title h1{font-size:21px}.po-detail-title .status{font-size:10px;max-width:42%;white-space:normal;text-align:center}.po-detail-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.po-order-card-head{flex-direction:column}.po-order-card-head .status{max-width:100%}.po-order-actions{display:grid;grid-template-columns:1fr 1fr}.po-order-actions>*{width:100%}.po-order-actions a,.po-order-actions button{width:100%;justify-content:center;text-align:center}.po-order-actions form{display:block}.po-order-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.po-batch-actions{display:grid;grid-template-columns:1fr}.po-batch-actions>*{width:100%}.po-batch-actions button,.po-batch-actions a{width:100%;justify-content:center}.po-order-summary{overflow:hidden}.po-stage-chips{margin-bottom:8px}}
.po-filter-tabs{display:flex;gap:7px;overflow-x:auto;padding:2px 0 10px;margin-bottom:3px;scrollbar-width:none}.po-filter-tabs::-webkit-scrollbar{display:none}.po-filter-tabs a{flex:none;padding:8px 11px;border:1px solid var(--l);border-radius:999px;background:#fff;color:var(--m);font-size:11px;font-weight:800}.po-filter-tabs a.active{background:var(--p);border-color:var(--p);color:#fff}.po-pagination{display:flex;align-items:center;justify-content:center;gap:10px;margin:16px 0 4px;flex-wrap:wrap}.po-pagination a,.po-pagination span{padding:8px 11px;border:1px solid var(--l);border-radius:10px;background:#fff;font-size:11px;font-weight:800}.po-pagination span{color:var(--m)}

/* V24.9.6 compact help, partial PO fulfillment and guides */
.compact-help-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;margin:10px 0 14px;border:1px solid var(--l);border-radius:12px;background:#fff;font-size:12px;font-weight:800}.compact-help-row span{color:var(--m);font-weight:700}.compact-help-row a{color:var(--p);white-space:nowrap}.compact-po-product-status{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;margin-top:10px;border-top:1px solid var(--l);border-bottom:1px solid var(--l)}.compact-po-product-status>div{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.compact-po-hero{padding-top:18px;padding-bottom:18px}.po-state-line{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:12px 0}.delivered-note{background:#edf8ff!important;color:#276487!important}.po-order-actions-grid{align-items:stretch}.compact-guide-card{display:flex;align-items:center;justify-content:space-between;gap:12px}.guide-page{max-width:820px}.guide-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px;border:1px solid rgba(226,83,156,.18);border-radius:20px;background:linear-gradient(135deg,#fff8fb,#f8f6ff);margin:12px 0 14px}.guide-hero small{font-size:11px;font-weight:900;letter-spacing:.12em;color:var(--p)}.guide-hero h1{margin:5px 0 6px;font-size:clamp(28px,5vw,40px)}.guide-hero p{margin:0;color:var(--m);line-height:1.45}.guide-hero>span{font-size:58px}.seller-guide-hero{background:linear-gradient(135deg,#fbfcff,#fff7fb)}.guide-jump{display:flex;gap:8px;overflow:auto;padding:2px 0 10px}.guide-jump a{flex:none;min-width:40px;height:38px;padding:0 11px;border:1px solid var(--l);border-radius:999px;background:#fff;display:grid;place-items:center;font-size:12px;font-weight:900}.guide-card{background:#fff;border:1px solid var(--l);border-radius:15px;padding:16px;margin-bottom:10px;box-shadow:var(--shadow-soft)}.guide-card h2{font-size:17px;margin:0 0 8px}.guide-card ol{margin:0;padding-left:20px}.guide-card li{margin:7px 0;color:#5f5b67;line-height:1.45;font-size:13px}.guide-actions{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 24px}
@media(max-width:560px){.compact-help-row{margin:8px 0 12px}.compact-guide-card{align-items:flex-start}.guide-hero{padding:17px}.guide-hero>span{font-size:42px}.guide-card{padding:14px}.po-order-actions-grid{grid-template-columns:1fr 1fr}.po-order-actions-grid .primary-btn{grid-column:1/-1}.po-state-line{align-items:flex-start}.compact-po-product-status{align-items:flex-start}}


/* V24.13 — unified product image frames (Regular / Food / Pre-Order)
   Product cards use a fixed square frame and contain the full image so an
   unusually tall/wide upload can never overlap the product information. */
.product-card-pic{
  aspect-ratio:1/1;
  height:auto;
  min-height:0;
  overflow:hidden;
  background:#fff;
}
.product-card-pic img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  background:#fff;
}

/* Keep the product-detail image frame predictable. New 1:1 uploads fill this
   frame cleanly; legacy portrait/landscape images remain fully visible rather
   than being cropped. */
.gallery-card{
  width:min(100%,620px);
  margin-left:auto;
  margin-right:auto;
}
.gallery-card .gallery-main{
  aspect-ratio:1/1;
  height:auto;
  min-height:0;
  max-height:none;
  overflow:hidden;
  background:#fff;
}
.gallery-main img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  object-position:center;
  background:#fff;
}

/* Seller image manager should also show the whole source image instead of
   visually cropping it during review. */
.image-item img{
  object-fit:contain;
  background:#fff;
}

/* V24.14 · parcel shipping + best seller additions. Additive styles only. */
.shipping-config-box,.shipping-info-card{
  margin-top:14px;padding:14px;border:1px solid #e5e7eb;border-radius:14px;background:#fff;
}
.shipping-check{display:flex;align-items:flex-start;gap:9px;margin-top:10px}
.shipping-check input{margin-top:3px}
.shipping-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.shipping-detail-grid>div{padding:10px;border-radius:10px;background:#f7f8fa}
.shipping-payer-note,.shipping-inline-alert{margin-top:10px;padding:10px 12px;border:1px solid #dfe4ea;border-radius:10px;background:#f8fafc;font-size:13px;line-height:1.45}
.market-filter-chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;scrollbar-width:none}
.market-filter-chips::-webkit-scrollbar{display:none}
.market-filter-chips a{flex:0 0 auto;text-decoration:none;padding:8px 12px;border:1px solid #e1e4e8;border-radius:999px;background:#fff;color:inherit;font-size:13px;font-weight:700}
.market-filter-chips a.active{border-color:#111827;background:#111827;color:#fff}
.product-card-badges,.product-highlight-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:6px 0}
.best-seller-badge,.free-shipping-badge{display:inline-flex;align-items:center;width:max-content;max-width:100%;padding:4px 7px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.1;background:#f3f4f6;border:1px solid #e5e7eb}
.free-shipping-text{font-weight:900}
.shipping-summary-line{margin-top:8px;font-size:13px}
@media(max-width:640px){.shipping-detail-grid{grid-template-columns:1fr}.shipping-config-box,.shipping-info-card{padding:12px}}

/* v24.16 checkout/order cleanup */
.shipping-detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}
.shipping-detail-grid>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-radius:12px;background:#f7f8fa;border:1px solid #eceff3;min-width:0}
.shipping-detail-grid>div span{display:block;color:var(--t);font-weight:600;line-height:1.3;min-width:0}
.shipping-detail-grid>div b{display:block;flex:none;text-align:right;font-size:16px;white-space:nowrap}
.checkout-summary-item,.summary-product-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--l)}
.checkout-summary-item:last-of-type{border-bottom:0}
.summary-thumb-link{display:block;flex:none}
.summary-thumb{width:64px;height:64px;border-radius:12px;background:#f0f0f6;display:grid;place-items:center;overflow:hidden;font-size:28px;flex:none}
.summary-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.summary-main{min-width:0;flex:1}
.summary-product-link{display:block;line-height:1.35}
.summary-total{flex:none;text-align:right;font-weight:800}
.actions-wrap{flex-wrap:wrap}
.order-focused{border-color:rgba(226,83,156,.45);box-shadow:0 0 0 3px rgba(226,83,156,.08),var(--shadow-soft)}
.order-topline{align-items:flex-start;gap:12px;flex-wrap:wrap}
.order-header-main{min-width:0;flex:1}
.stage-tabs{padding-bottom:2px;scrollbar-width:none}
.stage-tabs::-webkit-scrollbar{display:none}
.stage-tabs .tab{display:inline-flex;align-items:center;gap:8px}
.stage-tab-count{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 7px;border-radius:999px;background:#f3f4f6;color:var(--t);font-size:11px;font-weight:800}
.stage-tabs .tab.active .stage-tab-count{background:rgba(255,255,255,.25);color:#fff}
.order-details-toggle{margin-top:12px;border-top:1px solid var(--l);padding-top:12px}
.order-details-toggle summary{cursor:pointer;list-style:none;font-size:13px;font-weight:800;color:var(--p);display:flex;align-items:center;justify-content:space-between;gap:10px}
.order-details-toggle summary::-webkit-details-marker{display:none}
.order-details-toggle summary::after{content:'+';font-size:18px;line-height:1;font-weight:900}
.order-details-toggle[open] summary::after{content:'−'}
.order-details-body{padding-top:12px}
.review-form{display:grid;gap:8px;margin-top:10px}
.shipping-summary-line{margin-top:4px}
.invoice-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}
@media(max-width:640px){
  .shipping-detail-grid{grid-template-columns:1fr}
  .shipping-detail-grid>div{padding:11px 12px}
  .summary-thumb{width:56px;height:56px}
  .checkout-summary-item,.summary-product-row{align-items:flex-start}
  .summary-total{font-size:14px}
}
.payment-title-row{align-items:center}.payment-deadline{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;background:#fff2cf;color:#8a5b00;font-size:11px;font-weight:800;white-space:nowrap}
.seller-next-action{margin:12px 0;padding:12px;border:1px solid var(--l);border-radius:12px;background:#fff8fb}
.purchase-invoice-summary{display:grid;gap:7px}.invoice-delivery-snapshot{margin-top:12px;padding:11px 12px;border:1px solid var(--l);border-radius:11px;background:#fafbfc;line-height:1.45}

/* V24.19 — compact status + simplified Pre-Order target flow */
.order-topline>.status{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:center;justify-content:center;flex:none}
.po-buyer-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 16px}
.po-buyer-steps span{display:flex;align-items:center;gap:7px;padding:10px;border:1px solid var(--l);border-radius:12px;background:#fff;font-size:11px;font-weight:800;min-width:0}
.po-buyer-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#f3eefb;color:var(--p);flex:none}
.po-target-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:12px 0 8px}
.po-batch-overview .po-target-summary{grid-template-columns:repeat(4,minmax(0,1fr))}
.po-target-summary>div{display:grid;gap:4px;padding:10px;border:1px solid #eceef6;border-radius:11px;background:#fafbff;min-width:0}
.po-target-summary span{font-size:10px;color:var(--m)}
.po-target-summary b{font-size:16px;overflow-wrap:anywhere}
.po-progress{height:9px;border-radius:999px;background:#f0edf4;overflow:hidden;margin:8px 0 5px}
.po-progress span{display:block;height:100%;background:linear-gradient(90deg,var(--p),var(--p2));border-radius:inherit}
.po-progress.compact{height:6px;margin:5px 0 7px}
.po-progress-text{font-size:11px;line-height:1.4}
.po-card-progress{display:flex;align-items:baseline;gap:5px;margin-top:6px;font-size:11px}
.po-card-progress b{font-size:13px;color:var(--t)}
.po-card-progress span{color:var(--m)}
.po-simple-explain{line-height:1.45}
.po-simple-card{overflow:hidden}
.po-target-form{display:flex;align-items:end;gap:8px;flex-wrap:wrap;margin:12px 0}
.po-target-form .form-group{margin:0;min-width:180px;flex:1}
.po-open-target-form{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.po-target-mini{width:150px}
.po-state-note{margin:12px 0;padding:11px 12px;border-radius:11px;background:#fff7e8;color:#775700;font-size:12px;line-height:1.45}
.po-state-note.done-note{background:#e7f8f0;color:#16845b}
.po-buyer-box{margin-top:10px}
.po-buyer-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.po-buyer-detail-grid>div{display:grid;gap:3px;padding:8px;border-radius:9px;background:#fafbff;min-width:0}
.po-buyer-detail-grid span{font-size:10px;color:var(--m)}
.po-buyer-detail-grid b{font-size:12px;overflow-wrap:anywhere}
.po-buyer-detail-grid .po-address-detail{grid-column:1/-1}
.po-open-next-form{margin-top:12px}
@media(max-width:600px){
  .order-topline>.status{margin-left:0;max-width:100%}
  .po-buyer-steps{grid-template-columns:1fr}
  .po-target-summary,.po-batch-overview .po-target-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .po-buyer-detail-grid{grid-template-columns:1fr 1fr}
  .po-target-form{display:grid;grid-template-columns:1fr}
  .po-target-form .form-group{min-width:0}
  .po-open-target-form{display:grid;grid-template-columns:1fr auto;width:100%}
  .po-target-mini{width:100%}
}

/* V24.20 — compact PO checkout/history and safer order headers */
.order-header-main>b,.po-batch-name b,.po-completed-order-summary b{overflow-wrap:anywhere;word-break:break-word}
.order-topline>.status{max-width:120px;white-space:normal;line-height:1.15}
.checkout-address-compact{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px;flex-wrap:wrap;font-size:13px}
.checkout-address-details{margin-top:8px;border-top:1px solid var(--l);padding-top:8px}
.checkout-address-details summary{cursor:pointer;color:var(--p);font-size:12px;font-weight:800;list-style:none}
.checkout-address-details summary::-webkit-details-marker{display:none}
.checkout-address-details>div{padding-top:7px;font-size:12px;line-height:1.4}
.po-completed-batch{padding:0;overflow:hidden}
.po-completed-batch-summary,.po-completed-order-summary{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;cursor:pointer;list-style:none;padding:13px 14px}
.po-completed-batch-summary::-webkit-details-marker,.po-completed-order-summary::-webkit-details-marker{display:none}
.po-completed-batch-summary:after,.po-completed-order-summary:after{content:'+';font-size:18px;font-weight:900;color:var(--p);line-height:1;margin-top:2px}
.po-completed-batch[open]>.po-completed-batch-summary:after,.po-completed-order[open]>.po-completed-order-summary:after{content:'−'}
.po-completed-batch-summary .status,.po-completed-order-summary .status{margin-left:auto;flex:none;max-width:110px;white-space:normal;text-align:center;justify-content:center}
.po-completed-batch-body,.po-completed-order-body{border-top:1px solid var(--l);padding:12px 14px}
.po-completed-order{padding:0}
.po-history-note{margin-top:10px}
@media(max-width:600px){
  .order-topline>.status{max-width:92px;font-size:10px;padding:5px 7px}
  .checkout-address-compact{display:grid;gap:3px}
  .po-completed-batch-summary,.po-completed-order-summary{padding:12px}
  .po-completed-batch-summary .status,.po-completed-order-summary .status{max-width:88px;font-size:10px}
}

/* v24.24 payout identity lock */
.payout-locked-input{background:#f3f4f6!important;color:#6b7280!important;cursor:not-allowed}

/* v24.28 — compact home controls */
.search-form{height:42px;width:100%;max-width:760px;margin-left:auto;margin-right:auto;padding:0 11px;border-radius:14px;gap:7px}
.search-form input{font-size:13px;min-width:0}
.search-form button{border:0;border-radius:10px;background:var(--p);color:#fff;padding:7px 11px;font-size:11px;font-weight:850;line-height:1.2;white-space:nowrap;cursor:pointer}
.market-filter-chips{margin-top:10px;gap:6px;padding:2px 0 4px}
.market-filter-chips a{padding:6px 10px;border:1px solid #f1c1d9;border-radius:999px;background:#fff7fb;color:#a73570;font-size:11px;font-weight:800;box-shadow:0 3px 10px rgba(226,83,156,.06)}
.market-filter-chips a:hover{background:#fff0f7;border-color:#e9a9ca}
.market-filter-chips a.active{border-color:transparent;background:linear-gradient(135deg,var(--p),var(--p2));color:#fff;box-shadow:0 4px 12px rgba(226,83,156,.18)}
.home-category-strip{margin-top:12px}
.home-category-strip .chip{padding:7px 10px;font-size:11px}
@media(max-width:560px){
  .search-form{height:39px;border-radius:13px;padding:0 9px}
  .search-form input{font-size:12px}
  .search-form button{padding:6px 9px;font-size:10.5px;border-radius:9px}
  .market-filter-chips{margin-top:8px}
  .market-filter-chips a{padding:5px 9px;font-size:10.5px}
  .home-category-strip{margin-top:10px}
}

/* Cambo Mall Home Refresh — presentation only; commerce logic untouched */
.home-page{
  --cm-pink:#ec3f75;
  --cm-pink-2:#ff7fa6;
  --cm-pink-soft:#fff1f5;
  --cm-ink:#1e1a1d;
  --cm-sub:#706970;
  --cm-line:#f0e4e8;
  background:linear-gradient(180deg,#fff 0,#fffafb 46%,#fff 100%);
  color:var(--cm-ink);
}
.home-page .home-topbar{
  height:76px;
  background:rgba(255,255,255,.96);
  border-bottom:1px solid rgba(232,219,224,.85);
  box-shadow:0 4px 18px rgba(86,43,58,.045);
}
.home-page .home-wordmark{
  color:var(--cm-pink);
  font-family:Georgia,'Times New Roman',serif;
  font-size:29px;
  font-weight:500;
  letter-spacing:-.035em;
  white-space:nowrap;
}
.home-page .home-header-actions{align-items:center;gap:4px}
.home-page .header-account-link{
  display:flex;align-items:center;gap:7px;padding:7px 10px;border-radius:999px;
  color:#403a3e;font-size:12px;font-weight:750;
}
.home-page .header-account-link:hover{background:var(--cm-pink-soft);color:var(--cm-pink)}
.home-page .header-account-dot{width:30px;height:30px;border:1px solid #eadce1;border-radius:50%;display:grid;place-items:center;background:#fff;font-weight:900}
.home-page .icon-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:50%;font-size:18px;transition:.2s ease}
.home-page .icon-btn:hover{background:var(--cm-pink-soft);transform:translateY(-1px)}
.home-page main{max-width:1240px;padding:20px 24px 100px}
.home-page .search-form{
  max-width:860px;height:50px;border:1px solid #efc7d4;border-radius:999px;
  padding:0 7px 0 18px;box-shadow:none;background:#fff;margin-top:2px;
}
.home-page .search-form input{font-size:14px;color:var(--cm-ink);background:transparent}
.home-page .search-form button{
  min-width:92px;height:38px;border-radius:999px;padding:0 18px;background:linear-gradient(135deg,var(--cm-pink),#f45d8d);
  box-shadow:0 6px 15px rgba(236,63,117,.18);font-size:12px;
}
.home-page .banner-slider{border-radius:24px;overflow:hidden;border:1px solid #f4d6df;box-shadow:0 12px 32px rgba(115,50,72,.07);background:#fff;margin-top:18px}
.home-page .banner-slide{min-height:0}
.home-page .banner-slide img{display:block;width:100%;aspect-ratio:3.7/1;object-fit:cover}
.home-page .banner-overlay{background:linear-gradient(90deg,rgba(38,17,24,.56),rgba(38,17,24,.03) 64%);padding:clamp(18px,4vw,48px)}
.home-page .banner-overlay b{font-size:clamp(22px,3vw,42px);max-width:580px}
.home-page .banner-overlay span{max-width:520px}
.home-page .banner-dots{bottom:12px}
.home-page .banner-dot{width:8px;height:8px;border:0;background:rgba(255,255,255,.65)}
.home-page .banner-dot.active{width:22px;border-radius:99px;background:var(--cm-pink)}
.home-page .section-chips{scrollbar-width:none}
.home-page .section-chips::-webkit-scrollbar{display:none}
.home-page .market-filter-chips{justify-content:center;margin:16px 0 2px;gap:8px}
.home-page .market-filter-chips a,.home-page .home-category-strip .chip{
  min-height:37px;display:inline-flex;align-items:center;justify-content:center;padding:8px 15px;border:1px solid var(--cm-line);
  background:#fff;border-radius:999px;color:#544e52;font-size:12px;font-weight:750;box-shadow:none;
}
.home-page .market-filter-chips a.active,.home-page .home-category-strip .chip.active{
  color:var(--cm-pink);background:var(--cm-pink-soft);border-color:#f2afc3;box-shadow:none;
}
.home-page .home-category-strip{margin-top:8px}
.home-page .home-category-strip .section-chips{justify-content:center;gap:8px}
.home-page .section{margin-top:26px}
.home-page .section-head{align-items:end;margin-bottom:13px}
.home-page .section-head h2{font-size:22px;letter-spacing:-.02em;margin:0;font-weight:850}
.home-page .compact-count{font-size:11px;color:var(--cm-sub);background:#fff;border:1px solid var(--cm-line);border-radius:999px;padding:6px 10px}
.home-page .home-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.home-page .home-product-card{
  position:relative;border:1px solid #eee5e8;border-radius:19px;background:#fff;overflow:hidden;
  box-shadow:0 8px 26px rgba(50,31,38,.055);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
}
.home-page .home-product-card:hover{transform:translateY(-4px);border-color:#efc5d2;box-shadow:0 16px 36px rgba(63,34,44,.11)}
.home-page .product-card-pic{position:relative;aspect-ratio:1/1;background:linear-gradient(180deg,#fff,#fffafb);padding:10px}
.home-page .product-card-pic img{border-radius:13px;background:#fff;object-fit:contain}
.home-page .product-card-badges{position:absolute;z-index:3;left:10px;right:10px;top:10px;margin:0;display:flex;align-items:center;gap:5px;pointer-events:none}
.home-page .best-seller-badge,.home-page .free-shipping-badge{padding:5px 8px;border-radius:7px;font-size:9.5px;font-weight:850;box-shadow:0 2px 7px rgba(0,0,0,.04)}
.home-page .best-seller-badge{background:#ffe7ef;color:#d92c64}
.home-page .free-shipping-badge{background:#eaf8e9;color:#36823c}
.home-page .product-image-fallback{font-family:Georgia,serif;font-size:42px;color:#e08aa5}
.home-page .home-product-card .info{padding:13px 14px 14px;display:flex;flex-direction:column;min-height:183px}
.home-page .home-product-card .info h3{
  margin:0 0 9px;font-size:14px;line-height:1.38;font-weight:750;white-space:normal;display:-webkit-box;
  -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:38px;color:#262125;
}
.home-page .home-product-card .price{order:2;margin:0 0 7px;color:var(--cm-pink);font-size:21px;letter-spacing:-.025em;font-weight:900}
.home-page .home-product-card .rating{order:3;font-size:11.5px;color:#ef9d00;margin-bottom:7px}
.home-page .home-product-card .rating span{color:var(--cm-sub)}
.home-page .store-line{order:4;display:flex;align-items:center;gap:5px;color:#595258;font-size:11.5px;min-width:0;margin-bottom:8px}
.home-page .store-line>span:nth-child(2){white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-page .store-mark{font-size:11px;color:#5f575d}.home-page .store-tier{margin-left:1px;display:inline-flex;align-items:center}
.home-page .product-code{order:5;display:none}
.home-page .discount-badge{order:6;margin-top:auto;display:block;width:100%;border-radius:9px;padding:8px 9px;background:#fff5f8;border:1px solid #f7d8e1;color:#d83b6b;font-size:10.5px;font-weight:780}
.home-page .bottom{display:none}

@media(max-width:900px){
  .home-page main{padding-left:16px;padding-right:16px}
  .home-page .home-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
  .home-page .header-account-link span:last-child{display:none}
}
@media(max-width:640px){
  .home-page{background:#fff}
  .home-page .home-topbar{height:68px;padding:0 14px;box-shadow:none;border-bottom:0}
  .home-page .home-wordmark{font-size:26px}
  .home-page .home-header-actions{gap:0}
  .home-page .header-account-link,.home-page .home-cart-link{display:none}
  .home-page .icon-btn{width:38px;height:38px;font-size:17px}
  .home-page main{padding:6px 12px 92px}
  .home-page .search-form{height:46px;margin:3px 0 12px;padding-left:14px}
  .home-page .search-form input{font-size:12.5px}
  .home-page .search-form button{height:34px;min-width:72px;padding:0 13px;font-size:11px}
  .home-page .banner-slider{margin-top:11px;border-radius:18px;box-shadow:none}
  .home-page .banner-slide img{aspect-ratio:2.05/1;object-fit:cover}
  .home-page .banner-overlay{padding:18px;background:linear-gradient(90deg,rgba(38,17,24,.48),rgba(38,17,24,.02) 76%)}
  .home-page .banner-overlay b{font-size:22px;line-height:1.05;max-width:62%}
  .home-page .banner-overlay span{font-size:11px;max-width:60%}
  .home-page .market-filter-chips,.home-page .home-category-strip .section-chips{justify-content:flex-start;overflow-x:auto;flex-wrap:nowrap;padding:2px 1px 5px}
  .home-page .market-filter-chips{margin-top:11px}
  .home-page .market-filter-chips a,.home-page .home-category-strip .chip{flex:none;min-height:34px;padding:7px 12px;font-size:10.5px}
  .home-page .section{margin-top:19px}
  .home-page .section-head{margin-bottom:10px}
  .home-page .section-head h2{font-size:18px}
  .home-page .compact-count{font-size:9.5px;padding:5px 8px}
  .home-page .home-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .home-page .home-product-card{border-radius:15px;box-shadow:0 5px 16px rgba(54,34,41,.055)}
  .home-page .home-product-card:hover{transform:none}
  .home-page .product-card-pic{padding:7px}
  .home-page .product-card-badges{left:7px;right:7px;top:7px;gap:3px;flex-wrap:wrap}
  .home-page .best-seller-badge,.home-page .free-shipping-badge{font-size:8px;padding:4px 6px;border-radius:6px}
  .home-page .home-product-card .info{padding:10px 10px 11px;min-height:162px}
  .home-page .home-product-card .info h3{font-size:12.5px;line-height:1.34;min-height:34px;margin-bottom:7px}
  .home-page .home-product-card .price{font-size:17.5px;margin-bottom:5px}
  .home-page .home-product-card .rating{font-size:10px;margin-bottom:6px}
  .home-page .store-line{font-size:9.8px;margin-bottom:6px;gap:4px}
  .home-page .discount-badge{padding:7px 7px;font-size:9px;border-radius:8px}
  .home-page .bottom.home-bottom-nav{display:grid;height:72px;border-top:1px solid #eee4e8;box-shadow:0 -6px 20px rgba(57,37,44,.055);padding-bottom:env(safe-area-inset-bottom)}
  .home-page .home-bottom-nav a{gap:3px;font-size:inherit;align-content:center;color:#686066}
  .home-page .home-bottom-nav .bottom-nav-icon{font-size:20px;line-height:1;font-weight:500}
  .home-page .home-bottom-nav span{font-size:9.5px}
  .home-page .home-bottom-nav .active{color:var(--cm-pink)}
  .home-page .bottom-avatar{width:22px;height:22px;border-radius:50%;object-fit:cover}
}
@media(max-width:380px){
  .home-page .home-wordmark{font-size:23px}
  .home-page .home-product-grid{gap:8px}
  .home-page .home-product-card .info{padding:9px}
  .home-page .home-product-card .info h3{font-size:12px}
}

/* =========================================================
   CAMBO MALL — FULL UI SYSTEM 2026
   Presentation layer only. Commerce/accounting logic untouched.
   ========================================================= */
:root{
  --cm-pink:#ee3f75;
  --cm-pink-deep:#cf285f;
  --cm-pink-mid:#f56b94;
  --cm-pink-soft:#fff1f5;
  --cm-pink-faint:#fff8fa;
  --cm-ink:#221d20;
  --cm-text:#3e373b;
  --cm-muted:#7d7479;
  --cm-line:#eee3e7;
  --cm-line-strong:#e6d3da;
  --cm-white:#fff;
  --cm-bg:#fffafb;
  --cm-success:#278354;
  --cm-success-bg:#eaf8ef;
  --cm-warning:#9a6a00;
  --cm-warning-bg:#fff5d9;
  --cm-danger:#bb3650;
  --cm-danger-bg:#ffedf1;
  --cm-info:#4967b8;
  --cm-info-bg:#eef2ff;
  --cm-shadow:0 10px 30px rgba(76,42,54,.065);
  --cm-shadow-hover:0 18px 44px rgba(76,42,54,.12);
  --cm-radius:18px;
  --cm-radius-sm:12px;
}
html{scroll-behavior:smooth}
body{
  background:linear-gradient(180deg,#fff 0%,#fff9fb 34%,#fff 100%);
  color:var(--cm-ink);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  -webkit-font-smoothing:antialiased;
}
body::selection{background:#ffd8e4;color:#70213c}
main{max-width:1180px;padding:22px 20px 96px}
a{transition:color .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}

/* Brand: neutral marketplace identity, no shopping-bag symbol */
.brand{
  position:relative;display:inline-flex!important;align-items:center;gap:9px;min-width:max-content;
  font-size:0!important;font-weight:700!important;color:var(--cm-pink)!important;line-height:1;
}
.brand>*{display:none!important}
.brand::before{
  content:"";display:block;width:34px;height:34px;border-radius:11px;
  background:url("../branding/cambo-mall-mark.svg") center/contain no-repeat;
  box-shadow:0 7px 17px rgba(220,45,99,.18);
}
.brand::after{
  content:"Cambo Mall";font-family:Georgia,"Times New Roman",serif;font-size:24px;font-weight:500;
  letter-spacing:-.035em;color:var(--cm-pink-deep);
}
.home-page .home-wordmark{font-size:0!important}
.home-page .home-wordmark::before{font-size:13px}
.home-page .home-wordmark::after{font-size:27px}
.auth-brand{display:flex!important;align-items:center;justify-content:center;gap:10px;min-height:58px;font-size:0!important}
.auth-brand>*{display:none!important}
.auth-brand::before{content:"";display:block;width:39px;height:39px;border-radius:12px;background:url("../branding/cambo-mall-mark.svg") center/contain no-repeat;box-shadow:0 8px 20px rgba(220,45,99,.18)}
.auth-brand::after{content:"Cambo Mall";font-family:Georgia,"Times New Roman",serif;font-size:28px;color:var(--cm-pink-deep);letter-spacing:-.035em}
.auth-brand-fallback{display:none!important}

/* Navigation */
.topbar{
  height:72px;padding:0 max(18px,calc((100vw - 1180px)/2));
  background:rgba(255,255,255,.96);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(235,223,227,.9);box-shadow:0 4px 20px rgba(57,34,43,.035);
}
.topbar.compact{height:68px}
.top-actions{display:flex;align-items:center;gap:3px}
.icon-btn{
  width:40px;height:40px;display:grid;place-items:center;padding:0;border-radius:50%;
  color:#524a4f;background:transparent;font-size:18px;
}
.icon-btn:hover{background:var(--cm-pink-soft);color:var(--cm-pink-deep)}
.notify-link{position:relative}
.notification-count,.inline-count{box-shadow:0 2px 8px rgba(192,42,87,.15)}

/* Typography / section hierarchy */
.title,.page-title{margin:10px 0 20px}
.title h1,.page-title h1{font-size:clamp(24px,3vw,34px);letter-spacing:-.035em;line-height:1.1;color:var(--cm-ink)}
h1{letter-spacing:-.035em;color:var(--cm-ink)}
h2{letter-spacing:-.02em;color:var(--cm-ink)}
h3{color:var(--cm-text)}
.muted{color:var(--cm-muted)!important}

/* Surfaces */
.panel,.order,.chat,.category-card{
  border:1px solid var(--cm-line)!important;border-radius:var(--cm-radius)!important;
  background:rgba(255,255,255,.98)!important;box-shadow:var(--cm-shadow)!important;
}
.panel{padding:18px;margin-bottom:15px}
.panel>h2:first-child,.panel>h3:first-child{margin-top:0}
.divider{border-color:var(--cm-line)}
.row{align-items:center}
.empty-state{text-align:center;padding:34px 20px!important;background:linear-gradient(180deg,#fff,#fff9fb)!important}
.empty-state h3{font-size:20px;margin:0 0 8px}

/* Buttons */
.primary,.primary-btn,.small.primary,.tab.active{
  background:linear-gradient(135deg,var(--cm-pink-mid),var(--cm-pink-deep))!important;color:#fff!important;
  border-color:transparent!important;box-shadow:0 8px 20px rgba(220,45,99,.16);
}
.primary:hover,.primary-btn:hover,.small.primary:hover{transform:translateY(-1px);box-shadow:0 12px 25px rgba(220,45,99,.22)}
.primary-btn,.primary,.secondary,.small,.tab{border-radius:11px!important}
.small,.secondary,.tab{
  border:1px solid var(--cm-line)!important;background:#fff!important;color:#554c51!important;font-weight:750;
}
.small:hover,.secondary:hover,.tab:hover{border-color:#efbdcc!important;background:var(--cm-pink-faint)!important;color:var(--cm-pink-deep)!important}
.danger,.small.danger,.danger-link{color:var(--cm-danger)!important;background:var(--cm-danger-bg)!important;border-color:#ffd0d9!important}
.actions{align-items:center;flex-wrap:wrap}

/* Inputs */
.input,.select,.textarea{
  border:1px solid var(--cm-line-strong)!important;border-radius:12px!important;background:#fff!important;
  color:var(--cm-ink);padding:11px 12px!important;box-shadow:inset 0 1px 2px rgba(36,24,30,.015);
}
.input:focus,.select:focus,.textarea:focus{outline:none;border-color:#ef8ca9!important;box-shadow:0 0 0 4px rgba(238,63,117,.09)!important}
.form-group label{color:#51474c;font-size:12.5px;font-weight:800}
input[type=file].input{padding:8px!important}
input[type=checkbox],input[type=radio]{accent-color:var(--cm-pink)}

/* Search / chips */
.search-wrap{
  background:#fff;border-color:#efcbd6!important;border-radius:999px!important;box-shadow:none!important;
}
.search-form button{background:linear-gradient(135deg,var(--cm-pink-mid),var(--cm-pink-deep))!important;border-radius:999px!important;color:#fff!important}
.section-chips,.tabs{scrollbar-width:none}.section-chips::-webkit-scrollbar,.tabs::-webkit-scrollbar{display:none}
.chip,.tab{white-space:nowrap}

/* Product cards across Home / Food / Pre-order */
.grid{gap:16px}
.card{
  border:1px solid var(--cm-line)!important;border-radius:18px!important;background:#fff!important;
  box-shadow:0 7px 24px rgba(54,34,41,.055)!important;overflow:hidden;
}
.card:hover{transform:translateY(-3px);box-shadow:var(--cm-shadow-hover)!important;border-color:#edc5d1!important}
.pic,.product-card-pic{background:linear-gradient(180deg,#fff,#fffafb)!important}
.product-card-pic img,.pic img{object-fit:contain!important}
.info h3{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.35;min-height:38px}
.price{color:var(--cm-pink-deep)!important;letter-spacing:-.02em}
.best-seller-badge{background:#ffe7ef!important;color:#d32c61!important}
.free-shipping-badge{background:#eaf8ed!important;color:#32804a!important}
.discount-badge{background:#fff5f8!important;border:1px solid #f6d6e0!important;color:#d73769!important}
.food-badge,.preorder-badge{border-radius:7px!important}
.product-code{color:#a09399!important}

/* Product detail */
.gallery-main{background:linear-gradient(180deg,#fff,#fff9fb)!important;border:1px solid var(--cm-line);box-shadow:var(--cm-shadow)}
.gallery-thumb{border-color:var(--cm-line)!important}.gallery-thumb.active{border-color:var(--cm-pink)!important}
.sticky{box-shadow:0 -8px 26px rgba(55,34,42,.06)}

/* Cart / checkout / payment / invoices */
.cart-line,.seller-product-row{border-color:var(--cm-line)!important}
.totals .total-row{font-size:17px;color:var(--cm-ink)}
.shipping-inline-alert,.refund-line{border-radius:11px}
.voucher-code{color:var(--cm-pink-deep)!important}
.payment-qr,.owner-qr,.proof{border-radius:14px!important;border:1px solid var(--cm-line)!important;background:#fff;padding:4px}

/* Status system */
.status,.badge{border-radius:999px!important;font-weight:850!important;letter-spacing:.01em}
.pending,.badge.yellow{background:var(--cm-warning-bg)!important;color:var(--cm-warning)!important}
.paid,.badge.green{background:var(--cm-success-bg)!important;color:var(--cm-success)!important}
.shipped,.badge.blue{background:var(--cm-info-bg)!important;color:var(--cm-info)!important}
.status.danger,.badge.red{background:var(--cm-danger-bg)!important;color:var(--cm-danger)!important}
.alert-danger{background:var(--cm-danger-bg)!important;color:var(--cm-danger)!important;border:1px solid #ffd2da!important}
.alert-success{background:var(--cm-success-bg)!important;color:var(--cm-success)!important;border:1px solid #caecd8!important}

/* Seller Center / wallet */
.profile-head{padding:2px}
.profile-avatar,.avatar{background:linear-gradient(145deg,#ffe5ed,#fff4f7)!important;color:var(--cm-pink-deep)!important;border:1px solid #f5ccd8}
.seller-avatar-photo,.avatar.big,.bottom-avatar{object-fit:cover}
.seller-quick-actions .primary-btn{min-height:42px}
.product-grid .panel{position:relative;overflow:hidden}
.product-grid .panel::after{content:"";position:absolute;width:72px;height:72px;border-radius:50%;right:-28px;top:-28px;background:rgba(238,63,117,.055)}
.total{color:var(--cm-pink-deep);letter-spacing:-.03em}

/* Orders / fulfillment */
.order{padding:16px!important}
.order:hover{border-color:#ecc4d1!important}
.stage-tabs{padding-bottom:3px}
.stage-tab-count{background:#fff;border:1px solid currentColor;border-radius:999px;padding:1px 6px;margin-left:4px;font-size:10px}

/* Chat / support */
.msg{border-radius:16px!important;box-shadow:none!important}
.msg.mine{background:linear-gradient(135deg,#fff0f5,#fff7f9)!important;border:1px solid #f5d5df}
.msg.admin{background:#f6f7fb!important;border:1px solid #e9eaf0}
.chat:hover{border-color:#edc5d1!important}

/* Auth */
.auth-main{max-width:500px;padding:44px 18px 80px}
.auth-card{padding:28px!important;border-radius:24px!important;box-shadow:0 18px 55px rgba(84,45,59,.085)!important}
.auth-card h1{font-size:27px;letter-spacing:-.035em;margin:10px 0 22px}
.auth-footer a{color:var(--cm-pink-deep)!important}
.forgot-link a{color:var(--cm-pink-deep)!important}

/* Profile/menu */
.account-strip{border-color:var(--cm-line)!important;background:#fff!important;border-radius:14px!important}
.role-chip{background:var(--cm-pink-soft)!important;color:var(--cm-pink-deep)!important}
.menu a{padding:15px 4px!important;border-color:var(--cm-line)!important}
.menu a:hover{color:var(--cm-pink-deep);padding-left:8px!important}

/* Guides / informational hero areas */
.hero,.food-hero,.preorder-hero{
  border-radius:24px!important;border:1px solid #f4d6df!important;
  background:linear-gradient(135deg,#fff0f5 0%,#ffdbe6 48%,#fff7fa 100%)!important;
  color:var(--cm-ink)!important;box-shadow:0 12px 32px rgba(115,50,72,.065)!important;
}
.hero .primary{background:linear-gradient(135deg,var(--cm-pink-mid),var(--cm-pink-deep))!important;color:#fff!important}
.food-hero small,.preorder-hero small{color:var(--cm-pink-deep)!important;font-weight:900}

/* Tables used outside admin */
.table-wrap{overflow:auto;-webkit-overflow-scrolling:touch;border-radius:14px}
table{font-variant-numeric:tabular-nums}

/* Mobile bottom navigation */
.bottom{
  height:72px;background:rgba(255,255,255,.97)!important;backdrop-filter:blur(14px);
  border-top:1px solid var(--cm-line)!important;box-shadow:0 -8px 26px rgba(58,36,44,.06)!important;
  padding-bottom:env(safe-area-inset-bottom);
}
.bottom a{color:#71686e!important;gap:2px}.bottom .active{color:var(--cm-pink-deep)!important}
.bottom span{font-size:9.5px!important}

/* Desktop polish */
@media(min-width:760px){
  .grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .panel{padding:20px}
}

/* Tablet */
@media(max-width:900px){
  main{padding-left:16px;padding-right:16px}
  .grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Phone */
@media(max-width:640px){
  body{background:#fff}
  .topbar{height:64px;padding:0 12px;box-shadow:none}
  .topbar.compact{height:62px}
  .brand{gap:7px}.brand::before{width:30px;height:30px;border-radius:10px;font-size:11px}.brand::after{font-size:20px}
  .home-page .home-wordmark::after{font-size:22px}
  .home-page .home-wordmark::before{font-size:11px}
  .top-actions{gap:0}.icon-btn{width:36px;height:36px;font-size:16px}
  main{padding:12px 11px 92px}
  .title,.page-title{margin:7px 0 14px}.title h1,.page-title h1{font-size:25px}
  .panel{padding:14px;border-radius:15px!important;box-shadow:0 5px 18px rgba(54,34,41,.045)!important;margin-bottom:11px}
  .row{align-items:flex-start;flex-wrap:wrap}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .card{border-radius:15px!important}.card:hover{transform:none}
  .info{padding:10px}.info h3{font-size:12.5px;min-height:34px}.price{font-size:18px}.rating{font-size:10px}
  .actions{gap:6px}.small,.primary-btn{font-size:12px}
  .auth-main{padding:28px 12px 68px}.auth-card{padding:21px!important}.auth-brand::before{width:35px;height:35px}.auth-brand::after{font-size:24px}
  .seller-product-row{align-items:flex-start}.seller-product-thumb{width:58px;height:58px}
  .sticky{bottom:72px;padding:9px}
  .hero,.food-hero,.preorder-hero{border-radius:18px!important}
}

@media(max-width:380px){
  .brand::after{font-size:18px}.brand::before{width:28px;height:28px}
  .grid,.product-grid{gap:7px}.panel{padding:12px}
}

/* =========================================================
   CAMBO MALL UI REVISION 2
   Agreed visual-only changes: exact first logo, cleaner home,
   seller work pages styled to match the wallet/withdrawal feel.
   ========================================================= */

/* Use the approved CM + Cambo Mall artwork exactly as the visible brand. */
.brand,
.home-page .home-wordmark{
  min-width:164px!important;
  height:50px;
  padding:0!important;
  overflow:visible;
}
.brand::before,
.home-page .home-wordmark::before{
  content:""!important;
  display:block!important;
  width:164px!important;
  height:50px!important;
  border-radius:0!important;
  background:url("../branding/cambo-mall-logo.png") center/contain no-repeat!important;
  box-shadow:none!important;
}
.brand::after,
.home-page .home-wordmark::after{content:""!important;display:none!important}
.auth-brand{min-height:74px!important}
.auth-brand::before{
  content:""!important;
  display:block!important;
  width:210px!important;
  height:64px!important;
  border-radius:0!important;
  background:url("../branding/cambo-mall-logo.png") center/contain no-repeat!important;
  box-shadow:none!important;
}
.auth-brand::after{content:""!important;display:none!important}

/* Home remains faithful to the approved mockup: light, airy, no redundant
   Best Seller / Free Shipping filter buttons above the product section. */
.home-page .home-topbar{height:78px!important}
.home-page main{padding-top:18px}
.home-page .home-category-strip{margin-top:17px}
.home-page .home-category-strip .section-chips{justify-content:flex-start}
.home-page .section-head{padding:0 2px}
.home-page .home-product-card{border-radius:16px!important}
.home-page .home-product-card .info{padding:12px 13px 13px}
.home-page .product-card-pic{padding:9px}
.home-page .product-card-badges{top:9px;left:9px;right:9px}
.home-page .best-seller-badge,
.home-page .free-shipping-badge{border:0!important}

/* Seller work pages ------------------------------------------------------ */
.seller-ui{
  background:
    radial-gradient(circle at 100% 0,rgba(238,63,117,.075),transparent 28rem),
    linear-gradient(180deg,#fff 0%,#fff8fb 52%,#fff 100%)!important;
}
.seller-ui main{max-width:1080px}
.seller-ui .page-title,
.seller-ui .title{
  position:relative;
  margin:14px 0 18px!important;
  padding:22px 88px 22px 22px;
  border:1px solid #f1d7df;
  border-radius:22px;
  background:linear-gradient(135deg,#fff 0%,#fff5f8 65%,#ffeaf1 100%);
  box-shadow:0 12px 30px rgba(87,47,61,.055);
  overflow:hidden;
}
.seller-ui .page-title h1,
.seller-ui .title h1{margin:0!important;font-size:30px;letter-spacing:-.035em}
.seller-ui .page-title::after,
.seller-ui .title::after{
  content:"";
  position:absolute;
  width:64px;height:64px;
  right:18px;top:50%;transform:translateY(-50%);
  background:center/contain no-repeat;
  opacity:.92;
}
.seller-product-new-page .page-title::after{background-image:url("../icons/product.svg")}
.seller-promotions-page .page-title::after{background-image:url("../icons/voucher.svg")}
.seller-orders-page .title::after{background-image:url("../icons/orders.svg")}
.seller-preorders-page .title::after,
.seller-preorder-batch-page .title::after{background-image:url("../icons/preorder.svg")}

.seller-ui .panel:not(.alert-success):not(.alert-danger),
.seller-ui .order{
  position:relative;
  overflow:hidden;
  border:1px solid #eedde3!important;
  box-shadow:0 9px 26px rgba(71,42,52,.055)!important;
}
.seller-ui .panel:not(.alert-success):not(.alert-danger)::after,
.seller-ui .order::after{
  content:"";
  position:absolute;
  width:68px;height:68px;
  right:14px;top:12px;
  background:center/contain no-repeat;
  opacity:.105;
  pointer-events:none;
}
.seller-product-new-page .panel:not(.alert-success):not(.alert-danger)::after{background-image:url("../icons/product.svg")}
.seller-promotions-page .panel:not(.alert-success):not(.alert-danger)::after{background-image:url("../icons/voucher.svg")}
.seller-orders-page .panel:not(.alert-success):not(.alert-danger)::after,
.seller-orders-page .order::after{background-image:url("../icons/orders.svg")}
.seller-preorders-page .panel:not(.alert-success):not(.alert-danger)::after,
.seller-preorders-page .order::after,
.seller-preorder-batch-page .panel:not(.alert-success):not(.alert-danger)::after,
.seller-preorder-batch-page .order::after{background-image:url("../icons/preorder.svg")}
.seller-ui .panel:not(.alert-success):not(.alert-danger)>*,
.seller-ui .order>*{position:relative;z-index:1}

/* Add product */
.seller-product-new-page form>.panel{padding:22px!important}
.seller-product-new-page .language-content-grid{gap:13px!important}
.seller-product-new-page .language-card{
  border:1px solid #f0dce3!important;
  border-radius:16px!important;
  padding:16px!important;
  background:linear-gradient(180deg,#fff,#fff9fb)!important;
  box-shadow:0 5px 16px rgba(78,45,56,.035);
}
.seller-product-new-page .language-card h3{
  display:inline-flex;align-items:center;min-height:29px;
  padding:5px 10px;border-radius:999px;background:#fff0f5;color:#c92c5e!important;
  font-size:13px!important;
}
.seller-product-new-page .discount-table{padding-top:5px}
.seller-product-new-page #discount-config-panel{background:linear-gradient(145deg,#fff,#fff8fa)!important}

/* Voucher */
.seller-promotions-page main{max-width:900px!important}
.seller-promotions-page #new-voucher{padding:22px!important;background:linear-gradient(145deg,#fff,#fff8fb)!important}
.seller-promotions-page .voucher-row{
  padding:16px 14px!important;
  margin:9px 0;
  border:1px solid #f0e0e5!important;
  border-radius:15px;
  background:#fff;
  box-shadow:0 4px 16px rgba(68,41,50,.035);
}
.seller-promotions-page .voucher-code{
  display:inline-flex;padding:5px 9px;border-radius:8px;
  background:#fff0f5;color:#ca2e60!important;font-weight:900;
}

/* Manage orders */
.seller-orders-page .stage-tabs{
  display:flex;gap:8px;overflow:auto;margin:0 0 15px;padding:2px 1px 5px;
}
.seller-orders-page .stage-tabs .tab{border-radius:999px!important;padding:9px 12px!important}
.seller-orders-page .order{
  border-radius:19px!important;
  padding:18px!important;
  background:linear-gradient(180deg,#fff,#fffafb)!important;
}
.seller-orders-page .order-topline{padding-right:58px}
.seller-orders-page .seller-next-action{border-color:#f1d9e1;background:#fff5f8}
.seller-orders-page .shipment-form{
  margin-top:13px;padding:14px;border:1px solid #f0dfe4;border-radius:14px;background:#fff;
}

/* Manage pre-order */
.seller-preorders-page .po-page-head{align-items:stretch!important}
.seller-preorders-page .po-page-head .title{flex:1;margin-right:10px!important}
.seller-preorders-page .po-create-btn{align-self:center;white-space:nowrap}
.seller-preorders-page .po-simple-explain,
.seller-preorder-batch-page .po-batch-overview{
  background:linear-gradient(135deg,#fff,#fff5f8)!important;
}
.seller-preorders-page .po-batch-card,
.seller-preorder-batch-page .order{
  border-radius:19px!important;
  background:linear-gradient(180deg,#fff,#fffafb)!important;
}
.seller-preorders-page .po-batch-head{padding-right:58px}
.seller-preorders-page .po-target-summary>div,
.seller-preorder-batch-page .po-target-summary>div{
  border-color:#f0dfe4!important;background:#fff!important;border-radius:12px!important;
}

/* Keep alert cards visually direct; decorative SVGs are for operational cards. */
.seller-ui .alert-success,.seller-ui .alert-danger{box-shadow:none!important}

@media(max-width:640px){
  .brand,.home-page .home-wordmark{min-width:132px!important;width:132px!important;height:43px!important}
  .brand::before,.home-page .home-wordmark::before{width:132px!important;height:43px!important}
  .auth-brand::before{width:180px!important;height:54px!important}
  .seller-ui .page-title,.seller-ui .title{padding:18px 66px 18px 16px;border-radius:18px}
  .seller-ui .page-title h1,.seller-ui .title h1{font-size:24px}
  .seller-ui .page-title::after,.seller-ui .title::after{width:48px;height:48px;right:12px}
  .seller-ui .panel:not(.alert-success):not(.alert-danger)::after,.seller-ui .order::after{width:52px;height:52px;right:9px;top:9px;opacity:.09}
  .seller-product-new-page form>.panel{padding:15px!important}
  .seller-promotions-page #new-voucher{padding:15px!important}
  .seller-orders-page .order{padding:14px!important}
  .seller-orders-page .order-topline,.seller-preorders-page .po-batch-head{padding-right:42px}
  .seller-preorders-page .po-page-head{display:block!important}
  .seller-preorders-page .po-page-head .title{margin-right:0!important}
  .seller-preorders-page .po-create-btn{display:inline-flex;margin:0 0 12px}
}

/* Preserve the project's existing dynamic branding mechanism. The approved
   logo asset is now the configured upload file, so headers keep working even
   if branding is managed from Admin later. */
.brand,
.home-page .home-wordmark{
  min-width:0!important;width:auto!important;height:50px!important;
  font-size:0!important;
}
.brand::before,.brand::after,
.home-page .home-wordmark::before,.home-page .home-wordmark::after,
.auth-brand::before,.auth-brand::after{content:none!important;display:none!important}
.brand .brand-logo,
.home-page .home-wordmark .brand-logo{
  display:block!important;width:164px!important;height:50px!important;
  max-width:none!important;object-fit:contain!important;object-position:left center!important;
}
.brand .brand-text{
  display:block!important;font-family:Georgia,"Times New Roman",serif;
  font-size:25px!important;font-weight:500;color:var(--cm-pink-deep)!important;
  letter-spacing:-.035em;white-space:nowrap;
}
.auth-brand>*{display:none!important}
.auth-brand .brand-logo{
  display:block!important;width:210px!important;height:64px!important;
  max-width:none!important;object-fit:contain!important;object-position:center!important;
}
.auth-brand .auth-brand-fallback{
  display:block!important;font-family:Georgia,"Times New Roman",serif;
  font-size:28px!important;color:var(--cm-pink-deep)!important;
}
@media(max-width:640px){
  .brand,.home-page .home-wordmark{height:43px!important}
  .brand .brand-logo,.home-page .home-wordmark .brand-logo{width:132px!important;height:43px!important}
  .auth-brand .brand-logo{width:180px!important;height:54px!important}
}
.seller-preorder-batch-page .po-detail-title{
  position:relative;display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin:14px 0 18px;padding:22px 86px 22px 22px;border:1px solid #f1d7df;border-radius:22px;
  background:linear-gradient(135deg,#fff 0%,#fff5f8 65%,#ffeaf1 100%);box-shadow:0 12px 30px rgba(87,47,61,.055);overflow:hidden;
}
.seller-preorder-batch-page .po-detail-title::after{content:"";position:absolute;width:64px;height:64px;right:18px;top:50%;transform:translateY(-50%);background:url("../icons/preorder.svg") center/contain no-repeat;opacity:.92}
.seller-preorder-batch-page .po-detail-title>*{position:relative;z-index:1}.seller-preorder-batch-page .po-detail-title h1{margin:3px 0;font-size:28px;letter-spacing:-.035em}
@media(max-width:640px){.seller-preorder-batch-page .po-detail-title{padding:18px 62px 18px 16px;border-radius:18px;align-items:flex-start}.seller-preorder-batch-page .po-detail-title::after{width:46px;height:46px;right:10px}.seller-preorder-batch-page .po-detail-title h1{font-size:22px}}

/* V24.30 — buyer/seller live notifications. Preferences are device-local; no DB migration. */
.user-live-controls{position:fixed;right:12px;bottom:82px;z-index:120;display:flex;gap:7px;align-items:center;flex-wrap:wrap;justify-content:flex-end;max-width:calc(100vw - 24px)}
.user-live-control{border:1px solid var(--l,#e8e8ee);background:#fff;color:#3b3740;border-radius:999px;padding:8px 11px;font:inherit;font-size:11px;font-weight:850;cursor:pointer;box-shadow:0 10px 28px rgba(49,40,54,.12)}
.user-live-control.needs-enable{border-color:#f3a6c2;color:var(--p,#e2539c);box-shadow:0 0 0 3px rgba(226,83,156,.09),0 10px 28px rgba(49,40,54,.12)}
.user-live-control.is-off{color:#85818a;background:#f8f8fa;box-shadow:none}
.user-live-toast{position:fixed;right:12px;top:72px;z-index:130;width:min(360px,calc(100vw - 24px));display:grid;gap:4px;padding:12px 14px;border-radius:14px;background:#20222a;color:#fff;text-decoration:none;box-shadow:0 16px 38px rgba(23,22,27,.24);opacity:0;transform:translateY(-10px);pointer-events:none;transition:.2s ease}
.user-live-toast.show{opacity:1;transform:translateY(0);pointer-events:auto}
.user-live-toast b{font-size:13px}.user-live-toast span{font-size:11px;line-height:1.4;color:#e7e7eb}
@media(max-width:560px){.user-live-controls{right:8px;bottom:72px;gap:5px}.user-live-control{padding:7px 9px;font-size:10px}.user-live-toast{right:8px;top:64px;width:calc(100vw - 16px)}}

/* V24.31 Seller Center store identity */
.seller-store-card{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;padding:15px 16px!important}
.seller-store-name{display:inline-flex;align-items:center;min-height:42px;padding:9px 16px;border:1.5px solid var(--cm-pink);border-radius:12px;background:#fff;color:var(--cm-ink);font-size:20px;font-weight:900;letter-spacing:-.02em;box-shadow:0 5px 16px rgba(238,63,117,.07)}
.seller-store-meta{font-size:13px;line-height:1.5}
@media(max-width:560px){.seller-store-card{align-items:flex-start;flex-direction:column}.seller-store-name{font-size:18px;max-width:100%;overflow-wrap:anywhere}}

/* V25.1 seller fulfillment action flow */
.seller-orders-page .seller-next-action>b{display:block;margin-bottom:4px;font-size:14px}
.seller-orders-page .seller-action-note{margin:0 0 11px;line-height:1.45}
.seller-orders-page .seller-next-action form{margin:0}
.seller-orders-page .seller-shipping-action{background:#fff!important;border-color:#eadde2!important}
.seller-orders-page .seller-visible-shipment-form{margin-top:10px;padding:0;border:0;background:transparent}
.seller-orders-page .seller-visible-shipment-form .form-group:last-of-type{margin-bottom:12px}


/* V25.2 — transaction history, invoice-style order details, reliable Orders nav icon */
.bottom-nav-order-icon{width:21px;height:21px;display:block;flex:none;background:currentColor;-webkit-mask:url('../icons/orders.svg') center/contain no-repeat;mask:url('../icons/orders.svg') center/contain no-repeat}
.order-invoice-lines{border:1px solid var(--l);border-radius:12px;overflow:hidden;background:#fff}
.order-invoice-line{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:11px 12px;border-bottom:1px solid var(--l)}
.order-invoice-line:last-child{border-bottom:0}
.order-invoice-item{min-width:0;display:grid;gap:3px}
.order-invoice-item b{overflow-wrap:anywhere}
.order-invoice-item span{font-size:12px;color:var(--m);overflow-wrap:anywhere}
.order-invoice-line-total{font-weight:900;white-space:nowrap;text-align:right}
.invoice-review-form{margin:10px 0 14px;padding:10px;border:1px solid var(--l);border-radius:11px;background:#fafbfc}
@media(max-width:560px){.order-invoice-line{align-items:start}.order-invoice-line-total{font-size:14px}}

/* V25.17 food checkout payment actions + rejected-payment recovery */
.checkout-payment-actions{display:grid;gap:10px;margin-top:12px}.checkout-payment-actions form{margin:0}.checkout-chat-seller{min-height:40px;align-items:center}.reservation-recovery{margin-top:12px;padding-top:12px;border-top:1px solid #f2bdc6;display:grid;gap:10px}.reservation-recovery>div{display:grid;gap:3px;font-size:12px}.reservation-recovery span{font-size:11px;color:#8a4b55}.reservation-recovery .small{background:#fff;border-color:#e8a6b2;color:#b52f3a}


/* V25.23 — Pre-Order buyer page: pink visual system + local SVG icons */
.preorder-market-page .compact-po-hero{position:relative;overflow:hidden;border-color:#f2c7d5!important;background:linear-gradient(135deg,#fff4f8 0%,#ffdbe7 55%,#fff8fb 100%)!important}
.preorder-market-page .compact-po-hero::after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-65px;top:-85px;background:rgba(226,83,156,.09)}
.preorder-market-page .preorder-hero-art{position:relative;z-index:1;width:92px;height:92px;border-radius:26px;background:rgba(255,255,255,.86);border:1px solid #f3cbd8;display:grid;place-items:center;box-shadow:0 12px 28px rgba(181,55,119,.10);flex:none}
.preorder-market-page .preorder-hero-art img{width:58px;height:58px;display:block}
.preorder-market-page .po-filter-chips .chip{display:inline-flex;align-items:center;gap:6px;border-color:#f0d2dc;background:#fff;color:#6e5760}
.preorder-market-page .po-filter-chips .chip.active{background:linear-gradient(135deg,#e2539c,#b73577);border-color:#d64a8b;color:#fff}
.preorder-market-page .po-chip-icon{width:16px;height:16px;flex:none}.preorder-market-page .po-filter-chips .chip.active .po-chip-icon{filter:brightness(0) invert(1)}
.preorder-market-page .po-buyer-steps span{position:relative;border-color:#f0d6df;background:linear-gradient(180deg,#fff,#fff8fb);box-shadow:0 5px 16px rgba(95,45,66,.045);padding:10px 10px 10px 8px}
.preorder-market-page .po-step-icon{width:24px;height:24px;flex:none;background:#fff1f6;border-radius:8px;padding:3px}
.preorder-market-page .po-buyer-steps b{background:#fce6ef;color:#b73577}
.preorder-market-page .preorder-card{border-color:#f0d7df!important;background:#fff!important;box-shadow:0 7px 22px rgba(91,43,62,.055)!important}
.preorder-market-page .preorder-card:hover{border-color:#e9aabe!important}
.preorder-market-page .preorder-card .pic{background:linear-gradient(145deg,#fff6f9,#fff)!important}
.preorder-market-page .preorder-badge{background:#fde9f1!important;color:#ad3d70!important;border:1px solid #f5c9d9}
.preorder-market-page .po-progress{background:#f7e8ef!important}.preorder-market-page .po-progress span{background:linear-gradient(90deg,#e2539c,#b73577)!important}
.preorder-market-page .po-open-count{display:inline-flex;align-items:center;gap:6px;color:#9c3d68;background:#fff3f7;border:1px solid #f2cedb;border-radius:999px;padding:5px 9px;font-weight:850;font-size:11px}
.preorder-market-page .po-open-count img{width:15px;height:15px}
.preorder-market-page .po-product-placeholder{width:58px!important;height:58px!important;object-fit:contain!important;opacity:.75}
.preorder-market-page .bottom-nav-svg{width:22px;height:22px;display:block}
@media(max-width:640px){.preorder-market-page .preorder-hero-art{width:68px;height:68px;border-radius:20px}.preorder-market-page .preorder-hero-art img{width:42px;height:42px}.preorder-market-page .po-filter-chips{gap:6px}.preorder-market-page .po-filter-chips .chip{padding:8px 10px}.preorder-market-page .po-open-count{font-size:10px}}

.preorder-market-page .section-head h2{color:#4e3943}
.po-buyer-box{border-color:#f0cfd9!important;background:linear-gradient(180deg,#fff,#fff7fa)!important;box-shadow:0 7px 22px rgba(91,43,62,.055)!important}
.po-buyer-box .po-target-summary>div{background:#fff2f6!important;border:1px solid #f3d6df!important}
.po-buyer-box .po-target-summary span{color:#876973!important}.po-buyer-box .po-target-summary b{color:#a83b6d!important}
.po-buyer-box .po-progress{background:#f6e4eb!important}.po-buyer-box .po-progress span{background:linear-gradient(90deg,#e2539c,#b73577)!important}


/* V25.24 — reusable Pre-Order products */
.po-reuse-panel{border:1px solid #f3bfd9;background:linear-gradient(180deg,#fff,#fff7fb);box-shadow:0 10px 24px rgba(226,83,156,.08)}
.po-reuse-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px}
.po-reuse-icon{width:34px;height:34px;opacity:.9}
.po-reuse-list{display:grid;gap:12px}
.po-reuse-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:16px;align-items:end;padding:14px;border:1px solid #f0d8e5;border-radius:14px;background:#fff}
.po-reuse-product b{font-size:15px}
.po-reuse-form label{display:block;font-size:12px;font-weight:800;margin-bottom:6px;color:#6b5060}
.po-reuse-actions{display:grid;grid-template-columns:minmax(100px,1fr) auto;gap:8px}
.po-reuse-actions .primary-btn{white-space:nowrap}
@media(max-width:700px){.po-reuse-row{grid-template-columns:1fr}.po-reuse-actions{grid-template-columns:1fr}.po-reuse-actions .primary-btn{width:100%}}
