/* C&GO PRINT | Ajuste visual del estampado para telas claras */
.cg-contrast-admin{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(220px,.85fr);gap:1rem 1.5rem;align-items:center;margin:1.35rem 0;padding:1.25rem;border:1px solid #624875;border-radius:1rem;background:linear-gradient(120deg,#211529,#141217);}
.cg-contrast-admin h3{margin:.25rem 0 .5rem;line-height:1.1}
.cg-contrast-admin .hint{margin:.5rem 0;line-height:1.6;color:#d0bed7}
.cg-contrast-admin__level select{width:100%;min-height:44px;background:#0f0e12;color:#f2eafb;border:1px solid #7f6a89;border-radius:.55rem;padding:.7rem}
.cg-contrast-admin__note{grid-column:1 / -1;border-top:1px solid #ffffff20;padding-top:1rem;margin:0}
@media(max-width:720px){.cg-contrast-admin{grid-template-columns:1fr;padding:1rem}.cg-contrast-admin__note{grid-column:auto}}

/* Control de contraste de toda la tienda */
.cg-contrast-global{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.8fr);gap:1.2rem;padding:1.25rem;border:1px solid #654877;background:linear-gradient(120deg,#1e1726,#141217);border-radius:1rem;margin:1.2rem 0}
.cg-contrast-global h2{font-size:clamp(1.5rem,3vw,2rem)}
.cg-contrast-global .hint{color:#d6cad9}
.cg-global-contrast-form{display:flex;flex-direction:column;justify-content:center;gap:.6rem}
.cg-global-contrast-form select{background:#110e16;color:#f5edfc;border:1px solid #8c70a2;border-radius:.55rem;min-height:44px;padding:.65rem;width:100%}
.cg-reference-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,1fr);gap:1.2rem;padding:1rem;margin:.8rem 0 1.2rem;background:#17121e;border:1px solid #654a78;border-radius:.8rem}
.cg-reference-editor__copy strong{font-size:1rem}
.cg-reference-editor__controls{display:flex;flex-direction:column;gap:.55rem;min-width:0}
.cg-reference-editor__controls input[type=file]{max-width:100%;width:100%}
.cg-reference-current{margin:.75rem 0 0;max-width:240px}
.cg-reference-current img{display:block;width:100%;height:160px;object-fit:contain;background:#0d0c11;border:1px solid #473b4d;border-radius:.6rem}
.cg-reference-current figcaption{margin:.3rem 0;color:#dbcce5;font-size:.8rem}
.cg-reference-check{display:flex;gap:.6rem;align-items:flex-start;font-size:.9rem;line-height:1.45;color:#e6d5f0}
.cg-reference-check input{width:18px;height:18px;flex:none;margin-top:.12rem;accent-color:#ab6bd9}
.cg-reference-preview{display:flex;align-items:center;gap:1rem;padding:.65rem;background:#221929;border-radius:.65rem;border:1px solid #785789;min-width:0}
.cg-reference-preview[hidden]{display:none}
.cg-reference-preview img{width:90px;height:110px;object-fit:contain;flex:none}
.cg-reference-swatches{display:flex;gap:.35rem;margin-top:.35rem;flex-wrap:wrap}
.cg-reference-swatches i{width:26px;height:26px;border-radius:50%;border:1px solid #ffffff77}
@media(max-width:750px){.cg-contrast-global,.cg-reference-editor{grid-template-columns:1fr}}

/* Editor de imágenes por color y vistas */
.cg-color-photo-manager{margin:1.4rem 0;padding:1.2rem;border:1px solid #654a78;border-radius:1rem;background:linear-gradient(120deg,#1a1520,#121116)}
.cg-color-photo-manager__heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}
.cg-color-photo-manager__list{display:grid;gap:1rem;margin-top:1rem}
.cg-color-photo-group{padding:1rem;border:1px solid #4c3b58;border-radius:.9rem;background:#16121b}
.cg-color-photo-group h4{display:flex;align-items:center;gap:.6rem;margin:0 0 .8rem}
.cg-color-photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.85rem}
.cg-color-photo-grid .field{margin:0}
.cg-color-photo-preview{display:block;width:100%;height:120px;object-fit:contain;background:#0d0c11;border:1px solid #473b4d;border-radius:.65rem;margin:.45rem 0 .55rem}
.cg-color-photo-empty{margin:.85rem 0 0;color:#d8cce0}
@media(max-width:900px){.cg-color-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.cg-color-photo-grid{grid-template-columns:1fr;}}

/* V9: no mostrar fotografías de otras variantes cuando se usa «Ninguna». */
.product-viewer .angle-frame[hidden],
.product-viewer .thumb-rail a[hidden],
.product-viewer .cg-no-color-photos[hidden],
.product-media .slide-arrow[hidden],
.product-media .picture-count[hidden],
.product-media .card-closeup[hidden]{display:none!important}
.product-viewer .cg-no-color-photos{min-height:clamp(15rem,50svh,35rem);display:grid;place-items:center;text-align:center;padding:2rem;color:#d5c6df;font-weight:650}
.cg-reference-check.is-disabled{opacity:.55}
