@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');
:root{--blue:#0d2359;--ink:#172239;--muted:#67748b;--line:#dfe5ed;--paper:#f4f6f9;--accent:#163e90;font-family:Outfit,DM Sans,system-ui,-apple-system,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}
body{margin:0;min-width:280px}
button,input{font:inherit}
button{cursor:pointer}
button:disabled{opacity:.45;cursor:not-allowed}
a{color:inherit}
:focus-visible{outline:3px solid #6d99e2;outline-offset:3px}
[hidden]{display:none!important}
.sb-header{min-height:72px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px clamp(16px,3vw,55px);position:relative;z-index:5}
.sb-brand{display:flex;align-items:center;min-width:0}
.sb-brand img{width:205px;max-width:100%;height:34px;object-fit:contain;filter:brightness(0) saturate(100%) invert(11%) sepia(52%) saturate(1695%) hue-rotate(192deg) brightness(87%) contrast(98%)}
.sb-nav{display:flex;align-items:center;gap:22px;font:700 12px DM Sans,sans-serif}
.sb-nav>a{text-decoration:none;white-space:nowrap}
.sb-bag{border:1px solid #e3e8f0;border-radius:8px;padding:9px 12px;display:flex;align-items:center;gap:8px}
.sb-nav .cb-language-picker{position:relative}
.sb-nav .cb-language-trigger{color:#142548;min-height:40px}
.sb-main{max-width:1550px;margin:auto;padding:43px clamp(16px,3vw,50px) 86px}
.sb-hero{margin:0 0 30px}
.sb-hero>small,.sb-choose-header>small,.sb-preview-head small{font-size:10px;letter-spacing:.16em;font-weight:800;color:#315ca3}
.sb-hero h1{font-weight:750;font-size:clamp(38px,5.8vw,76px);line-height:1.04;letter-spacing:-.06em;margin:12px 0 15px}
.sb-hero p{max-width:690px;margin:0;color:#647087;font-size:clamp(14px,1.5vw,16px);line-height:1.7}
.sb-layout{display:grid;grid-template-columns:minmax(345px,.89fr) minmax(0,1.15fr);align-items:start;gap:25px}
.sb-preview{position:sticky;top:18px;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 18px 55px #0b214b0c}
.sb-preview-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:22px 24px 18px}
.sb-preview-head h2{font-size:26px;letter-spacing:-.045em;margin:7px 0 0}
.sb-preview-head>b{display:inline-flex;background:#eef3fd;border-radius:100px;padding:8px 11px;color:#244d99;font-size:12px}
.sb-stage{margin:0 16px;border-radius:13px;overflow:hidden;background:#131b2f;color:white;min-height:295px;padding:45px 14px 28px;position:relative;transition:background .2s}
.sb-stage[data-bg=light]{background:#e9edf1;color:#182940}
.sb-stage[data-bg=blue]{background:#1b4688}
.sb-stage[data-bg=forest]{background:#165149}
.sb-stage::after{content:"";height:48%;position:absolute;bottom:0;left:0;right:0;background:linear-gradient(180deg,transparent,#0002);pointer-events:none}
.sb-assembly{height:195px;display:flex;align-items:center;justify-content:center;gap:4px;position:relative;z-index:1}
.sb-part{min-width:0;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:5px;text-align:center;cursor:pointer;color:inherit;position:relative;height:100%}
.sb-part:nth-child(2){flex:1.8}
.sb-part-art{width:100%;height:123px;display:grid;place-items:center;overflow:hidden}
.sb-part-art img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 6px 8px #0005)}
.sb-part-art img:not([src]){display:none}
.sb-part-empty{font-size:24px;border:1px dashed #ffffff70;width:65%;min-height:70px;border-radius:7px;display:grid;place-items:center}
.sb-stage[data-bg=light] .sb-part-empty{border-color:#20385650}
.sb-part small{font-size:9px;letter-spacing:.08em;text-transform:uppercase;opacity:.88;font-weight:800}
.sb-part strong{font-size:9px;font-weight:600;line-height:1.2;max-height:2.4em;min-height:2.4em;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow-wrap:anywhere;width:100%}
.sb-part-fallback{font-size:10px;font-weight:800;overflow-wrap:anywhere}
.sb-cycle{display:flex;gap:4px;align-items:center;justify-content:center;position:absolute;bottom:53px;right:-6px;background:#fff;color:#172239;border-radius:30px;padding:2px;box-shadow:0 3px 10px #0002}
.sb-cycle button{border:0;background:transparent;font-size:19px;line-height:1;min-width:22px;min-height:26px;padding:0}
.sb-cycle span{font-size:9px;white-space:nowrap}
.sb-visual-caption{position:relative;z-index:1;text-align:center;font-size:9px;letter-spacing:.19em;opacity:.68;margin-top:20px}
.sb-colors{padding:17px 23px;display:flex;justify-content:space-between;align-items:center;gap:10px}
.sb-colors>span{font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:700;color:var(--muted)}
.sb-colors button{width:26px;height:26px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 1px #d9dfe9;background:var(--swatch);margin:0 2px}
.sb-colors button[aria-pressed=true]{box-shadow:0 0 0 2px #3158a6}
.sb-total{margin:0 23px;padding:19px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:10px;align-items:center}
.sb-total span{font-size:12px;color:var(--muted)}
.sb-total strong{font-size:25px;color:#112756;font-weight:750;white-space:nowrap}
.sb-add{display:flex;width:calc(100% - 46px);margin:0 23px;align-items:center;justify-content:space-between;padding:17px 21px;border:0;border-radius:11px;background:#142b83;color:#fff;font-size:13px;font-weight:800;letter-spacing:.025em}
.sb-add:not(:disabled):hover{background:#0f205e}
.sb-added{display:block;margin:13px 23px 0;color:#145b37;text-decoration:none;font-size:12px;font-weight:800}
.sb-actions{display:flex;margin:13px 23px;gap:8px}
.sb-actions button{flex:1;border:1px solid #d8e0eb;background:#fff;border-radius:9px;font-size:11px;font-weight:800;padding:12px 6px;min-width:0}
.sb-actions button:hover{background:#eef3fc}
.sb-warning{margin:12px 23px 7px;font-size:10px;line-height:1.55;color:#7b8190}
.sb-message{margin:8px 23px 22px;color:#1c568e;font-size:12px;font-weight:700;min-height:13px}
.sb-choose{background:#fff;border:1px solid var(--line);border-radius:18px;min-width:0;overflow:hidden;box-shadow:0 18px 55px #0b214b0a}
.sb-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#f1f3f8;padding:9px;gap:5px}
.sb-tab,.sb-tabs button{min-width:0;border:1px solid transparent;border-radius:9px;background:none;color:#64718a;padding:13px 4px;display:grid;place-items:center;gap:6px;font-weight:700;font-size:12px;position:relative}
.sb-tabs button small{font-size:10px;opacity:.72}
.sb-tabs button.current{background:white;color:#133a86;box-shadow:0 3px 14px #132b5014;border-color:#dfe6f3}
.sb-tabs button i{position:absolute;top:4px;right:5px;font-size:10px;font-style:normal;color:#19865b}
.sb-choose-body{padding:25px}
.sb-choose-header h2{font-size:clamp(24px,3vw,34px);letter-spacing:-.055em;margin:8px 0}
.sb-choose-header p{margin:0 0 18px;color:#788293;font-size:12px;line-height:1.6}
.sb-search{display:flex;align-items:center;gap:9px;border:1px solid #cfd9e7;border-radius:10px;padding:0 12px;margin-bottom:21px;background:#fff}
.sb-search>span{font-size:28px;color:#6e7890;line-height:1}
.sb-search input{width:100%;min-width:0;border:none;outline:0;padding:15px 0;font-size:13px;color:var(--ink)}
.sb-products{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.sb-card{text-align:left;border:1px solid #e0e6ef;background:#fff;padding:9px;border-radius:12px;min-width:0;display:flex;flex-direction:column;gap:9px;position:relative;transition:border-color .15s,box-shadow .15s}
.sb-card:not(:disabled):hover{border-color:#3767bc;box-shadow:0 10px 23px #21365c11}
.sb-card.is-active{border:2px solid #1c4f9c;padding:8px;background:#f6f9ff}
.sb-card.is-chosen i{position:absolute;top:13px;right:13px;font-size:12px;background:#1753b0;color:white;border-radius:50%;width:21px;height:21px;display:grid;place-items:center;font-style:normal}
.sb-card-image{display:grid;place-items:center;height:125px;border-radius:8px;overflow:hidden;background:#f3f5f8}
.sb-card-image img{display:block;width:100%;height:100%;object-fit:contain}
.sb-image-fallback{font-size:12px;font-weight:800;color:#7f8798}
.sb-card-info{display:flex;flex-direction:column;align-items:flex-start;gap:5px;min-width:0}
.sb-card-info strong{font-size:11px;line-height:1.35;min-height:2.7em;overflow-wrap:anywhere;font-weight:750}
.sb-card-info small{font-size:9px;color:#778194;letter-spacing:.02em}
.sb-card-price{font-size:14px;color:#143783;font-weight:800}
.sb-card-stock{font-size:10px;color:#548264}
.sb-card.unavailable .sb-card-stock{color:#a16464}
.sb-noresults{grid-column:1/-1;color:var(--muted);font-size:13px;padding:30px 0}
.sb-more{display:block;width:100%;margin:17px 0 5px;border:1px solid #dae1ed;border-radius:8px;background:#fff;padding:12px;font-size:12px;font-weight:700}
.sb-next-row{display:flex;align-items:center;justify-content:space-between;gap:9px;margin-top:21px;padding-top:18px;border-top:1px solid var(--line)}
.sb-next-row button{border:1px solid #d6deeb;background:#fff;border-radius:8px;padding:11px 13px;font-size:11px;font-weight:750}
.sb-next-row .sb-next{background:#0d2359;border-color:#0d2359;color:#fff}
.sb-next-row small{color:#748097;font-size:10px}
.sb-unavailable,.sb-loading{padding:80px 20px;text-align:center;color:var(--muted)}
.sb-footer{display:flex;align-items:center;justify-content:space-between;gap:25px;padding:28px 3vw;background:#fff;border-top:1px solid var(--line)}
.sb-footer img{width:135px;filter:brightness(0);opacity:.8}
.sb-footer span{max-width:650px;font-size:10px;line-height:1.55;color:#777f8d}
.sb-footer a{font-size:12px;text-decoration:none;font-weight:800;color:#183f81}
@media(max-width:980px){.sb-layout{grid-template-columns:1fr}.sb-preview{position:static}.sb-preview-head{padding:18px 18px 11px}.sb-stage{min-height:255px}.sb-assembly{height:160px}.sb-part-art{height:100px}.sb-choose-body{padding:18px}.sb-card-image{height:145px}}
@media(max-width:640px){.sb-header{min-height:62px;padding:9px 14px}.sb-brand img{width:142px;height:26px}.sb-nav{gap:12px}.sb-account,.sb-nav>a:first-child{display:none}.sb-bag{padding:8px}.sb-nav .cb-language-current{display:none}.sb-nav .cb-language-trigger{padding:7px 0;min-height:38px}.sb-main{padding:30px 12px 47px}.sb-hero{margin-bottom:19px;padding:0 5px}.sb-hero h1{font-size:38px}.sb-hero p{font-size:12px}.sb-layout{gap:15px}.sb-preview,.sb-choose{border-radius:13px}.sb-stage{margin:0 12px;padding:30px 7px 16px;min-height:195px}.sb-assembly{height:125px}.sb-part-art{height:78px}.sb-part strong{font-size:8px}.sb-part small{font-size:8px}.sb-preview-head h2{font-size:22px}.sb-visual-caption{margin-top:10px}.sb-tabs{padding:5px}.sb-tabs button{font-size:10px;padding:12px 2px;gap:3px}.sb-card-image{height:112px}.sb-products{gap:8px}.sb-choose-body{padding:13px}.sb-choose-header h2{font-size:27px}.sb-card{padding:7px}.sb-card.is-active{padding:6px}.sb-card-info strong{font-size:10px}.sb-footer{padding:22px 15px;flex-wrap:wrap}.sb-footer span{order:3;flex:1 1 100%}}
@media(max-width:340px){.sb-nav{gap:6px}.sb-brand img{width:112px}.sb-stage{padding-left:3px;padding-right:3px}.sb-part strong{font-size:7px}.sb-total strong{font-size:21px}.sb-choose-body{padding:10px}.sb-card-info strong{font-size:9px}}
@media(prefers-reduced-motion:reduce){.sb-card{transition:none}}

/* One assembled dart: each uploaded component replaces the matching SVG segment.
   Defaults form a continuous point -> barrel -> stem -> flight silhouette. */
.sb-stage{min-height:0;padding:25px 13px 14px;isolation:isolate;overflow:hidden}
.sb-stage::before{content:"";position:absolute;z-index:0;left:8%;right:8%;top:9%;height:47%;border-radius:50%;background:radial-gradient(ellipse,#ffffff17 0%,transparent 70%);pointer-events:none}
.sb-stage[data-bg=light]::before{background:radial-gradient(ellipse,#ffffffb0 0%,transparent 75%)}
.sb-assembly{display:block;height:auto;min-height:0;position:relative;z-index:2;overflow:visible;aspect-ratio:1080/294;padding:0;margin:0}
.sb-dart-svg{display:block;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 10px 10px #0004)}
.sb-dart-piece{cursor:pointer;outline:none;transition:filter .15s ease}
.sb-dart-piece .sb-piece-fallback{transition:opacity .18s ease}
.sb-dart-piece image{opacity:0;transition:opacity .18s ease;pointer-events:none}
.sb-dart-piece.is-image-ready image{opacity:1}
.sb-dart-piece.is-image-ready .sb-piece-fallback{opacity:0}
.sb-dart-piece.is-current{filter:drop-shadow(0 0 2px #a5caff98)}
.sb-dart-piece:hover{filter:drop-shadow(0 0 4px #a5caffd1)}
.sb-dart-piece:focus-visible{filter:drop-shadow(0 0 8px #91c8ff)}
.sb-piece-legend{position:relative;z-index:3;display:grid;grid-template-columns:24fr 38fr 21fr 17fr;gap:6px;margin:8px 0 0}
.sb-piece-legend .sb-part{min-width:0;height:auto;min-height:70px;border:1px solid #ffffff36;border-radius:8px;padding:8px 5px;display:flex;align-items:center;flex-direction:column;gap:4px;justify-content:flex-start;color:inherit;background:#ffffff0c;cursor:pointer;text-align:center}
.sb-piece-legend .sb-part:nth-child(2){flex:unset}
.sb-piece-legend .sb-part.is-current{background:#ffffff21;border-color:#ffffff9a;box-shadow:inset 0 0 0 1px #ffffff3b}
.sb-piece-legend .sb-part:focus-visible{outline:2px solid #fff;outline-offset:1px}
.sb-piece-legend .sb-part small{font-size:10px;font-weight:850;letter-spacing:.045em;opacity:.95}
.sb-piece-legend .sb-part strong{font-size:9px;line-height:1.3;max-height:2.6em;min-height:2.6em;font-weight:600;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;max-width:100%;overflow-wrap:anywhere}
.sb-piece-legend .sb-part-sku{font-size:9px;font-weight:800;color:#ffffff9c;max-width:100%;overflow:hidden;text-overflow:ellipsis}
.sb-stage[data-bg=light] .sb-piece-legend .sb-part{border-color:#56678055;background:#fff8}
.sb-stage[data-bg=light] .sb-piece-legend .sb-part.is-current{border-color:#2a4d91;background:#fff;box-shadow:0 2px 13px #0001}
.sb-stage[data-bg=light] .sb-piece-legend .sb-part-sku{color:#52667f}
.sb-piece-legend .sb-cycle{position:static;margin:0 auto;background:#ffffffea;color:#1c3153;border-radius:24px;display:flex;justify-content:center;align-items:center;gap:1px;padding:1px 3px;box-shadow:0 2px 6px #0001}
.sb-piece-legend .sb-cycle button{font-size:18px;min-width:20px;min-height:22px;border:0;line-height:1;background:transparent}
.sb-piece-legend .sb-cycle span{font-size:9px;min-width:20px;color:#1c3153}
.sb-preview-hint{position:relative;z-index:3;text-align:center;margin:13px 0 1px;font-size:10px;line-height:1.5;color:#ffffffbd}
.sb-stage[data-bg=light] .sb-preview-hint{color:#52667f}
.sb-visual-caption{position:relative;z-index:3;text-align:center;margin-top:0;margin-bottom:7px;font-size:9px;letter-spacing:.22em;opacity:.78}
.sb-tabs .sb-tab-image{width:34px;height:26px;max-width:100%;object-fit:contain;border-radius:3px;mix-blend-mode:multiply}
.sb-nav .sb-current{color:#163c85;font-weight:850;border-bottom:2px solid #163c85;padding:5px 0}
@media(max-width:980px){.sb-stage{padding:23px 14px 14px}.sb-assembly{height:auto;aspect-ratio:1080/294;min-height:0}.sb-piece-legend .sb-part{min-height:68px}}
@media(max-width:640px){.sb-stage{padding:20px 7px 12px;min-height:0}.sb-assembly{height:auto;aspect-ratio:1080/294}.sb-piece-legend{gap:3px;margin-top:8px;grid-template-columns:repeat(4,minmax(0,1fr))}.sb-piece-legend .sb-part{min-height:61px;padding:6px 2px;gap:3px}.sb-piece-legend .sb-part small{font-size:8.5px}.sb-piece-legend .sb-part strong{font-size:7.5px}.sb-piece-legend .sb-part-sku{font-size:7px}.sb-piece-legend .sb-cycle{padding:0}.sb-piece-legend .sb-cycle button{min-width:15px;min-height:21px;font-size:16px}.sb-piece-legend .sb-cycle span{min-width:15px;font-size:8px}.sb-preview-hint{font-size:9px;margin-top:9px}.sb-visual-caption{font-size:8px}.sb-nav .sb-events,.sb-nav .sb-current{display:none}}
@media(prefers-reduced-motion:reduce){.sb-dart-piece,.sb-dart-piece image,.sb-dart-piece .sb-piece-fallback{transition:none}}

/* Larger desktop assembled preview. On narrow phones the same dart turns upright,
   keeping all four connected parts visible without requiring horizontal scrolling. */
@media(min-width:981px){.sb-layout{grid-template-columns:minmax(470px,1.15fr) minmax(0,1fr)}}
@media(max-width:640px){
 .sb-assembly{height:clamp(310px,100vw,410px);aspect-ratio:auto;display:flex;align-items:center;justify-content:center;overflow:visible}
 .sb-dart-svg{display:block;flex:none;width:clamp(288px,89vw,410px);height:auto;transform:rotate(-90deg);transform-origin:center center}
 .sb-stage::before{top:20%;left:15%;right:15%;height:55%;border-radius:50%}
 .sb-visual-caption{margin:0 0 7px}
}

/* 12 Nov: Independent preview scroll. A tall right list must not trap the left
   preview's total, Add to Cart, and actions below the visible viewport. */
.sb-preview-head-actions{display:flex;flex-direction:column;align-items:flex-end;gap:7px;flex:0 0 auto}
.sb-preview-head-actions>b{display:inline-flex;background:#eef3fd;border-radius:100px;padding:8px 11px;color:#244d99;font-size:12px}
.sb-preview-jump,.sb-preview-head-actions>button{background:transparent;color:#2252a0;border:0;padding:5px 0;font-size:11px;font-weight:750;white-space:nowrap;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
.sb-preview-head-actions>button:hover{color:#102d62}
.sb-preview:focus-visible{outline:3px solid #5277b4;outline-offset:4px}
@media(min-width:981px){
 .sb-preview{
  position:sticky;top:18px;
  max-height:calc(100vh - 36px);
  max-height:calc(100dvh - 36px);
  overflow-x:hidden;overflow-y:auto;
  overscroll-behavior-y:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;scrollbar-color:#aebbd1 #f5f7fb;
 }
 .sb-preview-head{
  position:sticky;top:0;z-index:5;
  background:#fff;border-bottom:1px solid #e5e9f0;
  padding-block:15px 12px;
 }
}
@media(max-width:980px){
 .sb-preview{position:static;max-height:none;overflow:visible}
 .sb-preview-head-actions{gap:4px}
}
@media(max-width:380px){.sb-preview-head-actions>button{font-size:10px}}
/* The mobile stack must not inherit a wide SVG/chooser min-content width. */
@media(max-width:980px){
 .sb-layout{grid-template-columns:minmax(0,1fr)}
 .sb-preview,.sb-choose{min-width:0;max-width:100%}
}


/* Match the customer name in Shop and keep long display names inside the header. */
.sb-account{display:inline-block;max-width:175px;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}
.sb-account.is-customer{color:#153f86}
@media(max-width:640px){.sb-nav .sb-account{display:inline-block;max-width:82px;font-size:10px}}
