<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>PrimeSupply | Catálogo</title>
<link rel="icon" type="image/png" href="https://img.icons8.com/color/48/000000/tools--v1.png">
<style>
body, html { margin: 0; padding: 0; height: 100%; overflow: hidden; background-color: #ffffff; }
iframe { display: block; width: 100%; height: 100%; border: none; opacity: 0; transition: opacity 0.5s ease-in; }
#loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; z-index: 9999; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.spinner { width: 50px; height: 50px; border: 5px solid #eee; border-top: 5px solid #0056b3; border-radius: 50%; animation: spin 1s linear infinite; margin-bottom: 15px; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
</style>
</head>
<body>
<div id="loader">
<div class="spinner"></div>
<div style="font-family:sans-serif; color:#0056b3; font-weight:bold;">Cargando PrimeSupply...</div>
</div>
<iframe id="appFrame"
src="https://script.google.com/macros/s/AKfycbzGIzVBVeFZ0ec0P6ExpaGAnf7ZvD5MVn21cp8sOat7OxH92FliaaAgtc_xe8AtcraALg/exec"
onload="this.style.opacity=1; document.getElementById('loader').style.display='none';">
</iframe>
</body>
</html>