/* Product row structure adapted from Vant Card (Youzan, MIT): square thumbnail, bounded text and bottom actions. Source: docs/POINTS-MALL-SQUARE-LAYOUT-20261115.md. */
.points-mall{color:#39291c;background:#fffaf4;min-height:100dvh;padding-bottom:28px}.pm-client-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 14px}.pm-client-heading h1{font-size:19px;font-weight:700;margin:0}.pm-client-heading button{display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:inherit}.pm-client-balance{margin:0 14px 16px;padding:18px;border-radius:22px;background:#493626;color:#fff7e9;border:1px solid #604936;box-shadow:0 7px 18px rgb(74 46 24 / 10%)}.pm-client-balance>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.pm-client-balance-label{display:flex;align-items:center;gap:8px;color:#e5ceb0;font-size:12px;line-height:1.5}.pm-client-balance-label>span{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:10px;background:#624b37;color:#f0cf98}.pm-client-balance header>button{display:inline-flex;align-items:center;gap:2px;border:1px solid #826449;background:#594230;border-radius:16px;color:#f5deba;padding:6px 8px;font:inherit;font-size:11px;white-space:nowrap}.pm-client-balance .pm-client-balance-value{display:flex;align-items:baseline;gap:9px;margin:12px 0 0;min-width:0}.pm-client-balance-value strong{font-size:40px;line-height:1.1;letter-spacing:-1px;font-weight:750;color:#f7d59d;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.pm-client-balance-value>span{font-size:12px;color:#e6ccb0}.pm-client-balance button:focus-visible{outline:2px solid #f8d59f;outline-offset:3px}.pm-client-search{display:flex;gap:8px;align-items:center;background:#fff;border:1px solid #ede4d9;border-radius:20px;margin:0 14px 14px;padding:6px 12px;color:#9e8c7a}.pm-client-search input{min-width:0;flex:1;border:0;background:none;outline:none;font:inherit;font-size:13px}.pm-client-search button{white-space:nowrap;font-size:12px;color:#d66c18}.pm-client-catalog{display:grid;grid-template-columns:78px minmax(0,1fr);margin:0 10px;background:white;border-radius:16px;overflow:hidden;min-height:400px}.pm-client-categories{background:#f3efe9;display:flex;flex-direction:column;align-items:stretch}.pm-client-categories button{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:84px;padding:12px 6px;color:#8d7d6d;font:inherit;font-size:12px;line-height:1.5}.pm-client-categories button.active{background:#fff;color:#ed6506;font-weight:600}.pm-client-products{min-width:0}.pm-client-product{--pm-thumb-size:96px;display:flex;gap:8px;padding:10px 8px;border-bottom:1px solid #f1ece5;align-items:flex-start;box-sizing:border-box}.pm-client-product-image{flex:0 0 var(--pm-thumb-size);width:var(--pm-thumb-size);height:var(--pm-thumb-size);aspect-ratio:1}.pm-client-product-image img,.pm-client-product-image>span{display:block;width:100%;height:100%;aspect-ratio:1;border-radius:11px;object-fit:cover;background:#f8f1e7}.pm-client-product-image>span{display:flex;align-items:center;justify-content:center;color:#bb8451}.pm-client-product-info{flex:1;min-width:0;height:var(--pm-thumb-size);container-type:inline-size;display:grid;grid-template-rows:32px 15px 14px 28px;row-gap:2px;align-content:space-between}.pm-client-product h2{font-size:13px;line-height:16px;margin:0;min-width:0;max-height:32px;overflow:hidden;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.pm-client-product p,.pm-client-product-info>small{display:block;min-width:0;max-width:100%;font-size:11px;line-height:15px;color:#a49380;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pm-client-product-info>small{grid-row:3;font-size:10px;line-height:14px}.pm-client-product-stock.is-unavailable{color:#b07861}.pm-client-product-action{grid-row:4;display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;height:28px;margin:0}.pm-client-product-action>strong{display:flex;align-items:baseline;gap:2px;min-width:0;color:#f16808;font-size:16px;font-variant-numeric:tabular-nums;white-space:nowrap}.pm-client-product-points-value{font-size:clamp(11px,8.2cqw,16px);letter-spacing:-.25px;line-height:1.2;white-space:nowrap}.pm-client-product-action strong small{font-size:9px;font-weight:400;margin:0;white-space:nowrap}.points-mall .pm-client-product-action button.primary-btn{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;font-size:11px;font-weight:500;line-height:16px;height:28px;min-height:28px;padding:0 7px;min-width:38px;border-radius:8px;white-space:nowrap;flex:0 0 auto}.pm-client-empty{font-size:13px;color:#b1a291;text-align:center;padding:50px 16px;line-height:1.8}.pm-client-note{font-size:12px;color:#997039;margin:10px 16px;line-height:1.7}.pm-client-records{padding:0 14px}.pm-client-records>h2{font-size:16px;margin:0 0 12px}.pm-client-confirm>h2,.pm-client-result>h2{font-size:18px;margin:14px 0}.pm-client-confirm>strong{font-size:27px;color:#ea6809;display:block;margin:18px 0}.pm-client-confirm>p,.pm-client-result p{font-size:13px;line-height:1.9}.pm-client-result{text-align:center;padding:12px 0 22px}.pm-client-result-icon{color:#dc680b;background:#fff2df;width:60px;height:60px;margin:0 auto;border-radius:50%;display:flex;align-items:center;justify-content:center}.balance-overview .points-mall-entry{display:inline-flex;align-items:center;gap:8px;color:#ecd2a0;border:1px solid #665c47;border-radius:9px;background:none;padding:8px 12px;margin-top:12px;font-size:13px}.pm-order-label{font-size:12px;color:#bf5d1e}@media(max-width:350px){.pm-client-catalog{grid-template-columns:66px minmax(0,1fr);margin:0 6px}.pm-client-product{--pm-thumb-size:88px;gap:6px;padding:10px 6px}.pm-client-product-info{grid-template-rows:28px 13px 13px 28px}.pm-client-product h2{font-size:12px;line-height:14px;max-height:28px}.pm-client-product p{font-size:10px;line-height:13px}.pm-client-product-info>small{line-height:13px}.pm-client-balance{margin-left:10px;margin-right:10px}}

.pm-client-search:focus-within{border-color:#efba88;box-shadow:0 0 0 2px #fff0de}

.pm-client-categories button span{overflow-wrap:anywhere;max-width:100%}.pm-client-categories button svg{flex-shrink:0}.pm-client-categories button:focus-visible{outline:2px solid #eb7a28;outline-offset:-3px}@media(max-width:350px){.pm-client-balance{padding:16px}.pm-client-balance-value strong{font-size:35px}}

/* Adapted from Vant Cell/CellGroup inset, MIT, Youzan; fixed source and license in docs/POINTS-MALL-COMPACT-RETURN-20261115.md. */
.pm-client-record-list{overflow:hidden;border:1px solid #eee5da;border-radius:16px;background:#fff}
.pm-client-record{position:relative;display:flex;align-items:center;gap:12px;box-sizing:border-box;width:100%;padding:14px 16px;color:#39291c;line-height:1.5;background:#fff}
.pm-client-record:not(:last-child)::after{content:"";position:absolute;bottom:0;left:16px;right:16px;border-bottom:1px solid #f1eae1}
.pm-client-record-main{flex:1;min-width:0}
.pm-client-record h3{margin:0;font-size:14px;line-height:1.6;font-weight:600;overflow-wrap:anywhere}
.pm-client-record time{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:#998572;font-variant-numeric:tabular-nums}
.pm-client-record-points{display:flex;align-items:baseline;gap:4px;flex-shrink:0;max-width:52%;font-size:16px;font-weight:650;color:#d66c18;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.pm-client-record-points span{font-size:11px;font-weight:400;white-space:nowrap}
