.gryphos-studio{--navy:#142334;--accent:#c84020;--line:#d9e0e7;--ink:#182534;--muted:#536476;font:15px/1.5 system-ui,sans-serif;color:var(--ink);background:#eef1f4;border:1px solid var(--line);border-radius:14px;padding:clamp(12px,2vw,24px);box-sizing:border-box;width:100%;max-width:1440px;margin:auto}.gryphos-studio *{box-sizing:border-box}.gryphos-studio [hidden]{display:none!important}.gryphos-studio h2,.gryphos-studio h3,.gryphos-studio h4{font-weight:750;line-height:1.25;margin:0 0 10px;color:var(--ink)}.gryphos-studio h2{font-size:clamp(22px,3vw,32px)}.gryphos-studio h3{font-size:19px}.gryphos-studio h4{font-size:15px}.gryphos-studio p{margin:10px 0}.gryphos-studio button{font:inherit;font-size:14px;font-weight:650;line-height:1.25;color:var(--ink);background:white;border:1px solid var(--line);border-radius:9px;min-height:44px;padding:9px 13px;cursor:pointer;white-space:normal;overflow-wrap:anywhere;box-shadow:none;text-transform:none}.gryphos-studio button:hover{background:#e5ebf0}.gryphos-studio button:disabled{opacity:.5;cursor:default}.gryphos-studio .g-active{background:var(--navy);color:white;border-color:var(--navy)}.gryphos-studio .g-primary{background:var(--accent);color:white;border-color:var(--accent)}.gryphos-studio :focus-visible{outline:3px solid #c84020;outline-offset:2px}.g-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;background:var(--navy);color:#fff;padding:14px 16px;border-radius:10px;gap:8px;margin-bottom:16px}.g-header strong{font-size:18px;letter-spacing:.5px}.g-header small{font-size:11px;color:#d1dae3}.g-heading,.g-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.g-heading{margin-bottom:14px}.g-title{overflow-wrap:anywhere;min-width:0}.g-actions{justify-content:flex-end}.g-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;align-items:start}.g-card{background:white;border:1px solid var(--line);border-radius:12px;padding:clamp(12px,2vw,18px);min-width:0}.g-viewer{position:sticky;top:15px}.g-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;background:#edf1f5;padding:5px;border-radius:10px}.g-nav button{padding:7px 3px;font-size:12px}.g-zones{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:14px 0}.g-zones button:last-child{grid-column:1/-1}.g-content{display:grid;gap:10px}.g-field{display:grid;gap:6px;font-weight:650;font-size:14px;min-width:0}.g-field>span{display:flex;justify-content:space-between;gap:8px}.g-field input:not([type=range]):not([type=color]),.g-field select,.g-field textarea{width:100%;min-width:0;min-height:44px;padding:8px 10px;background:white;border:1px solid #bfcbd7;border-radius:8px;color:var(--ink);font:inherit;font-size:16px;margin:0}.g-field input[type=file]{font-size:13px!important}.g-field input[type=range],.g-viewer input[type=range]{width:100%;height:30px;accent-color:var(--accent)}.g-toggle{display:flex;align-items:flex-start;gap:9px;font-size:14px;line-height:1.45}.g-toggle input{width:20px;height:20px;flex:none;accent-color:var(--accent)}.g-color,.g-logo{min-width:0;border:1px solid var(--line);border-radius:10px;padding:12px;margin:0;display:grid;gap:10px}.g-color legend{font-size:14px;font-weight:700}.g-color input[type=color]{width:64px;height:45px;border:1px solid var(--line);padding:2px;border-radius:7px;background:white}.g-cmyk{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}.g-cmyk input{padding:6px 3px!important;text-align:center}.g-logo-thumb{width:60px;height:60px;object-fit:contain;background:#eef1f4}.g-hint,.g-status{font-size:13px;color:var(--muted);line-height:1.5}.g-tip{padding:12px;background:#f5f7fa;border:1px solid var(--line);border-radius:9px;font-size:14px}.g-paper-wrap{background:#e1e6ec;border-radius:10px;padding:10px;margin-top:16px;display:flex;justify-content:center}.g-paper{display:block;width:min(100%,370px);height:auto;aspect-ratio:37/42;background:repeating-conic-gradient(#d0d7e0 0% 25%,#edf1f5 0% 50%) 50%/20px 20px}.g-uv-area{display:flex;justify-content:center;align-items:center;background-color:#e8edf2;background-position:center;background-size:contain;background-repeat:no-repeat;border-radius:12px;height:clamp(240px,45vh,490px);overflow:hidden}.g-uv{display:block;width:auto;height:100%;max-width:100%;object-fit:contain;touch-action:pan-y;cursor:grab}.g-readout{font-size:13px;color:var(--muted);font-variant-numeric:tabular-nums}.g-viewer .g-actions{justify-content:center}.g-viewer>.g-primary{width:100%}.g-switch{display:none}.g-dialog{width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 30px);padding:20px;border:1px solid var(--line);border-radius:14px;background:white;color:var(--ink);overflow:auto;margin:auto}.g-dialog::backdrop{background:#142334aa}.g-checkout form,.g-fields{display:grid;gap:12px;min-width:0}.g-fields{border:0;padding:0;margin:0}.g-dialog progress{width:100%;accent-color:var(--accent)}.g-error{color:#922b19}.g-checkout .g-primary{width:100%}.g-dialog .g-heading h2{font-size:23px;margin:0}@media(max-width:850px){.g-grid{display:block}.g-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:12px;position:sticky;top:0;z-index:5;background:#eef1f4;padding:6px 0}.g-grid[data-view=editor] .g-viewer,.g-grid[data-view=preview] .g-editor{display:none}.g-viewer{position:static}.g-uv-area{height:clamp(250px,48vh,500px)}}@media(max-width:400px){.gryphos-studio{padding:10px}.g-card{padding:10px}.g-nav button{font-size:10px}.g-heading>.g-actions{width:100%}.g-heading>.g-actions button{flex:1}.g-header strong{font-size:15px}.g-uv-area{height:260px}}

.gryphos-product-section{clear:both;width:100%;margin:32px 0;scroll-margin-top:80px}.gryphos-product-action a{display:inline-block;padding:12px 20px}.gryphos-product-section>.gryphos-studio{max-width:100%;margin:0 auto}.gryphos-product-section>h2{margin-bottom:16px}

.gryphos-editor-details>summary{cursor:pointer;font-weight:700;padding:14px;border:1px solid #d7dfe7;border-radius:8px;margin-bottom:12px;color:#142334}.gryphos-editor-details[open]>summary{background:#f0f3f6}

.gryphos-studio .g-commerce{display:grid;gap:7px;padding:14px;margin:12px 0;border:1px solid #d9e0e7;border-radius:10px;background:#f5f7fa;font-size:14px;line-height:1.45;color:#182534;overflow-wrap:anywhere}.gryphos-studio .g-commerce strong:last-of-type{font-size:17px}.gryphos-studio .g-commerce small{margin:0}

/* Alpha 0.5: product gallery/summary replacement, limited to enabled products. */
.gryphos-inline-editor{float:none!important;clear:both;width:100%!important;max-width:100%!important;margin:0 0 28px!important;scroll-margin-top:24px}
.gryphos-inline-product .product>.summary{float:none!important;width:100%!important;clear:both}
.gryphos-inline-editor .gryphos-studio{max-width:none;margin:0}
.gryphos-studio h1.g-title{font-size:clamp(24px,3vw,36px);line-height:1.2;font-weight:800;color:var(--ink);margin:0;overflow-wrap:anywhere}
.gryphos-inline-editor .g-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);grid-template-areas:'viewer editor'}
.gryphos-inline-editor .g-viewer{grid-area:viewer}.gryphos-inline-editor .g-editor{grid-area:editor}
.g-product-purchase{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);align-items:start;gap:12px 18px;background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px;margin:0 0 16px;min-width:0}
.gryphos-studio .g-inline-price{margin:0;border:0;background:transparent;padding:0}.gryphos-studio .g-price{font-size:clamp(24px,3vw,32px);line-height:1.2;font-weight:800}
.g-buy-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(88px,.55fr);gap:10px}.g-buy-fields:has(>label:nth-child(3))>label:first-child{grid-column:1/-1}.g-buy-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;grid-column:1/-1}.g-buy-actions button{min-height:48px}.g-buy-actions button:last-child:not([hidden]){grid-column:1/-1}.g-product-purchase>small{grid-column:1/-1}
@media(max-width:850px){.g-product-purchase{grid-template-columns:1fr;padding:12px;gap:10px}.gryphos-inline-editor .g-grid{display:block}.g-buy-fields{grid-template-columns:minmax(0,1fr) minmax(85px,.5fr)}}
@media(max-width:360px){.g-buy-actions{grid-template-columns:1fr}}

