:root{--cream:#f1ead9;--paper:#fbf8f1;--maroon:#7c2d3b;--dark:#1b1f2a;--line:#ded2b8;--muted:#69645b;--green:#2c6547}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--dark);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}h1,h2,h3,p{margin-top:0}h1,h2,.wordmark{font-family:Georgia,serif}h1{font-size:clamp(1.75rem,3vw,2.5rem);line-height:1.2}h2{font-size:1.65rem;line-height:1.25}a{color:inherit;text-underline-offset:4px}button,input,select,textarea{font:inherit}button,.button{border:1px solid var(--line);background:white;color:var(--dark);padding:.65rem 1rem;border-radius:6px;cursor:pointer;text-decoration:none;display:inline-block;line-height:1.4}button:hover,.button:hover{border-color:var(--maroon)}button:disabled{opacity:.5;cursor:wait}.primary{background:var(--maroon);color:white;border-color:var(--maroon)}.subtle{background:transparent}.selected{background:var(--dark);color:white;border-color:var(--dark)}:focus-visible{outline:3px solid #b8823f;outline-offset:3px}[hidden]{display:none!important}.skip{position:absolute;top:-80px;background:white;padding:1rem;z-index:100}.skip:focus{top:0}.topline{background:var(--dark);color:var(--cream);display:flex;justify-content:space-between;padding:.45rem max(4vw,16px);font-size:.875rem}.shop-header{padding:1.5rem 4vw;display:flex;gap:1.3rem;align-items:center;background:var(--cream);border-bottom:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:.8rem;font-size:1.55rem;line-height:1.2;text-decoration:none;white-space:nowrap}.wordmark small{display:block;font: .8rem system-ui;letter-spacing:.12em;text-transform:uppercase;margin-top:.4rem}.monogram{width:50px;height:56px;background:var(--maroon);color:var(--cream);display:grid;place-items:center;font-size:2rem;border-radius:22px 22px 3px 3px}.search{display:flex;flex:1;max-width:700px;min-width:100px}.search input{min-width:0;border-radius:6px 0 0 6px}.search button{border-radius:0 6px 6px 0;background:var(--dark);color:white}.shop-nav{display:flex;gap:1.5rem;align-items:center;padding:1rem 4vw;border-bottom:1px solid var(--line);flex-wrap:wrap;font-size:.95rem}.shop-nav a{text-decoration:none}.mode{margin-left:auto;display:flex;gap:.3rem}.mode button{font-size:.875rem;padding:.4rem 1rem}main{max-width:1440px;margin:auto;padding:2rem 4vw;min-height:65vh}.catalog-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:1.5rem;gap:1rem}.catalog-head p{color:var(--muted);margin-bottom:0}.catalog-layout{display:grid;grid-template-columns:190px 1fr;gap:2rem}.filters label{display:block;margin:.7rem 0}.filters select{width:100%}.filters h3{font-size:1rem}.products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1rem}.product{background:white;border:1px solid var(--line);border-radius:7px;overflow:hidden;display:flex;flex-direction:column}.product-photo{aspect-ratio:4/5;background:var(--cream);position:relative;overflow:hidden;display:grid;place-items:center;padding:0;border:0;border-radius:0;width:100%}.product-photo img{width:100%;height:100%;object-fit:cover}.photo-empty{color:var(--muted);text-align:center;padding:1rem;font-size:.875rem}.product-body{padding:1rem;flex:1;display:flex;flex-direction:column;align-items:start}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;color:var(--muted);margin-bottom:.4rem}.product h3{font-size:1rem;font-weight:600;line-height:1.4;margin-bottom:.6rem}.price{font-size:1.2rem;color:var(--maroon);font-weight:700}.meta{font-size:.875rem;color:var(--muted)}.product-actions{display:flex;gap:.5rem;margin-top:auto;padding-top:1rem;width:100%}.product-actions button{padding:.5rem .6rem;font-size:.875rem}.product-actions button:first-child{flex:1}.promos{display:flex;gap:1rem;margin-bottom:2rem;overflow:auto}.promo{background:var(--maroon);color:var(--paper);padding:1.5rem;border-radius:6px;min-width:280px;flex:1;display:flex;gap:1rem}.promo h2{font-size:1.4rem;margin-bottom:.5rem}.promo p{margin:0}.promo img{width:130px;object-fit:cover}.empty{border:1px dashed var(--line);background:var(--cream);padding:3rem 1.5rem;text-align:center;grid-column:1/-1}.empty p{color:var(--muted)}.notice{background:#e5ecdf;color:#274c31;padding:.8rem 1rem;border-left:4px solid var(--green);border-radius:4px}.error{background:#f7e5e4;color:#822c33;border-color:#822c33}.panel{background:white;border:1px solid var(--line);padding:1.5rem;border-radius:7px;margin-bottom:1.2rem}.two-col{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:1.5rem;align-items:start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.field{display:flex;flex-direction:column;gap:.35rem;margin-bottom:1rem;font-size:.9rem}.wide{grid-column:1/-1}input,textarea,select{border:1px solid var(--line);border-radius:5px;background:white;padding:.65rem .75rem;width:100%;color:var(--dark)}input[type=checkbox]{width:auto}textarea{min-height:100px;resize:vertical}.actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center;margin-top:1rem}.summary-row{display:flex;justify-content:space-between;gap:1rem;padding:.5rem 0;border-bottom:1px solid var(--line)}.summary-row.total{font-size:1.25rem;font-weight:700;color:var(--maroon);border:0}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}th{text-align:left;background:var(--cream);font-weight:600}td,th{padding:.7rem;border-bottom:1px solid var(--line);vertical-align:middle}td input[type=number]{min-width:80px;max-width:110px}.thumb{width:55px;height:60px;object-fit:cover}.badge{background:var(--cream);padding:.2rem .6rem;border-radius:4px;font-size:.8rem;display:inline-block}.order-head{display:flex;gap:1rem;justify-content:space-between;flex-wrap:wrap}.timeline{border-left:2px solid var(--line);list-style:none;padding-left:1.2rem}.timeline li{padding:0 0 1rem}.timeline small{display:block;color:var(--muted)}dialog{border:1px solid var(--line);border-radius:10px;width:min(1040px,95vw);max-height:90vh;padding:2rem;color:var(--dark);background:var(--paper)}dialog::backdrop{background:#1b1f2a99}.dialog-close{position:sticky;top:0;float:right;z-index:1;width:40px;height:40px;padding:0;font-size:1.8rem}.detail-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:2rem;clear:both}.gallery-main{width:100%;aspect-ratio:4/5;object-fit:contain;background:var(--cream)}.gallery-thumbs{display:flex;gap:.5rem;overflow:auto;margin-top:.6rem}.gallery-thumbs img{width:60px;height:70px;object-fit:cover}.gallery-thumbs button{padding:0}.detail-description{white-space:pre-wrap}.narrow{max-width:540px;margin:auto}footer{display:flex;gap:1.5rem;flex-wrap:wrap;background:var(--dark);color:var(--cream);padding:2rem 4vw;font-size:.875rem}footer strong{font-family:Georgia,serif;font-size:1.3rem}footer span{margin-right:auto}.courier-shell{max-width:1000px}.auth-switch{display:flex;gap:.5rem;margin-bottom:1rem}.checkline{display:flex;gap:.5rem;align-items:center}.admin-json{font:14px/1.6 monospace;min-height:300px}.inline-form{display:flex;gap:.6rem;flex-wrap:wrap}.inline-form .field{flex:1;min-width:160px}pre{white-space:pre-wrap;overflow-wrap:anywhere}details{margin:1rem 0}summary{cursor:pointer;font-weight:600} @media(max-width:1100px){.products{grid-template-columns:repeat(3,minmax(0,1fr))}.shop-header{gap:.7rem}.wordmark{font-size:1.2rem}}@media(max-width:800px){.shop-header{flex-wrap:wrap}.search{order:4;min-width:100%}.wordmark{margin-right:auto}.shop-header>button{font-size:.8rem;padding:.6rem}.catalog-layout{grid-template-columns:1fr}.filters{display:flex;gap:1rem;flex-wrap:wrap;align-items:center}.filters label{flex:1;min-width:120px}.filters h3{display:none}.two-col,.detail-layout{grid-template-columns:1fr}.products{grid-template-columns:repeat(2,minmax(0,1fr))}.shop-nav{gap:1rem;font-size:.85rem}.mode{margin-left:0}main{padding:1.5rem 4vw}.gallery-main{max-height:380px}.form-grid{grid-template-columns:1fr}.wide{grid-column:auto}.topline{font-size:.75rem}.catalog-head{align-items:start}dialog{padding:1rem}.product-body{padding:.75rem}.product-actions{flex-wrap:wrap}.product-actions button:first-child{min-width:70%}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

#supplier-application .full{grid-column:1/-1}#supplier-application{max-width:1000px;margin:0 auto}#supplier-application textarea{min-height:100px}

/* Catalog and buyer improvements: use actual product data only. */
.catalog-banner{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;background:#efe6d7;border:1px solid var(--line);border-radius:12px;padding:1.3rem 2rem;margin-bottom:1.5rem;overflow:hidden}.catalog-banner h1{font-size:clamp(1.45rem,3vw,2.6rem);margin:.4rem 0}.catalog-banner p{margin:.5rem 0 .8rem}.catalog-banner img{width:180px;height:180px;object-fit:cover;border-radius:8px}.catalog-head h2{font-size:2rem;margin:0}.filter-disclosure summary{font-weight:700;color:var(--maroon);cursor:pointer;padding:.4rem 0 1rem}.filter-disclosure form{display:grid;gap:.8rem}.filters .price-range{display:grid;grid-template-columns:1fr 1fr;gap:.5rem}.price-range label{min-width:0}.filters input[type=number]{width:100%;min-width:0}.filters p{margin:0}.products>.empty{grid-column:1/-1}.unavailable .photo-empty{min-height:180px;padding:1rem;display:grid;place-content:center;background:#ece8e1}.product-specs{display:grid;gap:.5rem}.product-specs>div{display:grid;grid-template-columns:1fr 2fr;gap:1rem}.product-specs dt{color:var(--muted)}.product-specs dd{margin:0}.detail-actions{display:flex;justify-content:flex-end;gap:.6rem;padding:1rem 0 0;border-top:1px solid var(--line);background:var(--cream)}#detail[open]{display:flex;flex-direction:column;overflow:hidden;max-height:92dvh}#detail-content{min-height:0;overflow:auto;padding-right:.4rem}#detail .dialog-close{flex-shrink:0;align-self:flex-end}.detail-actions>*{margin:0}.order-tabs{display:flex;gap:.6rem;overflow:auto;margin:1rem 0;white-space:nowrap;padding-bottom:.4rem}.order-tabs .selected{background:var(--maroon);color:white}.order-products{display:flex;gap:.7rem;align-items:center;margin:1rem 0}.order-products img,.cart-photo{width:64px;height:64px;object-fit:cover;border:1px solid var(--line);border-radius:6px}.empty-package{width:64px;height:64px;color:var(--maroon);margin:0 auto}.quantity-progress{padding:1rem;background:#f0e7dc;border-radius:8px}.quantity-progress progress{display:block;width:100%;height:10px;margin:.65rem 0;accent-color:var(--maroon)}
@media(max-width:800px){.catalog-banner{padding:1rem;gap:.75rem;margin-bottom:1rem}.catalog-banner img{width:105px;height:135px}.catalog-banner .eyebrow{font-size:.6rem}.catalog-banner h1{font-size:1.45rem}.catalog-banner p{font-size:.78rem}.catalog-banner button{padding:.6rem .8rem;font-size:.8rem}.catalog-head h2{font-size:1.6rem}.filters{display:block!important}.filter-disclosure:not([open]) summary{padding:.2rem 0}.detail-actions{padding:.7rem 0 max(.4rem,env(safe-area-inset-bottom));gap:.4rem}.detail-actions>*{flex:1;text-align:center;padding:.75rem .45rem;font-size:.85rem;white-space:nowrap}#detail{width:calc(100% - 1rem);max-width:none}#detail-content{padding-right:0}.order-head{gap:.75rem;flex-wrap:wrap}.product-specs>div{grid-template-columns:1fr 1.8fr}.order-tabs button{font-size:.85rem;padding:.65rem}.order-products img{width:54px;height:54px}}

/* Catalog priority release: retain the established cream and maroon palette. */
.products{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.product-photo{aspect-ratio:1}.product-body h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.4;min-height:2.8em;margin:.35rem 0}.price-label{font-size:.78rem;color:var(--muted)}.detail-price{display:grid;gap:.3rem;margin-bottom:1rem}.product-body .price{display:block;font-size:clamp(1rem,1.6vw,1.2rem);overflow-wrap:anywhere}.product-body .meta{display:block}.product-body{min-width:0}.product-actions{margin-top:auto}.product{display:flex;flex-direction:column}.product-body{display:flex;flex-direction:column;flex:1;gap:.25rem}
@media(max-width:800px){.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.product-body{padding:.75rem}.product-actions button{padding:.55rem;font-size:.8rem}.product-body .eyebrow{font-size:.65rem}.product-body h3{font-size:.9rem}.product-body .meta{font-size:.75rem}}

/* Public information pages and shared footer. */
.info-nav{display:flex;gap:1.5rem;flex-wrap:wrap;margin-left:auto}.info-nav a{text-decoration:none}.profile-hero{padding:2rem 0 3rem;max-width:950px}.profile-hero h1{font-size:clamp(2.3rem,5vw,4.1rem);color:var(--maroon)}.info-intro{font-size:1.12rem;max-width:880px;color:var(--muted)}.program-grid,.contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.2rem;margin:2rem 0}.program-card{padding:1.5rem;border:1px solid var(--line);border-radius:10px;background:white;display:flex;flex-direction:column;align-items:flex-start}.program-card h2,.contact-grid h2{font-size:1.4rem;margin:1rem 0 .65rem}.program-card p{color:var(--muted);flex:1}.program-card .button{margin-top:.5rem}.info-icon{width:42px;height:42px;color:var(--maroon)}.contact-grid .panel{margin:0;min-width:0}.contact-grid a{overflow-wrap:anywhere}.policy{max-width:880px;margin:auto}.policy h2{margin-top:2rem;font-size:1.35rem}.public-footer{display:block;padding:3.5rem 4vw 1.5rem}.footer-groups{max-width:1440px;margin:auto;display:grid;grid-template-columns:1.8fr repeat(4,minmax(0,1fr));gap:1.7rem}.footer-groups section{min-width:0}.footer-groups h2{font:600 1rem/1.5 system-ui;margin-bottom:1rem;color:#fff}.footer-groups ul{list-style:none;padding:0;margin:0}.footer-groups li{margin:.5rem 0}.footer-groups a{overflow-wrap:anywhere}.footer-groups p{line-height:1.8;color:#e0d7c4}.warehouse{max-width:1440px;margin:2.5rem auto 0;padding:2rem;border:1px solid #726453;border-radius:10px;display:flex;justify-content:space-between;gap:2rem;align-items:center}.warehouse .eyebrow{color:#d6c19f}.warehouse h2{font-size:1.9rem}.warehouse figure{margin:0;text-align:center;flex-shrink:0}.warehouse img{width:200px;height:200px;background:white;display:block;margin:auto;image-rendering:auto}.warehouse figcaption{font-size:.8rem;margin-top:.65rem}.warehouse .button{background:var(--cream);color:var(--maroon);border-color:var(--cream)}.footer-bottom{max-width:1440px;margin:2rem auto 0;padding-top:1.5rem;border-top:1px solid #514b42;display:flex;justify-content:space-between;gap:1rem;align-items:start}.footer-bottom nav{display:flex;gap:1rem;flex-wrap:wrap}.footer-bottom p{margin:0}.footer-bottom span{margin:0}#customer-message{max-width:960px}#message-history .panel{margin-top:1rem}
@media(max-width:1100px){.footer-groups{grid-template-columns:repeat(3,minmax(0,1fr))}.footer-profile{grid-column:span 2}.info-nav{margin-left:0}}
@media(max-width:700px){.program-grid,.contact-grid{grid-template-columns:1fr}.info-nav{gap:.65rem 1.1rem;font-size:.9rem}.footer-groups{grid-template-columns:1fr;gap:1.7rem}.footer-profile{grid-column:auto}.public-footer{padding:2rem 5vw}.warehouse{flex-direction:column;align-items:flex-start;padding:1.2rem;gap:1.5rem}.warehouse figure{align-self:center;max-width:100%}.warehouse h2{font-size:1.65rem}.footer-bottom{flex-direction:column}.footer-bottom nav{flex-direction:column;gap:.6rem}.profile-hero{padding:1rem 0 2rem}.program-card{padding:1.3rem}.shop-header .wordmark{white-space:normal}.shop-header .monogram{flex-shrink:0}}

/* r7: konten dialog tetap di dalam layar; tabel bergulir sendiri. */
.detail-layout>div{min-width:0}
@media(max-width:600px){.catalog-shop .shop-header{gap:.5rem;padding:1rem 4vw}.catalog-shop .shop-header .wordmark{flex:1;min-width:0;font-size:1rem;gap:.4rem}.catalog-shop .monogram{width:34px;height:42px;font-size:1.6rem}.catalog-shop .wordmark small{font-size:.57rem;letter-spacing:.04em}.catalog-shop .shop-header>button{font-size:.7rem;padding:.6rem .45rem;white-space:nowrap}.catalog-banner>div{min-width:0}.catalog-banner>div>p:not(.eyebrow){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.catalog-banner h1{font-size:1.35rem}.catalog-shop main{padding-top:1rem}.catalog-shop .catalog-head{margin-bottom:.8rem}.catalog-shop .catalog-layout{gap:.8rem}}
