:root{--ink:#102e48;--muted:#586b7d;--blue:#145bd7;--line:#dce5ef;--bg:#f3f6fa;--orange:#f2a640}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 -apple-system,BlinkMacSystemFont,"Noto Sans TC","PingFang TC",sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #eea32a;outline-offset:3px}a{color:inherit;text-decoration:none}.demo{padding:8px 16px;background:#102e48;color:white;text-align:center;font-size:13px;letter-spacing:.04em}header{max-width:1240px;margin:auto;padding:23px 28px;display:flex;align-items:center;justify-content:space-between;gap:15px}.brand{display:flex;align-items:center;gap:12px;font-weight:700;font-size:16px}.brand small{display:block;font-size:12px;font-weight:400;color:var(--muted);letter-spacing:.12em}.mark{background:var(--blue);color:#fff;display:grid;place-items:center;width:44px;height:44px;border-radius:10px;font-size:18px}main{max-width:1240px;padding:0 28px;margin:auto}.intro{border-radius:20px;background:var(--ink);color:white;padding:32px 36px;display:flex;align-items:center;justify-content:space-between;gap:24px}.eyebrow{display:block;font-size:12px;font-weight:700;letter-spacing:.16em;color:#5c7793}.intro .eyebrow{color:#9ebfe5}h1{font-size:34px;letter-spacing:.01em;line-height:1.3;margin:10px 0}h2{font-size:23px;line-height:1.4;margin:8px 0 15px}h3{font-size:17px;line-height:1.5;margin:10px 0 6px}p{margin:10px 0}.intro p{color:#d1deed}.delivery{border-left:1px solid #466077;padding-left:32px;min-width:200px}.delivery span,.delivery strong,.delivery small{display:block}.delivery strong{font-size:21px}.delivery small{color:#b9cadd;font-size:13px}.steps{display:flex;gap:24px;padding:24px 2px;border-bottom:1px solid var(--line);margin-bottom:26px;color:#798b9c;font-size:14px}.steps span.active{color:var(--blue);font-weight:750}.layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:26px;align-items:start}.section-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.section-head>span{font-size:13px;color:var(--muted)}.filters{display:flex;gap:8px;flex-wrap:wrap;margin:4px 0 15px}.filters button{border:1px solid var(--line);border-radius:8px;padding:8px 14px;background:white;font-size:14px;color:var(--muted)}.filters button.active{background:var(--blue);border-color:var(--blue);color:#fff}.notice{font-size:14px;background:#eaf0f8;border-left:3px solid #608bc0;padding:12px 15px;margin:12px 0 20px;color:#35516d;border-radius:0 6px 6px 0}.products{display:grid;grid-template-columns:1fr 1fr;gap:16px}.product{display:flex;flex-direction:column;background:white;border:1px solid var(--line);border-radius:13px;padding:21px}.tag{font-size:12px;color:#4c6c88;font-weight:650;letter-spacing:.06em}.product .price{font-size:25px;font-weight:750;margin:12px 0}.product .desc{font-size:14px;color:var(--muted);margin:0 0 16px;min-height:44px}.product .bottom{margin-top:auto}.product label{font-size:13px;color:var(--muted)}select,input{width:100%;background:white;border:1px solid #b9c9d9;border-radius:7px;padding:10px;color:var(--ink);min-height:44px}select{margin:6px 0 12px}.primary,.secondary,.add{border:0;border-radius:8px;padding:12px 18px;font-weight:650;min-height:46px}.primary{color:white;background:var(--blue);width:100%}.primary:hover,.add:hover{background:#104aa9;color:white}.add{background:#eaf1fc;color:var(--blue);width:100%;font-size:14px}.secondary{border:1px solid #bdcddd;color:var(--ink);background:white}.text-btn{color:var(--blue);border:0;background:transparent;padding:8px 4px;font-size:14px}.basket{background:#fff;border:1px solid var(--line);border-radius:14px;padding:23px;position:sticky;top:20px;box-shadow:0 12px 32px #123b6710}.basket h2{font-size:20px}.basket h2 span{font-size:13px;color:var(--blue);background:#e9f1ff;border-radius:15px;padding:3px 9px}.empty{padding:24px 0;color:var(--muted);font-size:14px}.cart-line{padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.cart-line strong{display:block}.cart-meta{color:var(--muted);font-size:13px}.quantity{display:flex;align-items:center;gap:9px;margin-top:8px}.quantity button{border:1px solid var(--line);background:white;border-radius:5px;width:32px;height:32px;padding:0}.quantity .remove{margin-left:auto;width:auto;padding:0 7px;border:0;color:#7c5360;font-size:12px}.total{display:flex;justify-content:space-between;padding:20px 0 6px}.total strong{font-size:25px}.muted{font-size:13px;color:var(--muted)}.payhint{font-size:12px;color:var(--muted);text-align:center;margin-top:12px}.source{font-size:12px;color:var(--muted);margin:24px 0}.narrow{max-width:670px;margin:0 auto;background:white;border:1px solid var(--line);border-radius:15px;padding:28px}.narrow>p{color:var(--muted)}.back{display:block;margin-bottom:20px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:24px 0}.form-grid label{font-size:14px}.form-grid input{margin-top:6px}.info-box{background:#f1f5fa;border-radius:9px;padding:17px;font-size:14px;margin:20px 0}.info-box p{margin:5px 0}.check{display:flex;align-items:flex-start;gap:10px;margin:25px 0;font-size:14px}.check input{width:18px;min-height:18px;flex:none;margin:4px 0}.payment-card{border:1px solid var(--line);border-radius:12px;text-align:center;padding:24px}.payment-card>strong{display:block;font-size:34px}.payment-card p{font-size:14px;color:var(--muted)}.qr-placeholder{width:220px;max-width:100%;height:205px;border:2px dashed #a7bdd5;background:#f0f5fc;border-radius:14px;margin:22px auto;display:flex;flex-direction:column;justify-content:center;gap:8px}.qr-placeholder b{font-size:45px;letter-spacing:.06em;color:var(--blue)}.qr-placeholder span{font-size:14px}.qr-placeholder small{font-size:12px;color:var(--muted)}.pill{display:inline-block;background:#eaf1fc;color:#295b90;font-size:13px;padding:5px 12px;border-radius:20px}.pill.green{color:#176249;background:#e0f5eb}.pill.red{color:#944332;background:#fff0e9}.payment-actions{display:flex;flex-direction:column;gap:10px;margin-top:22px}.success-icon{display:grid;place-items:center;width:54px;height:54px;background:#e0f5eb;color:#176249;border-radius:50%;font-size:28px;margin-bottom:15px}.receipt{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.receipt .row{display:flex;justify-content:space-between;gap:20px;padding:7px 0;font-size:14px}.receipt .row strong{text-align:right}.receipt ul{padding-left:20px;font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;margin:20px 0}.stat{background:white;border:1px solid var(--line);border-radius:12px;padding:20px}.stat small{display:block;color:var(--muted)}.stat strong{font-size:27px}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff}table{border-collapse:collapse;width:100%;min-width:700px;font-size:14px}td,th{padding:17px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}th{background:#eaf0f7;font-size:13px}footer{text-align:center;color:var(--muted);padding:38px 25px;font-size:14px}footer small{font-size:12px}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 20px;border-radius:9px;box-shadow:0 8px 30px #0002;max-width:90%;display:none;font-size:14px;z-index:10}[hidden]{display:none!important}@media(max-width:800px){header{padding:18px}.brand{font-size:14px}.brand small{font-size:12px}main{padding:0 16px}.intro{padding:24px;display:block}.delivery{display:none}h1{font-size:29px}.intro p{font-size:14px}.steps{gap:0;justify-content:space-between;font-size:12px;padding:20px 0}.layout{grid-template-columns:1fr}.basket{position:static}.products{gap:12px}.product{padding:15px}.product h3{font-size:16px}.product .desc{font-size:13px}.section-head>span{font-size:12px}.form-grid{grid-template-columns:1fr}.narrow{padding:22px}.stats{grid-template-columns:1fr}.stat{display:flex;justify-content:space-between;align-items:center}.section-head{flex-wrap:wrap}}@media(max-width:400px){.products{grid-template-columns:1fr}.brand .mark{display:none}.intro{padding:20px}}@media print{body{background:white}.demo,header,.intro,.steps,footer,.payment-actions,.back,#toast{display:none!important}main{padding:0}.narrow{border:0;max-width:none}#success:before{content:'示範收據 · 非付款證明';font-weight:bold}}
.group-filters{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;background:#e2eaf4;border-radius:10px;margin:0 0 16px}.group-filters button{padding:12px;border:0;background:transparent;border-radius:7px;color:#556e87;font-weight:700}.group-filters button.active{background:white;color:var(--blue);box-shadow:0 2px 7px #17395a12}.product-photo{margin:-21px -21px 17px;background:#eef2f6;border-radius:13px 13px 0 0;overflow:hidden;position:relative}.product-photo img{display:block;width:100%;height:210px;object-fit:contain;background:white;padding:12px}.product-photo figcaption{font-size:12px;line-height:1.5;padding:6px 10px;background:#edf2f8;color:#5a6e83}.photo-credits{margin-top:12px}.photo-credits summary{cursor:pointer}.photo-credits a{text-decoration:underline;color:var(--blue)}.photo-credits p{margin:5px 0}@media(max-width:800px){.product-photo{margin:-15px -15px 14px}.product-photo img{height:175px}.product-photo figcaption{font-size:12px}}

body.modal-open{overflow:hidden}#addonDialog{padding:0;border:0;border-radius:18px;width:min(850px,calc(100% - 24px));max-height:90dvh;color:var(--ink);box-shadow:0 22px 80px #102e4855}#addonDialog::backdrop{background:#0a213bb3}.addon-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--line)}.addon-header h2{margin:4px 0}.addon-body{padding:0 24px 16px;overflow:auto;max-height:52dvh}.selected-instrument{font-weight:700;background:#edf3ff;padding:14px;border-radius:9px}.addon-card{display:grid;grid-template-columns:145px 1fr;gap:20px;border-top:1px solid var(--line);padding:18px 0}.addon-card .product-photo{margin:0;border-radius:8px;align-self:start}.addon-card .product-photo img{height:145px;padding:8px}.addon-card .product-photo figcaption{font-size:11px}.addon-check{display:flex;gap:12px;align-items:flex-start;cursor:pointer;font-weight:650}.addon-check input{width:22px;min-height:22px;flex:none;accent-color:var(--blue);margin:3px 0}.addon-check strong{display:block;color:var(--blue);font-size:20px}.addon-copy select{max-width:300px;margin-bottom:0}.addon-copy select:disabled{background:#f3f6fa;opacity:1;color:var(--muted)}.compatibility{font-size:13px;color:#815010;background:#fff5e4;padding:8px 10px;border-radius:6px}.addon-footer{padding:16px 24px 22px;border-top:1px solid var(--line);background:#fff}.addon-totals{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.addon-totals strong{font-size:25px}.addon-actions{display:flex;gap:12px}.addon-actions>*{flex:1}.addon-actions .primary{width:auto}@media(max-width:600px){.addon-header,.addon-footer{padding:14px 16px}.addon-body{padding:0 16px 12px;max-height:48dvh}.addon-card{grid-template-columns:95px 1fr;gap:12px}.addon-card .product-photo img{height:110px}.addon-card .product-photo figcaption{font-size:10px}.addon-actions{flex-direction:column-reverse}.addon-actions button{font-size:14px}.addon-header h2{font-size:21px}}

.instrument-photo img{height:370px;padding:12px;object-fit:contain}.photo-switch{display:flex;align-items:center;gap:8px;padding:8px 12px;background:white}.photo-switch button{border:1px solid var(--line);border-radius:6px;background:white;color:var(--muted);padding:6px 14px;min-height:38px;font-size:13px}.photo-switch button.active{background:var(--blue);color:white;border-color:var(--blue)}.photo-switch small{margin-left:auto;color:var(--muted);font-size:11px}@media(max-width:800px){.instrument-photo img{height:310px}.photo-switch{padding:8px;gap:5px}.photo-switch button{padding:6px 10px}.photo-switch small{font-size:10px}}

/* One paired image per model, preserving each source aspect ratio. */
.instrument-photo img{height:auto;max-height:none;aspect-ratio:4/3;object-fit:contain;padding:8px}.instrument-photo a{display:block;background:white}

.instrument-photo img{aspect-ratio:auto}

/* Display approved bow photographs upright without altering source pixels. */
.bow-photo img{height:270px;object-fit:contain;padding:14px}.bow-photo.horizontal-source img{height:auto!important;aspect-ratio:1;object-fit:contain;transform:rotate(90deg);padding:14px}.addon-card .bow-photo img{height:180px}.addon-card .bow-photo.horizontal-source img{height:auto!important}

.photo-pending{min-height:160px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;background:#edf2f8;color:#50647a;padding:20px;border-radius:8px;margin-bottom:16px;font-size:14px}.photo-pending small{font-size:12px}

/* Consistent, centered catalog frames; never stretch or crop product content. */
.products{align-items:stretch}
.product-photo{flex:none;display:flex;flex-direction:column;background:#fff}
.product-photo img{object-fit:contain;object-position:center center;margin:0 auto}
.product-photo figcaption{min-height:54px;display:flex;align-items:center;justify-content:center;text-align:center;padding:9px 12px}
.instrument-photo a{width:100%;aspect-ratio:4/3;display:flex;align-items:center;justify-content:center}
.instrument-photo a img{width:100%;height:100%;aspect-ratio:auto;padding:16px;object-fit:contain;object-position:center}
.product-photo:not(.instrument-photo)>img{height:260px;padding:18px}
.bow-photo:not(.horizontal-source)>img{height:300px;padding:18px}
.bow-photo.horizontal-source>img{width:100%;aspect-ratio:1;height:auto!important;padding:18px;object-position:center;transform:rotate(90deg)}
.photo-pending{height:auto;aspect-ratio:4/3;min-height:0;margin:0 0 17px;justify-content:center}
.addon-card .product-photo>img{height:145px;padding:10px}
.addon-card .product-photo figcaption{min-height:48px;padding:7px 8px}
.addon-card .bow-photo:not(.horizontal-source)>img{height:180px}
@media(max-width:800px){.product-photo:not(.instrument-photo)>img{height:240px}.instrument-photo a img{padding:12px}.product-photo figcaption{min-height:54px}.addon-card .product-photo>img{height:145px}.bow-photo:not(.horizontal-source)>img{height:280px}}
@media(max-width:600px){.products{grid-template-columns:1fr}.instrument-photo a img{padding:16px}.addon-card .product-photo>img{height:110px;padding:8px}.addon-card .bow-photo:not(.horizontal-source)>img{height:150px}.addon-card .product-photo figcaption{min-height:0}}
/* Accessory stages keep rotations within an unchanged centered frame. */
.photo-stage{height:260px;width:100%;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;background:white;container-type:size}
.product-photo .photo-stage img{width:100%;height:100%;padding:18px;object-fit:contain;object-position:center;transform:none;aspect-ratio:auto}
.bow-photo .photo-stage{height:300px}
.bow-photo.horizontal-source .photo-stage img,.rotate-rosin .photo-stage img{position:absolute;width:100cqh;height:100cqw!important;max-width:none;max-height:none;transform:rotate(90deg);padding:18px;aspect-ratio:auto}
.rotate-rosin .photo-stage img{transform:rotate(-90deg)}
.addon-card .photo-stage{height:145px}.addon-card .bow-photo .photo-stage{height:180px}
.addon-card .product-photo .photo-stage img{padding:10px}
@media(max-width:800px){.photo-stage{height:240px}.bow-photo .photo-stage{height:280px}}
@media(max-width:600px){.addon-card .photo-stage{height:110px}.addon-card .bow-photo .photo-stage{height:150px}.addon-card .product-photo .photo-stage img{padding:8px}}
/* Level the supplied three-rest composition, retaining its full original pixels. */
.level-shoulder .photo-stage img{width:min(64cqw,64cqh);height:auto!important;max-width:none;padding:0;transform:rotate(-36deg)}
.addon-card .level-shoulder .photo-stage img{padding:0}
.pending-stage{aspect-ratio:4/3;width:100%;display:flex;align-items:center;justify-content:center;text-align:center;padding:24px;background:#edf2f8;color:#50647a;font-size:14px}
.bank-details{text-align:left;display:grid;gap:5px;margin:24px 0}.bank-details dt{font-size:13px;color:var(--muted);margin-top:9px}.bank-details dd{margin:0;overflow-wrap:anywhere;font-weight:650}.fps-number{font-size:24px}.whatsapp-link{display:block;text-align:center;text-decoration:none}.preview-warning{background:#fff2dc;border-left-color:#cf8b22;color:#704405}.info-box ol{padding-left:23px}.info-box li{margin:8px 0}@media print{#success:before{content:'示範訂單紀錄 · 非付款證明'}}

/* Yiu Fung — warm, editorial string-instrument storefront. */
:root{--ink:#302824;--muted:#746b63;--blue:#684735;--line:#ded7cc;--bg:#f7f4ef;--orange:#ad8158;--paper:#fffdf9;--serif:"Noto Serif TC","Songti TC","Songti SC","PMingLiU",Georgia,serif}
html{scroll-behavior:smooth;scroll-padding-top:24px}body{background:var(--bg);color:var(--ink);font-size:15px;line-height:1.75;-webkit-font-smoothing:antialiased}a,button{transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a9753e;outline-offset:4px}.demo{background:#302824;color:#f5ead9;font-size:12px;letter-spacing:.06em;padding:9px 18px}header{max-width:1380px;padding:27px 36px;border-bottom:1px solid var(--line);margin:auto}.brand{font-size:16px;font-weight:650;letter-spacing:.08em;gap:14px}.brand small{font-size:10px;letter-spacing:.22em;margin-top:3px;color:#847260}.mark{font-family:Georgia,serif;font-size:24px;font-weight:400;border:1px solid #ac8d6b;border-radius:50%;background:transparent;color:#684735;width:49px;height:49px;letter-spacing:-.08em;padding-right:3px}#adminBtn{font-size:12px;color:#746b63;text-decoration:underline;text-underline-offset:5px}main{max-width:1380px;padding:0 36px}.intro{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;background:transparent;color:var(--ink);border-radius:0;padding:48px 0 40px;align-items:center;border-bottom:1px solid var(--line)}.eyebrow,.intro .eyebrow{font-size:10px;font-weight:650;letter-spacing:.22em;color:#98734e}.school-label{font-size:13px!important;letter-spacing:.06em;color:#786754!important;margin:22px 0 12px}.intro h1{font:400 clamp(34px,3.45vw,52px)/1.45 var(--serif);letter-spacing:.04em;margin:0 0 20px;color:#302824}.intro .hero-description{font-size:15px;color:#706459;max-width:380px;line-height:1.9}.hero-link{display:inline-flex;align-items:center;gap:35px;border-bottom:1px solid #9c7651;padding:10px 0 8px;margin-top:12px;font-size:14px;font-weight:600;color:#684735}.hero-link span{font-size:23px;font-weight:400}.hero-note{display:flex;gap:16px;flex-wrap:wrap;margin-top:31px;font-size:11px;color:#817363}.hero-note span+span{border-left:1px solid #c9b69e;padding-left:16px}.hero-display{position:relative;background:#fff;border:1px solid #e4dbd0;align-self:stretch;min-width:0;display:flex;flex-direction:column;justify-content:center;padding:18px 26px 16px;border-radius:3px;box-shadow:0 15px 45px #49352206}.hero-image-label{font-size:9px;letter-spacing:.2em;color:#9c8977}.hero-display img{width:100%;height:310px;object-fit:contain;object-position:center;display:block;margin:8px auto}.hero-caption{border-top:1px solid #eee8df;padding-top:12px;display:flex;align-items:baseline;justify-content:space-between;gap:8px}.hero-caption>span{font-family:var(--serif);font-size:16px;letter-spacing:.04em}.hero-caption small{font-size:11px;color:#87796d}.steps{padding:20px 0;gap:32px;margin:0 0 38px;border-bottom:1px solid var(--line);font-size:12px;color:#948779;letter-spacing:.03em}.steps span.active{color:#674331;font-weight:650}.layout{grid-template-columns:minmax(0,1fr) 310px;gap:32px}.catalog-kicker{display:flex;justify-content:space-between;gap:10px;font-size:11px;color:#948675;margin-bottom:10px}.section-head{align-items:baseline}.section-head h2{font-family:var(--serif);font-size:30px;font-weight:400;margin:0 0 19px;letter-spacing:.06em}.section-head>span{font-size:12px;color:#8a7c6d}.group-filters{display:flex;gap:24px;background:none;border-radius:0;padding:0;border-bottom:1px solid var(--line);margin:0 0 16px}.group-filters button{border-radius:0;padding:11px 0;min-width:110px;font-size:14px;font-weight:500;color:#8c7d6d;border-bottom:2px solid transparent;margin-bottom:-1px}.group-filters button.active{background:none;color:#513c2e;box-shadow:none;border-bottom-color:#79583d}.filters{gap:8px;margin:0 0 16px}.filters button{border-radius:4px;background:#fbf9f5;border-color:#e0d7ca;color:#786957;padding:8px 15px;font-size:13px}.filters button.active{background:#684735;border-color:#684735;color:#fff}.notice{border-left:2px solid #b69a75;background:#eee7dc;color:#685541;border-radius:0;padding:12px 14px;font-size:12px;line-height:1.8;margin:15px 0 23px}.products{gap:22px}.product{padding:21px;background:var(--paper);border:1px solid #e4ddd2;border-radius:4px;box-shadow:0 4px 18px #44332303;transition:border-color .2s,box-shadow .2s}.product:hover{border-color:#c8b79f;box-shadow:0 9px 26px #44332309}.product-photo{border-radius:3px 3px 0 0;background:#fff;margin:-21px -21px 18px}.product-photo figcaption{background:#f2eee7;color:#95836e;font-size:10px;letter-spacing:.02em;min-height:48px;padding:8px 13px;border-top:1px solid #f0e9e0}.tag{font-size:10px;font-weight:500;letter-spacing:.12em;color:#a17b53}.product h3{font-family:var(--serif);font-weight:500;font-size:21px;line-height:1.55;letter-spacing:.02em;margin:7px 0 6px}.product .price{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:27px;letter-spacing:.015em;margin:6px 0 11px;color:#674a36}.product .desc{font-size:12px;line-height:1.8;min-height:44px;color:#877968;margin-bottom:17px}.product .bottom{border-top:1px solid #eee6dc;padding-top:13px}.product label{font-size:11px;color:#807361}input,select{border-color:#d2c5b3;border-radius:3px;background:#fffdf9;font-size:14px;min-height:44px}select{margin:6px 0 11px;padding:10px}.primary,.secondary,.add{border-radius:3px;font-weight:500;letter-spacing:.04em;min-height:46px;font-size:14px}.primary{background:#634432}.primary:hover,.add:hover{background:#493024;color:white}.add{background:#6b4b36;color:#fff}.secondary{border-color:#c9b79f;background:#fffdf9;color:#6b503b}.secondary:hover{background:#eee4d7}.text-btn{color:#815e3f}.basket{background:#f2ede4;border:1px solid #d8c9b6;border-top:3px solid #9c7953;border-radius:4px;padding:23px;box-shadow:none;top:24px}.basket .eyebrow{color:#9b7851}.basket h2{font-family:var(--serif);font-size:23px;font-weight:400;margin:10px 0 16px}.basket h2 span{color:#785c42;background:#e5dacb;border-radius:50%;font-family:inherit;font-size:12px;font-weight:500;vertical-align:middle}.empty{font-size:13px;color:#948575;line-height:1.9;padding:24px 0 32px;border-bottom:1px solid #ddd1bf}.total{border-top:1px solid #ddd1bf;margin-top:10px;padding:17px 0 6px;align-items:baseline;font-size:13px}.total strong{font-family:Georgia,serif;font-size:28px;font-weight:400;color:#5d402d}.basket .muted{font-size:11px;line-height:1.9;color:#8c7c68}.payhint{font-size:10px;line-height:1.7;color:#917f68;margin-top:12px}.cart-line{border-bottom-color:#dbcfbd;font-size:13px}.cart-line strong{font-weight:500}.cart-meta{color:#8a7965;font-size:11px}.quantity button{border-color:#d7c8b5;background:#faf6ef}.source{font-size:11px;color:#9b8a77;line-height:1.9;margin:30px 0}.photo-credits{border-top:1px solid var(--line);padding-top:14px}.photo-credits summary{color:#7d6954}.photo-credits a{color:#856546}.narrow{max-width:730px;border:1px solid #dfd2c0;border-top:3px solid #a8865d;background:var(--paper);border-radius:4px;padding:32px}.narrow h2{font-family:var(--serif);font-weight:400;letter-spacing:.03em;font-size:28px}.narrow>p{color:#85745e;font-size:14px}.info-box{background:#f2ebdf;border-radius:3px;color:#705b43;font-size:13px}.payment-card{border-color:#dacbb5;background:#fff;border-radius:3px;padding:26px}.payment-card>strong{font-family:Georgia,serif;font-weight:400;font-size:40px;color:#694832}.payment-card p{font-size:12px;color:#8c7a63}.bank-details dt{color:#9a8468}.bank-details dd{color:#654a35}.qr-placeholder{background:#f8f3eb;border-color:#c3ad8e;border-radius:4px}.qr-placeholder b{font:400 34px Georgia,serif;color:#90704f;letter-spacing:.05em}.qr-placeholder span,.qr-placeholder small{color:#9b876a}.preview-warning{background:#f9ecd5;border-left-color:#ae7e3b;color:#805a29}.pill{background:#eee4d5;color:#8b6637;font-size:12px}.pill.green{background:#e9ede4;color:#52704e}.success-icon{background:#eee3d1;color:#9d7d52;border-radius:50%}.receipt .row{font-size:13px}.stat{background:var(--paper);border-color:#e0d3c0;border-radius:4px}.stat strong{font-family:Georgia,serif;font-weight:400;color:#6d4e35}.table-wrap{border-color:#e0d3c0;border-radius:4px}th{background:#eae1d3;color:#715b42}td,th{border-bottom-color:#e8ded0}#addonDialog{border-radius:5px;background:var(--paper);box-shadow:0 24px 100px #30241855}#addonDialog::backdrop{background:#241a12b3}.addon-header{border-bottom-color:#e1d5c4}.addon-header h2{font-family:var(--serif);font-weight:400;letter-spacing:.03em}.selected-instrument{background:#eee5d7;color:#6f533a;border-radius:3px;font-weight:500}.addon-card{border-top-color:#e2d7c5}.addon-card .product-photo{border-radius:3px}.addon-check{font-weight:500}.addon-check input{accent-color:#765032}.addon-check strong{font-family:Georgia,serif;font-weight:400;font-size:23px;color:#7c593b}.compatibility{background:#f7edd9;color:#8b6c37;border-radius:3px;font-size:11px}.addon-footer{background:#fffdf8;border-top-color:#dfd1ba}.addon-totals strong{font-family:Georgia,serif;font-weight:400;color:#6d4a2d}.addon-copy select:disabled{background:#f6f0e7}.muted{color:#8a7a66}footer{max-width:1308px;border-top:1px solid #ded3c3;margin:45px auto 0;padding:30px 20px 38px;font-size:12px;color:#8c7c68;line-height:2}.footer-brand{display:block;font:400 25px Georgia,serif;letter-spacing:.16em;color:#6c5038;margin-bottom:7px}footer small{font-size:10px}#toast{background:#3e2c20;color:#f8efdf;border-radius:4px}
@media(min-width:1500px){.hero-display img{height:345px}}
@media(max-width:1100px){.layout{grid-template-columns:minmax(0,1fr) 275px;gap:23px}.product h3{font-size:19px}.hero-caption{display:block}.hero-caption small{display:block;margin-top:2px}.intro{gap:26px}.basket{padding:19px}}
@media(max-width:800px){header{padding:19px 20px}main{padding:0 20px}.brand{font-size:13px;letter-spacing:.02em}.brand small{font-size:8px;letter-spacing:.14em}.mark{width:41px;height:41px;font-size:21px}#adminBtn{font-size:10px;padding:6px 0;white-space:nowrap}.intro{grid-template-columns:1fr 0.9fr;gap:20px;padding:32px 0}.intro h1{font-size:32px}.school-label{font-size:11px!important;margin-top:15px}.intro .hero-description{font-size:12px;line-height:1.85}.hero-link{font-size:12px;margin-top:7px;gap:20px}.hero-note{font-size:9px;gap:6px;display:block;margin-top:18px}.hero-note span{display:block}.hero-note span+span{border:0;padding:0}.hero-display{padding:15px}.hero-display img{height:260px}.hero-image-label{font-size:8px}.hero-caption>span{font-size:14px}.hero-caption small{font-size:9px}.steps{gap:12px;justify-content:space-between;font-size:10px;padding:16px 0;margin-bottom:28px}.layout{grid-template-columns:1fr}.basket{position:static;margin-top:12px;padding:23px}.products{gap:18px}.product{padding:20px}.product-photo{margin:-20px -20px 17px}.product h3{font-size:21px}.catalog-kicker{font-size:10px}.section-head h2{font-size:28px}.section-head>span{font-size:11px}.group-filters{gap:25px}.narrow{padding:25px}.stats{grid-template-columns:1fr}.stat{display:flex;justify-content:space-between;align-items:center}.source{font-size:10px}.payment-card{padding:20px}.addon-card .product-photo{margin:0}.product-photo figcaption{min-height:48px;font-size:10px}}
@media(max-width:600px){.intro{grid-template-columns:1fr;gap:25px;padding:29px 0}.hero-copy{padding:0 3px}.intro h1{font-size:34px;line-height:1.45;margin-bottom:14px}.intro .hero-description{font-size:13px;max-width:330px}.hero-note{display:flex;gap:12px;font-size:10px}.hero-note span+span{border-left:1px solid #d7c8b4;padding-left:12px}.hero-display{padding:16px 22px}.hero-display img{height:230px}.hero-caption{display:flex}.hero-caption>span{font-size:15px}.hero-caption small{font-size:10px}.hero-image-label{font-size:8px}.steps{gap:6px;font-size:10px;letter-spacing:0}.products{grid-template-columns:1fr;gap:23px}.product{padding:22px}.product-photo{margin:-22px -22px 18px}.product h3{font-size:22px}.product .desc{min-height:0;font-size:13px}.product .price{font-size:29px}.notice{font-size:11px}.filters{gap:6px}.filters button{padding:8px 12px;font-size:12px}.narrow{padding:22px}.narrow h2{font-size:25px}.bank-details dd{font-size:13px}.bank-details .fps-number{font-size:25px}.form-grid{gap:15px}.addon-card .product-photo{margin:0}.addon-header,.addon-footer{padding:16px}.addon-body{padding:0 16px 12px}.addon-header h2{font-size:21px}.addon-actions{flex-direction:column-reverse}.addon-totals{font-size:12px}.addon-card{gap:12px}.addon-check{font-size:13px}.addon-check strong{font-size:21px}.addon-totals strong{font-size:25px}.source{margin-top:26px}footer{margin-top:32px}.brand .mark{display:grid}.brand{gap:9px}header{gap:8px}}
@media(max-width:360px){.brand small{font-size:7px;letter-spacing:.08em}.brand{font-size:12px}.mark{width:34px;height:34px}.hero-note{display:block}.hero-note span+span{border:0;padding:0}.hero-caption{display:block}.steps{font-size:9px}main{padding:0 15px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
@media print{.intro,.catalog-kicker,.footer-brand{display:none!important}.narrow{border:0;background:#fff}.receipt .row,.muted{color:#333}}
/* Keep small editorial labels readable on warm paper backgrounds. */
.eyebrow,.intro .eyebrow,.tag{color:#795536}.hero-image-label,.hero-caption small,.section-head>span,.catalog-kicker,.source,.payhint,.basket .muted,.cart-meta,.product .desc,.product label,.muted,footer,footer small{color:#74634f}.product-photo figcaption{color:#735f47}.hero-note,.school-label,.intro .hero-description,.narrow>p,.payment-card p,.bank-details dt{color:#74634f}.empty{color:#76654f}.steps{color:#7d6d5b}.group-filters button{color:#7d6b56}.qr-placeholder span,.qr-placeholder small{color:#786347}
.basket .eyebrow{color:#795536}.brand small{color:#74634f}.compatibility,.pill:not(.green):not(.red){color:#765326}
/* Plain company name only; no invented monogram or logo. */
.brand{display:block}.brand small{letter-spacing:.08em;font-weight:400;font-size:9px;max-width:360px;line-height:1.65}.footer-company{display:block;font-size:10px;font-weight:400;letter-spacing:.08em;margin-bottom:6px}.workshop-display{padding:0;overflow:hidden;border:0;border-radius:3px;background:#ebe2d5;box-shadow:none;min-height:390px}.workshop-display img{display:block;width:100%;height:100%;min-height:390px;position:absolute;inset:0;margin:0;object-fit:cover;object-position:50% 50%}.workshop-display .hero-caption{position:absolute;left:0;right:0;bottom:0;padding:26px 22px 17px;margin:0;border:0;background:linear-gradient(transparent,rgba(31,22,15,.8));color:#fff}.workshop-display .hero-caption small{color:#efe6d9}.workshop-display .hero-caption>span{font-size:15px}
@media(max-width:800px){.brand small{font-size:8px;max-width:270px;letter-spacing:.035em}.workshop-display,.workshop-display img{min-height:310px}.workshop-display .hero-caption{padding:25px 14px 13px}.workshop-display .hero-caption>span{font-size:13px}.workshop-display .hero-caption small{font-size:9px}}
@media(max-width:600px){.brand{font-size:13px;max-width:245px}.brand small{font-size:8px;max-width:245px}.workshop-display{aspect-ratio:4/3;min-height:0}.workshop-display img{min-height:0}.workshop-display .hero-caption{display:flex;padding:26px 18px 14px}.workshop-display .hero-caption>span{font-size:14px}.workshop-display .hero-caption small{font-size:10px}}
@media(max-width:360px){.brand{font-size:12px;max-width:220px}.brand small{font-size:7px}}

/* Compact text-only introduction; product photography remains in the catalog. */
#storeIntro{display:block;padding:32px 0 28px}#storeIntro .hero-copy{max-width:760px}#storeIntro h1{font-size:clamp(29px,3.1vw,42px);margin-bottom:12px}#storeIntro .school-label{margin-top:12px}#storeIntro .hero-description{max-width:650px;margin-bottom:0}#storeIntro .hero-note{margin-top:18px}
@media(max-width:600px){#storeIntro{padding:24px 0}#storeIntro h1{font-size:30px}#storeIntro .hero-copy{padding:0}}

/* Inert public-demo QR: high contrast and a full four-module quiet zone. */
.demo-qr{display:flex;justify-content:center;margin:18px auto 8px;width:min(270px,100%);background:#fff}.demo-qr svg{display:block;width:100%;height:auto;max-width:270px}.qr-test-label{display:block;font-size:12px!important;letter-spacing:.05em;color:#805a29!important;font-family:inherit!important}.qr-text{text-align:left;border-top:1px solid var(--line);padding:12px 0;margin:15px 0}.qr-text summary,.info-box summary{cursor:pointer;font-weight:600}.qr-text p,.message-preview{white-space:pre-line;overflow-wrap:anywhere;font-size:12px}.pill.simulated{background:#f6e9d0;color:#765326}.receipt strong{overflow-wrap:anywhere;min-width:0}.demo{font-weight:600}.receipt .pill{line-height:1.6}@media print{#success:before{content:'TEST ONLY · 測試紀錄 · 非付款證明';font-weight:bold}.info-box{display:none}}

/* Mobile ordering: one clear path from a product to the demo checkout. */
.mobile-order-bar,.mobile-only{display:none}
.catalog-controls,.basket{scroll-margin-top:16px}
.view,.layout>*,.product,.addon-copy,.brand,.receipt .row>*{min-width:0}
button,input,select,summary{touch-action:manipulation}
button,select,input,summary{scroll-margin-block:18px}
summary:focus-visible{outline:3px solid #a9753e;outline-offset:4px}
.same-phone-note{font-size:14px!important;color:#654a35!important;margin:18px 0 8px}
.payment-card .payment-actions{margin:12px 0 26px;text-align:center}
#paymentRef,.message-preview,.cart-line,.selected-instrument{overflow-wrap:anywhere}
.addon-error{border:1px solid #b86a45;background:#fff0e4;color:#7b3420;border-radius:4px;padding:10px 12px;font-size:14px}
#addonDialog[open]{display:flex;flex-direction:column;overflow:hidden;max-height:90vh;max-height:90dvh}
.addon-header,.addon-footer{flex:0 0 auto}
.addon-body{min-height:0;flex:1 1 auto;max-height:none;overflow-y:auto;overscroll-behavior:contain}
.addon-header>div{min-width:0}
#cancelAddons{flex:none;min-width:44px;min-height:44px}
.addon-copy select{min-width:0;max-width:100%}
.addon-check>span{min-width:0;overflow-wrap:anywhere}

@media(max-width:800px){
  :root{--mobile-bar-space:104px}
  body{font-size:16px}
  body.shop-view{padding-bottom:calc(var(--mobile-bar-space) + env(safe-area-inset-bottom,0px))}
  header{padding:16px 18px;align-items:center;gap:12px}
  .brand{flex:1;min-width:0;font-size:14px;max-width:none;letter-spacing:.01em}
  .brand small{font-size:9px;max-width:100%;line-height:1.5;overflow-wrap:anywhere}
  #adminBtn{font-size:11px;min-height:44px;min-width:64px;white-space:normal;text-align:right;line-height:1.6}
  main{padding:0 18px}
  #storeIntro{padding:22px 0 20px}
  #storeIntro .eyebrow{font-size:9px;letter-spacing:.14em}
  #storeIntro .school-label{font-size:12px!important;margin:9px 0 8px;line-height:1.7}
  #storeIntro h1{font-size:29px;line-height:1.35;margin-bottom:10px}
  #storeIntro .hero-description{font-size:14px;line-height:1.7;max-width:650px}
  #storeIntro .hero-link{font-size:14px;min-height:44px;padding:8px 0;margin-top:7px;gap:22px}
  #storeIntro .hero-note{display:flex;flex-wrap:wrap;font-size:12px;gap:4px 12px;margin-top:13px;line-height:1.6}
  #storeIntro .hero-note span+span{border:0;padding:0}
  .steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;padding:16px 0;margin-bottom:24px;font-size:12px;line-height:1.6;text-align:center}
  .steps span{padding:6px 1px;border-bottom:2px solid transparent}
  .steps span.active{border-bottom-color:#79583d;background:#eee7dc;border-radius:3px 3px 0 0}
  .catalog-kicker{font-size:11px;flex-wrap:wrap;gap:4px}
  .catalog-kicker .eyebrow{font-size:10px;letter-spacing:.12em}
  .section-head h2{font-size:28px;margin-bottom:14px}
  .section-head>span{font-size:12px}
  .catalog-controls{background:var(--bg);padding:4px 0 1px}
  .group-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:12px}
  .group-filters button{min-width:0;min-height:48px;font-size:16px;padding:8px;line-height:1.5}
  .filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-bottom:12px}
  .filters button{min-width:0;min-height:44px;padding:8px 4px;font-size:14px;line-height:1.5}
  .notice{font-size:14px;line-height:1.75;padding:12px;margin:12px 0 20px}
  .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
  .product{padding:20px}
  .product-photo{margin:-20px -20px 16px}
  .product-photo figcaption{font-size:12px;line-height:1.6;min-height:48px}
  .product .tag{font-size:12px;letter-spacing:.08em}
  .product h3{font-size:22px;line-height:1.5;overflow-wrap:anywhere}
  .product .desc{font-size:14px;line-height:1.75;min-height:0}
  .product .price{font-size:30px;margin:8px 0 12px}
  .product label,.form-grid label{font-size:14px}
  input,select{font-size:16px;min-width:0;min-height:48px}
  .primary,.secondary,.add{min-height:48px;font-size:16px;line-height:1.5;padding:12px 14px}
  .text-btn{min-height:44px;font-size:14px}
  .basket{padding:20px;margin-top:0}
  .basket h2{font-size:25px;margin-bottom:2px}
  .basket .eyebrow{font-size:11px}
  .basket .muted,.payhint,.cart-meta{font-size:13px}
  .cart-line{font-size:15px;padding:18px 0}
  .cart-line strong{line-height:1.65}
  .quantity{gap:12px;margin-top:12px}
  .quantity button{width:44px;height:44px;font-size:20px;border-radius:4px;flex:none}
  .quantity>span{min-width:20px;text-align:center;font-size:16px}
  .quantity .remove{min-width:52px;min-height:44px;font-size:14px;padding:0 8px}
  .mobile-only{display:block}
  .mobile-order-bar{position:fixed;inset:auto 0 0;z-index:20;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:center;padding:10px max(16px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px));background:#fffdf9;border-top:1px solid #d6c7b3;box-shadow:0 -5px 24px #49352212}
  .mobile-cart{min-width:0;min-height:60px;padding:3px 0;border:0;background:transparent;color:var(--ink);text-align:left;line-height:1.5}
  .mobile-cart span{display:block;font-size:12px;color:#74634f}
  .mobile-cart strong{display:block;font-family:Georgia,serif;font-size:22px;font-weight:400;color:#5d402d;overflow-wrap:anywhere}
  .mobile-order-bar .primary{font-size:14px;min-height:52px;padding:12px 8px}
  .mobile-order-bar .primary:disabled{opacity:1;background:#e9e1d5;color:#776959}
  body.modal-open .mobile-order-bar{visibility:hidden}
  body.shop-view #toast{bottom:calc(var(--mobile-bar-space) + env(safe-area-inset-bottom,0px));z-index:25}
  #toast{width:max-content;max-width:calc(100% - 32px);font-size:14px;line-height:1.65}
  .narrow{padding:24px;max-width:680px}
  .narrow h2{font-size:27px}
  .narrow>p,.muted,.info-box{font-size:14px}
  .back{margin-bottom:15px}
  .form-grid{grid-template-columns:1fr;gap:18px}
  .form-grid input{padding:12px}
  .check{align-items:center;min-height:48px;font-size:14px;line-height:1.7;padding:8px 0;gap:12px}
  .check input{width:24px;height:24px;min-height:24px;margin:0;accent-color:#765032}
  .receipt .row{font-size:14px;gap:14px}
  .receipt .row>strong{flex:none;max-width:60%}
  .receipt ul{font-size:14px;overflow-wrap:anywhere}
  .payment-card{padding:20px 16px}
  .payment-card>strong{font-size:36px;overflow-wrap:anywhere}
  .payment-card p{font-size:14px}
  .payment-card .payment-actions{margin:12px 0 22px}
  .payment-card .secondary{font-size:14px}
  .qr-text summary,.info-box summary,.photo-credits summary{display:list-item;min-height:44px;padding:8px 0;font-size:14px;line-height:1.7}
  .qr-text p,.message-preview{font-size:14px}
  .qr-test-label{font-size:12px!important;letter-spacing:0}
  .source{font-size:12px;line-height:1.8}
  footer{font-size:12px;overflow-wrap:anywhere}
  footer small,.footer-company{font-size:11px}
  .addon-card .muted{font-size:14px}
  .addon-check{font-size:15px;min-height:44px}
  .addon-check input{width:24px;min-height:24px}
  .compatibility{font-size:13px}
  .addon-totals{font-size:14px}
  .addon-footer .muted{font-size:12px;margin:5px 0 10px}
  .addon-card .product-photo figcaption{font-size:11px;line-height:1.5}
}
@media(max-width:600px){
  .products{grid-template-columns:minmax(0,1fr);gap:22px}
  #addonDialog{width:100%;max-width:100%;margin:auto 0 0;border-radius:18px 18px 0 0}
  #addonDialog[open]{max-height:calc(100vh - 12px);max-height:calc(100dvh - max(12px,env(safe-area-inset-top,0px)))}
  .addon-header{padding:14px 16px;gap:10px}
  .addon-header .eyebrow{font-size:9px;letter-spacing:.12em}
  .addon-header h2{font-size:21px}
  .addon-body{max-height:none;padding:0 16px 16px}
  .addon-card{grid-template-columns:88px minmax(0,1fr);gap:12px;padding:18px 0}
  .addon-card .product-photo{margin:0}
  .addon-card .photo-stage{height:110px}
  .addon-copy select{font-size:16px}
  .addon-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))}
  .addon-actions{gap:8px;flex-direction:column-reverse}
  .addon-actions button{min-height:44px;font-size:14px}
  .addon-actions .primary{min-height:48px;font-size:16px}
  .addon-totals{gap:4px 10px;align-items:baseline}
  .addon-totals strong{font-size:25px}
  .addon-footer .muted{font-size:12px}
}
@media(max-width:400px){
  main{padding:0 16px}
  header{padding:14px 16px;gap:8px}
  .brand{font-size:13px}
  .brand small{font-size:8px}
  #storeIntro{padding:18px 0}
  #storeIntro h1{font-size:27px}
  #storeIntro .hero-note{font-size:11px}
  .steps{font-size:11px;gap:4px}
  .product{padding:18px}
  .product-photo{margin:-18px -18px 16px}
  .product h3{font-size:21px}
  .narrow{padding:20px 16px}
  .payment-card{padding:18px 12px}
  .mobile-order-bar{gap:8px}
  .mobile-cart strong{font-size:21px}
  .mobile-order-bar .primary{font-size:13px}
  .addon-card{grid-template-columns:78px minmax(0,1fr);gap:10px}
  .addon-totals strong{font-size:23px}
}
@media(max-height:500px) and (max-width:800px){
  #addonDialog[open]{max-height:calc(100dvh - 8px)}
  .addon-header{padding:8px 14px}
  .addon-header .eyebrow{display:none}
  .addon-header h2{font-size:19px}
  .addon-footer{padding:8px 14px calc(8px + env(safe-area-inset-bottom,0px))}
  .addon-actions{flex-direction:row;gap:8px}
  .addon-actions button{font-size:13px}
  .addon-totals strong{font-size:21px}
}
@media print{.mobile-order-bar,.mobile-only{display:none!important}body.shop-view{padding-bottom:0}}

/* Prioritise products in the first phone screen; detailed copy stays in place. */
@media(max-width:600px){
  #storeIntro .eyebrow,#storeIntro .hero-link{display:none}
  #storeIntro{padding:17px 0}
  #storeIntro .school-label{margin:0 0 7px}
  #storeIntro h1{font-size:clamp(18px,5.2vw,26px);line-height:1.5;margin:0 0 8px}
  #storeIntro h1 br{display:none}
  #storeIntro .hero-description{font-size:13px;line-height:1.7;margin:0}
  #storeIntro .hero-note{font-size:11px;margin-top:10px;gap:3px 10px}
  .steps{padding:10px 0;margin-bottom:20px}
}
@media(max-width:380px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:400px){
  #receipt .row{flex-direction:column;gap:2px;padding:9px 0}
  #receipt .row strong{max-width:100%;text-align:left}
}
