/* Modificaciones Específicas de Panes y Hielo */
#iceGuideContainer {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    display: none; /* Se activa por JS */
    align-items: center;
    justify-content: center;
    z-index: 5;
}
.guide-circle {
    border: 2px dashed #ff9900;
    border-radius: 50%;
    background-color: rgba(255, 153, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
#iceCircleLabel {
    position: absolute;
    bottom: -25px;
    background: #ff9900;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}
/* Overlay de Carga (Atom) */
#loadingOverlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 9999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#loadingOverlay.active {
    display: flex;
}
.atom-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 20px;
}
.nucleus {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 153, 0, 0.5);
}
.orbit {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(255, 153, 0, 0.3);
    border-radius: 50%;
}
.electron {
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    top: -12.5px;
    left: 50%;
    transform: translateX(-50%);
    animation: rotateSelf 2s linear infinite;
}
.orbit-1 { width: 100px; height: 100px; animation: spin 3s linear infinite; }
.orbit-2 { width: 125px; height: 125px; animation: spin 4s linear infinite reverse; }
.orbit-3 { width: 150px; height: 150px; animation: spin 5s linear infinite; }
@keyframes spin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes rotateSelf { 100% { transform: translateX(-50%) rotate(360deg); } }


/* --- PRODUCT PICKER (Icon Buttons) --- */
.product-picker {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 2px;
    padding: 0;
}

.prod-tab-btn {
    flex: 1;
    max-width: 140px; /* Tamaño estándar inicial, ajustable si el usuario pide más */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px !important;
    background: #fff !important;
    border: 2px solid #eee !important;
    border-radius: 12px !important;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.prod-tab-btn img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    filter: grayscale(0.4);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.prod-tab-btn span {
    font-weight: bold;
    color: #888;
    font-size: 0.85em;
    text-align: center;
}

/* Pressed / Active State */
.prod-tab-btn.active {
    border-color: #ff6600 !important;
    background-color: #fffaf5 !important;
    box-shadow: inset 0 2px 8px rgba(255, 102, 0, 0.1), 0 2px 4px rgba(0,0,0,0.05) !important;
    transform: translateY(2px);
}

.prod-tab-btn.active img {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}

.prod-tab-btn.active span {
    color: #ff6600;
}

.prod-tab-btn:hover:not(.active) {
    border-color: #ddd !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.1) !important;
}

/* Espaciado compacto para el formulario */
.form-group > p {
    margin-bottom: 6px !important;
}
