/* Consistent compact, readable customer screens. Admin controls keep their layout. */
.design173{--primary:#ba101b;--ink:#181b22;--muted:#655f64;background:#faf6f6!important}
.design173 .top{background:#fff;padding:16px 20px}.design173 .content{padding:18px 18px 8px}
.design173 h1{font-size:27px;margin:2px 0 18px;letter-spacing:-.6px}.design173 h2{font-size:18px}
.design173 p{margin:8px 0;line-height:1.5}.design173 .panel{border-radius:17px;border-color:#eee6e6;padding:17px;margin:14px 0;background:#fff;box-shadow:0 3px 14px #48131b05}
.design173 .primary,.design173 .secondary{min-height:44px;border-radius:11px;font-weight:700}
.design173 button .icon{vertical-align:middle;flex-shrink:0}.design173 svg.icon{stroke-width:2}
.design173 .home-search{display:flex;align-items:stretch;gap:10px;margin-bottom:14px}
.design173 .home-search .search{flex:1;min-width:0;margin:0;padding:12px}.design173 .home-search .search input{min-width:0}
.design173 .top-favorite{margin:0;display:grid;place-items:center;width:48px;min-width:48px;border:1px solid #ead5d7;border-radius:12px;background:#fff;padding:10px;color:var(--primary)}
.design173 .top-favorite svg{width:25px;height:25px;fill:currentColor;stroke:currentColor}
.points-card{overflow:hidden;background:#fff;border:1px solid #f0e5e6;border-radius:18px;box-shadow:0 5px 18px #49131b09;margin:0 0 16px}
.points-greeting{background:linear-gradient(110deg,#be101b,#a70917);color:#fff;padding:16px 18px}
.points-greeting strong{display:block;font-size:22px;overflow-wrap:anywhere}.points-greeting span{display:block;font-size:12px;margin-top:4px;color:#ffe9eb}
.points-body{padding:16px 18px}.points-label{color:#655f64;font-weight:700;font-size:12px}.points-balance{display:block;font-size:30px;letter-spacing:-.7px;line-height:1.3;margin-top:5px;color:#ba101b;overflow-wrap:anywhere}
.points-body>p{font-size:13px}.expiry-note{display:flex;gap:9px;align-items:center;background:#fff0f2;color:#a70d18;border-radius:10px;padding:11px;margin-top:12px;font-size:12px;line-height:1.5}
.expiry-note svg{flex:0 0 22px}.expiry-note strong{font-weight:600}.points-link,.point-details>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#b20d18;background:none;border:0;border-top:1px solid #f0e6e7;width:100%;padding:13px 0 0;margin-top:13px;font-weight:700;font-size:14px;text-align:left;min-height:44px;cursor:pointer}
.point-details>summary{list-style:none}.point-details>summary::-webkit-details-marker{display:none}.point-details[open]>summary>svg{transform:rotate(90deg)}.point-details .wallet{box-shadow:none;border:0;padding:8px 0;margin:0}.point-details .wallet h2{font-size:20px}
.design173 .benefits{display:flex;background:#fff;border-radius:13px;border:1px solid #f0e5e5;padding:13px 4px;margin:14px 0;color:#22252c;gap:0}
.design173 .benefits>span{flex:1;justify-content:center;padding:0 7px;gap:7px;font-size:11px;min-width:0}.design173 .benefits>span+span{border-left:1px solid #ddd3d5}.design173 .benefits svg{width:23px;height:23px;color:#bb101b;flex:0 0 23px;stroke-width:2.2}
.design173 .section-head{gap:10px;margin:18px 0 10px}.design173 .section-head h2{font-size:17px;margin:0}.design173 .section-head button{display:flex;align-items:center;gap:3px;font-size:12px;padding:8px 0;min-height:44px;white-space:nowrap}.design173 .section-head button svg{width:17px;height:17px}
.design173 .categories{margin-bottom:9px}.design173 .chip{padding:10px 13px;min-height:40px}.design173 .grid{gap:12px}.design173 .product{background:#fff;border:1px solid #eee4e5;border-radius:15px;padding:10px;min-width:0}.design173 .product .picture{border-radius:11px;background:#faf6f6}.design173 .product .link-title{font-size:14px;line-height:1.35;color:#17191f;overflow-wrap:anywhere}.design173 .product .price{font-size:16px;color:#17191f}.design173 .pack-names{font-size:11px}.design173 .catalog-wholesale{font-size:11px;line-height:1.5;padding:7px;border-radius:7px}.design173 .choose-product{border:1.5px solid #ba101b!important;color:#ba101b;font-weight:700}
.more-products{grid-column:1/-1}.data-loading{color:#655f64;font-size:12px}.data-loading:empty,#data-note173:empty{display:none}
.profile-card{background:linear-gradient(110deg,#bd101b,#a80815);color:#fff;border-radius:18px;padding:20px 16px;display:flex;gap:12px;align-items:center;margin-bottom:15px}
.profile-card .user-avatar{width:58px;height:58px;flex:0 0 58px;background:#ffe1e4;color:#b50d17;font-size:26px;border-radius:50%}.profile-card>div:nth-child(2){flex:1;min-width:0}.profile-card h2{margin:0;line-height:1.35;overflow-wrap:anywhere}.profile-card p{font-size:13px;margin:4px 0}.profile-card span{font-size:13px}.profile-card>.icon{width:25px;flex:0 0 25px}
.design173 .account-menu{padding:0 16px}.design173 .settings-row{padding:17px 0;min-height:58px;gap:13px;color:#181b22}.design173 .settings-row>.icon:first-child{color:#ba101b;width:24px;height:24px}.design173 .settings-row>.icon:last-child{width:18px;height:18px;color:#797377}.design173 .settings-row span{flex:1}
.logout173{display:flex;align-items:center;gap:13px;padding:14px 17px;border:1.5px solid #ba101b;border-radius:13px;background:#fff;color:#ba101b;width:100%;font-weight:700;min-height:52px;margin-top:14px}.logout173 span{flex:1;text-align:left}.logout173>.icon:last-child{width:18px}
.store-footer{padding:21px 2px 10px}.store-footer h3{font-size:14px}.store-footer .store-address{font-size:12px;color:#655f64;white-space:pre-line;overflow-wrap:anywhere}.store-footer .version-label{text-align:left;margin:7px 0;font-size:12px;color:#655f64}
.server-state{display:flex;align-items:center;gap:7px;font-size:12px;color:#6b6b70;margin:0}.connection-dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;flex:0 0 8px}.server-state[data-state=online]{color:#237c36}
.design173 .line-item{padding:12px 0;gap:10px}.design173 .line-item h3{font-size:14px}.design173 .line-item>.price{font-size:14px;white-space:nowrap}.design173 .line-item img{width:54px;height:60px;object-fit:contain}.design173 .totals .row{padding:7px 0}.design173 .totals .total{color:#b20d18;font-size:18px;border-top:1px solid #ead8da;margin-top:7px;padding-top:13px}
.design173 .order-card .order-meta{font-size:12px;margin:9px 0}.design173 .order-items{padding:9px 0}.design173 .order-items .row{font-size:12px;align-items:flex-start}.design173 .status{border-radius:7px;font-size:11px}.design173 .empty{padding:36px 12px}.design173 .empty h2{margin:14px 0 8px}.design173 .empty .primary{display:inline-flex;align-items:center;gap:8px}.design173 .empty .primary .icon{width:17px;height:17px}
.design173 .bottom{background:#fff;border-top:1px solid #eee4e5}.design173 .nav{color:#746d73}.design173 .nav.active{color:#b50e1b}.design173 .nav.active:before{background:#ba101b}
@media(min-width:800px){#app.design173:not(.admin-layout){max-width:980px}.design173:not(.admin-layout) .content{padding:22px 30px}.design173 .bottom{max-width:980px}.design173 .benefits>span{font-size:14px}.design173 .points-card{max-width:100%}.design173[data-page=account] .content{max-width:650px;margin:auto}.design173[data-page=home] .grid,.design173[data-page=catalog] .grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:350px){.design173 .content{padding:14px 12px}.design173 .benefits>span{font-size:10px;gap:4px;padding:0 4px}.design173 .benefits svg{width:19px;flex-basis:19px}.design173 .section-head h2{font-size:15px}.profile-card{padding:17px 12px}.profile-card>.icon{display:none}}
