/* Buyer marketplace layout; existing routes and product actions are retained. */
:root{--market-width:1440px}
.product-title{border:0;background:transparent;padding:0;text-align:left;font:inherit;cursor:pointer}
.desktop-sidebar{position:sticky;inset:auto;top:0;width:100%;height:80px;padding:12px max(24px,calc((100vw - var(--market-width))/2));border-right:0;border-bottom:1px solid var(--border);flex-direction:row;align-items:center;gap:24px}
.brand{flex:none;gap:10px}.brand img{width:44px;height:44px;border-radius:12px}.brand b{font-size:14px;max-width:150px}.brand small{font-size:11px;font-weight:500;color:var(--muted)}
.desktop-nav{display:flex;align-items:center;gap:4px;margin:0;flex:1;justify-content:center;min-width:0}.desktop-nav .nav-button{width:auto;min-height:44px;padding:0 12px;border-radius:12px;gap:7px;font-size:13px}.desktop-nav .nav-button svg{width:18px;height:18px}
.sidebar-bottom{margin:0;display:flex;align-items:center;gap:8px;flex:none}.sidebar-bottom .soft-button{width:auto;padding:0 10px;font-size:12px}.profile-mini{background:transparent;padding:5px;gap:8px}.profile-mini>span:first-child{width:32px;height:32px}.profile-mini b{font-size:13px}.profile-mini small{font-size:11px}
.main-column{margin-left:0}.topbar{top:80px;height:78px;padding:12px max(24px,calc((100vw - var(--market-width))/2));background:var(--surface);gap:16px}.catalog-shortcut{flex:none;border-radius:12px;min-height:48px}.global-search{width:auto;flex:1;height:48px;border-radius:12px;border-color:var(--border)}.notification-button{margin-left:0}
.view{max-width:var(--market-width);padding:24px 24px 64px}.hero{min-height:210px;padding:32px 40px;grid-template-columns:1fr 180px;border-radius:22px;box-shadow:none}.hero h1{font-size:clamp(25px,3vw,38px);max-width:650px}.hero p{margin:12px 0;line-height:1.5;font-size:15px}.hero .eyebrow{font-size:11px;margin:0 0 10px}.hero-art img{width:140px;border-radius:28px}.hero-actions{margin-top:18px}.hero-actions .button{min-height:42px;border-radius:12px;font-size:13px}
.section{margin-top:28px}.section-head{margin-bottom:18px}.section-head h2{font-size:24px}.section-head .button{min-height:38px;font-size:13px;padding:0 12px;border-radius:10px}.chips{gap:8px;margin-bottom:12px}.chip{min-height:40px;padding:8px 16px;border-radius:12px;font-size:13px}
.product-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:20px}.product-card{background:transparent;border:0;padding:0;border-radius:0;box-shadow:none;display:flex;flex-direction:column;transition:transform .16s}.product-card:hover{transform:translateY(-2px);box-shadow:none}.product-photo{position:relative;display:block;padding:0;width:100%;background:var(--surface-2);border-radius:18px;overflow:hidden}.product-image{aspect-ratio:1;border-radius:18px;object-fit:contain}.favorite-button{top:8px;right:8px;width:44px;height:44px;box-shadow:none;background:var(--surface);color:var(--ink)}.discount{top:10px;left:10px;border-radius:8px;padding:4px 7px;font-size:11px;background:#e5242a;color:white}
.product-body{display:flex;flex-direction:column;flex:1;padding:10px 2px 0;gap:5px;min-width:0}.product-title{color:inherit;text-decoration:none;display:block}.product-body h3{font-size:15px;line-height:1.4;font-weight:700;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px;overflow-wrap:anywhere}.product-meta,.product-distance{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.5}.product-distance{display:flex;gap:4px;align-items:center}.product-distance svg{width:13px;height:13px;flex:none}.product-stock{font-size:11px;display:flex;align-items:center;gap:5px;color:var(--muted)}.product-stock::before{content:'';width:6px;height:6px;border-radius:50%;background:currentColor;flex:none}.product-stock.available{color:var(--success)}.product-stock.unavailable{color:var(--danger)}.product-body .rating{font-size:11px;margin:0;gap:4px}.price-row{display:flex;flex-direction:column;align-items:flex-start;gap:0;margin-top:auto;padding-top:8px;min-height:52px}.old-price{font-size:11px;color:var(--muted)}.price{font-size:20px;line-height:1.3;font-weight:800;letter-spacing:-.03em;max-width:100%;overflow-wrap:anywhere}.product-route{width:100%;min-height:42px;border-radius:12px;margin-top:5px;font-size:12px;gap:6px}.product-route svg{width:16px;height:16px}.store-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.store-card{border-radius:16px}.startup-error{flex-direction:column;text-align:center;gap:16px;padding:40px 20px}.startup-error p{color:var(--muted);max-width:440px}
@media(min-width:1700px){.product-grid{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1199px) and (min-width:768px){.desktop-sidebar{height:auto;min-height:72px;padding:12px 20px;flex-wrap:wrap;gap:8px 16px;position:relative}.desktop-nav{order:3;flex-basis:100%;justify-content:flex-start}.sidebar-bottom{margin-left:auto}.topbar{top:0;padding:12px 20px}.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.view{padding-inline:20px}.hero{padding:28px}.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px) and (min-width:768px){.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.desktop-sidebar{display:none}.topbar{top:0;height:70px;padding:10px 12px;gap:8px}.catalog-shortcut{width:44px;padding:0;min-height:44px}.catalog-shortcut span{display:none}.global-search{height:44px;min-width:0;padding:0 10px;gap:6px}.global-search input{font-size:13px}.global-search>svg{width:18px;flex:none}.notification-button{width:36px}.view{padding:16px 12px calc(94px + env(safe-area-inset-bottom))}.hero{min-height:0;padding:22px;grid-template-columns:1fr;border-radius:18px}.hero h1{font-size:26px}.hero p{font-size:13px}.hero-art{display:none}.hero-actions{gap:8px}.hero-actions .button{font-size:12px;flex:1 1 120px;padding:0 10px}.section{margin-top:24px}.section-head{flex-wrap:nowrap;gap:8px;margin-bottom:14px}.section-head h2{font-size:20px}.section-head .button{font-size:12px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}.product-card{padding:0;border-radius:0}.product-body h3{font-size:14px;min-height:40px}.product-meta{font-size:11px}.product-image,.product-photo{border-radius:14px}.favorite-button{top:5px;right:5px;width:40px;height:40px}.discount{top:8px;left:8px;font-size:10px}.product-body .price{font-size:18px}.store-grid{grid-template-columns:1fr}.chip{font-size:12px;min-height:38px;padding:8px 12px}.product-route{min-height:42px}.mobile-nav{background:var(--surface)}}
@media(max-width:359px){.product-grid{gap:16px 8px}.view{padding-inline:10px}.product-body h3{font-size:13px}.product-body .price{font-size:16px}.product-route{font-size:11px;padding-inline:6px}.hero{padding:18px}.hero h1{font-size:23px}.section-head h2{font-size:18px}}

/* Brand marks retain their own transparent corners. */
.brand img,.hero-art img,.auth-intro .auth-logo{background:transparent;border:0;box-shadow:none;border-radius:0}
