/* Galvan Media – Photo Blanket Builder v1.0.0 — all rules scoped to .gmbb */
.gmbb{--gm-navy:#0b1320;--gm-card:#111c2e;--gm-line:#23324a;--gm-blue:#1a63c4;--gm-blue-d:#14529f;--gm-cyan:#5cc8ff;--gm-text:#ffffff;--gm-muted:#a9bbd4;--gm-soft:#c9d4e5;--gm-err:#ff8a8a;--gm-ok:#7ee2a8;
  background:var(--gm-navy);color:var(--gm-text);font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;line-height:1.5;
  border-radius:20px;padding:clamp(16px,4vw,44px);box-sizing:border-box;text-align:left}
.gmbb *,.gmbb *::before,.gmbb *::after{box-sizing:border-box}
.gmbb [hidden]{display:none!important}
.gmbb .gmbb-vh{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;opacity:0}
.gmbb button,.gmbb input,.gmbb textarea{font-family:inherit}

/* Head */
.gmbb-head{margin:0 0 28px;max-width:720px}
.gmbb .gmbb-kicker{margin:0 0 6px;font-size:13px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--gm-cyan);padding:0}
.gmbb .gmbb-title{margin:0;padding:0;font-family:'Oswald',sans-serif;font-weight:700;font-size:clamp(30px,5vw,48px);line-height:1.05;color:#fff;text-transform:uppercase;letter-spacing:.01em}
.gmbb .gmbb-sub{margin:10px 0 0;padding:0;color:var(--gm-soft);font-size:17px}

/* Two-column layout */
.gmbb-wrap{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;align-items:start}
@media (min-width:900px){
  .gmbb-wrap{grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:40px}
  .gmbb-preview-col{position:sticky;top:110px}
}

/* Preview stage */
/* Studio backdrop, like a product photo */
.gmbb-stage{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:clamp(18px,4vw,36px) clamp(18px,4vw,36px) clamp(26px,5vw,44px);border-radius:16px;overflow:hidden;
  background:radial-gradient(90% 70% at 50% 35%,#ffffff 0%,#f1f2f4 55%,#dfe2e7 100%);border:1px solid var(--gm-line)}
/* Plush fleece throw */
.gmbb-blanket{position:relative;z-index:1;margin:0 auto;padding:4.6%;border-radius:2.4% 1.8% 2.6% 1.6% / 1.8% 1.5% 2% 1.4%;container-type:inline-size;
  box-shadow:0 2px 3px rgba(20,24,32,.22),0 14px 26px rgba(20,24,32,.22),0 34px 60px -18px rgba(20,24,32,.35);
  transition:background-color .25s ease,width .25s ease;max-width:100%}
.gmbb-grid{display:grid;width:100%;height:100%;gap:1.6cqw;position:relative;z-index:1}
/* Rolled / bound hem: raised plush band around the edge with a sewn seam on its inner side */
.gmbb-hem{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:2;
  box-shadow:inset 0 0 0 .35cqw rgba(0,0,0,.10),inset .5cqw .6cqw .9cqw rgba(255,255,255,.22),inset -.5cqw -.7cqw 1.1cqw rgba(0,0,0,.26)}
.gmbb-hem::after{content:"";position:absolute;inset:2.5cqw;border-radius:1.2cqw;
  box-shadow:0 0 0 .18cqw rgba(0,0,0,.20),0 0 .6cqw .15cqw rgba(0,0,0,.18),inset 0 0 0 .14cqw rgba(255,255,255,.14)}
.gmbb-blanket.is-light .gmbb-hem{box-shadow:inset 0 0 0 .35cqw rgba(0,0,0,.06),inset .5cqw .6cqw .9cqw rgba(255,255,255,.55),inset -.5cqw -.7cqw 1.1cqw rgba(0,0,0,.14)}
.gmbb-blanket.is-light .gmbb-hem::after{box-shadow:0 0 0 .18cqw rgba(0,0,0,.10),0 0 .6cqw .15cqw rgba(0,0,0,.08),inset 0 0 0 .14cqw rgba(255,255,255,.5)}
/* Soft drape: light falloff and gentle fabric waves over the whole throw (photos included) */
.gmbb-fold{position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:3;
  background:radial-gradient(130% 60% at 22% 0%,rgba(255,255,255,.16),rgba(255,255,255,0) 60%),
             linear-gradient(97deg,rgba(0,0,0,0) 20%,rgba(0,0,0,.07) 30%,rgba(255,255,255,.05) 38%,rgba(0,0,0,0) 46%,rgba(0,0,0,.06) 66%,rgba(255,255,255,.04) 74%,rgba(0,0,0,0) 82%),
             radial-gradient(140% 120% at 50% 45%,rgba(0,0,0,0) 62%,rgba(0,0,0,.16) 100%)}
/* Fabric texture layers (blend over photos so the print looks like it is on fleece) */
.gmbb-emboss,.gmbb-fuzz{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit;pointer-events:none}
.gmbb-emboss{z-index:4;mix-blend-mode:overlay;opacity:.32}
.gmbb-fuzz{z-index:4;mix-blend-mode:soft-light;opacity:.55}
.gmbb-blanket.is-light .gmbb-emboss{opacity:.42;mix-blend-mode:multiply}
/* Contact shadow on the studio floor */
.gmbb-floor{position:relative;z-index:0;display:block;width:78%;height:18px;margin-top:-10px;border-radius:50%;
  background:radial-gradient(50% 50% at 50% 50%,rgba(20,24,32,.28),rgba(20,24,32,0) 70%);pointer-events:none}

/* Photo spots */
.gmbb .gmbb-slot{position:relative;min-width:0;min-height:0;margin:0;padding:0;overflow:hidden;border-radius:2px;
  box-shadow:inset 0 0 0 .55cqw rgba(255,255,255,.88);transition:box-shadow .15s ease,transform .15s ease}
.gmbb .gmbb-slot.is-filled::after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 0 .55cqw rgba(255,255,255,.88);z-index:1}
.gmbb .gmbb-slot.is-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;
  background:rgba(255,255,255,.14);border:2px dashed rgba(255,255,255,.6);box-shadow:none;color:#fff;
  font-size:max(10px,2.8cqw);font-weight:700;line-height:1.1;text-align:center}
.gmbb .gmbb-slot.is-empty:hover{background:rgba(255,255,255,.26)}
.gmbb .gmbb-slot.is-empty svg{width:max(14px,5cqw);height:max(14px,5cqw);fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gmbb .gmbb-blanket.is-light .gmbb-slot.is-empty{background:rgba(11,19,32,.07);border-color:rgba(11,19,32,.35);color:#1d2433}
.gmbb .gmbb-blanket.is-light .gmbb-slot.is-empty:hover{background:rgba(11,19,32,.14)}
.gmbb .gmbb-slot.is-filled{cursor:grab;touch-action:none}
.gmbb .gmbb-slot.is-filled.is-drag{cursor:grabbing}
.gmbb .gmbb-slot img{display:block;width:100%;height:100%;object-fit:cover;user-select:none;-webkit-user-select:none;-webkit-user-drag:none;pointer-events:none;max-width:none}
.gmbb-slot-n{position:absolute;top:5%;left:5%;min-width:max(16px,4.6cqw);height:max(16px,4.6cqw);padding:0 3px;border-radius:999px;
  background:rgba(11,19,32,.72);color:#fff;font-size:max(9px,2.6cqw);font-weight:700;display:flex;align-items:center;justify-content:center;z-index:2;opacity:0;transition:opacity .15s}
.gmbb-slot-low{position:absolute;top:5%;right:5%;width:max(16px,4.6cqw);height:max(16px,4.6cqw);border-radius:50%;background:#ffb547;color:#0b1320;
  font-size:max(10px,2.8cqw);font-weight:700;display:none;align-items:center;justify-content:center;z-index:2}
.gmbb .gmbb-slot.is-low .gmbb-slot-low{display:flex}
.gmbb .gmbb-slot.is-filled:hover .gmbb-slot-n,.gmbb .gmbb-slot.is-hl .gmbb-slot-n,.gmbb .gmbb-slot:focus-visible .gmbb-slot-n{opacity:1}
.gmbb .gmbb-slot.is-hl,.gmbb .gmbb-slot:focus-visible{outline:none;box-shadow:inset 0 0 0 3px var(--gm-cyan),0 0 0 2px var(--gm-cyan);z-index:5}
.gmbb .gmbb-slot.is-empty.is-hl,.gmbb .gmbb-slot.is-empty:focus-visible{border-color:var(--gm-cyan);background:rgba(92,200,255,.22)}
.gmbb .gmbb-slot.is-new{animation:gmbb-pop .6s ease}
@keyframes gmbb-pop{0%{transform:scale(.94)}60%{transform:scale(1.02)}100%{transform:scale(1)}}

/* Text on the blanket */
.gmbb-text{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-width:0;color:#fff;overflow:hidden}
.gmbb-blanket.is-light .gmbb-text{color:#2b2b2b}
.gmbb-t1{font-family:'Great Vibes',cursive;font-size:22px;font-size:7.4cqw;line-height:1.05;text-shadow:0 1px 2px rgba(0,0,0,.2);max-width:100%;overflow-wrap:anywhere}
.gmbb-t2{font-size:9px;font-size:2.3cqw;font-weight:500;letter-spacing:.24em;text-transform:uppercase;margin-top:1.2cqw;max-width:100%;overflow-wrap:anywhere}
.gmbb-text--l6 .gmbb-t1{font-size:5.6cqw}
.gmbb-text--l6 .gmbb-t2{font-size:1.9cqw;letter-spacing:.16em}
.gmbb-t1.is-ph,.gmbb-t2.is-ph{opacity:.55}
.gmbb .gmbb-hint{margin:12px 0 0;padding:0;text-align:center;font-size:13px;color:var(--gm-muted)}

/* Summary */
.gmbb-summary{margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 18px;border-radius:14px;background:var(--gm-card);border:1px solid var(--gm-line)}
.gmbb-sum-l{display:flex;flex-direction:column;gap:2px;min-width:0}
.gmbb-sum-a{font-weight:700}
.gmbb-sum-b{font-size:14px;color:var(--gm-muted)}
.gmbb-sum-r{display:flex;flex-direction:column;align-items:flex-end;flex-shrink:0}
.gmbb-sum-ship{font-size:12px;color:var(--gm-muted);margin-top:2px;text-align:right}
.gmbb-sum-lbl{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gm-muted)}
.gmbb-sum-total{font-family:'Oswald',sans-serif;font-weight:600;font-size:34px;line-height:1;color:var(--gm-cyan)}

/* Steps */
.gmbb-steps{display:flex;flex-direction:column;gap:16px;margin:0}
.gmbb .gmbb-step{margin:0;padding:18px;border:1px solid var(--gm-line);border-radius:14px;background:var(--gm-card);min-width:0}
.gmbb .gmbb-legend{float:left;width:100%;padding:0;margin:0 0 14px;display:flex;align-items:center;gap:10px;font-family:'Oswald',sans-serif;font-weight:600;font-size:20px;letter-spacing:.04em;text-transform:uppercase;color:#fff}
.gmbb .gmbb-legend + *{clear:both}
.gmbb-num-badge{width:30px;height:30px;border-radius:50%;background:var(--gm-blue);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:16px;flex-shrink:0}
.gmbb .gmbb-help{margin:0 0 12px;padding:0;font-size:14px;color:var(--gm-soft)}

/* Option cards */
.gmbb-opts{display:grid;gap:10px}
.gmbb-opts--layout{grid-template-columns:repeat(2,minmax(0,1fr))}
.gmbb-opts--size{grid-template-columns:repeat(2,minmax(0,1fr))}
.gmbb-opts--color{grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}
@media (min-width:560px){
  .gmbb-opts--layout{grid-template-columns:repeat(4,minmax(0,1fr))}
  .gmbb-opts--size{grid-template-columns:repeat(3,minmax(0,1fr))}
}
.gmbb .gmbb-opt{position:relative;display:block;margin:0;cursor:pointer}
.gmbb-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;height:100%;padding:12px 8px;border-radius:12px;border:2px solid var(--gm-line);background:#0d1626;text-align:center;transition:border-color .15s,background .15s}
.gmbb-opt:hover .gmbb-card{border-color:#3a4f70}
.gmbb-opt input:checked + .gmbb-card{border-color:var(--gm-cyan);background:#0f2138;box-shadow:0 0 0 1px var(--gm-cyan)}
.gmbb-opt input:focus-visible + .gmbb-card,.gmbb-opt input:focus-visible + .gmbb-sw-dot{outline:3px solid var(--gm-cyan);outline-offset:2px}
.gmbb-card-t{font-weight:700;font-size:15px;line-height:1.2}
.gmbb-card-s{font-size:12px;color:var(--gm-muted);line-height:1.3}
.gmbb-card--size{padding-top:16px}
.gmbb-price{font-family:'Oswald',sans-serif;font-weight:600;font-size:24px;line-height:1.1;color:var(--gm-cyan);margin-top:2px}
.gmbb-pop{position:absolute;top:-10px;left:50%;transform:translateX(-50%);white-space:nowrap;background:var(--gm-cyan);color:#0b1320;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:2px 8px;border-radius:999px}

/* Mini layout map */
.gmbb-map{display:grid;gap:2px;width:44px;height:56px;padding:3px;border-radius:5px;background:#2a3a55;flex-shrink:0}
.gmbb-opt .gmbb-map{width:58px;height:74px;margin-bottom:6px}
.gmbb-map-c{background:#5d7396;border-radius:1px}
.gmbb-map-c.is-on{background:var(--gm-cyan)}
.gmbb-map-t{background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(255,255,255,.35) 3px 4px);border-radius:1px}

/* Color swatches */
.gmbb .gmbb-sw{display:flex;flex-direction:column;align-items:center;gap:6px;padding:6px 2px;border-radius:10px}
.gmbb-sw-dot{width:44px;height:44px;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.18),inset 0 0 8px rgba(0,0,0,.2);transition:box-shadow .15s}
.gmbb-sw input:checked + .gmbb-sw-dot{box-shadow:0 0 0 3px var(--gm-navy),0 0 0 5px var(--gm-cyan)}
.gmbb-sw-n{font-size:12px;line-height:1.2;text-align:center;color:var(--gm-soft)}
.gmbb-sw input:checked ~ .gmbb-sw-n{color:#fff;font-weight:700}

/* Quantity */
.gmbb-qty{display:flex;align-items:center;gap:8px;margin-top:14px}
.gmbb .gmbb-label{font-weight:700;margin-right:6px}
.gmbb .gmbb-qbtn{width:44px;height:44px;border-radius:10px;border:1px solid var(--gm-line);background:#0d1626;color:#fff;font-size:22px;line-height:1;cursor:pointer;padding:0}
.gmbb .gmbb-qbtn:hover{border-color:var(--gm-cyan)}
.gmbb .gmbb-qin{width:64px;height:44px;text-align:center;border-radius:10px;border:1px solid var(--gm-line);background:#0d1626;color:#fff;font-size:18px;font-weight:700;padding:0;margin:0;-moz-appearance:textfield}
.gmbb .gmbb-qin::-webkit-outer-spin-button,.gmbb .gmbb-qin::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}

/* Photo rows */
.gmbb .gmbb-count{margin:0 0 10px;padding:0;font-size:14px;font-weight:700;color:var(--gm-soft)}
.gmbb .gmbb-count.is-complete{color:var(--gm-ok)}
.gmbb-prow{display:flex;align-items:center;gap:12px;padding:10px;border-radius:12px;border:1px solid var(--gm-line);background:#0d1626;margin-bottom:8px;transition:border-color .15s}
.gmbb-prow:hover,.gmbb-prow:focus-within{border-color:var(--gm-cyan)}
.gmbb-prow.is-done{background:#0f1d31}
.gmbb-prow-main{display:flex;flex-direction:column;min-width:0;flex:1 1 auto}
.gmbb-prow-t{font-weight:700}
.gmbb-prow-s{font-size:13px;color:var(--gm-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.gmbb-warn{font-size:12px;color:#ffc46b;margin-top:2px}
.gmbb .gmbb-thumb{width:48px;height:48px;object-fit:cover;border-radius:6px;flex-shrink:0;margin:0;max-width:none}
.gmbb-prow-act{display:flex;gap:6px;flex-shrink:0}
@media (max-width:480px){
  .gmbb-prow{flex-wrap:wrap}
  .gmbb-prow-main{flex-basis:calc(100% - 120px)}
  .gmbb-prow-act{width:100%}
  .gmbb-prow-act .gmbb-btn{flex:1}
}

/* Buttons */
.gmbb .gmbb-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border-radius:10px;border:1px solid var(--gm-line);
  background:#16243b;color:#fff;font-size:15px;font-weight:700;line-height:1.2;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s;margin:0}
.gmbb .gmbb-btn:hover{border-color:var(--gm-cyan)}
.gmbb .gmbb-btn--sm{min-height:40px;padding:8px 14px;font-size:14px}
.gmbb .gmbb-btn--primary{background:var(--gm-blue);border-color:var(--gm-blue)}
.gmbb .gmbb-btn--primary:hover{background:var(--gm-blue-d);border-color:var(--gm-cyan)}
.gmbb .gmbb-btn--ghost{background:transparent}
.gmbb .gmbb-btn--lg{width:100%;min-height:56px;font-family:'Oswald',sans-serif;font-size:20px;letter-spacing:.06em;text-transform:uppercase}
.gmbb .gmbb-btn[disabled]{opacity:.6;cursor:wait}
.gmbb .gmbb-file:focus-visible + .gmbb-btn{outline:3px solid var(--gm-cyan);outline-offset:2px}

/* Fields */
.gmbb-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
@media (min-width:560px){.gmbb-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.gmbb-field--full{grid-column:1 / -1}}
.gmbb-field{display:flex;flex-direction:column;gap:6px}
.gmbb .gmbb-field label{font-size:14px;font-weight:700;color:var(--gm-soft);padding:0;margin:0}
.gmbb .gmbb-field input,.gmbb .gmbb-field textarea{width:100%;min-height:46px;padding:10px 12px;border-radius:10px;border:1px solid #2e4060;background:#0b1424;color:#fff;font-size:16px;margin:0;box-shadow:none}
.gmbb .gmbb-field textarea{min-height:90px;resize:vertical}
.gmbb .gmbb-field input::placeholder,.gmbb .gmbb-field textarea::placeholder{color:#7d8ea8}
.gmbb .gmbb-field input:focus,.gmbb .gmbb-field textarea:focus{outline:none;border-color:var(--gm-cyan);box-shadow:0 0 0 2px rgba(92,200,255,.35)}
.gmbb-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.gmbb .gmbb-check{display:flex;align-items:flex-start;gap:10px;margin:16px 0 4px;font-size:14px;color:var(--gm-soft);cursor:pointer}
.gmbb .gmbb-check input{width:20px;height:20px;margin:1px 0 0;flex-shrink:0;accent-color:var(--gm-blue)}
.gmbb-status{min-height:22px;margin:10px 0;font-size:14px;font-weight:700}
.gmbb-status.is-error{color:var(--gm-err)}
.gmbb-status.is-info{color:var(--gm-cyan)}
.gmbb .gmbb-note{margin:10px 0 0;padding:0;font-size:13px;color:var(--gm-muted);text-align:center}
.gmbb .gmbb-demo{margin:8px 0 0;padding:6px 10px;font-size:12px;font-weight:700;text-align:center;color:#0b1320;background:#ffc46b;border-radius:8px}
.gmbb-steps.is-busy .gmbb-step:not(:last-child){opacity:.55;pointer-events:none}

/* Done */
.gmbb-done{padding:32px 22px;border-radius:14px;border:1px solid var(--gm-line);background:var(--gm-card);text-align:center;outline:none}
.gmbb-done svg{width:56px;height:56px;fill:none;stroke:var(--gm-ok);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.gmbb .gmbb-done h3{margin:10px 0 6px;padding:0;font-family:'Oswald',sans-serif;font-size:28px;color:#fff;text-transform:uppercase}
.gmbb .gmbb-done p{margin:0 0 12px;padding:0;color:var(--gm-soft)}
.gmbb .gmbb-done-sum{color:#fff!important}

@media (prefers-reduced-motion:reduce){.gmbb *{transition:none!important;animation:none!important}}
