
/* Design Studio V2 */
.site-header{position:absolute!important}.studio-page{background:#fff;padding:260px 4.5% 100px;color:#9aa76b}.studio-title{font-family:Parfumerie,"Snell Roundhand",cursive;font-size:clamp(76px,8vw,122px);line-height:1;text-align:center;color:#9aa76b;-webkit-text-stroke:.2px currentColor;margin:0 0 70px}.studio-workspace{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(350px,.65fr);gap:58px;max-width:1580px;margin:auto;align-items:start}.studio-preview{position:sticky;top:24px;min-width:0}.preview-grid{display:flex;justify-content:center;align-items:flex-start;gap:20px;width:100%;max-width:930px;margin:0 auto}.preview-card{width:min(720px,100%);text-align:center;min-width:0}.preview-grid.double .preview-card{width:calc(50% - 10px)}.product-stage{position:relative;width:100%;height:660px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:visible}.preview-grid.double .product-stage{height:600px}.product-base{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block}.artwork-layer{position:absolute;left:50%;top:54%;width:48%;height:42%;transform:translate(-50%,-50%);display:flex;align-items:center;justify-content:center;overflow:visible;cursor:move;touch-action:none;z-index:3}.artwork-layer.selected{outline:1px dashed rgba(154,167,107,.75)}.sample-text{font-family:Mosseta,OptimaCustom,sans-serif;text-transform:uppercase;text-align:center;font-size:42px;line-height:.95;letter-spacing:.025em;white-space:pre-line;max-width:100%;max-height:100%;overflow:hidden;pointer-events:none}.artwork-layer img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.resize-handle{position:absolute;width:18px;height:18px;right:-9px;bottom:-9px;background:#fff;border:2px solid #9aa76b;border-radius:50%;cursor:nwse-resize;touch-action:none}.face-label{font-family:Mosseta,OptimaCustom,sans-serif;letter-spacing:.16em;font-size:15px;margin-top:4px}.preview-note{font-family:OptimaCustom,Optima,serif;color:#9b9b8c;font-size:12px;line-height:1.5;text-align:center;margin:26px auto 0;max-width:650px}.studio-controls{padding-top:6px}.control{padding:0 0 28px;margin:0 0 28px;border-bottom:1px solid #edf0e3}.control>label{display:block;font-family:Mosseta,OptimaCustom,sans-serif;font-size:20px;letter-spacing:.12em;margin-bottom:11px}.choice-name{font-family:OptimaCustom,Optima,serif;font-size:13px;margin-bottom:11px;color:#7e8762}select,textarea,input[type=text]{width:100%;border:1px solid #d6e2ea;background:#fff;color:#69734d;font-family:OptimaCustom,Optima,serif;font-size:14px;padding:13px 14px;border-radius:0}textarea{resize:vertical;min-height:92px}.swatches{display:flex;flex-wrap:wrap;gap:9px;max-height:150px;overflow:auto;padding:4px}.swatch{width:27px;height:27px;border:0;padding:0;cursor:pointer}.swatch.active{outline:2px solid #9aa76b;outline-offset:3px}.segmented,.imprint-choice-row{display:flex;flex-wrap:wrap;gap:8px}.segmented button,.text-button,.imprint-choice{border:1px solid #d6e2ea;background:#fff;color:#9aa76b;font-family:Mosseta,OptimaCustom,sans-serif;letter-spacing:.08em;font-size:11px;padding:10px 13px;cursor:pointer}.segmented button.active,.imprint-choice.active{background:#cbd3aa;color:#fff;border-color:#cbd3aa}.one-color-controls{margin-top:12px}.imprint-select-wrap{position:relative}.imprint-select-wrap select{padding-left:48px}.imprint-selected-swatch{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:20px;height:20px;border:1px solid #d6e2ea;z-index:2;pointer-events:none}.custom-color-label{font-family:OptimaCustom,Optima,serif;font-size:11px;color:#9b9b8c;margin:12px 0 7px;text-transform:none}.imprint-hex-input{max-width:100%}.full-color-note,.edit-help{font-family:OptimaCustom,Optima,sans-serif;color:#9b9b8c;font-size:12px;line-height:1.45;margin:12px 0 0}.range-row{margin-top:14px;display:grid;grid-template-columns:110px 1fr;gap:12px;align-items:center;font-family:Mosseta,OptimaCustom,sans-serif;font-size:10px;letter-spacing:.08em}.studio-inquire{display:block;text-align:center;background:#b0c0d0;color:#fff;text-decoration:none;font-family:Mosseta,OptimaCustom,sans-serif;letter-spacing:.13em;font-size:12px;padding:16px 22px}
@media(max-width:1000px){.studio-workspace{grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:35px}.product-stage{height:540px}.preview-grid.double .product-stage{height:470px}.sample-text{font-size:34px}}
@media(max-width:850px){.studio-page{padding:205px 18px 75px}.studio-workspace{grid-template-columns:1fr;gap:45px}.studio-preview{position:relative;top:auto}.preview-grid{gap:8px}.preview-card{width:100%}.preview-grid.double .preview-card{width:calc(50% - 4px)}.product-stage{height:min(120vw,560px)}.preview-grid.double .product-stage{height:min(66vw,390px)}.studio-title{font-size:clamp(62px,20vw,90px);margin-bottom:42px}.artwork-layer{width:52%;height:44%}.sample-text{font-size:clamp(20px,6vw,34px)}}

/* Design Studio V3 refinements */
[hidden]{display:none!important}.download-mockup{display:block;margin:18px auto 0;border:0;background:#9aa76b;color:#fff;font-family:Mosseta,OptimaCustom,sans-serif;letter-spacing:.12em;font-size:12px;padding:14px 24px;cursor:pointer}.download-mockup:hover{opacity:.9}.download-mockup:disabled{opacity:.55;cursor:wait}
/* V4: compact text selection box + apply-to-both control */
.artwork-layer.text-art{padding:8px 12px;min-width:44px;min-height:44px;max-width:88%;max-height:80%;box-sizing:border-box}
.artwork-layer.text-art .sample-text{overflow:visible;max-width:none;max-height:none}
.artwork-layer.text-art .resize-handle{right:-9px;bottom:-9px}
.apply-both{display:flex!important;align-items:center;gap:9px;margin:14px 0 0;font-family:Mosseta,OptimaCustom,sans-serif!important;font-size:10px!important;letter-spacing:.08em!important;cursor:pointer}
.apply-both[hidden]{display:none!important}.apply-both input{accent-color:#9aa76b}

/* V5 fixes: larger design scaling, option-specific colors, styrofoam sizing, footer restoration */
.artwork-layer.text-art{max-width:none;max-height:none}
.preview-grid.styrofoam-preview{max-width:820px;gap:0}
.preview-grid.styrofoam-preview.double{gap:0}
.preview-grid.styrofoam-preview.double .preview-card{width:44%;margin:0 -1%}
.preview-grid.styrofoam-preview .product-stage{height:650px}
.preview-grid.styrofoam-preview .product-base{transform:scale(1.28);transform-origin:center}

.site-footer{position:relative!important}
.site-footer .footer-inner{grid-template-columns:minmax(260px,.9fr) minmax(380px,1.25fr)!important;justify-content:center!important;align-items:center!important;max-width:1120px!important;margin:0 auto!important;padding-bottom:72px!important}
.site-footer .footer-brand{display:flex!important;justify-content:center!important;align-items:center!important}
.site-footer .footer-brand img{width:min(310px,100%)!important;max-width:310px!important;height:auto!important}
.site-footer .footer-links{display:grid!important;grid-template-columns:repeat(2,minmax(130px,1fr))!important;gap:54px!important;justify-items:center!important;text-align:center!important}
.site-footer .footer-column{align-items:center!important;text-align:center!important}
.site-footer .footer-legal{display:none!important}
.site-footer .footer-copyright{position:absolute!important;left:50%!important;bottom:22px!important;transform:translateX(-50%)!important;width:max-content!important;max-width:calc(100% - 32px)!important;text-align:center!important}
.site-footer .footer-copyright a{color:inherit!important;text-decoration:none!important}
.site-footer .footer-copyright span{display:inline-block!important;margin:0 8px!important}
@media(max-width:850px){.preview-grid.styrofoam-preview .product-stage{height:min(85vw,520px)}.preview-grid.styrofoam-preview .product-base{transform:scale(1.18)}.site-footer .footer-inner{grid-template-columns:1fr!important;padding-bottom:78px!important}.site-footer .footer-brand img{width:min(280px,78vw)!important}.site-footer .footer-links{width:100%!important;gap:24px!important}.site-footer .footer-copyright{width:calc(100% - 28px)!important;white-space:normal!important;line-height:1.8!important}}

.preview-purpose{display:inline-block;margin-top:5px;font-size:.92em;}


/* V8: exact Bottomland swatch + mobile viewport/preview containment */
html,body{width:100%;max-width:100%;margin:0!important;padding:0!important;overflow-x:hidden;background:#fff!important}
.studio-page{width:100%;max-width:100%;box-sizing:border-box;overflow-x:hidden}
@media(max-width:850px){
  html,body,.studio-page{margin:0!important;width:100%!important;max-width:100vw!important;overflow-x:hidden!important;background:#fff!important}
  .studio-page{padding-left:14px!important;padding-right:14px!important;box-sizing:border-box!important}
  .studio-workspace,.studio-preview,.preview-grid,.preview-card,.product-stage{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
  .preview-grid{width:100%!important;margin-left:auto!important;margin-right:auto!important;overflow:visible!important}
  .preview-grid.double{gap:6px!important}
  .preview-grid.double .preview-card{width:calc(50% - 3px)!important;flex:0 1 calc(50% - 3px)!important}
  .product-stage,.preview-grid.double .product-stage{width:100%!important;height:clamp(270px,92vw,500px)!important;overflow:visible!important}
  .preview-grid.double .product-stage{height:clamp(230px,58vw,350px)!important}
  .product-base{inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center center!important}
  .preview-grid.styrofoam-preview .product-base{transform:scale(1.08)!important}
  .preview-grid.styrofoam-preview.double .preview-card{width:48%!important;margin:0!important;flex:0 1 48%!important}
  .preview-grid.styrofoam-preview .product-stage{height:clamp(260px,70vw,420px)!important}
  .artwork-layer{max-width:90%!important;max-height:82%!important}
}
