/* Extiende mockup.css — solo estilos de la vista /colores */

.colores-app .sidebar {
    width: 380px;
}

.colores-app .app-shell {
    grid-template-columns: 380px 1fr;
}

.color-active-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.color-active-card__name {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--accent);
}

.color-active-card__meta {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.color-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.color-swatch-btn {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: 100%;
    padding: 0.55rem 0.6rem;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s, transform 0.12s, background 0.15s;
}

.color-swatch-btn:hover {
    border-color: rgba(212, 255, 0, 0.35);
    transform: translateY(-1px);
}

.color-swatch-btn.is-active {
    border-color: var(--accent);
    background: rgba(212, 255, 0, 0.08);
    box-shadow: 0 0 0 1px rgba(212, 255, 0, 0.2);
}

.color-swatch-btn__chip {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--swatch, #fff);
    border: 1px solid rgba(255, 255, 255, 0.18);
    flex-shrink: 0;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.color-swatch-btn.is-light .color-swatch-btn__chip {
    border-color: rgba(0, 0, 0, 0.2);
}

.color-swatch-btn__label {
    line-height: 1.25;
    color: var(--text-muted);
}

.color-swatch-btn.is-active .color-swatch-btn__label {
    color: var(--text);
}

.colores-app .empty-state {
    display: none !important;
}

.colores-app .design-layer {
    display: none !important;
}

.colores-app .canvas-toolbar,
.colores-app .design-info {
    display: none !important;
}

.colores-app .size-badge {
    display: none !important;
}

.colores-app .shirt-container {
    width: 100%;
    height: 100%;
}

.colores-app .shirt-render-stack {
    position: relative;
    width: 100%;
    height: 100%;
}

.color-photo-panel {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.color-photo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.color-photo-empty {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
}

@media (max-width: 900px) {
    .colores-app .app-shell {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr;
        height: auto;
        min-height: 100vh;
    }

    .colores-app .sidebar {
        width: 100%;
        max-height: 46vh;
    }

    .colores-app body,
    body.colores-app {
        overflow: auto;
    }
}
