@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');
:root{font-family:'DM Sans',Inter,Arial,sans-serif;background:#111317;color:#f6f4f0;font-synthesis:none}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 70% -5%,#272327 0,transparent 35%),#111317}button,input{font:inherit}button{cursor:pointer}button:focus-visible,input:focus-visible{outline:2px solid #ff8b52;outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}[hidden]{display:none!important}.site-shell{max-width:1620px;margin:0 auto;padding:0 32px}.topbar{min-height:95px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #333339;gap:20px}.brand{display:flex;gap:12px;align-items:center}.brand-mark{display:grid;place-items:center;font:900 46px/1 'Barlow Condensed',Impact,sans-serif;color:#f6f4f0;letter-spacing:-5px}.brand-mark span{color:#fb8651}.brand-copy{display:flex;flex-direction:column;gap:3px}.brand-copy strong{font:800 20px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:1px}.brand-copy strong span{color:#fa8c57}.brand-copy small{font:700 8px/1.4 'DM Sans',Arial;letter-spacing:2.4px;color:#a5a3a7}.topbar-title{color:#a2a0a2;font-weight:800;letter-spacing:3px;font-size:10px}.topbar-title span{color:#fb8651;padding:0 9px}.badge{font:800 10px/1 'DM Sans',Arial;letter-spacing:1.6px;color:#ff9a69;border:1px solid #5c443c;padding:12px 14px;border-radius:3px;background:#241e1d}.intro{padding:53px 0 34px}.eyebrow{display:flex;align-items:center;gap:12px;color:#ff975d;font-size:10px;font-weight:800;letter-spacing:3px}.eyebrow-line{width:28px;height:2px;background:#ff975d}.intro h1{font:900 clamp(60px,7.5vw,104px)/.86 'Barlow Condensed',Impact,sans-serif;letter-spacing:-1px;margin:16px 0 23px}.intro h1 em{color:#fb8955;font-style:normal}.intro p{font-size:13px;color:#aeb0b5;line-height:1.8;max-width:560px;margin:0}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 390px;min-height:660px;border:1px solid #373a3e;box-shadow:0 22px 80px #0007;background:#1c2026;border-radius:5px;overflow:hidden}.viewer{position:relative;min-height:660px;overflow:hidden;background:radial-gradient(ellipse at 60% 38%,#313841 0%,#1c222b 47%,#13171d 90%)}.viewer:before{content:"";position:absolute;inset:0;opacity:.12;background-image:linear-gradient(#8391a218 1px,transparent 1px),linear-gradient(90deg,#8391a218 1px,transparent 1px);background-size:36px 36px;pointer-events:none;z-index:0}.viewer-toolbar{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:25px 28px}.viewer-tag{font-size:10px;font-weight:800;letter-spacing:2px;color:#d5d9de}.viewer-tag i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#ff905c;box-shadow:0 0 12px #ff905c;margin-right:7px}.view-buttons{display:flex;gap:4px;background:#131820aa;padding:4px;border:1px solid #43505c;border-radius:4px}.view-buttons button{background:transparent;border:0;color:#a9b5c1;font-size:10px;font-weight:800;letter-spacing:1px;padding:9px 13px;border-radius:2px}.view-buttons button.view-active{color:#fff;background:#3a4653}.canvas-root{position:absolute;inset:0;z-index:1;touch-action:pan-y}.canvas-root canvas{display:block;width:100%;height:100%}.viewer-loading,.viewer-error{position:absolute;inset:0;z-index:3;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:36px;background:#191f27ed}.viewer-loading strong,.viewer-error b{letter-spacing:2.3px;font-size:12px;margin-top:22px}.viewer-loading span,.viewer-error p{font-size:12px;color:#c5ccd7;line-height:1.6;margin-top:11px}.viewer-error img{max-width:min(90%,660px);border-radius:7px;margin-top:13px}.loading-ring{width:46px;height:46px;border:3px solid #47505c;border-top-color:#fd9558;border-radius:50%;animation:spin .9s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.viewport-badge{position:absolute;left:28px;bottom:90px;font:800 9px/1 'DM Sans',Arial;letter-spacing:2px;color:#a5afbc;z-index:4}.viewport-badge span{color:#ff8e51;padding:0 7px}.viewer-bottom{position:absolute;bottom:0;left:0;right:0;padding:22px 28px;display:flex;align-items:center;justify-content:space-between;gap:14px;z-index:5;background:linear-gradient(0deg,#12161df5,#12161d10)}.control-help{font-size:10px;color:#a4aeb9}.control-help b{font-weight:700;padding:0 6px;color:#fa8c57}.icon-button{color:#dedee1;background:#252d37e6;border:1px solid #4d5b66;padding:10px 13px;display:flex;gap:8px;align-items:center;font-size:19px}.icon-button span{font-size:10px;letter-spacing:1px;font-weight:800}.config-panel{display:flex;flex-direction:column;min-width:0;background:#22252b;border-left:1px solid #41454d}.config-head{display:flex;align-items:center;justify-content:space-between;padding:26px 27px 24px;border-bottom:1px solid #393d45}.config-head small{font-size:10px;letter-spacing:2.4px;color:#f88c55;font-weight:800}.config-head h2{margin:6px 0 0;font:800 29px/1 'Barlow Condensed',Impact,sans-serif;letter-spacing:1px}.config-head h2 span{color:#f7935b}.config-index{color:#747d87;font-size:10px;font-weight:800;letter-spacing:1px}.config-scroll{flex:1;min-height:0;overflow:auto;scrollbar-color:#545964 transparent}.setting{padding:22px 27px 26px;border-bottom:1px solid #393d43}.setting-head{display:flex;align-items:start;gap:13px;margin-bottom:17px}.step{font:800 12px/1 'DM Sans',Arial;color:#f9945e;border:1px solid #644432;width:29px;height:29px;display:grid;place-items:center;flex:none}.setting-head h3{font-size:11px;line-height:1.2;letter-spacing:1.6px;margin:2px 0 6px}.setting-head p{font-size:11px;color:#999fa9;margin:0}.selected-model{display:flex;align-items:center;gap:12px;background:#2e343d;border:1px solid #4a5563;padding:13px 11px;border-radius:4px}.selected-model-icon{font:900 24px/1 'Barlow Condensed',sans-serif;color:#f5f1ee}.selected-model-icon span{font-size:13px;color:#f48e59}.selected-model strong{display:block;font-size:10px;letter-spacing:.35px}.selected-model small{display:block;color:#9babb8;font-size:9px;margin-top:6px}.selected-model .check{margin-left:auto;color:#ff995b;font-size:18px}.choice-list{display:grid;gap:9px}.choice{display:flex;align-items:center;gap:13px;width:100%;text-align:left;color:#f0f2f3;background:#292d34;border:1px solid #464950;padding:12px;border-radius:4px}.choice.active{background:#39322e;border-color:#f18b54;box-shadow:inset 3px 0 #fb925a}.choice-icon{display:grid;place-items:center;width:35px;height:37px;color:#e5e8eb;background:#353a42;border:1px solid #535966;font-size:24px;flex:none}.choice.active .choice-icon{color:#ffad78;background:#4d3b35;border-color:#835940}.choice strong{font-size:10px;display:block;letter-spacing:1px}.choice small{display:block;color:#a5adb7;font-size:10px;margin-top:5px}.choice-radio{margin-left:auto;flex:none;border:1px solid #707a85;border-radius:100%;width:16px;height:16px}.choice.active .choice-radio{border:5px solid #fb925a;background:#22252b}.setting-row{display:flex;align-items:center;justify-content:space-between;margin-top:18px;gap:12px}.setting-row>span{font-size:10px;color:#d2d6db}.swatches{display:flex;gap:9px}.swatch{border:2px solid #4e5056;width:22px;height:22px;border-radius:50%;background:var(--swatch)}.swatch.active{outline:2px solid #ffa16d;outline-offset:2px}.barrel-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.barrel-head>strong{font:900 56px/.8 'Barlow Condensed',Impact,sans-serif;color:#ff995f}.barrel-head>strong span{font-size:32px;margin-left:2px}.barrel-head>div{text-align:right}.barrel-head>div span{display:block;font-size:16px;font-weight:800}.barrel-head>div small{font-size:8px;color:#adb4bc;letter-spacing:1.4px}.barrel-slider{appearance:none;display:block;width:100%;height:4px;margin:27px 0 13px;background:linear-gradient(90deg,#f38c54 0%,#f38c54 var(--range,50%),#555963 var(--range,50%),#555963 100%);border-radius:3px;cursor:pointer}.barrel-slider::-webkit-slider-thumb{appearance:none;width:18px;height:18px;border-radius:50%;background:#fd9a61;border:4px solid #22262b;outline:1px solid #f9a16c}.barrel-slider::-moz-range-thumb{width:15px;height:15px;border-radius:50%;background:#fd9a61;border:3px solid #22262b;box-shadow:0 0 0 1px #f9a16c}.barrel-marks{display:flex;justify-content:space-between;color:#8b949f;font-size:10px}.barrel-stepper{display:flex;align-items:center;justify-content:space-between;gap:4px;margin-top:19px}.barrel-stepper button{width:30px;height:30px;background:#343a43;border:1px solid #505a64;color:#f4f5f5;font-size:18px}.barrel-stepper label{font-size:8px;font-weight:800;letter-spacing:1.1px;color:#9da6b0;text-align:center}.panel-footer{padding:20px 27px 22px;border-top:1px solid #474950;background:#1b1e24}.config-specs{display:grid;grid-template-columns:repeat(3,1fr);margin-bottom:18px}.config-specs>div{display:flex;flex-direction:column;gap:6px;border-right:1px solid #40444c;padding-right:8px;padding-left:10px}.config-specs>div:first-child{padding-left:0}.config-specs>div:last-child{border:0}.config-specs span{font-size:9px;color:#999faa;letter-spacing:1.1px;font-weight:800}.config-specs strong{font-size:13px;white-space:nowrap}.action-row{display:flex;gap:8px}.primary-action,.secondary-action{height:50px;border:0;font-weight:900;letter-spacing:1px}.primary-action{flex:1;background:#ff995c;color:#191b1f;font-size:11px;display:flex;align-items:center;justify-content:center;gap:10px}.primary-action:first-letter{font-size:20px}.secondary-action{width:52px;font-size:21px;background:#31363f;color:#fff;border:1px solid #616872}.panel-footer>p{font-size:9px;color:#9aa2ae;line-height:1.5;margin:12px 0 0}.afterword{display:grid;grid-template-columns:1fr 1.1fr 120px;align-items:center;gap:25px;margin:46px 0;border-top:1px solid #36383e;border-bottom:1px solid #36383e;padding:31px 0}.micro{font-size:10px;font-weight:800;color:#fb9059;letter-spacing:2.3px}.afterword h2{font:900 47px/.87 'Barlow Condensed',Impact,sans-serif;margin:11px 0 0}.afterword h2 em{color:#fa8d59;font-style:normal}.afterword p{max-width:520px;font-size:12px;color:#9ca5b0;line-height:1.8}.afterword-index{text-align:right;font-size:10px;letter-spacing:2px;color:#858e99}footer{display:flex;justify-content:space-between;gap:18px;padding:0 0 34px;color:#747d87;font-size:9px;letter-spacing:1.4px;font-weight:800}@media(min-width:1350px){.workspace{grid-template-columns:minmax(0,1fr) 430px}.viewer{min-height:705px}.config-panel{max-height:705px}}@media(max-width:1100px){.workspace{grid-template-columns:minmax(0,1fr) 330px}.config-head,.setting,.panel-footer{padding-left:18px;padding-right:18px}.intro h1{font-size:80px}}@media(max-width:780px){.site-shell{padding:0 14px}.topbar{min-height:72px}.topbar-title{display:none}.badge{font-size:9px;padding:8px}.intro{padding:35px 0 27px}.intro h1{font-size:66px}.intro p{font-size:12px}.workspace{display:flex;flex-direction:column}.viewer{min-height:430px}.config-panel{border-left:none;border-top:1px solid #41454d}.config-scroll{overflow:visible}.config-head{padding:23px}.setting{padding:22px 23px}.panel-footer{padding:23px}.afterword{grid-template-columns:1fr}.afterword-index{display:none}.viewer-bottom{padding:15px}.viewer-toolbar{padding:16px}.control-help{max-width:250px;font-size:9px}.viewport-badge{bottom:67px;left:16px}}@media(max-width:480px){.brand-mark{font-size:35px}.brand-copy strong{font-size:15px}.brand-copy small{font-size:6px}.badge{letter-spacing:.5px}.intro h1{font-size:56px}.viewer{min-height:350px}.viewer-tag{letter-spacing:.6px;font-size:8px}.view-buttons button{font-size:8px;padding:8px}.icon-button span{display:none}.control-help{max-width:220px;font-size:8px}.afterword h2{font-size:40px}footer{font-size:8px}}

.fixed-black-color{color:#e9ebee;font-size:13px;font-weight:800;text-align:right}.fixed-black-color::first-letter{color:#18191c}
.choice-list{max-height:330px;overflow-y:auto;scrollbar-color:#465262 #171e27;scrollbar-width:thin}

/* Quick barrel presets and real CAD shroud integration. */
.barrel-presets{border-top:1px solid #3f4751;margin-top:16px;padding-top:14px}
.barrel-presets-label{font-size:9px;color:#c5cbd3;letter-spacing:1.2px;font-weight:800}
.barrel-preset-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:9px}
.barrel-preset-grid button{border:1px solid #505c6b;border-radius:5px;background:#29313b;color:#e3e7ef;min-height:36px;font-size:11px;font-weight:800}
.barrel-preset-grid button.active{background:#e58a52;border-color:#ffad79;color:#1f2227;box-shadow:inset 0 0 0 1px #ffba85}
.muzzle-builder-controls{padding:15px 12px 12px;margin-top:14px;background:#1e242c;border:1px solid #525f6d;border-radius:7px}
.muzzle-builder-intro{color:#c1c7ce;font-size:11px;line-height:1.65;margin:0 0 14px}
.muzzle-builder-intro a{color:#ffab7c;font-weight:800}
#muzzle-design-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.muzzle-control{display:flex;flex-direction:column;gap:6px;color:#c7ccd2;font-size:10px;font-weight:700;letter-spacing:.2px;min-width:0}
.muzzle-control select,.muzzle-control input{appearance:auto;background:#121922;color:#f6f7f8;border:1px solid #5f6c7a;min-height:38px;padding:7px 8px;border-radius:5px;width:100%;font-size:11px}
.muzzle-control input{appearance:textfield}
.muzzle-request-status{grid-column:1/-1;color:#f3b891;font-size:10px;line-height:1.6;min-height:0;margin:4px 0}
.muzzle-compat-note{grid-column:1/-1;font-size:10px;line-height:1.65;margin:2px 0 0;color:#bec6d0;border-top:1px solid #46515f;padding-top:11px}
.muzzle-compat-note strong{color:#f1b487}
@media(max-width:1100px){#muzzle-design-fields{grid-template-columns:1fr}}
@media(max-width:780px){#muzzle-design-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){#muzzle-design-fields{grid-template-columns:1fr}}

/* Clearly disclose reference-photo reconstruction. Not a manufacturer CAD part. */
.lower-presentation{margin-top:13px;border:1px solid #424d5a;background:#1c2229;padding:12px;border-radius:5px}
.lower-switch{width:100%;border:1px solid #b57952;background:#3b302b;color:#ffd0ad;
  font-size:10px;min-height:39px;font-weight:900;letter-spacing:.55px;border-radius:4px}
.lower-switch.active{border-color:#e89559;background:#544037;color:#fff}
.lower-presentation p{color:#adb7c2;font-size:10px;line-height:1.7;margin:9px 0 0}
.lower-presentation p strong{color:#f4bc94}

/* Photo-calibrated barrel protrusion, clearly separate from nominal barrel length. */
.barrel-overhang{margin-top:13px;padding:12px 13px;background:#20272e;border:1px solid #5b6470;border-left:3px solid #e99864;border-radius:5px}
.barrel-overhang>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
.barrel-overhang span{font-size:9px;letter-spacing:.65px;font-weight:850;color:#c7d1dc}
.barrel-overhang strong{font-size:16px;color:#ffc196;white-space:nowrap}
.barrel-overhang small{font-size:10px;line-height:1.65;display:block;color:#b8c4ce;margin-top:8px}
.barrel-preset-grid button[data-barrel-preset="11.25"]{border-color:#c18b61;color:#ffcca9}
.barrel-preset-grid button[data-barrel-preset="11.25"].active{background:#e58a52;color:#202229}
@media(max-width:480px){.barrel-overhang>div{align-items:start;flex-direction:column;gap:3px}}

.barrel-overhang .barrel-overhang-addon{margin-top:8px;padding-top:8px;border-top:1px solid #525d68}
.barrel-overhang .barrel-overhang-addon span{font-weight:700;color:#aab6c1}
.barrel-overhang .barrel-overhang-addon strong{font-size:13px;color:#ced9e3}
.barrel-overhang small strong{color:#ffc196;font-weight:700}

/* The four shapes within one uploaded STL are separate front options. */
.front-family-separator{border-top:1px solid #46515e;padding:15px 7px 5px;margin-top:4px;
 color:#f1af83;font-size:10px;font-weight:850;letter-spacing:.8px;line-height:1.5}
.front-cap-explainer{margin:0 2px 10px;padding:9px 12px;background:#242b34;
 border-left:2px solid #da9568;color:#c3cbd3;font-size:10px;line-height:1.6}

/* Buy only the selected canonical Shop FRONT. The parent Next.js page checks
   actual product/variant/price; no barrel, marker or Muzzle is sold here. */
.builder-commerce{margin-top:14px;padding:13px;border-radius:6px;border:1px solid #79604c;background:#2a2727}
.builder-commerce>strong{font-size:10px;letter-spacing:.8px;color:#feb88b;font-weight:900}
.builder-commerce>p{margin:8px 0 11px;font-size:12px;font-weight:750;color:#e6e7ec}
.builder-commerce-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.builder-commerce-actions button{min-height:44px;border-radius:5px;border:1px solid #eb9d63;color:#202026;background:#f4a06c;font-weight:900;font-size:10px;cursor:pointer;padding:9px}
.builder-commerce-actions button+button{background:transparent;color:#ffbf95}
.builder-commerce-actions button:disabled{opacity:.36;cursor:not-allowed}
.builder-commerce>a{display:block;text-align:center;color:#ffc9a6;text-decoration:underline;font-size:10px;margin:11px 0 10px}
.builder-commerce small{display:block;color:#b6c2ce;font-size:9px;line-height:1.7}
.builder-commerce small a{color:#ffc9a6;text-decoration:underline}
@media(max-width:380px){.builder-commerce-actions{grid-template-columns:1fr}}

/* November 2026 usability overhaul: one scroll area, larger model and
   three unmistakable Front / Lauf / Muzzle tabs. */
html.is-embedded{background:#171c23}
html.is-embedded body{background:#171c23}
html.is-embedded .site-shell{max-width:none;width:100%;padding:0}
html.is-embedded .topbar,
html.is-embedded .intro,
html.is-embedded .afterword,
html.is-embedded footer{display:none}
html.is-embedded .workspace{border:0;border-radius:0;box-shadow:none}
.workspace{grid-template-columns:minmax(0,1fr) minmax(470px,510px);height:940px;min-height:0}
.viewer{height:940px;min-height:0}
.config-panel{height:940px;max-height:none!important}
.config-head{padding:19px 23px 13px}
.config-head h2{font-size:28px}
.config-index{font-size:9px;color:#c5bdba}
.builder-step-navigation{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:7px;padding:12px 15px 13px;border-bottom:1px solid #3f4650;background:#20262f}
.builder-step-navigation button{display:flex;justify-content:center;align-items:center;gap:9px;min-height:47px;
 border:1px solid #4a5360;background:#303640;border-radius:7px;color:#d2dce7;
 font-size:13px;font-weight:850;letter-spacing:.15px}
.builder-step-navigation button span{display:grid;place-items:center;width:24px;height:24px;flex:none;
 background:#454e5c;color:#dee7f2;border-radius:50%;font-size:12px}
.builder-step-navigation button.active{background:#543b30;border-color:#f59a61;color:#fff5ee;box-shadow:inset 0 -3px #f39b63}
.builder-step-navigation button.active span{background:#f29a63;color:#22262d}
.builder-step-navigation button:focus-visible{outline:3px solid #ffb98f;outline-offset:2px}
.config-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable}
.config-scroll>.setting{padding:20px 17px}
.config-scroll>.setting[hidden]{display:none!important}
.setting-head{margin-bottom:14px}
.setting-head h3{font-size:14px;letter-spacing:.6px}
.setting-head p{font-size:12px;line-height:1.5}
.choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;gap:10px}
.choice{min-width:0;min-height:92px;padding:13px 11px;gap:9px;border-radius:7px;align-items:center}
.choice:hover{border-color:#d59b77}
.choice.active{box-shadow:inset 4px 0 #ff975a,0 0 0 1px #bd8058}
.choice strong{font-size:12px;font-weight:850;letter-spacing:.15px;line-height:1.45}
.choice small{font-size:11px;line-height:1.4;color:#b8c3cf;margin-top:5px}
.choice-icon{width:32px;height:34px;font-size:19px}
.choice-radio{width:17px;height:17px}
.choice-list [data-front="none"],.front-family-separator,.front-cap-explainer{grid-column:1/-1}
.front-family-separator{font-size:11px;line-height:1.5}
.front-cap-explainer{font-size:11px;line-height:1.65}
.panel-footer{flex:none;padding:14px 18px 15px}
.config-specs{margin-bottom:12px}
.config-specs strong{font-size:12px;white-space:normal;line-height:1.35}
.builder-commerce{margin-top:7px;padding:12px}
.builder-commerce>strong{font-size:11px}
.builder-commerce>p{font-size:12px}
.builder-commerce-actions button{font-size:12px;min-height:49px}
.builder-commerce>a{margin:9px 0}
.builder-commerce small{font-size:10px;line-height:1.5}
.panel-buy-help{display:none}
.panel-footer>p{font-size:10px;margin:6px 0 0}
.viewer-toolbar{gap:12px;padding:22px;flex-wrap:wrap}
.viewer-toolbar-actions{display:flex;gap:6px;align-items:center}
.viewer-toolbar-actions button{border:1px solid #586673;background:#303945e5;
 color:#f0f2f5;border-radius:5px;min-height:39px;padding:9px 12px;font-size:11px;font-weight:800}
.viewer-toolbar-actions button:hover{border-color:#f8a778;color:#ffc29a}
.viewer-bottom{gap:12px;flex-wrap:wrap}
.viewer-bottom .lower-switch{width:auto;max-width:215px;min-height:39px;padding:8px 12px;flex:none;letter-spacing:0;font-size:10px}
.viewer:fullscreen{height:100vh!important;width:100vw;min-height:0;border:0;border-radius:0}
.viewer:fullscreen #canvas-root{inset:0}
.viewer:fullscreen .viewer-toolbar{padding:25px}
.viewer:fullscreen .viewer-bottom{padding:25px}
@media(max-width:1150px){
 .workspace{grid-template-columns:minmax(0,1fr) minmax(410px,460px)}
 .viewer-toolbar .viewer-tag{font-size:9px;letter-spacing:1px}
 .viewer-toolbar-actions button{padding:8px 9px}
}
@media(max-width:960px){
 .workspace{display:flex;flex-direction:column;height:auto;overflow:visible}
 .viewer{height:470px;min-height:470px}
 .config-panel{height:620px;min-height:620px;border-top:1px solid #41454d;border-left:0}
 .config-scroll{overflow-y:auto}
 .config-head{padding:16px 18px 9px}
 .viewer-bottom{padding:12px}
 .viewer-toolbar{padding:13px}
}
@media(max-width:550px){
 .viewer{height:410px;min-height:410px}
 .config-panel{height:650px;min-height:650px}
 .choice-list{grid-template-columns:1fr}
 .choice-list [data-front="none"],.front-family-separator,.front-cap-explainer{grid-column:1}
 .choice{min-height:62px}
 .choice small{font-size:11px}
 .viewer-toolbar-actions button{font-size:10px}
 .viewer-toolbar{gap:6px}
 .viewer-tag{display:none}
 .viewer-bottom .lower-switch{max-width:165px;font-size:9px}
 .viewer-bottom .control-help{display:none}
}

/* Fourth optional step: original in-barrel Barrelplug and 12 photographed tags. */
.builder-step-navigation{grid-template-columns:repeat(5,minmax(0,1fr))}
.builder-step-navigation button{gap:5px;min-width:0;font-size:11px;padding:7px 4px}
.builder-step-navigation button span{width:20px;height:20px;font-size:11px}
.config-specs{grid-template-columns:repeat(5,minmax(0,1fr))}
.config-specs strong{font-size:11px;overflow-wrap:anywhere}
.plug-builder-tip{font-size:12px;color:#d7dee6;line-height:1.65;
  border-left:3px solid #f49861;background:#242b35;padding:10px 12px;margin:0 0 15px}
.plug-builder-tip strong{color:#ffc59b}
.plug-choice-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.plug-choice-list>[data-plug="none"]{grid-column:1/-1;min-height:63px}
.plug-choice{display:grid;grid-template-columns:100px minmax(0,1fr) 14px;
  gap:8px;align-items:center;text-align:left;min-height:104px;padding:8px}
.plug-choice img{width:100px;height:74px;max-width:100%;object-fit:cover;
  background:#20252a;border:1px solid #484f58;border-radius:4px}
.plug-choice strong{font-size:11px;font-weight:850;line-height:1.45}
.plug-choice small{font-size:10px;line-height:1.4;margin-top:5px}
.plug-choice .choice-radio{width:15px;height:15px}
/* Keep the owner's 13th two-sided photo framed like the other black-backed thumbnails. */
#remove-pewpew-thumb{object-fit:contain;background:#0f141b}
.plug-compat-note{margin:15px 0 5px;padding:11px 13px;font-size:11px;
  line-height:1.6;background:#20272f;border:1px solid #505c6c;border-radius:5px;color:#bdcbd8}
.plug-commerce{margin-top:5px}
.plug-commerce .builder-commerce-actions button{font-size:11px}
@media(max-width:1150px){.plug-choice-list{grid-template-columns:1fr}.plug-choice-list>[data-plug="none"]{grid-column:1}}
@media(max-width:960px){.plug-choice-list{grid-template-columns:repeat(2,minmax(0,1fr))}.plug-choice-list>[data-plug="none"]{grid-column:1/-1}}
@media(max-width:570px){
 .builder-step-navigation{gap:4px;padding:9px 9px}
 .builder-step-navigation button{font-size:10px;min-height:43px;gap:3px}
 .builder-step-navigation button span{width:18px;height:18px;font-size:10px}
 .plug-choice-list{grid-template-columns:1fr}
 .plug-choice-list>[data-plug="none"]{grid-column:1}
 .plug-choice{grid-template-columns:115px minmax(0,1fr) 15px}
 .plug-choice img{width:115px}
}

/* Fifth step: original Picatinny grip right beside the photo-calibrated magwell. */
.grip-choice-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.grip-choice-list .choice{min-height:118px}
.grip-builder-tip,.grip-compat-note{padding:13px 15px;border-radius:6px;font-size:12px;line-height:1.7;color:#d9e0e8;background:#252d37;border:1px solid #4a5b6b}
.grip-builder-tip{border-left:3px solid #f19a62}
.grip-compat-note{color:#b7c7d5}
.grip-shop-link{display:inline-flex;padding:12px 15px;border:1px solid #f19a62;border-radius:5px;color:#ffbb8c;font-size:12px;font-weight:850;text-decoration:none}
.grip-shop-link:hover{background:#42332e}
.grip-commerce .builder-commerce-actions button{font-size:11px}
.config-specs{gap:0}
@media(max-width:600px){
 .builder-step-navigation{grid-template-columns:repeat(3,minmax(0,1fr))}
 .builder-step-navigation button{padding:8px 5px;font-size:10px;gap:4px}
 .grip-choice-list{grid-template-columns:1fr}
 .config-specs{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:10px}
}

/* Foregrip 1551: its original STL has three preview colors; black is default.
   Shop catalog currently sells only "Standard" – never imply these are SKUs. */
.grip-color-section{margin-top:14px;background:#1b222a;border:1px solid #535f6d;
 border-radius:7px;padding:14px}
.grip-color-section>strong{display:block;color:#f3b991;font-size:11px;
 font-weight:900;letter-spacing:.7px;margin-bottom:11px}
.grip-color-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.grip-color-button{display:flex;align-items:center;justify-content:center;gap:6px;
 padding:10px 7px;border:1px solid #56606d;border-radius:5px;background:#29323b;
 color:#dce4e9;font-weight:750;font-size:11px;min-height:44px}
.grip-color-button.active{background:#503b32;color:#ffe0c9;border:2px solid #f29b66}
.grip-swatch{display:inline-block;flex:none;width:20px;height:20px;border-radius:50%;
 border:1px solid #ffffff66;box-shadow:inset 0 0 0 1px #0006}
.grip-swatch-black{background:#24272d}.grip-swatch-sand{background:#bba17f}
.grip-swatch-olive{background:#47503f}
.grip-color-section>small{display:block;color:#b7c4d1;font-size:10px;line-height:1.6;margin-top:11px}
.plug-muzzle-display-note{position:absolute;z-index:4;right:22px;top:87px;
 max-width:min(365px,75%);border:1px solid #dc9266;border-left:4px solid #e99361;
 border-radius:5px;background:#1e252df0;padding:10px 12px;text-align:right;
 color:#ffba8b;font-weight:850;font-size:10px;letter-spacing:.3px;line-height:1.6;
 pointer-events:none}
.plug-muzzle-display-note small{font-size:10px;font-weight:500;color:#d2dee8;letter-spacing:0}
@media(max-width:650px){
 .grip-color-choices{grid-template-columns:1fr}
 .plug-muzzle-display-note{top:92px;right:8px;max-width:80%;font-size:9px}
}

/* November 28: simple swipeable step strip instead of seven cramped columns.
 * Buttons >=44px, keyboard navigation already supported in viewer.js. */
.builder-step-navigation{
 display:flex;grid-template-columns:none;overflow-x:auto;overflow-y:hidden;
 overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:thin;
 white-space:nowrap;gap:6px;scroll-padding-left:10px
}
.builder-step-navigation button{flex:0 0 auto;min-width:95px;min-height:47px;
 scroll-snap-align:start;gap:7px;padding:8px 11px;font-size:12px}
.builder-step-navigation button:last-child{min-width:112px}
.builder-mobile-progress{display:grid;grid-template-columns:50px minmax(0,1fr) minmax(0,1fr);
 gap:8px;align-items:center;margin-bottom:10px}
.builder-mobile-progress span{font-size:11px;font-weight:850;color:#ffb48c}
.builder-mobile-progress button{min-height:44px;border:1px solid #637081;
 background:#29333d;color:#edf4f9;border-radius:6px;font-size:11px;font-weight:800}
.builder-mobile-progress #builder-next-step{background:#e99a66;border-color:#ffbf8f;color:#212229}
.builder-mobile-progress button:disabled{opacity:.4}
.config-specs{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:8px}
.config-specs>div{min-width:0}
.config-specs strong{overflow-wrap:anywhere;white-space:normal}
.feedtube-colors{margin:15px 0;background:#242d36;border:1px solid #526170;
 border-radius:7px;padding:12px}
.feedtube-colors>strong{display:block;margin:11px 0 9px;color:#ffba8c;
 font-size:11px;letter-spacing:.45px}
.feedtube-swatches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.feedtube-swatches button{min-height:45px;border-radius:6px;background:#303a44;
 color:#e4edf3;border:1px solid #576577;font-size:11px;font-weight:750;line-height:1.3}
.feedtube-swatches button.active{border-color:#f3a26b;box-shadow:inset 3px 0 #f3a26b;
 background:#48382f;color:#ffe0cd}
.feedtube-position-details{padding:12px;margin-top:10px;border:1px solid #5c6878;
 border-radius:6px;background:#1b242e}
.feedtube-position-details summary{cursor:pointer;font-weight:800;font-size:12px;color:#ffc098;min-height:30px}
.feedtube-position-details p{font-size:11px;line-height:1.65;color:#c8d5e0}
.feedtube-position-details label{display:flex;flex-direction:column;gap:10px;
 margin:13px 0;font-size:12px;color:#d2dfe8}
.feedtube-position-details input{width:100%;accent-color:#f29a64}
.feedtube-availability{margin:12px 0;color:#c9d4df;font-size:11px;
 line-height:1.65;border-left:3px solid #f2ab7f;background:#262d36;padding:10px 13px}
.bundle-price-overview{border:1px solid #c08b65;border-radius:8px;
 padding:16px;background:#302b2b;margin-bottom:15px}
.bundle-price-overview>span{display:block;font-size:10px;color:#ffbd8f;
 font-weight:900;letter-spacing:.5px}
.bundle-price-overview>strong{display:block;font:900 34px/1.2 'Barlow Condensed',sans-serif;
 color:#ffe0c8;margin:10px 0}
.bundle-price-overview>small{color:#d7dee5;font-size:11px;line-height:1.65;display:block}
.bundle-summary-lines{list-style:none;padding:0;margin:0 0 15px}
.bundle-summary-lines li{display:flex;gap:15px;justify-content:space-between;
 padding:12px 0;border-bottom:1px solid #495563;font-size:12px;color:#d5e0e8}
.bundle-summary-lines li strong{white-space:nowrap;color:#ffbb91}
.bundle-cart-button,.summary-preview-jump{display:block;width:100%;min-height:50px;
 border-radius:6px;padding:12px;margin:8px 0;border:1px solid #f0a56f;
 font-size:12px;font-weight:850;background:#f09a61;color:#1b2026}
.summary-preview-jump{background:#26313b;color:#f8c7a0}
@media(max-width:960px){
 html.is-embedded .workspace{height:auto!important;min-height:0!important;
  display:flex!important;flex-direction:column}
 html.is-embedded .viewer{height:clamp(310px,44vh,440px)!important;min-height:310px!important;
  flex:none}
 html.is-embedded .config-panel{height:auto!important;max-height:none!important;
  min-height:0!important;display:flex}
 html.is-embedded .config-scroll{flex:none!important;min-height:0!important;
  overflow:visible!important}
 html.is-embedded .panel-footer{flex:none}
 html.is-embedded .choice-list{max-height:none!important;overflow:visible!important}
 .builder-step-navigation{flex-wrap:nowrap;grid-template-columns:none}
 .builder-step-navigation button{flex:0 0 auto;min-width:103px;min-height:50px}
}
@media(max-width:550px){
 .builder-step-navigation{gap:6px;padding:9px 10px}
 .builder-step-navigation button{font-size:11px;min-width:109px;padding:8px 10px}
 .builder-step-navigation button span{font-size:11px;width:21px;height:21px}
 .feedtube-swatches{grid-template-columns:repeat(2,minmax(0,1fr))}
 .config-scroll>.setting{padding:15px 12px}
 .panel-footer{padding:12px}
}
@media(prefers-reduced-motion:reduce){
 .builder-step-navigation{scroll-behavior:auto!important}
}


/* On touchscreens a vertical swipe over the 3D model must still scroll the
   shop page; horizontal drag is available for orbiting the marker. */
@media(pointer:coarse) and (max-width:960px){
 .canvas-root canvas{touch-action:pan-y!important}
 .builder-step-navigation{touch-action:pan-x;overscroll-behavior-x:contain}
}

/* Feedtube colored indicator and Barrelplug insertion are optional 3D demos.
 * Large touch targets, no moving CSS; the actual mesh animation is rendered
 * only while visible and chosen. */
.loadout-motion-demo{margin:12px 0 14px;padding:13px 14px;
 border:1px solid #677687;border-radius:7px;background:#212b35}
.motion-demo-header{display:flex;flex-wrap:wrap;gap:5px 12px;
 justify-content:space-between;align-items:center;margin-bottom:10px}
.motion-demo-header strong{font-size:11px;color:#f2b88b;font-weight:900;letter-spacing:.45px}
.motion-demo-header span{font-size:10px;font-weight:700;color:#b0c0cc}
.motion-demo-button{width:100%;min-height:48px;padding:10px 14px;
 background:#49352b;color:#ffe0c6;border:1px solid #efab7b;border-radius:6px;
 font-size:12px;font-weight:850;cursor:pointer}
.motion-demo-button[aria-pressed="true"]{background:#31473e;
 border-color:#91c0a4;color:#e0f9e9}
.motion-demo-button:disabled{opacity:.45;cursor:not-allowed}
.motion-demo-button:focus-visible{outline:3px solid #ffde9d;outline-offset:3px}
.motion-demo-status{font-size:12px;font-weight:750;color:#e2eef7;margin:10px 0 5px}
.loadout-motion-demo>small{display:block;color:#bfccd9;font-size:11px;line-height:1.65}
@media(max-width:550px){
 .loadout-motion-demo{padding:13px 11px}
 .motion-demo-button{min-height:52px;font-size:12px}
 .motion-demo-header{gap:5px}
}


/* Mobile redesign: the viewer and current choices share ONE phone screen.
 * The previous ever-growing iframe + 13 long single-column tag cards meant
 * the user couldn't see the 3D animation while changing a part.
 * Keep desktop styling untouched; the embedded phone gets a fixed canvas
 * and one independently scrollable choices area with clear next/back.
 */
.plug-motif-heading{font-size:11px;letter-spacing:.65px;color:#f3b58a;
 font-weight:850;margin:14px 0 10px}
@media(max-width:960px){
 html.is-embedded,html.is-embedded body{height:100%;max-height:100%;
  overflow:hidden!important}
 html.is-embedded .site-shell,html.is-embedded main{height:100%;min-height:0;
  overflow:hidden!important}
 html.is-embedded .site-shell{padding:0}
 html.is-embedded .workspace{
  height:100%!important;max-height:100%!important;min-height:0!important;
  display:flex!important;flex-direction:column!important;overflow:hidden!important;
  border:0!important;border-radius:0!important;
 }
 html.is-embedded .viewer{
  flex:0 0 clamp(250px,40%,360px)!important;
  height:clamp(250px,40%,360px)!important;min-height:0!important;
  overflow:hidden;position:relative
 }
 html.is-embedded .config-panel{
  flex:1 1 0!important;height:auto!important;min-height:0!important;
  overflow:hidden!important;border:0;border-top:1px solid #515d69;
  display:flex!important;flex-direction:column!important
 }
 html.is-embedded .config-head{
  flex:0 0 auto;min-height:39px;padding:7px 13px 5px;
  border-bottom:0
 }
 html.is-embedded .config-head small{font-size:9px;letter-spacing:1px}
 html.is-embedded .config-head h2{font-size:21px;margin-top:2px}
 html.is-embedded .config-index{font-size:9px}
 html.is-embedded .builder-step-navigation{
  flex:0 0 auto;display:flex!important;flex-wrap:nowrap!important;
  gap:5px;padding:6px 10px 8px;overflow-x:auto;overflow-y:hidden;
  scroll-snap-type:x proximity;min-height:55px
 }
 html.is-embedded .builder-step-navigation button{
  flex:0 0 auto;min-width:112px;min-height:44px;padding:8px;
  font-size:11px;scroll-snap-align:start
 }
 html.is-embedded .config-scroll{
  flex:1 1 0!important;min-height:0!important;max-height:none!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;
  touch-action:pan-y;scrollbar-width:thin
 }
 html.is-embedded .config-scroll>.setting{padding:13px 12px 20px!important}
 html.is-embedded .setting-head{margin-bottom:11px}
 html.is-embedded .setting-head h3{font-size:14px}
 html.is-embedded .choice-list{
  grid-template-columns:repeat(2,minmax(0,1fr));max-height:none!important;
  overflow:visible!important;gap:8px
 }
 html.is-embedded .choice{min-height:68px;padding:10px;gap:7px}
 html.is-embedded .choice strong{font-size:11px;line-height:1.3}
 html.is-embedded .choice small{font-size:10px;line-height:1.35}
 html.is-embedded .choice-icon{width:25px;height:29px;font-size:16px}
 html.is-embedded .plug-builder-tip{margin-bottom:8px;font-size:11px;
  padding:8px 10px;line-height:1.45}
 html.is-embedded .plug-choice-list{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px
 }
 html.is-embedded .plug-choice-list>[data-plug="none"]{grid-column:1/-1;min-height:47px}
 html.is-embedded .plug-choice{
  display:flex;flex-direction:column;align-items:stretch;
  min-height:104px;padding:8px;gap:6px
 }
 html.is-embedded .plug-choice img{width:100%;height:59px;object-fit:contain;
  border-radius:5px}
 html.is-embedded .plug-choice>span:nth-of-type(1){min-width:0}
 html.is-embedded .plug-choice strong{font-size:11px;line-height:1.25}
 html.is-embedded .plug-choice small,html.is-embedded .plug-choice .choice-radio{display:none}
 html.is-embedded .plug-choice.active{outline:2px solid #ffb081;
  outline-offset:-2px;background:#46362d}
 html.is-embedded .plug-motif-heading{margin:11px 0 7px}
 html.is-embedded .loadout-motion-demo{padding:9px 11px;margin:7px 0 9px}
 html.is-embedded .motion-demo-header{margin-bottom:6px}
 html.is-embedded .motion-demo-header strong{font-size:10px}
 html.is-embedded .motion-demo-button{min-height:44px}
 html.is-embedded .loadout-motion-demo>small{font-size:10px;line-height:1.45}
 html.is-embedded .motion-demo-status{font-size:11px;margin:6px 0 3px}
 html.is-embedded .panel-footer{
  flex:0 0 auto!important;max-height:145px;overflow:hidden;
  padding:7px 10px 8px!important;background:#1b232c;
  border-top:1px solid #5e6874
 }
 html.is-embedded .builder-mobile-progress{margin:0;gap:6px;
  grid-template-columns:44px minmax(0,1fr) minmax(0,1fr)}
 html.is-embedded .builder-mobile-progress button{min-height:43px;
  font-size:11px;padding:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 html.is-embedded .config-specs,html.is-embedded .panel-buy-help,
 html.is-embedded .panel-footer>p{display:none!important}
 html.is-embedded .builder-commerce{padding:5px 0 0;margin:3px 0 0;
  border:0;background:transparent;min-height:0}
 html.is-embedded .builder-commerce>p,html.is-embedded .builder-commerce>a,
 html.is-embedded .builder-commerce>small{display:none}
 html.is-embedded .builder-commerce>strong{font-size:10px;color:#ffb28a;
  display:block;margin:0 0 4px}
 html.is-embedded .builder-commerce-actions{display:flex;gap:6px}
 html.is-embedded .builder-commerce-actions button{flex:1;min-height:40px;
  font-size:11px;padding:8px 9px}
 html.is-embedded .builder-commerce-actions button:not(:first-child){display:none}
 html.is-embedded .viewer-toolbar{padding:8px 9px;gap:5px}
 html.is-embedded .viewer-toolbar-actions{gap:4px}
 html.is-embedded .viewer-toolbar-actions button{font-size:10px;min-height:37px;
  padding:7px}
 html.is-embedded #save-image{display:none}
 html.is-embedded .viewer-bottom{padding:7px 9px;gap:5px}
 html.is-embedded .viewer-bottom .lower-switch{max-width:none;min-height:38px;
  font-size:10px;padding:6px 9px}
 html.is-embedded .icon-button{min-height:38px;font-size:16px;padding:6px 9px}
 html.is-embedded .icon-button span{font-size:9px;display:inline}
 html.is-embedded .viewport-badge{display:none}
 html.is-embedded .plug-muzzle-display-note{display:none!important}
 html.is-embedded .canvas-root{touch-action:none!important}
 html.is-embedded .canvas-root canvas{touch-action:none!important}
}
@media(max-width:400px){
 html.is-embedded .builder-step-navigation button{min-width:100px}
 html.is-embedded .viewer-toolbar-actions #share-config{font-size:0;min-width:35px}
 html.is-embedded #share-config::after{content:'↗';font-size:18px}
 html.is-embedded .view-buttons button{padding:8px 9px;font-size:10px}
 html.is-embedded .viewer-bottom .lower-switch{font-size:9px}
}


/* Fullscreen must override the compact mobile split layout (otherwise an
 * iPhone would open a 320px "fullscreen" viewer). */
@media(max-width:960px){
 html.is-embedded .viewer:fullscreen{
  height:100dvh!important;min-height:100dvh!important;
  width:100vw!important;flex:1 1 100dvh!important;border:0
 }
}


/* Complete bill of visual parts: includes selected Muzzle, original feedtube,
 * barrel, marker, and purchasable parts. A dash is NEVER a zero-euro price. */
.bundle-full-heading{font-size:11px;color:#ffb78c;letter-spacing:.65px;
 font-weight:900;margin:17px 0 5px}
.bundle-summary-lines{margin:0 0 13px}
.bundle-summary-lines li{display:flex;align-items:center;justify-content:space-between;
 gap:14px;padding:11px 2px;min-height:56px}
.bundle-summary-detail{display:flex;flex-direction:column;align-items:flex-start;
 flex:1 1 0;min-width:0;gap:4px}
.bundle-summary-lines li .bundle-summary-detail>strong{font-size:11px;
 color:#e5eef7;font-weight:900;white-space:normal;letter-spacing:.2px}
.bundle-summary-detail>span{font-size:12px;font-weight:750;color:#f3f5f7;
 line-height:1.35;overflow-wrap:anywhere}
.bundle-summary-detail>small{font-size:10px;font-weight:600;color:#aebecd;
 line-height:1.3}
.bundle-summary-lines li .bundle-summary-amount{font-size:13px;
 font-weight:850;color:#ffb78b;white-space:nowrap;text-align:right}
.bundle-summary-lines .bundle-preview-only .bundle-summary-amount{color:#98a9b9}
.bundle-summary-lines .bundle-unselected .bundle-summary-detail>span{
 color:#93a0ad;font-weight:500}
.bundle-not-included{font-size:11px;line-height:1.55;color:#c2d0db;
 border-left:3px solid #f0a16d;background:#242d38;
 padding:10px 11px;margin:13px 0 10px}
.bundle-preview-links{display:flex;flex-wrap:wrap;gap:8px 14px;margin:10px 0 15px}
.bundle-preview-links a{font-size:11px;color:#ffbc8f;text-decoration:underline;
 text-underline-offset:3px;font-weight:700}
@media(max-width:960px){
 html.is-embedded .bundle-summary-lines li{min-height:53px;padding:9px 1px}
 html.is-embedded .bundle-summary-detail>span{font-size:12px}
 html.is-embedded .bundle-full-heading{margin:12px 0 4px}
 html.is-embedded .bundle-preview-links a{min-height:32px;
  display:inline-flex;align-items:center}
}


/* Guided EMF100 editor – only one component at a time.
 * This deliberately overrides the previous seven-button tab bar on desktop
 * AND mobile. An invisible legacy tab list remains solely for DOM compatibility. */
.builder-step-navigation[hidden],html.is-embedded .builder-step-navigation[hidden]{
 display:none!important;visibility:hidden!important
}
.wizard-progress{flex:0 0 auto;padding:12px 18px 13px;background:#212b36;
 border-bottom:1px solid #52616f}
.wizard-progress-head{display:flex;align-items:center;justify-content:space-between;
 gap:12px;margin-bottom:10px}
.wizard-progress-head span{font-size:11px;font-weight:900;color:#f5aa77;
 letter-spacing:.7px;white-space:nowrap}
.wizard-progress-head strong{font-size:13px;font-weight:900;letter-spacing:.3px;
 color:#f2f6fb;text-align:right}
.wizard-progress-track{height:5px;overflow:hidden;border-radius:99px;background:#495563}
.wizard-progress-track span{display:block;height:100%;background:#eea06c;
 border-radius:99px;transition:width .22s ease}
.panel-footer>.config-specs,.panel-footer>.builder-commerce{display:none!important}
.panel-footer{display:flex;flex-direction:column;gap:10px;
 padding:13px 17px 15px!important}
.wizard-action-row{display:grid;grid-template-columns:1fr 1fr;gap:9px}
.wizard-action-row.wizard-final{grid-template-columns:1fr}
.wizard-action-row button{min-width:0;min-height:54px;border-radius:7px;
 padding:10px 9px;font-size:11px;font-weight:900;line-height:1.33;
 letter-spacing:.1px;white-space:normal;overflow-wrap:anywhere}
.wizard-buy{background:#2c343d;color:#ffca9e;border:1px solid #b5815c}
.wizard-buy:not(:disabled){background:#354137;border-color:#a6cbad;color:#e7fbe9}
.wizard-buy:disabled{color:#a8b5c1;border-color:#536273;background:#303944;opacity:.7}
.wizard-next{background:#eda16d;color:#192027;border:1px solid #ffca9c}
.wizard-action-row button:focus-visible,.wizard-back:focus-visible{
 outline:3px solid #ffc39a;outline-offset:2px}
.wizard-under-actions{display:flex;align-items:center;gap:10px;min-height:24px}
.wizard-back{background:transparent;color:#dbe6f0;border:0;
 font-size:11px;font-weight:900;min-width:76px;min-height:36px;padding:5px 0;
 text-align:left;flex:0 0 auto}
.wizard-back:disabled{opacity:.3}
.wizard-under-actions small{color:#b6c8d7;font-size:10px;line-height:1.45}
#bundle-cart-add{display:none!important} /* pinned guided CTA replaces duplicate */
@media(max-width:960px){
 html.is-embedded .config-head{padding:8px 12px 6px}
 html.is-embedded .wizard-progress{padding:9px 12px 10px}
 html.is-embedded .wizard-progress-head{margin-bottom:7px}
 html.is-embedded .wizard-progress-head span{font-size:10px}
 html.is-embedded .wizard-progress-head strong{font-size:12px}
 html.is-embedded .wizard-progress-track{height:4px}
 html.is-embedded .panel-footer{max-height:none!important;overflow:visible!important;
  flex:0 0 auto!important;padding:9px 11px 10px!important;gap:5px}
 html.is-embedded .wizard-action-row{gap:7px}
 html.is-embedded .wizard-action-row button{min-height:48px;font-size:11px;
  padding:7px 6px}
 html.is-embedded .wizard-under-actions{gap:6px}
 html.is-embedded .wizard-under-actions small{font-size:9px;line-height:1.35}
 html.is-embedded .wizard-back{font-size:10px;min-width:67px;min-height:31px}
 html.is-embedded .config-scroll{overscroll-behavior-y:contain}
}
@media(max-width:385px){
 html.is-embedded .wizard-action-row button{font-size:10px}
 html.is-embedded .wizard-under-actions small{font-size:8.5px}
}
@media(prefers-reduced-motion:reduce){
 .wizard-progress-track span{transition:none}
}

/* Single-source NAS Muzzle checkout – current original CAD price + 10% admin buffer. */
.muzzle-instant-quote{display:flex;flex-direction:column;gap:10px;
 border:1px solid #d69867;border-radius:8px;background:#272e36;
 padding:14px;margin:14px 0}
.muzzle-instant-quote>strong:first-child{color:#ffd2ab;letter-spacing:.4px;font-size:12px}
.muzzle-instant-quote>p{margin:0;line-height:1.55;color:#d4dfe8;font-size:11px}
.muzzle-quote-inputs{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.muzzle-quote-inputs select,.muzzle-quote-inputs input{width:100%;min-height:42px;
 color:#f5f8fa;background:#1d242d;border:1px solid #687383;border-radius:5px;padding:8px}
.muzzle-quote-button{min-height:49px;width:100%;border:1px solid #ffbb87;
 border-radius:6px;background:#ed9e66;color:#1c2530;font-size:12px;font-weight:900}
.muzzle-quote-button:disabled{opacity:.45;cursor:wait}
.muzzle-instant-quote>strong#muzzle-checkout-price{font-size:31px;color:#ffcd9f}
.muzzle-instant-quote>small{font-size:10px;line-height:1.55;color:#cad5e0}
@media(max-width:550px){.muzzle-instant-quote{padding:12px 10px}
 .muzzle-quote-inputs{gap:7px}}

/* Focused seven-step interface: intentionally short labels, no technical essays. */
.front-design-types{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:4px 0 13px}
.front-design{min-height:56px;padding:8px 5px;border-radius:7px;border:1px solid #54606d;background:#2a303a;color:#e7edf3;font-size:11px;font-weight:850;cursor:pointer}
.front-design.active{background:#574137;border-color:#f2a16f;color:#ffd2b2}
[data-front-group][hidden]{display:none!important}
#builder-panel-barrel .barrel-marks,#builder-panel-barrel .barrel-stepper label{color:#a5b2c0}
#builder-panel-front .front-family-separator{display:none}
#builder-panel-summary .setting-head p{display:none}
#builder-panel-feedtube .setting-head p,#builder-panel-plug .setting-head p,#builder-panel-grip .setting-head p{display:none}
@media(max-width:500px){.front-design{font-size:10px;min-height:48px}}

/* Uploaded no-hole CAD models and M22 standard designs */
#builder-panel-front .choice[data-front-group]{min-height:52px;padding:9px 11px}
#builder-panel-front .choice[data-front-group] strong{font-size:12px;line-height:1.3}
#builder-panel-muzzle .choice-list .choice{min-height:60px}
.front-design:disabled{opacity:.65;cursor:not-allowed}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* EMF100 focused barrel selector: only length, slider and presets. */
body.wizard-step-barrel .wizard-buy{display:none!important}
body.wizard-step-barrel .wizard-action-row{grid-template-columns:1fr!important}
#builder-panel-barrel .barrel-head{justify-content:center;margin:8px 0 22px}
#builder-panel-barrel .barrel-head>strong{font-size:clamp(34px,5vw,54px)}
#builder-panel-barrel .barrel-presets{margin-top:24px}
#builder-panel-barrel .barrel-preset-grid{gap:9px}
#builder-panel-barrel .barrel-preset-grid button{min-height:43px}

/* Desktop iframe fills its own viewport; Next/Back always remain visible at the bottom. */
@media(min-width:961px){
 html.is-embedded .workspace{height:100dvh!important;min-height:0!important}
 html.is-embedded .viewer,html.is-embedded .config-panel{height:100dvh!important;min-height:0!important;max-height:none!important}
 html.is-embedded .config-scroll{flex:1 1 auto;min-height:0;overflow-y:auto}
 html.is-embedded .panel-footer{flex:0 0 auto;position:relative;z-index:4}
}

/* Restore the original animated barrel plug with one compact pause/start action. */
.plug-animation-controls{display:flex;align-items:center;gap:10px;margin:6px 0 14px;padding:9px 10px;border:1px solid #5b6470;border-radius:6px;background:#292e35}
.plug-animation-controls .motion-demo-button{min-height:39px;flex:0 0 auto;border-radius:5px}
.plug-animation-controls span{font-size:11px;color:#b9c7d4;line-height:1.35}
@media(max-width:440px){.plug-animation-controls{flex-wrap:wrap}.plug-animation-controls .motion-demo-button{width:100%}}
