@import url(https://fonts.googleapis.com/css2?family=Noto+Sans+Khmer:wght@400;500;600;700&display=swap);
:root{--ink:#1f2933;--muted:#687782;--line:#ebeff1;--paper:#f5f5f4;--orange:#ee4d2d;--orange-dark:#d94326;--orange-soft:#fff4ef;--white:#fff;--green:#1d9d6a;--shadow-soft:0 12px 24px rgba(29,41,57,.06);--khmer-font:"Noto Sans Khmer",sans-serif}*{box-sizing:border-box}body,html{font-family:Noto Sans Khmer,sans-serif}body{background:linear-gradient(180deg,#f7f6f4,#f4f5f5);color:var(--ink);font-size:14px;line-height:1.5;margin:0}a{color:inherit}.toast-stack{display:grid;gap:10px;pointer-events:none;position:fixed;right:16px;top:16px;width:min(360px,calc(100vw - 32px));z-index:1000}.toast{align-items:start;animation:toast-enter .2s ease-out;background:hsla(0,0%,100%,.98);border:1px solid rgba(238,77,45,.08);border-left:4px solid var(--orange);border-radius:8px;box-shadow:0 8px 18px rgba(15,23,42,.08);color:var(--ink);display:grid;gap:12px;grid-template-columns:minmax(0,1fr) auto;padding:12px 14px;pointer-events:auto}.toast-success{border-left-color:var(--green)}.toast-error{border-left-color:var(--orange-dark)}.toast-alert{background:var(--orange-soft);border-left-color:var(--orange)}.toast-content strong{display:block;font-size:12px;font-weight:700;letter-spacing:.02em}.toast-content p{color:var(--muted);font-size:11px;line-height:1.45;margin:4px 0 0}.toast-dismiss{background:transparent;border:0;border-radius:4px;color:var(--muted);cursor:pointer;display:grid;font:20px/1 Noto Sans Khmer,sans-serif;height:24px;padding:0;place-items:center;width:24px}.toast-dismiss:hover{background:rgba(238,77,45,.06);color:var(--ink)}.toast.is-leaving{animation:toast-leave .18s ease-in forwards}@keyframes toast-enter{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}@keyframes toast-leave{to{opacity:0;transform:translateY(-6px)}}@media (max-width:600px){.toast-stack{right:10px;top:10px;width:calc(100vw - 20px)}}@media (prefers-reduced-motion:reduce){.toast,.toast.is-leaving{animation:none}}.category-inner,.header-inner,.shop-main{margin:auto;padding-left:24px;padding-right:24px;width:min(1320px,100%)}.shop-header{background:var(--orange);box-shadow:0 0 0 rgba(15,23,42,0);color:#fff;position:sticky;top:0;transition:box-shadow .25s ease,background-color .25s ease;z-index:100}.shop-header.is-scrolled{box-shadow:0 8px 18px rgba(15,23,42,.12)}.header-inner{align-items:center;display:grid;gap:22px;grid-template-columns:auto minmax(240px,1fr) auto;min-height:78px}.brand-group{align-items:center;display:flex;gap:12px;min-width:0}.header-menu{display:contents}.header-menu-toggle{display:none}.brand{align-items:center;color:#fff;display:flex;font-size:21px;font-weight:800;gap:9px;text-decoration:none}.brand-mark{border:2px solid #fff;border-radius:50%;display:grid;font-family:Noto Sans Khmer,sans-serif;font-size:20px;height:37px;place-items:center;width:37px}.cart-card{align-items:center;background:#fff;border:1px solid hsla(0,0%,100%,.7);border-radius:11px;box-shadow:0 5px 15px rgba(118,44,22,.12);color:var(--orange-dark);display:inline-flex;font-size:11px;font-weight:800;gap:7px;letter-spacing:.03em;min-height:38px;padding:7px 11px;text-decoration:none}.cart-icon{background:var(--orange-dark);border-radius:6px;color:#fff;display:inline-grid;font-size:11px;font-weight:900;height:18px;line-height:1;place-items:center;width:18px}.cart-count,.cart-text{white-space:nowrap}.search-form{background:#fff;border-radius:6px;box-shadow:0 2px 0 rgba(185,68,44,.2);display:flex;height:43px;padding:3px}.search-form input{border:0;color:var(--ink);flex:1;font:inherit;min-width:0;outline:none;padding:0 13px}.search-form input::-moz-placeholder{color:#9aa2a6}.search-form input::placeholder{color:#9aa2a6}.search-form button{background:var(--orange-dark);border:0;border-radius:4px;color:#fff;cursor:pointer;font:700 12px Noto Sans Khmer,sans-serif;min-width:92px}.header-actions{align-items:center;display:flex;font-size:11px;gap:17px;white-space:nowrap}.header-actions a{text-decoration:none}.language-picker{align-items:center;background:hsla(0,0%,100%,.08);border:1px solid hsla(0,0%,100%,.7);border-radius:999px;color:#fff;display:inline-flex;gap:6px;margin-right:8px;min-height:34px;padding:0 10px 0 8px}.language-current-flag{display:inline-grid;font-size:14px;line-height:1;place-items:center}.language-picker select{appearance:none;-webkit-appearance:none;-moz-appearance:none;background:transparent;border:0;color:#fff;cursor:pointer;font:700 11px Noto Sans Khmer,sans-serif;min-width:110px;outline:none;padding-right:14px}.language-picker select option{color:#1f2933}.header-actions .buyer-link,.header-actions .sell-link{border:1px solid hsla(0,0%,100%,.7);border-radius:5px;padding:9px 11px;transition:.2s ease}.header-actions .buyer-link:hover,.header-actions .sell-link:hover{background:hsla(0,0%,100%,.08)}.header-actions .cart-link,.member-badge{color:#fff;font-weight:700}.member-badge{background:hsla(0,0%,100%,.12);border-radius:999px;padding:7px 10px}.logout-form{margin:0}.logout-button{background:#fff;border:1px solid #fff;border-radius:5px;color:var(--orange-dark);cursor:pointer;font:700 11px Noto Sans Khmer,sans-serif;padding:9px 11px;transition:.2s ease}.logout-button:hover{background:var(--orange-soft)}.category-bar{background:#fff;border-bottom:1px solid var(--line);box-shadow:0 0 0 rgba(15,23,42,0);position:sticky;top:78px;transition:box-shadow .25s ease;z-index:95}.category-bar.is-scrolled{box-shadow:0 6px 16px rgba(15,23,42,.08)}.category-inner{align-items:center;display:flex;gap:8px;min-height:49px;overflow-x:auto}.category-label{color:var(--muted);flex:none;font-size:10px;font-weight:700;margin-right:7px;text-transform:uppercase}.category-chip{border:1px solid transparent;border-radius:4px;color:#4c5a60;flex:none;font-size:11px;padding:7px 12px;text-decoration:none}.category-chip.active,.category-chip:hover{background:var(--soft-orange);border-color:#f1b09d;color:var(--orange-dark)}.shop-main{padding-bottom:64px;padding-top:26px}.featured{background:linear-gradient(135deg,#eff7ee,#f7f0eb);border:1px solid rgba(238,77,45,.08);border-radius:14px;box-shadow:var(--shadow-soft);display:grid;grid-template-columns:1fr .9fr;min-height:270px;overflow:hidden;position:relative}.featured:before{background:rgba(238,77,45,.08);content:"";height:520px;position:absolute;right:33%;top:-130px;transform:rotate(24deg);width:330px}.featured-copy{align-self:center;padding:34px 10px 34px 44px;position:relative;z-index:1}.featured-label{background:var(--orange);border-radius:3px;color:#fff;display:inline-block;font-size:9px;font-weight:700;letter-spacing:.08em;margin-bottom:13px;padding:6px 9px;text-transform:uppercase}.featured h1{font-family:Noto Sans Khmer,sans-serif;font-size:35px;font-weight:500;letter-spacing:-.03em;line-height:1.12;margin:0;max-width:510px}.featured-description{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:#68766f;display:-webkit-box;font-size:12px;line-height:1.5;margin:11px 0;max-width:450px;overflow:hidden}.featured-sales{color:var(--muted);font-size:11px;margin:12px 0 0}.featured-bottom{align-items:center;display:flex;gap:20px;margin-top:19px}.featured-price{color:var(--orange-dark);font-size:19px;font-weight:800}.featured-link{background:var(--ink);border-radius:6px;color:#fff;font-size:11px;font-weight:700;padding:11px 15px;text-decoration:none;transition:transform .2s ease,opacity .2s ease}.featured-link:hover{opacity:.96;transform:translateY(-1px)}.featured-visual{display:grid;min-width:0;padding:20px 34px 20px 0;place-items:center;position:relative}.featured-photo{background:#fff;border:5px solid hsla(0,0%,100%,.72);border-radius:12px;box-shadow:0 18px 34px rgba(40,58,48,.12);height:220px;overflow:hidden;position:relative;width:min(100%,420px)}.featured-photo img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.section-heading{align-items:end;display:flex;gap:16px;justify-content:space-between;margin:28px 0 16px}.section-heading h2{font-size:18px;font-weight:700;letter-spacing:-.02em;margin:0}.section-heading p{margin:5px 0 0}.result-count,.section-heading p{color:var(--muted);font-size:11px}.result-count{font-weight:600}.product-grid{display:grid;gap:16px;grid-template-columns:repeat(4,minmax(0,1fr))}.product-card{background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 4px 14px rgba(52,63,72,.03);display:flex;flex-direction:column;min-width:0;overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.product-card:hover{border-color:rgba(238,77,45,.18);box-shadow:0 16px 30px rgba(40,48,56,.08);transform:translateY(-2px)}.product-link{color:inherit;display:block;flex:1;text-decoration:none}.product-image{aspect-ratio:1/1;background:#edf0ec;display:block;overflow:hidden;position:relative}.product-image img{display:block;height:100%;-o-object-fit:cover;object-fit:cover;transition:transform .25s ease;width:100%}.product-card:hover .product-image img{transform:scale(1.04)}.product-type{background:hsla(0,0%,100%,.9);border-radius:3px;color:#49534f;font-size:9px;font-weight:700;left:9px;padding:5px 7px;position:absolute;text-transform:uppercase;top:9px}.product-info{display:block;padding:11px}.product-category{color:var(--muted);display:block;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-info h3{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:var(--ink);display:-webkit-box;font-size:12px;font-weight:600;line-height:1.4;margin:7px 0 10px;min-height:34px;overflow:hidden}.product-foot{align-items:center;border-top:1px solid #f0f1f0;display:flex;gap:7px;justify-content:space-between;padding-top:8px}.product-price{color:var(--orange-dark);font-size:14px;font-weight:800}.product-author{color:var(--muted);font-size:9px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.product-sales{color:var(--muted);display:block;font-size:10px;margin-top:6px}.card-cart-form{padding:0 11px 11px}.card-cart-button{align-items:center;background:#fff;border:1px solid #f7c1b2;border-radius:8px;color:var(--orange-dark);cursor:pointer;display:inline-flex;font:700 11px Noto Sans Khmer,sans-serif;justify-content:center;padding:9px;text-decoration:none;transition:background .2s ease,transform .2s ease;width:100%}.card-cart-button:hover{background:var(--orange-soft);transform:translateY(-1px)}.card-account-links{display:flex;font-size:10px;gap:8px;justify-content:space-between;padding:0 11px 11px}.card-account-links a{color:var(--orange-dark);font-weight:700;text-decoration:none}.sr-only{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.empty-state{background:#fff;border:1px dashed #d1d8d4;border-radius:6px;grid-column:1/-1;padding:54px 20px;text-align:center}.product-end,.product-load-error,.product-loading{color:var(--muted);font-size:12px;margin-top:22px;text-align:center}.product-load-error button{background:#fff;border:1px solid #e8a08b;border-radius:4px;color:var(--orange-dark);cursor:pointer;font:inherit;font-weight:700;margin-left:8px;padding:7px 10px}.shop-chat{bottom:22px;position:fixed;right:22px;z-index:120}.shop-chat-toggle{align-items:center;background:var(--orange-dark);border:0;border-radius:24px;box-shadow:0 8px 24px rgba(73,41,29,.24);color:#fff;cursor:pointer;display:inline-flex;font:700 13px Noto Sans Khmer,sans-serif;gap:9px;min-height:48px;padding:0 17px;text-decoration:none}.shop-chat-toggle span{font-size:19px;line-height:1}.shop-chat-toggle .shop-chat-unread{background:#fff;border-radius:10px;color:var(--orange-dark);display:inline-grid;font-size:10px;font-weight:800;height:20px;line-height:1;min-width:20px;padding:0 5px;place-items:center}.shop-chat-toggle .shop-chat-unread[hidden]{display:none}.shop-chat-toggle:disabled{cursor:wait;opacity:.65}.shop-chat-panel{background:linear-gradient(180deg,#f36a3d,#ee4d2d);border:1px solid hsla(0,0%,100%,.22);border-radius:12px;bottom:60px;box-shadow:0 14px 44px rgba(31,41,51,.22);display:flex;flex-direction:column;height:min(460px,calc(100dvh - 115px));overflow:hidden;position:absolute;right:0;width:min(360px,calc(100vw - 28px))}.shop-chat-panel[hidden]{display:none}.shop-chat-heading{align-items:center;background:hsla(0,0%,100%,.07);color:#fff;display:flex;gap:12px;justify-content:space-between;min-height:64px;padding:12px 15px}.shop-chat-heading small,.shop-chat-heading strong{display:block}.shop-chat-heading small{color:hsla(0,0%,100%,.8);font-size:10px;margin-top:4px;max-width:280px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-chat-heading .chat-presence-status{align-items:center;color:hsla(0,0%,100%,.74);display:inline-flex;gap:5px;max-width:none}.shop-chat-heading .chat-presence-status:before{background:#c8ced3;border-radius:50%;content:"";flex:none;height:6px;width:6px}.shop-chat-heading .chat-presence-status.is-online{color:#fff}.shop-chat-heading .chat-presence-status.is-online:before{background:#a8f0c7;box-shadow:0 0 0 3px rgba(168,240,199,.16)}.shop-chat-close{background:transparent;border:0;color:#fff;cursor:pointer;font-size:24px;height:32px;width:32px}.shop-chat-messages{background:hsla(0,0%,100%,.08);display:flex;flex:1;flex-direction:column;gap:8px;overflow-y:auto;padding:14px}.shop-chat-message{align-self:flex-start;background:#fff;border-radius:12px 12px 12px 3px;box-shadow:0 1px 2px rgba(31,41,51,.06);color:var(--ink);font-size:12px;line-height:1.45;margin:0;max-width:82%;overflow-wrap:anywhere;padding:9px 12px}.shop-chat-message.mine{align-self:flex-end;background:#fff0e9;border-radius:12px 12px 3px 12px}.shop-chat-message .chat-message-text{margin:0;white-space:pre-wrap}.shop-chat-message .chat-message-image{border-radius:5px;display:block;max-height:280px;-o-object-fit:contain;object-fit:contain;width:min(100%,280px)}.shop-chat-message .voice-audio-source{display:none}.shop-chat-message .chat-voice-player{align-items:center;background:linear-gradient(145deg,#fff,#f3f7fd);border:1px solid #e3ebf6;border-radius:999px;box-shadow:0 3px 10px rgba(31,67,111,.08);display:grid;gap:10px;grid-template-columns:40px minmax(60px,1fr) 38px;min-height:56px;min-width:0;padding:7px 12px 7px 8px;width:min(300px,100%)}.shop-chat-message .voice-play-button{background:linear-gradient(145deg,#2788ff,#0864dc);border:0;border-radius:50%;box-shadow:0 3px 8px rgba(24,119,242,.25);color:#fff;cursor:pointer;display:grid;height:40px;padding:0;place-items:center;transition:transform .16s ease,box-shadow .16s ease;width:40px}.shop-chat-message .voice-play-button:hover{box-shadow:0 5px 12px rgba(24,119,242,.32);transform:scale(1.05)}.shop-chat-message .voice-play-button:active{transform:scale(.96)}.shop-chat-message .voice-play-button:before{border-bottom:6px solid transparent;border-left:9px solid;border-top:6px solid transparent;content:"";height:0;margin-left:3px;width:0}.shop-chat-message .voice-play-button[aria-pressed=true]:before{background:linear-gradient(90deg,currentColor 0 3px,transparent 3px 7px,currentColor 7px 10px);border:0;height:13px;margin:0;width:10px}.shop-chat-message .voice-play-button:focus-visible{outline:3px solid rgba(24,119,242,.3);outline-offset:2px}.shop-chat-message .voice-waveform{align-items:center;display:flex;gap:2px;height:30px;justify-content:space-between;min-width:0;position:relative}.shop-chat-message .voice-waveform>span{background:#b9c4d1;border-radius:3px;flex:1;max-width:4px;min-width:2px}.shop-chat-message .voice-waveform>span.is-played{background:#1877f2}.shop-chat-message .voice-seek{cursor:pointer;height:100%;inset:0;margin:0;opacity:0;position:absolute;width:100%}.shop-chat-message .voice-waveform:focus-within{outline:2px solid rgba(24,119,242,.35);outline-offset:3px}.shop-chat-message .voice-time{color:#1877f2;display:grid;font-size:11px;font-variant-numeric:tabular-nums;font-weight:700;gap:3px;justify-items:end;line-height:1}.shop-chat-message .voice-time span:last-child{color:#8794a3;font-size:9px;font-weight:500}.shop-chat-status{color:hsla(0,0%,100%,.9);font-size:10px;margin:0;min-height:18px;padding:2px 12px}.shop-chat-form{background:hsla(0,0%,100%,.05);border-top:1px solid hsla(0,0%,100%,.18);display:flex;flex-wrap:wrap;gap:8px;padding:10px 10px 12px}.shop-chat-form input{background:hsla(0,0%,100%,.92);border:1px solid hsla(0,0%,100%,.26);border-radius:8px;flex:1;font:inherit;font-size:12px;height:40px;min-width:0;padding:0 11px}.shop-chat-form .chat-attachment-preview{align-items:center;background:hsla(0,0%,100%,.9);border:1px solid hsla(0,0%,100%,.32);border-radius:10px;display:flex;flex:0 0 100%;gap:10px;min-width:0;padding:8px 10px}.shop-chat-form .chat-attachment-preview[hidden]{display:none}.shop-chat-form .chat-attachment-preview img{border-radius:4px;display:block;flex:none;height:48px;-o-object-fit:cover;object-fit:cover;width:48px}.shop-chat-form .chat-attachment-preview img[hidden]{display:none}.shop-chat-form .chat-attachment-details{display:grid;flex:1;gap:3px;min-width:0}.shop-chat-form .chat-attachment-details small,.shop-chat-form .chat-attachment-details strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shop-chat-form .chat-attachment-details strong{color:var(--ink);font-size:11px}.shop-chat-form .chat-attachment-details small{color:var(--muted);font-size:10px}.shop-chat-form .chat-attachment-audio{margin-top:5px;min-width:0}.shop-chat-form .chat-attachment-audio[hidden]{display:none}.shop-chat-form .chat-attachment-audio .shop-chat-message.chat-preview-voice{background:transparent;border-radius:0;box-shadow:none;margin:0;max-width:none;padding:0;width:100%}.shop-chat-form .chat-attachment-audio .shop-chat-message.chat-preview-voice .chat-voice-player{max-width:none;min-height:52px;width:100%}.shop-chat-form .chat-attachment-cancel{background:#fff;border:1px solid rgba(238,77,45,.25);border-radius:50%;color:var(--muted);cursor:pointer;display:grid;flex:none;font:20px/1 Noto Sans Khmer,sans-serif;height:28px;min-width:28px;padding:0;place-items:center;width:28px}.shop-chat-form .chat-attachment-cancel:hover{background:#fff0ec;color:#d94326}.shop-chat-form button{background:var(--orange-dark);border:0;border-radius:5px;color:#fff;cursor:pointer;font:700 11px Noto Sans Khmer,sans-serif;min-width:58px}.shop-chat-form .chat-send-button{background:#fff;border-radius:7px;color:var(--orange-dark);font:700 12px Noto Sans Khmer,sans-serif;height:36px;min-width:68px;padding:0 16px;transition:background-color .18s ease,transform .18s ease}.shop-chat-form .chat-send-button:hover{background:#fff1eb}.shop-chat-form .chat-send-button:active{transform:translateY(1px)}.shop-chat-form button:disabled{opacity:.6}.chat-file-input{display:none}.shop-chat-form .chat-attach-button,.shop-chat-form .chat-voice-button{background:hsla(0,0%,100%,.15);border:1px solid hsla(0,0%,100%,.7);border-radius:50%;color:#fff;cursor:pointer;display:grid;flex:none;height:38px;min-width:38px;padding:0;place-items:center;transition:background-color .16s ease,border-color .16s ease,transform .16s ease;width:38px}.shop-chat-form .chat-attach-button:hover,.shop-chat-form .chat-voice-button:hover{background:hsla(0,0%,100%,.22);border-color:hsla(0,0%,100%,.9);transform:translateY(-1px)}.chat-image-icon{border:1.5px solid;border-radius:3px;display:block;height:14px;overflow:hidden;position:relative;width:16px}.chat-image-icon:before{background:currentColor;border-radius:50%;content:"";height:3px;position:absolute;right:2px;top:2px;width:3px}.chat-image-icon:after{border:1.5px solid;border-radius:2px;bottom:-5px;content:"";height:10px;left:2px;position:absolute;transform:rotate(45deg);width:10px}.chat-microphone-icon{background:currentColor;border-radius:5px;display:block;height:13px;margin-bottom:4px;position:relative;width:8px}.chat-microphone-icon:before{border:1.5px solid;border-radius:0 0 9px 9px;border-top:0;bottom:-4px;content:"";height:10px;left:-4px;position:absolute;width:16px}.chat-microphone-icon:after{background:currentColor;bottom:-7px;box-shadow:-3px 3px 0 -.5px currentColor,3px 3px 0 -.5px currentColor;content:"";height:4px;left:3px;position:absolute;width:2px}.chat-voice-button.is-recording{background:#d94326!important;border-color:#d94326!important;color:#fff!important}.shop-chat-form input[name=body]{outline:none;transition:border-color .16s ease,box-shadow .16s ease}.shop-chat-form input[name=body]:focus{border-color:#ee4d2d;box-shadow:0 0 0 3px rgba(238,77,45,.14)}.chat-attachment-status{bottom:100%;color:var(--muted);font-size:10px;left:10px;max-width:calc(100% - 20px);overflow:hidden;position:absolute;text-overflow:ellipsis;white-space:nowrap}.buyer-messages-main{min-height:calc(100vh - 78px)}.buyer-messages-page{display:flex;flex-direction:column;min-height:calc(100vh - 132px)}.buyer-messages-heading{align-items:end;display:flex;flex:none;gap:16px;justify-content:space-between;margin:5px 0 18px}.buyer-messages-heading span{color:var(--orange-dark);font-size:10px;font-weight:700;text-transform:uppercase}.buyer-messages-heading h1{font-size:24px;margin:5px 0 0}.buyer-messages-heading p{color:var(--muted);font-size:12px;margin:5px 0 0}.buyer-messages-heading>a{color:var(--orange-dark);font-size:11px;font-weight:700;text-decoration:none}.buyer-chat{flex:1;grid-template-columns:minmax(0,1fr);min-height:500px}.buyer-chat-modal{background:rgba(20,31,42,.42);display:grid;inset:0;padding:20px;place-items:center;position:fixed;z-index:300}.buyer-chat-modal[hidden]{display:none}.buyer-chat-open{overflow:hidden}.buyer-chat-popup{background:#fff;border:1px solid #e4e8ec;border-radius:10px;box-shadow:0 20px 60px rgba(20,31,42,.24);display:flex;flex-direction:column;height:min(680px,calc(100dvh - 40px));min-height:0;overflow:hidden;width:min(680px,100%)}.buyer-chat-popup .author-chat-thread{display:flex;flex:1;height:100%;min-height:0;overflow:hidden}.buyer-chat-popup .author-chat-thread-content{display:flex;flex:1;flex-direction:column;height:100%;min-height:0}.buyer-chat-popup .author-chat-placeholder{flex:1}.buyer-chat-popup-heading{align-items:center;background:#ee4d2d;color:#fff;display:flex;flex:none;justify-content:space-between;min-height:48px;padding:0 16px}.buyer-chat-popup-heading strong{font-size:13px}.buyer-chat-popup-heading button{background:hsla(0,0%,100%,.14);border:0;border-radius:50%;color:#fff;cursor:pointer;display:grid;font:22px/1 Noto Sans Khmer,sans-serif;height:32px;padding:0;place-items:center;width:32px}.buyer-chat-popup-heading button:hover{background:hsla(0,0%,100%,.25)}.shop-nav-unread{background:#fff;border-radius:9px;color:var(--orange-dark);display:inline-grid;font-size:9px;font-weight:800;height:17px;margin-left:4px;min-width:17px;padding:0 4px;place-items:center}.shop-nav-unread[hidden]{display:none}.shop-header .header-actions a[aria-current=page]{background:#fff;border-color:#fff;color:var(--orange-dark);font-weight:800}@media (max-width:1000px){.header-inner{gap:16px;grid-template-columns:150px minmax(200px,1fr)}.header-actions{grid-column:1/-1;justify-content:flex-end;margin-top:-8px;padding-bottom:11px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:680px){.category-inner,.header-inner,.service-inner,.shop-main{padding-left:15px;padding-right:15px}.shop-header{top:0}.category-bar{top:var(--shop-header-height,78px)}.header-inner{gap:10px;grid-template-columns:minmax(0,1fr) auto;padding-bottom:12px;padding-top:12px}.brand-group{align-items:center;display:flex;gap:8px;grid-column:1/-1;justify-content:space-between;width:100%}.brand,.brand-mark{font-size:17px}.brand-mark{height:30px;width:30px}.cart-card{font-size:11px;min-height:32px;padding:7px 10px}.header-menu-toggle{align-items:center;background:hsla(0,0%,100%,.12);border:1px solid hsla(0,0%,100%,.72);border-radius:8px;cursor:pointer;display:inline-flex;flex:0 0 40px;flex-direction:column;gap:4px;height:38px;justify-content:center;padding:8px;width:40px}.header-menu-toggle span{background:#fff;border-radius:2px;display:block;height:2px;transition:transform .18s ease,opacity .18s ease;width:18px}.header-menu-toggle[aria-expanded=true] span:first-child{transform:translateY(6px) rotate(45deg)}.header-menu-toggle[aria-expanded=true] span:nth-child(2){opacity:0}.header-menu-toggle[aria-expanded=true] span:last-child{transform:translateY(-6px) rotate(-45deg)}.shop-header:not([data-menu-open=true]) .header-menu{display:none}.header-menu{border-top:1px solid hsla(0,0%,100%,.22);display:grid;gap:10px;grid-column:1/-1;min-width:0;padding-top:2px}.search-form{margin-bottom:4px;width:100%}.header-actions{flex-wrap:wrap;gap:8px;justify-content:flex-start;margin:0;padding:0;width:100%}.header-actions .buyer-link,.header-actions .sell-link,.logout-button{font-size:10px;padding:7px 8px}.featured{grid-template-columns:1fr;min-height:0}.featured-copy{padding:24px 22px 8px}.featured h1{font-size:28px}.featured-visual{padding:12px 24px 26px}.featured-photo{height:200px}.section-heading{display:block;margin-top:22px}.section-heading .result-count{display:inline-block;margin-top:8px}.product-grid{gap:9px;grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:420px){.shop-chat{bottom:12px;right:12px}.shop-chat-panel{bottom:58px;height:min(460px,calc(100dvh - 100px));width:min(360px,calc(100vw - 24px))}.shop-chat-form{gap:5px;padding:8px}.shop-chat-form .chat-attach-button,.shop-chat-form .chat-voice-button{height:42px;min-width:42px;width:42px}.shop-chat-form input[name=body]{flex:1 1 84px;font-size:16px;height:40px;min-width:84px;padding:0 8px}.shop-chat-form .chat-send-button{height:40px;min-width:58px;padding:0 10px}.chat-attachment-audio .shop-chat-message.chat-preview-voice .chat-voice-player,.shop-chat-message .chat-voice-player{gap:7px;grid-template-columns:42px minmax(40px,1fr) 36px;min-height:58px;padding:7px 9px 7px 7px;width:min(100%,280px)}.shop-chat-message .voice-play-button{height:42px;width:42px}.shop-chat-message .voice-waveform{height:34px}.header-inner{grid-template-columns:1fr;text-align:left}.brand-group{align-items:center;display:flex;justify-content:space-between;width:100%}.cart-card{font-size:10px;min-height:30px;padding:6px 9px}.header-actions{grid-column:1;justify-content:flex-start}.category-bar{top:var(--shop-header-height,78px)}.featured h1{font-size:23px}.featured-bottom{align-items:flex-start;flex-direction:column;gap:12px}.product-grid{grid-template-columns:1fr}.product-card{min-width:0}}@media (max-width:520px){.buyer-messages-main{min-height:0;padding-bottom:16px;padding-top:14px}.buyer-messages-page{height:calc(100dvh - 190px);min-height:0}.buyer-messages-heading{align-items:flex-start;gap:8px;margin:0 0 10px}.buyer-messages-heading h1{font-size:21px}.buyer-chat{grid-template-rows:minmax(0,1fr);min-height:0}.buyer-chat .author-chat-list{max-height:none}.buyer-chat-modal{padding:0}.buyer-chat-popup{border:0;border-radius:0;height:100dvh;width:100%}}
