/* Product flow: brand yellow, native type, restrained motion. All rules scoped. */
body.hf-builder-enabled{--hf-ink:#25251f;--hf-border:#a58b42;--hf-surface:#fffdf7}
body.hf-builder-enabled #product-1830 .product-entry-wrapper{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:32px;align-items:center;max-width:1180px;margin-inline:auto}
body.hf-builder-enabled #product-1830 .woocommerce-product-gallery .flexy-view{height:280px!important;max-height:280px!important}
body.hf-builder-enabled #product-1830 .woocommerce-product-gallery .flexy-pills{margin-top:10px;overflow-x:auto;padding:2px 2px 8px}
body.hf-builder-enabled #product-1830 .woocommerce-product-gallery .flexy-pills ol{display:flex!important;flex-wrap:nowrap!important;gap:8px!important;grid-template-columns:none!important;width:max-content;margin:0;padding:0}
body.hf-builder-enabled #product-1830 .woocommerce-product-gallery .flexy-pills li{flex:0 0 56px!important;width:56px!important;max-width:56px;cursor:pointer}
body.hf-builder-enabled #product-1830 .summary.entry-summary{padding:12px 0!important;border:0!important;background:transparent!important;border-radius:0;box-shadow:none}
body.hf-builder-enabled #product-1830 .summary .product_title{font-size:clamp(24px,2.5vw,34px)!important;margin-bottom:12px!important}
body.hf-builder-enabled #product-1830 .summary .price{margin-bottom:16px!important}
body.hf-builder-enabled #product-1830 .summary .ct-product-divider{display:none}
body.hf-builder-enabled #product-1830 .summary .woocommerce-product-details__short-description{max-width:38em;margin-bottom:20px;font-size:15px}
body.hf-builder-enabled .hf-configure-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 24px;border-radius:8px;background:#25251f;color:#fff!important;font-weight:650;text-decoration:none}
#hf-builder{color:#25251f;width:var(--theme-container-width,calc(100% - 40px));max-width:1180px;margin:28px auto 40px;padding:24px 0 0;border-top:1px solid #a58b42;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;scroll-margin-top:100px;clear:both}
#hf-builder *{box-sizing:border-box}
#hf-builder h2{font-size:26px;font-weight:700;line-height:1.35;margin:0 0 6px;font-family:inherit}
#hf-builder>p{margin:0 0 20px}
#hf-builder h3{font-size:18px;font-weight:650;line-height:1.4;font-family:inherit;margin:0 0 12px}
#hf-builder label{display:block;font-size:14px;font-weight:650;margin-bottom:8px}
#hf-builder input,#hf-builder select{height:48px;background:#fffdf7;color:#25251f;border:1px solid #a58b42;border-radius:8px;padding:8px 12px;font-size:16px;line-height:1.5;font-family:inherit}
#hf-count{width:96px;display:block;margin:0 0 20px;scroll-margin-top:110px}
#hf-builder .hf-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:32px;align-items:start}
#hf-builder .hf-picking{min-width:0}
#hf-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#hf-builder .hf-option{display:flex;flex-direction:column;align-items:stretch;gap:6px;text-align:left;padding:8px;border:1px solid transparent;border-radius:8px;background:#fffdf7;white-space:normal;font:inherit;font-size:13px;line-height:1.45;color:#25251f;min-width:0;cursor:pointer;transition:border-color .15s,background .15s}
#hf-builder .hf-option:hover:enabled{border-color:#25251f}
#hf-builder .hf-option.hf-picked{border-color:#25251f;box-shadow:inset 0 0 0 1px #25251f}
#hf-builder .hf-option:disabled{cursor:not-allowed;opacity:1}
#hf-builder .hf-option.hf-unavailable{background:#f0dda7}
#hf-builder .hf-unavailable img{opacity:.55}
#hf-builder .hf-option img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:4px;background:#eeeae0}
#hf-builder small,#hf-builder .hf-note{font-size:12px;color:#514b3e}
#hf-builder .hf-group{margin-top:20px}
#hf-builder h4{font-size:14px;font-weight:650;line-height:1.5;font-family:inherit;margin:0 0 8px}
#hf-builder .hf-slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#hf-builder .hf-slots button{display:flex;align-items:center;gap:8px;min-width:0;min-height:52px;padding:8px;font:inherit;font-size:12px;line-height:1.5;text-align:left;white-space:normal;background:#fff7df;color:#25251f;border:1px solid #a58b42;border-radius:8px;cursor:pointer}
#hf-builder .hf-slots button:disabled{cursor:default;background:transparent}
#hf-builder .hf-slots img{width:32px;height:32px;object-fit:contain;flex-shrink:0}
#hf-progress{margin:0 0 12px;font-weight:650;font-variant-numeric:tabular-nums}
#hf-builder .hf-preview{position:sticky;top:104px;min-width:0}
#hf-builder .hf-stage{position:relative;height:400px;border-radius:12px;overflow:hidden;background:#e8e6df}
#hf-builder .hf-placeholder{height:100%;display:flex;align-items:center;justify-content:center;padding:32px;color:#514b3e;text-align:center;font-size:14px;background:#ffda83}
#hf-builder .hf-canvas{height:100%;width:100%}
#hf-builder .hf-canvas canvas{display:block;width:100%;height:100%;touch-action:none}
#hf-builder .hf-stage[aria-busy=true]:after{content:'載入 3D…';position:absolute;inset:0;display:grid;place-items:center;background:#e8e6df;color:#514b3e;pointer-events:none}
#hf-builder .hf-view-actions{display:flex;gap:8px;margin-top:10px}
#hf-builder .hf-view-actions button,#hf-builder .hf-retry-view{flex:1;min-height:44px;border-radius:8px;border:1px solid #a58b42;padding:8px 12px;background:#fffdf7;color:#25251f;font:inherit;cursor:pointer}
#hf-builder .hf-view-status:empty,#hf-error:empty{display:none}
#hf-view-group{width:100%;margin-bottom:12px}
#hf-builder .hf-note{margin-top:10px}
#hf-builder .hf-checkout{margin-top:24px;padding:16px 0 4px;border-top:1px solid #a58b42}
#hf-add{display:block;width:100%;min-height:52px;background:#25251f;color:#fff;font-weight:650;font-size:16px;line-height:1.4;font-family:inherit;border:0;border-radius:8px;cursor:pointer}
#hf-add:disabled{background:#d9b969;color:#493d26;cursor:not-allowed;opacity:1}
#hf-error{color:#8b2319;margin:0 0 10px}
#hf-builder :is(button,input,select):focus-visible,.hf-configure-link:focus-visible{outline:3px solid #604a16;outline-offset:3px}
#hf-builder [hidden]{display:none!important}
.hf-builder-enabled #hodara-fugu-3d{display:none}
.hf-builder-enabled.postid-1830 .summary .price::after{display:none!important}
@media(max-width:1023px){#hf-builder .hf-layout{gap:20px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr)}#hf-options{grid-template-columns:repeat(2,minmax(0,1fr))}#hf-builder .hf-stage{height:340px}body.hf-builder-enabled #product-1830 .product-entry-wrapper{gap:24px}}
@media(max-width:767px){body.hf-builder-enabled #product-1830 .product-entry-wrapper{grid-template-columns:minmax(0,1fr);gap:16px}body.hf-builder-enabled #product-1830 .woocommerce-product-gallery .flexy-view{height:260px!important;max-height:260px!important}body.hf-builder-enabled #product-1830 .summary.entry-summary{padding:0!important}body.hf-builder-enabled #product-1830 .summary .product_title{font-size:24px!important}body.hf-builder-enabled .hf-configure-link{display:none}#hf-builder{margin-top:24px;padding-top:20px}#hf-builder .hf-layout{grid-template-columns:minmax(0,1fr);gap:24px}#hf-builder .hf-preview{position:static}#hf-builder:not(.hf-has-picks) .hf-preview{display:none}#hf-builder .hf-stage{height:320px}#hf-builder .hf-checkout{position:sticky;bottom:0;z-index:2;background:#ffc851;padding:12px 0 max(12px,env(safe-area-inset-bottom))}#hf-builder h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){#hf-builder .hf-option{transition:none}}
/* Explicit quantity controls and independent lamp palettes. */
#hf-builder .hf-option{cursor:default;gap:8px}
#hf-builder .hf-option .hf-style-name{min-height:0}
#hf-builder .hf-option-footer{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:auto;min-width:0}
#hf-builder .hf-option-footer>small{font-size:11px;white-space:nowrap;letter-spacing:-.02em}
#hf-builder .hf-stepper{display:grid;grid-template-columns:26px 22px 26px;align-items:center;flex-shrink:0;border:1px solid #e0d8c4;border-radius:6px;background:#fffdf7;margin:0}
#hf-builder .hf-stepper button{min-width:26px;min-height:30px;height:30px;padding:0;border:0;border-radius:5px;background:transparent;color:#514b3e;font:18px/1 system-ui;cursor:pointer}
#hf-builder .hf-stepper button:hover:enabled{background:#f4ecd8;color:#25251f}
#hf-builder .hf-stepper button:disabled{background:transparent;color:#b2a995;cursor:not-allowed}
#hf-builder .hf-stepper output{display:block;text-align:center;font-size:13px;font-weight:550;font-variant-numeric:tabular-nums;color:#25251f}
#hf-builder .hf-lamp-stepper{width:108px;grid-template-columns:32px 1fr 32px;margin:0 0 18px;padding:0}
#hf-builder .hf-lamp-stepper button{min-width:32px;height:34px;min-height:34px}
#hf-builder .hf-lamp-stepper #hf-count{width:100%;min-width:0;height:34px;margin:0;padding:0;border:0;border-radius:0;text-align:center;font-size:15px;font-weight:550;font-variant-numeric:tabular-nums;color:#25251f;appearance:textfield;-moz-appearance:textfield;background:transparent}
#hf-count::-webkit-inner-spin-button,#hf-count::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.hf-purchase-controls{margin:20px 0 24px}
.hf-purchase-controls label{display:block;margin-bottom:8px;font-size:14px;font-weight:600;color:#25251f}
.hf-purchase-controls .hf-lamp-stepper{display:grid;width:108px;grid-template-columns:32px 1fr 32px;align-items:center;border:1px solid #e0d8c4;border-radius:6px;background:#fffdf7;margin:0 0 16px;padding:0}
.hf-purchase-controls .hf-lamp-stepper button{min-width:32px;min-height:34px;height:34px;padding:0;border:0;border-radius:5px;background:transparent;color:#514b3e;font:18px/1 system-ui;cursor:pointer}
.hf-purchase-controls .hf-lamp-stepper button:hover:enabled{background:#f4ecd8;color:#25251f}
.hf-purchase-controls .hf-lamp-stepper button:disabled{background:transparent;color:#b2a995;cursor:not-allowed}
.hf-purchase-controls #hf-count{width:100%;min-width:0;height:34px;margin:0;padding:0;border:0;border-radius:0;text-align:center;font-size:15px;font-weight:550;font-variant-numeric:tabular-nums;color:#25251f;appearance:textfield;background:transparent}
body.hf-builder-enabled .hf-purchase-controls .hf-configure-link{display:inline-flex}
.hf-purchase-controls :is(button,input):focus-visible{outline:3px solid #604a16;outline-offset:3px}
#hf-selected{scroll-margin-top:110px}
.hf-purchase-controls .hf-remove-confirm{padding:12px;border:1px solid #a58b42;border-radius:8px;background:#fffdf7;margin-bottom:16px}
.hf-purchase-controls .hf-remove-confirm p{margin:0 0 10px;font-size:14px}
.hf-purchase-controls .hf-remove-confirm button{min-height:44px;border:1px solid #25251f;border-radius:8px;padding:8px 16px;margin-right:8px;background:#fffdf7;color:#25251f;cursor:pointer}
.hf-purchase-controls .hf-remove-confirm button:last-child{background:#25251f;color:white}
#hf-builder .hf-remove-confirm{padding:12px;border:1px solid #a58b42;border-radius:8px;background:#fffdf7;margin-bottom:16px}
#hf-builder .hf-remove-confirm p{margin:0 0 10px;font-size:14px}
#hf-builder .hf-remove-confirm button{min-height:44px;border:1px solid #25251f;border-radius:8px;padding:8px 16px;margin-right:8px;background:#fffdf7;color:#25251f;cursor:pointer}
#hf-builder .hf-remove-confirm button:last-child{background:#25251f;color:white}
#hf-builder .hf-lamp-switcher{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:24px;max-height:340px;overflow-y:auto;padding:3px}
#hf-builder .hf-lamp-card{display:flex;flex-direction:column;gap:10px;min-width:0;border:1px solid #a58b42;border-radius:10px;padding:12px;background:#ffdb88;color:#25251f;font:inherit;text-align:left;cursor:pointer;white-space:normal}
#hf-builder .hf-lamp-card[aria-pressed=true]{border:2px solid #25251f;padding:11px;background:#fffdf7}
#hf-builder .hf-lamp-title{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:14px}
#hf-builder .hf-lamp-state{font-size:11px;white-space:nowrap}
#hf-builder .hf-lamp-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;width:100%}
#hf-builder .hf-mini-panel{display:grid;place-items:center;aspect-ratio:1;border:1px dashed #ad9b71;border-radius:4px;overflow:hidden;color:#736343;font-size:12px;background:#f6efdd}
#hf-builder .hf-mini-panel img{width:100%;height:100%;object-fit:contain}
@media(min-width:1024px){#hf-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:420px){#hf-builder .hf-lamp-title{align-items:start;flex-direction:column;gap:3px}#hf-builder .hf-lamp-card{padding:9px}#hf-builder .hf-lamp-card[aria-pressed=true]{padding:8px}}
