@font-face{font-family:HAN;src:url('assets/han.otf') format('opentype');font-display:swap}*{box-sizing:border-box}body{margin:0;background:#fcfaf6;color:#27231e;font-family:HAN,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,textarea{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #315d78;outline-offset:3px}header{height:88px;max-width:1100px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 24px;border-bottom:1px solid #e9e3d9}.brand{text-decoration:none;letter-spacing:6px;font-family:Georgia,serif;font-size:30px;color:#28231c}.brand span{display:block;font:8px sans-serif;letter-spacing:3px;margin-top:4px}.outline{background:transparent;border:1px solid #cfc4b4;border-radius:9px;padding:11px 18px;color:inherit}.intro{padding:44px 24px 32px;max-width:1100px;margin:auto}.eyebrow{font:10px sans-serif;letter-spacing:2px;color:#92775b}h1{font-size:36px;letter-spacing:-1.5px;margin:13px 0}p{color:#837a6f;font-size:14px;line-height:1.7}.ornament{display:flex;width:125px;height:5px;margin-top:25px}.ornament i{flex:1;background:#315b79}.ornament i:nth-child(2){background:#bd9c58}.ornament i:nth-child(3){background:#ed7427}.ornament i:nth-child(4){background:#83966a}.ornament i:nth-child(5){background:#e8be4c}.sticky{position:sticky;top:0;z-index:5;background:#fcfaf6f5;backdrop-filter:blur(12px);border-bottom:1px solid #e7dfd3;padding:0 max(20px,calc((100vw - 1052px)/2)) 12px}#tabs{display:flex;gap:26px;margin-bottom:16px}#tabs button{border:0;background:none;padding:14px 0;font-size:19px;color:#9c9388;border-bottom:3px solid transparent}#tabs .active{color:#29231c;border-color:#ed7427}.search{display:flex;align-items:center;background:#f0ece4;border-radius:10px;padding:0 12px;gap:9px}.search span{font-size:28px;color:#9c8770}.search input{width:100%;padding:12px 0;background:none;border:0;font-size:14px;outline:none}.search button{background:none;border:0;font-size:24px}#groups{display:flex;overflow:auto;gap:8px;padding-top:13px;scrollbar-width:none}#groups button{white-space:nowrap;background:white;border:1px solid #dfd6c7;border-radius:30px;padding:8px 14px;color:#74685a;font-size:12px}#groups .active{background:#373128;border-color:#373128;color:white}.catalog{padding:22px 20px;max-width:1100px;margin:auto}.sectionhead{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.sectionhead h2{font-size:20px;margin:0}.sectionhead span{font-size:12px;color:#968b7d}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}.card{background:white;border:1px solid #e8e0d5;border-radius:14px;overflow:hidden;display:flex;flex-direction:column}.photo{position:relative}.photo img{width:100%;aspect-ratio:1.35;object-fit:cover;display:block}.badge{position:absolute;top:10px;left:10px;background:#ed7427;color:white;font-size:10px;padding:5px 8px;border-radius:4px;letter-spacing:.5px}.cardbody{padding:13px;display:flex;flex-direction:column;flex:1}.code{font-size:10px;color:#a9957e;letter-spacing:1px}.name{font-size:15px;margin:5px 0;line-height:1.45;font-weight:500}.unit{font-size:11px;color:#8b7d6c;min-height:17px}.note{font-size:10px;color:#9a8164;line-height:1.5;margin-top:5px}.buyrow{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-top:auto;padding-top:16px}.price{font-size:16px;color:#c35b1c;font-weight:600}.price small{font-size:9px;font-weight:400}.add{background:#fff1e5;border:1px solid #edc29e;border-radius:9px;min-width:35px;height:35px;font-size:22px;color:#bd591b}.quantity{display:flex;align-items:center;gap:8px}.quantity button{border:1px solid #e3d7c7;background:#fff9f1;width:29px;height:30px;border-radius:7px;font-size:18px}.quantity span{font-size:13px;min-width:13px;text-align:center}footer{text-align:center;padding:35px 20px 130px;color:#948775;font-size:11px;line-height:2}footer small{font-size:10px}.cartbar{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:700px;background:#ec7428;border:0;color:white;padding:19px 20px;border-radius:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;box-shadow:0 8px 35px #7e421e30;z-index:7}.cartbar[hidden]{display:none}.cartbar b{background:#ffffff30;padding:4px 8px;border-radius:5px;margin-right:7px}.cartbar strong{margin-left:auto;font-size:15px}dialog{border:0;padding:0;background:#fcfaf6;max-width:620px;width:100%;max-height:94dvh;border-radius:22px 22px 0 0;margin:auto auto 0;box-shadow:0 -5px 80px #0002}dialog::backdrop{background:#211b1570;backdrop-filter:blur(3px)}.drawerhead{padding:25px 22px 18px;border-bottom:1px solid #e8dfd3;display:flex;align-items:center;justify-content:space-between}.drawerhead h2{font-size:25px;margin:8px 0 0}.icon{border:0;background:#eee9df;border-radius:50%;width:35px;height:35px;font-size:25px}.drawerbody{padding:0 22px;max-height:60dvh;overflow:auto}.cartitem{display:flex;gap:12px;padding:18px 0;border-bottom:1px solid #e8dfd3;align-items:center}.cartitem img{width:65px;height:65px;border-radius:10px;object-fit:cover}.cartitem .info{flex:1}.cartitem h3{font-size:13px;font-weight:500;margin:0 0 5px}.cartitem .amount{color:#b5571f;font-size:13px}.cartitem .unit{font-size:10px}.memoLabel{display:block;font-size:12px;margin:22px 0 9px}textarea{width:100%;height:85px;background:white;border:1px solid #ded4c5;padding:12px;border-radius:9px;resize:vertical;font-size:13px}.total{display:flex;justify-content:space-between;padding:24px 0 8px;align-items:center}.total strong{font-size:22px;color:#c15b1d}.total span{font-size:14px}.sharehint{font-size:12px}details{font-size:12px;margin:15px 0}details img{width:100%;margin-top:12px;border:1px solid #e7ded0}summary{cursor:pointer}.draweractions{display:flex;gap:10px;padding:16px 22px 8px}.draweractions button{flex:1;font-size:13px;min-height:50px}.primary{border:0;border-radius:10px;color:white;background:#ed7427;padding:13px}.status{font-size:11px;text-align:center;margin:0;padding:3px 20px max(10px,env(safe-area-inset-bottom));min-height:29px}#toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);padding:12px 20px;border-radius:9px;background:#30291f;color:white;font-size:13px;opacity:0;pointer-events:none;z-index:15;transition:opacity .2s}.empty{text-align:center;padding:45px;color:#998976;grid-column:1/-1}button:disabled{opacity:.5;cursor:wait}@media(min-width:760px){.grid{gap:28px}.card{display:grid;grid-template-columns:43% 1fr}.photo img{height:100%;min-height:210px}.name{font-size:18px}.cardbody{padding:20px}.intro{padding-top:55px}h1{font-size:46px}.price{font-size:19px}.cartbar{bottom:25px}dialog{margin:auto;border-radius:22px}}@media(max-width:360px){.name{font-size:13px}.cardbody{padding:10px}.quantity{gap:5px}.price{font-size:14px}}
.buyrow{flex-wrap:wrap}.buyrow .quantity{margin-left:auto}.price{white-space:nowrap}
/* Compact three-column mobile catalog. Explicit height overrides image HTML dimensions. */
@media(max-width:759px){
 header{height:64px;padding:0 14px}.brand{font-size:24px;letter-spacing:5px}.brand span{font-size:7px}.outline{padding:8px 12px}
 .intro{padding:20px 14px 15px}.intro .eyebrow{font-size:8px;letter-spacing:1.2px}h1{font-size:26px;letter-spacing:-1px;margin:8px 0}.intro p{font-size:12px;margin:5px 0}.ornament{margin-top:12px;width:95px;height:4px}
 .sticky{padding:0 12px 9px}#tabs{gap:24px;margin-bottom:9px}#tabs button{font-size:16px;padding:10px 0}.search{padding:0 9px}.search span{font-size:23px}.search input{font-size:12px;padding:9px 0}#groups{padding-top:9px;gap:6px}#groups button{font-size:11px;padding:7px 11px}
 .catalog{padding:15px 12px}.sectionhead{margin-bottom:12px}.sectionhead h2{font-size:17px}.sectionhead span{font-size:10px}
 .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 8px;align-items:stretch}.card{display:flex;min-width:0;border-radius:10px}.photo{min-width:0;flex:none;overflow:hidden}.photo img{display:block;width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:4/3;object-fit:cover}
 .badge{top:5px;left:5px;font-size:8px;line-height:1.3;padding:3px 5px;border-radius:3px;letter-spacing:0}.cardbody{padding:8px 7px;min-width:0}.code{font-size:8px;letter-spacing:.5px}.name{font-size:12px;line-height:1.4;margin:4px 0;overflow-wrap:anywhere}.unit{font-size:9px;line-height:1.4;min-height:13px}.note{font-size:8px;line-height:1.4;margin-top:4px}.buyrow{gap:5px;padding-top:9px;flex-wrap:wrap}.price{font-size:11px;line-height:1.4;letter-spacing:-.2px}.price small{font-size:7px}.add{min-width:27px;width:27px;height:28px;font-size:19px;border-radius:7px;margin-left:auto}.buyrow .quantity{gap:4px;justify-content:space-between;width:100%}.buyrow .quantity button{width:28px;height:29px;font-size:17px;flex:none}.buyrow .quantity span{font-size:11px}
 .cartbar{padding:15px 14px;font-size:12px;gap:7px}.cartbar strong{font-size:12px}.cartbar b{margin-right:3px}footer{padding-top:22px}
}