/* Alpha 0.6: native storefront experience. Scoped to the configurator only. */
.gryphos-studio.g-native{container-type:inline-size;background:transparent;border:0;border-radius:0;padding:0;max-width:1440px;margin:0 auto;font:15px/1.55 system-ui,-apple-system,BlinkMacSystemFont,sans-serif;--accent:#b93c1d}
.gryphos-studio.g-native .g-grid{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,2fr);grid-template-areas:'viewer editor';gap:clamp(16px,3vw,36px);align-items:start}
.gryphos-studio.g-native .g-grid[data-view] .g-editor,.gryphos-studio.g-native .g-grid[data-view] .g-viewer{display:block;min-width:0}
.gryphos-studio.g-native .g-viewer{grid-area:viewer;position:sticky;top:20px;padding:0;border:0;background:transparent;box-shadow:none}
.gryphos-studio.g-native .g-editor{grid-area:editor;border:0;background:transparent;padding:0;box-shadow:none}
.gryphos-studio.g-native .g-heading{display:grid;gap:10px;margin:0 0 16px}
.gryphos-studio.g-native h1.g-title,.gryphos-studio.g-native h2.g-title{font-size:clamp(24px,3vw,34px);line-height:1.15;letter-spacing:-.035em;margin:0;text-align:left}
.gryphos-studio.g-native .g-heading .g-actions{justify-content:flex-start}
.gryphos-studio.g-native .g-heading .g-actions button{font-size:13px;min-height:44px}
.gryphos-studio.g-native .g-commercial-top{display:grid;gap:12px;margin:0 0 20px;padding-bottom:18px;border-bottom:1px solid var(--line)}
.gryphos-studio.g-native .g-inline-price{gap:5px;padding:0;background:none;border:0;margin:0;font-size:14px}
.gryphos-studio.g-native .g-price{font-size:clamp(26px,3.5vw,36px);letter-spacing:-.035em}
.gryphos-studio.g-native .g-buy-fields{gap:12px;align-items:end}
.gryphos-studio.g-native .g-nav{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:5px;margin:0 0 16px;background:#edf1f5}
.gryphos-studio.g-native .g-nav button{font-size:13px;min-height:48px;padding:8px;line-height:1.25}
.gryphos-studio.g-native .g-zones{margin:0 0 16px;gap:7px}
.gryphos-studio.g-native .g-zones button{font-size:13px;padding:8px;min-height:44px}
.gryphos-studio.g-native .g-content{gap:14px;min-width:0}
.gryphos-studio.g-native .g-content h3{font-size:20px;margin:0 0 4px}
.gryphos-studio.g-native .g-content .g-field{gap:7px;margin:0}
.gryphos-studio.g-native .g-uv-area{height:clamp(320px,53vh,540px);border:1px solid var(--line);border-radius:16px;background-color:#e9edf1;background-image:radial-gradient(ellipse at center,#fff 0%,#e5eaf0 80%)}
.gryphos-studio.g-native .g-uv{max-width:100%;max-height:100%;object-fit:contain}
.gryphos-studio.g-native .g-viewer h3{font-size:16px;font-weight:700;margin:0 0 10px}
.gryphos-studio.g-native .g-readout{margin:12px 0 0;text-align:center}
.gryphos-studio.g-native .g-viewer .g-actions{justify-content:center;gap:8px}
.gryphos-studio.g-native .g-viewer .g-actions button{min-width:44px}
.gryphos-studio.g-native .g-angles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:14px 0 0}
.gryphos-studio.g-native .g-angles button{font-size:12px;padding:7px 4px}
.gryphos-studio.g-native .g-paper-details,.gryphos-studio.g-native .g-color-advanced{border:1px solid var(--line);border-radius:9px;padding:0 12px;margin:14px 0}
.gryphos-studio.g-native .g-color-advanced{margin:0;border:0;padding:0}
.gryphos-studio.g-native summary{font-size:14px;font-weight:650;cursor:pointer;min-height:44px;padding:11px 0}
.gryphos-studio.g-native .g-paper-wrap{margin:0 0 12px}
.gryphos-studio.g-native .g-product-purchase{display:block;position:sticky;bottom:0;z-index:3;border:1px solid var(--line);border-radius:12px;padding:12px;margin:20px 0 0;background:#fff;box-shadow:0 -3px 12px #1423340a}
.gryphos-studio.g-native .g-buy-actions{display:grid;grid-template-columns:1fr;gap:8px}
.gryphos-studio.g-native .g-buy-actions button{width:100%;min-height:48px}
.gryphos-studio.g-native .g-buy-actions .g-primary{grid-row:1;color:white}
.gryphos-studio.g-native .g-product-purchase>small{display:block;margin:8px 0 0;text-align:center;font-size:12px}
.gryphos-studio.g-native .g-status{overflow-wrap:anywhere;margin:12px 0 0}
.gryphos-studio.g-native .g-dialog .g-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap}
.gryphos-studio.g-native .g-dialog .g-heading button{flex:none;width:auto}
@container (max-width:760px){
 .gryphos-studio.g-native .g-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:'viewer' 'editor';gap:22px}
 .gryphos-studio.g-native .g-viewer{position:static}
 .gryphos-studio.g-native .g-uv-area{height:clamp(250px,44vh,410px)}
 .gryphos-studio.g-native .g-nav{grid-template-columns:repeat(4,minmax(0,1fr))}
 .gryphos-studio.g-native .g-nav button{font-size:12px;padding:7px 3px;overflow-wrap:normal}
 .gryphos-studio.g-native .g-buy-actions{grid-template-columns:1fr 1fr}
 .gryphos-studio.g-native .g-buy-actions .g-primary{grid-row:auto}
 .gryphos-studio.g-native .g-product-purchase{bottom:0;padding-bottom:max(10px,env(safe-area-inset-bottom));}
}
@container (max-width:360px){.gryphos-studio.g-native .g-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.gryphos-studio.g-native .g-buy-actions{grid-template-columns:1fr}.gryphos-studio.g-native .g-angles{grid-template-columns:repeat(2,minmax(0,1fr))}.gryphos-studio.g-native .g-buy-fields{grid-template-columns:1fr}}
@media(max-width:760px){.gryphos-studio.g-native .g-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:'viewer' 'editor';gap:20px}.gryphos-studio.g-native .g-viewer{position:static}.gryphos-studio.g-native .g-uv-area{height:clamp(250px,44vh,410px)}}
@media(prefers-reduced-motion:reduce){.gryphos-studio.g-native *{scroll-behavior:auto!important;transition:none!important}}

.gryphos-studio.g-native .g-purchase-total{display:block;font-size:15px;margin-bottom:10px;line-height:1.4;text-align:center;overflow-wrap:anywhere}
