/* MarketHouse customer experience 2.0: presentation-only layer. No payment arithmetic. */
.mh-product-likes{display:flex;align-items:center;gap:12px;margin:12px 0 16px;flex-wrap:wrap}
.mh-product-like-btn{display:inline-flex;align-items:center;gap:9px;padding:9px 15px!important;min-height:45px;border:1px solid #d8e5dd!important;border-radius:999px!important;background:#fff!important;color:#4c6557!important;font-weight:700!important;box-shadow:0 2px 8px rgba(17,75,48,.06);cursor:pointer}
.mh-product-like-btn .mh-like-heart{font-size:25px;line-height:1;color:#98a79d;transition:transform .15s,color .15s}
.mh-product-like-btn.is-liked{background:#fff1f2!important;border-color:#f3bdc4!important;color:#bb2b44!important}
.mh-product-like-btn.is-liked .mh-like-heart{color:#e3294e}
.mh-product-like-btn:hover:not(:disabled) .mh-like-heart{transform:scale(1.14)}
.mh-product-like-count{font-size:13px;color:#62766a;font-variant-numeric:tabular-nums}
@media(max-width:390px){.mh-product-likes{gap:8px}.mh-product-like-btn{padding:8px 13px!important}}

:root{--mh-deep:#123e33;--mh-main:#126a53;--mh-accent:#dcf1e5;--mh-surface:#fff;--mh-silver:#f6f8f7;--mh-muted:#64796e;--mh-line:#dfe9e2;--mh-shadow:0 14px 36px rgba(11,59,39,.07)}
html{scroll-behavior:smooth}body{background:#f9fbfa;color:#192a23;letter-spacing:.01em}
button,select,input,textarea{transition:border-color .15s,box-shadow .15s,background-color .15s,transform .15s}
button:not(:disabled):hover{filter:brightness(.97)}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #a9ddca;outline-offset:2px}
button.primary,.primary{background:var(--mh-main);border:1px solid var(--mh-main);color:white;font-weight:730}
button.secondary,.secondary{background:white;color:var(--mh-deep);border:1px solid var(--mh-line)}
button:disabled{opacity:.62;cursor:not-allowed}
.top{font-size:12px;background:#123e33;padding:8px 12px}
.wrap{max-width:1260px}
.head{gap:14px;border-bottom:1px solid #e7efea}.head .logo{font-size:26px;font-weight:850;letter-spacing:-.8px;white-space:nowrap}
.head .search{border-radius:15px;overflow:hidden;background:#f0f5f2}.head .search input{background:transparent;min-width:100px}
.head>button,.head>select{border-radius:12px;height:44px;white-space:nowrap}
.head #buyerVisibleMemberNumber{padding:7px 10px;background:#ecf6ef;border-radius:9px;font-size:12px;white-space:nowrap}
.nav{display:flex;gap:7px;align-items:center;overflow-x:auto;scrollbar-width:thin;padding:13px 0 18px;border-bottom:1px solid #e7eeea}
.nav button{flex:0 0 auto;background:transparent;border:0;border-radius:12px;color:#3b5d4b;font-weight:650;padding:11px 14px}
.nav button:hover,.nav button[aria-current=page]{background:#e6f3ec;color:#126a53}
#buyerPilotBanner{color:#476b57;background:#f0f7f2;border-color:#e1ede5}
#buyerEntryActions{background:#f6f9f6!important;border-bottom:1px solid #e8eee9;justify-content:center}
#buyerEntryActions button{border-radius:10px}
#buyerEntryActions[hidden]{display:none!important}
#modal .dialog .mh-google-signin{display:flex;align-items:center;justify-content:center;gap:13px;border:1px solid #d7dfe0;border-radius:12px;background:#fff;color:#24332e;padding:12px 16px;min-height:53px;font-weight:740;font-size:15px;box-shadow:0 4px 14px #142e1e0b}
#modal .dialog .mh-google-signin:hover{background:#f7fafd;border-color:#aabdc3}
.mh-google-g{font-family:Arial,sans-serif;font-weight:900;font-size:24px;line-height:1;background:conic-gradient(#4285f4 0 30%,#34a853 30% 52%,#fbbc05 52% 69%,#ea4335 69% 87%,#4285f4 87%);-webkit-background-clip:text;background-clip:text;color:transparent}
#modal .dialog .buyer-phone-alternative{margin:15px 0;padding:10px 13px;border:1px solid #e2e9e5;border-radius:12px;background:#fbfdfb}
#modal .dialog .buyer-phone-alternative>summary{cursor:pointer;color:#597366;font-weight:640;font-size:13px;list-style-position:inside}
#modal .dialog .buyer-phone-alternative[open]{padding-bottom:16px}
#buyerApprovalBanner{border:1px solid #f2dfb6;border-radius:12px;margin:12px auto 14px;padding:12px 16px}
#publicMemberNumber,#dualWalletMemberNumber{display:none}
.view{animation:mh-fade .22s ease both;min-width:0}.view.hidden{display:none}
@keyframes mh-fade{from{opacity:.75;transform:translateY(6px)}to{opacity:1;transform:none}}
h1,h2,h3{color:#142f24;letter-spacing:-.02em}
.view>h2{font-size:26px;line-height:1.3;margin:24px 0 18px}.hero{border-radius:23px;overflow:hidden;box-shadow:var(--mh-shadow);margin-top:24px}
.hero h1{font-size:clamp(29px,4vw,52px);letter-spacing:-.04em;line-height:1.1}
.section .title{align-items:center;gap:10px;margin:27px 0 16px}
.panel,.card{border:1px solid var(--mh-line);border-radius:18px;background:#fff;box-shadow:0 4px 20px #103d2808}
#cartBox{padding:20px 24px}
#cartBox>.row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:16px;align-items:center;padding:17px 0;border-bottom:1px solid var(--mh-line)}
#cartBox>.row>span{font-weight:580;min-width:0;overflow-wrap:anywhere}
#cartBox>.row>b{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:18px}
#cartBox>.row button{border-radius:10px}
#cartBox>button.primary{min-height:49px;padding:10px 22px;margin-top:20px;border-radius:12px}
#orders #orderBox{padding:8px 23px}
.mh-order{padding:20px 0 21px;border-bottom:1px solid var(--mh-line);display:grid;gap:14px}
.mh-order:last-child{border-bottom:0}
.mh-order-head{display:flex;justify-content:space-between;align-items:center;gap:12px}
.mh-order-number{font-size:17px;font-weight:820}.mh-order-date{font-size:12px;color:var(--mh-muted)}
.mh-order-state{display:inline-flex;align-items:center;font-size:12px;font-weight:760;border-radius:100px;background:#eef3ef;color:#386b52;padding:6px 12px;white-space:nowrap}
.mh-order-state[data-kind=completed]{background:#e5f5eb;color:#126843}
.mh-order-state[data-kind=pending],.mh-order-state[data-kind=processing]{background:#fff3db;color:#865a0d}
.mh-order-items{display:grid;gap:11px}.mh-order-item{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid #edf2ee;border-radius:12px;background:#fbfdfb}
.mh-order-image{width:66px;height:66px;object-fit:cover;border-radius:11px;background:#eff4f0;display:grid;place-items:center;font-size:28px;flex-shrink:0}
.mh-order-product-name{font-weight:650;line-height:1.4;overflow-wrap:anywhere}.mh-order-product-meta{font-size:12px;color:var(--mh-muted)}
.mh-order-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.mh-order-total{font-weight:850;font-size:22px;font-variant-numeric:tabular-nums}
.mh-order-fulfillment{font-size:12px;color:var(--mh-muted)}
.mh-order-principal{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:7px;padding:12px 15px;border:1px solid #f1e4c9;border-radius:12px;background:#fff9e9}
.mh-order-principal strong{font-variant-numeric:tabular-nums}
.mh-order-actions{display:flex;gap:8px}.mh-order-actions button{border-radius:11px}
#wallet .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
#wallet .cards>.metric{min-width:0;border:1px solid #e4ece6;border-radius:16px;padding:19px 18px;background:#f5f9f6;min-height:124px;box-shadow:none}
#wallet .cards>.metric:first-child{background:#eaf5ee;border-color:#d0e9dc}
#wallet .cards>.metric:nth-child(4){background:#fff8e9;border-color:#f0e0be}
#wallet .cards>.metric>span{font-size:13px;color:#587266;font-weight:650;line-height:1.5}
#wallet .cards>.metric strong{display:block;margin:10px 0 5px;font-size:clamp(18px,2.2vw,27px);font-weight:830;line-height:1.2;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
#wallet .cards>.metric small{display:block;font-size:11px;line-height:1.5}
#wallet .panel{padding:18px 20px}
#wallet .panel h3{font-size:17px;margin:6px 0 15px}
#wallet .panel .primary,#wallet .panel .secondary{border-radius:11px}
#buyerWalletHelp{border-radius:12px;background:#fff9e9;border:1px solid #f2e9d0;padding:12px 16px;color:#77551c;font-size:13px}
.dual-wallet-list{margin:0;padding:0}
.dual-wallet-list li{padding:15px 0;gap:14px;min-width:0;border-bottom:1px solid #e8eee9;align-items:center}
.dual-wallet-list li:last-child{border-bottom:0}
.dual-wallet-list li>span{min-width:0;overflow-wrap:anywhere;font-size:13px;color:#536b60;line-height:1.6}
.dual-wallet-list li strong{font-size:15px;font-weight:800;white-space:nowrap;text-align:end;font-variant-numeric:tabular-nums}
.dual-wallet-list .dual-reward-credit{display:grid;gap:5px;text-align:right}
.mh-wallet-principal-detail{margin-top:15px!important;border:1px solid #efdbaa!important;background:#fffbef!important}
.mh-wallet-principal-detail h3{font-size:16px}.mh-principal-row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #eee5cc;padding:11px 0;align-items:center}
.mh-principal-row:last-child{border-bottom:0}.mh-principal-row small{display:block;color:#8a714a}
.mh-principal-row strong{font-variant-numeric:tabular-nums}
#modal:not(.hidden){display:grid;place-items:center;padding:15px}
#modal .dialog{width:min(620px,calc(100vw - 24px));max-width:620px;max-height:min(90vh,900px);overflow-y:auto;border-radius:22px;padding:26px 28px;background:white;box-shadow:0 26px 90px #071d163d}
#modal .dialog>h2{font-size:25px;letter-spacing:-.03em;margin:0 0 18px}
#modal .dialog label{display:block;font-weight:690;color:#3c5748;margin:15px 0 7px}
#modal .dialog select,#modal .dialog input:not([type=radio]),#modal .dialog textarea{display:block;width:100%;border:1px solid var(--mh-line);border-radius:12px;padding:12px 14px;background:#fff;min-height:46px;margin-top:7px}
#modal .dialog .actions{display:flex;gap:9px;margin-top:19px}
#modal .dialog .actions>*{flex:1;min-height:49px;border-radius:11px}
#modal .dialog .dual-wallet-lines{background:#f6f9f7;border:1px solid #e5eee8;border-radius:15px;padding:8px 16px;margin-bottom:18px}
#modal .dialog .dual-wallet-lines p{display:flex;justify-content:space-between;align-items:start;gap:18px;border-bottom:1px solid #e1e9e3;padding:12px 0;margin:0}
#modal .dialog .dual-wallet-lines p:last-child{border:0}
#modal .dialog .dual-wallet-lines strong{white-space:nowrap;font-variant-numeric:tabular-nums}
#dualWalletQuote{background:#f0f7f3;border-radius:15px;border:1px solid #d8e8dd;padding:16px;line-height:2.1;font-size:13px;color:#466554}
#dualWalletQuote strong{font-variant-numeric:tabular-nums;color:#193e2d}
#dualWalletQuote strong:nth-of-type(2){font-size:20px}
#dualPointsHint{font-size:12px;line-height:1.5}
#memberHubDialog{width:min(980px,calc(100vw - 30px))!important;max-height:92dvh!important;padding:clamp(18px,3vw,30px)!important;border-radius:23px!important;box-shadow:0 30px 90px #071c1655!important}
#memberHubDialog::backdrop{background:rgba(9,31,24,.67);backdrop-filter:blur(3px)}
#memberHubDialog>h2{font-size:27px;margin-bottom:20px}
#memberHubDialog #hubContent>h3{font-size:18px;margin-top:24px;border-bottom:1px solid #e7eee9;padding-bottom:10px}
#memberHubDialog #hubContent>article{border:1px solid #dfebe3!important;border-radius:14px!important;padding:20px!important;background:#fbfdfb;box-shadow:0 3px 12px #0f4c2409}
#memberHubDialog #hubContent button{border-radius:10px;min-height:40px}
.mh-announcement-band{background:#e8f5ec;border:1px solid #d9e8df;color:#174a34;display:flex;align-items:center;gap:14px;min-height:43px;overflow:hidden}
.mh-announcement-band[hidden]{display:none!important}
.mh-announcement-title{flex:none;display:flex;align-items:center;gap:6px;font-size:12px;font-weight:790;padding:9px 13px;border-right:1px solid #c7ded0}
.mh-announcement-scroller{min-width:0;overflow:hidden;flex:1;position:relative}
.mh-announcement-track{display:flex;gap:42px;align-items:center;white-space:nowrap;width:max-content;animation:mh-rolling-ticker 40s linear infinite;padding:10px 0;font-size:13px;font-weight:600}
.mh-announcement-track span{white-space:nowrap}
.mh-announcement-band:hover .mh-announcement-track,.mh-announcement-band:focus-within .mh-announcement-track{animation-play-state:paused}
@keyframes mh-rolling-ticker{to{transform:translateX(-50%)}}
.mh-announcement-more{border:0;background:transparent;color:#15563d;font-size:12px;padding:10px;flex:none}
.mh-category-rail{margin:22px 0 19px;padding:0}
.mh-category-rail h2{margin:0 0 13px;font-size:20px}
.mh-category-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.mh-category-btn{display:flex;align-items:center;gap:10px;min-width:0;text-align:start;background:#fff;border:1px solid #e1ebe5;color:#244636;border-radius:13px;padding:12px 13px;font-weight:690}
.mh-category-btn:hover,.mh-category-btn[aria-pressed=true]{background:#e7f4eb;border-color:#9fd5b7;transform:translateY(-1px)}
.mh-category-btn .mh-category-icon{font-size:21px;flex:none}
.mh-category-btn>span:last-child{overflow-wrap:anywhere;font-size:12px}
#memberCategoryNav{display:none!important}
.mh-empty-category{margin:15px 0;border:1px dashed #cadbd0;color:#667d70;background:#f8fbf8;border-radius:12px;padding:24px;text-align:center;font-size:13px}
@media(max-width:920px){.head{flex-wrap:wrap}.head .search{order:3;flex:1 1 100%}.mh-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}#wallet .cards{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){
 body{font-size:14px}.wrap{padding:0 14px}.head{padding:12px 0;gap:9px}.head .logo{font-size:21px}.head #buyerVisibleMemberNumber{font-size:10px}.head>button,.head>select{min-height:39px;height:auto;font-size:12px;padding:9px}
 .nav{gap:3px;padding:8px 0 12px}.nav button{padding:9px 11px;font-size:13px}
 .hero{border-radius:17px;margin-top:16px}.hero h1{font-size:30px}
 #wallet .cards{gap:9px}#wallet .cards>.metric{padding:14px 12px;min-height:110px}#wallet .cards>.metric strong{font-size:19px}
 .mh-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .mh-category-btn{padding:10px 11px}.mh-category-btn .mh-category-icon{font-size:18px}
 #orders #orderBox{padding:0 15px}.mh-order{gap:11px}.mh-order-total{font-size:19px}
 .mh-order-image{width:54px;height:54px}.mh-order-footer{gap:8px}
 #cartBox{padding:12px}#cartBox>.row{grid-template-columns:minmax(0,1fr) auto;gap:8px}#cartBox>.row button{grid-column:2}
 #modal .dialog{padding:17px 15px;border-radius:17px;max-height:91dvh;width:min(100%,calc(100vw - 20px))}
 #modal .dialog>h2{font-size:22px}
 #dualWalletQuote{padding:13px}
 #memberHubDialog{width:calc(100vw - 12px)!important;max-height:94dvh!important;padding:16px!important;border-radius:16px!important}
 #memberHubDialog #hubContent>article{padding:14px!important}
 .mh-announcement-title{padding:8px}.mh-announcement-band{gap:6px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;scroll-behavior:auto!important}.mh-announcement-track{animation:none;max-width:100%;overflow:auto;scrollbar-width:thin}}

/* Assigned offers appear in My orders and reuse the existing inbox checkout. */
.mh-assigned-orders{margin:0 0 20px;padding:3px 18px 8px;background:#f2f8f3;border:1px solid #dbe9df;border-radius:16px}
.mh-assigned-orders>h3{margin:13px 0 2px;font-size:18px}
.mh-assigned-order{padding:15px 0}
.mh-assigned-order .mh-order-image img{display:block}
.mh-assigned-order .mh-order-actions button{min-height:44px}
.mh-order-history-title{font-size:18px;margin:22px 0 4px}
#ordersNav{white-space:nowrap}
@media(max-width:600px){.mh-assigned-orders{padding:2px 12px 6px}.mh-assigned-order .mh-order-footer{align-items:flex-start}.mh-assigned-order .mh-order-actions{width:100%}.mh-assigned-order .mh-order-actions button{width:100%}}

/* Member order status filters: accessible mobile-first chips, no order mutation. */
.mh-order-filter-bar{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px;padding:8px 0;align-items:center}
.mh-order-filter{border:1px solid #cbded1;background:#f8fbf9;color:#345845;font-weight:650;font-size:12px;padding:9px 13px;border-radius:999px;white-space:nowrap;min-height:36px}
.mh-order-filter[aria-pressed="true"]{background:#176b55;color:#fff;border-color:#176b55}
.mh-order-filter:focus-visible{outline:3px solid #80cbb0;outline-offset:2px}
@media(max-width:760px){.mh-order-filter-bar{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.mh-order-filter{flex:none}}

/* Display-only popularity indicator; genuine member likes remain separately labeled and unchanged. */
.mh-detail-display-heat{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin:11px 0 9px;padding:9px 12px;width:fit-content;max-width:100%;border:1px solid #d5e6dd;border-radius:12px;background:#f3f9f5;color:#476f5b;font-size:12px;line-height:1.55}
.mh-detail-display-heat strong{color:#1d7851;font-size:18px;line-height:1.2;font-weight:800;letter-spacing:.02em}
@media(max-width:760px){.mh-detail-display-heat{font-size:11px}.mh-detail-display-heat strong{font-size:16px}}
