.frame-customizer-3d{max-width:100%}.customizer-header{text-align:center;margin-bottom:2rem}.customizer-title{font-size:2.5rem;font-weight:700;margin-bottom:1rem}.customizer-description{font-size:1.1rem;color:rgb(var(--color-foreground-75));max-width:600px;margin:0 auto}.customizer-container{display:grid;grid-template-columns:1fr 400px;gap:3rem;align-items:start}@media screen and (max-width: 990px){.customizer-container{grid-template-columns:1fr;gap:2rem}}.customizer-3d-viewer{position:relative;background:rgb(var(--color-background));border-radius:12px;overflow:hidden;box-shadow:0 4px 20px #0000001a}.threejs-container{position:relative;width:100%;height:500px;min-height:400px;background:#f5f5f5;cursor:grab;-webkit-user-select:none;user-select:none;pointer-events:auto;touch-action:none}.threejs-container:active{cursor:grabbing}.threejs-container canvas{display:block;pointer-events:auto;touch-action:none}@media screen and (max-width: 750px){.threejs-container{height:350px}}.loading-overlay{position:absolute;top:0;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#f5f5f5e6;z-index:10}.loading-spinner{width:40px;height:40px;border:3px solid #e0e0e0;border-top:3px solid rgb(var(--color-button));border-radius:50%;animation:spin 1s linear infinite;margin-bottom:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.viewer-controls{position:absolute;top:1rem;right:1rem;z-index:5}.control-btn{width:40px;height:40px;border:none;background:#ffffffe6;border-radius:8px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;box-shadow:0 2px 8px #0000001a}.control-btn:hover{background:#fff;transform:translateY(-1px);box-shadow:0 4px 12px #00000026}.customizer-options{background:rgb(var(--color-background));border-radius:12px;padding:2rem;box-shadow:0 4px 20px #0000001a;height:fit-content}.options-header{margin-bottom:2rem;text-align:center}.options-header h3{font-size:1.5rem;font-weight:600;margin-bottom:.5rem}.options-description{color:rgb(var(--color-foreground-75));font-size:.95rem}.color-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:1rem;margin-bottom:2rem}.color-option{cursor:pointer;border-radius:12px;overflow:hidden;background:#fff;border:2px solid transparent;transition:all .3s ease;text-align:center;box-shadow:0 2px 8px #0000001a}.color-option:hover{transform:translateY(-2px);box-shadow:0 4px 15px #00000026;border-color:rgb(var(--color-button-text))}.color-option.active{border-color:rgb(var(--color-button));box-shadow:0 4px 15px rgba(var(--color-button),.3)}.color-preview{width:100%;height:80px;overflow:hidden;background:#f8f8f8}.color-preview img{width:100%;height:100%;object-fit:cover;transition:transform .3s ease}.color-option:hover .color-preview img{transform:scale(1.05)}.color-name{display:block;font-weight:500;font-size:.9rem;padding:.5rem .5rem .25rem;line-height:1.2}.color-price{display:block;font-size:.85rem;color:rgb(var(--color-foreground-75));padding:0 .5rem .75rem}.selected-color-info{background:rgb(var(--color-background-2));border-radius:8px;padding:1.5rem;margin-bottom:2rem}.selected-preview{display:flex;align-items:center;gap:1rem}.selected-image{width:60px;height:60px;object-fit:cover;border-radius:8px}.selected-details h4{font-size:1.1rem;font-weight:600;margin-bottom:.25rem}.selected-details p{font-size:.95rem;color:rgb(var(--color-foreground-75));margin:0}.customizer-actions{text-align:center}.add-both-to-cart{width:100%;padding:1rem 2rem;font-size:1.1rem;font-weight:600;border:none;border-radius:8px;background:rgb(var(--color-button));color:rgb(var(--color-button-text));cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.add-both-to-cart:hover:not(:disabled){background:rgb(var(--color-button-text));color:rgb(var(--color-button));transform:translateY(-2px);box-shadow:0 4px 15px rgba(var(--color-button),.3)}.add-both-to-cart:disabled{opacity:.6;cursor:not-allowed;transform:none}.btn-loading{display:inline-flex;align-items:center;gap:.5rem}.btn-loading:before{content:"";width:16px;height:16px;border:2px solid currentColor;border-top:2px solid transparent;border-radius:50%;animation:spin 1s linear infinite}.error-message{text-align:center;padding:3rem 2rem;color:#d32f2f;font-size:1.1rem}.color-loading,.no-colors,.error{text-align:center;padding:2rem;color:rgb(var(--color-foreground-75));font-style:italic}@media screen and (max-width: 750px){.customizer-title{font-size:2rem}.customizer-options{padding:1.5rem}.color-grid{grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:.75rem}.color-preview{height:60px}.selected-preview{flex-direction:column;text-align:center}.add-both-to-cart{padding:.875rem 1.5rem;font-size:1rem}}@media screen and (max-width: 550px){.customizer-container{gap:1.5rem}.color-grid{grid-template-columns:repeat(2,1fr)}}.color-option:focus{outline:2px solid rgb(var(--color-button));outline-offset:2px}.control-btn:focus{outline:2px solid rgb(var(--color-button));outline-offset:2px}.add-both-to-cart:focus{outline:2px solid rgb(var(--color-button-text));outline-offset:2px}.debug-panel{background:#f8f9fa;border:1px solid #dee2e6;border-radius:8px;padding:1rem;margin-bottom:1rem;font-family:monospace;font-size:.85rem}.debug-panel h4{margin:0 0 1rem;color:#495057;font-size:1rem}.debug-content{display:grid;gap:.5rem}.debug-item{display:flex;justify-content:space-between;align-items:center;padding:.25rem 0;border-bottom:1px solid #e9ecef}.debug-item:last-child{border-bottom:none}.debug-item strong{color:#495057;min-width:100px}.debug-item span{color:#6c757d;word-break:break-all;text-align:right;max-width:200px}.debug-panel button{margin-top:.5rem;padding:.25rem .5rem;font-size:.75rem;border:1px solid #dee2e6;background:#fff;border-radius:4px;cursor:pointer}.debug-panel button:hover{background:#f8f9fa}.btn-secondary{background:#6c757d;color:#fff;border:none}.btn-secondary:hover{background:#5a6268}@media (prefers-contrast: high){.color-option{border-width:3px}.control-btn{border:1px solid}.debug-panel{border-width:2px}}
/*# sourceMappingURL=/cdn/shop/t/2/assets/3d-frame-customizer.css.map */
