/* Propietario: loading-layout. Fuente editable; migración 18-11-2026, sin cambios de valores. */
/* commerce.css: orden original conservado dentro del componente. */







.skeleton { display: block; position: relative; overflow: hidden; background: #E5EDF3; border-radius: 6px; }
.skeleton::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg,transparent 10%,rgb(255 255 255 / 65%) 50%,transparent 90%); transform: translateX(-100%); animation: skeleton-load 1.5s linear infinite; }
.skeleton-line { height: 16px; width: 100%; margin: 8px 0; }
.skeleton-line--short { width: 55%; }
.skeleton-title { height: 36px; width: 85%; margin: 20px 0; }
.skeleton-control { height: 44px; width: 100%; margin: 8px 0; }
.skeleton-card__photo { aspect-ratio: 1.12; }
.skeleton-product__photo { aspect-ratio: 1; min-width: 0; }
.skeleton-quote { display: grid; grid-template-columns: 72px minmax(0,1fr) 120px; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--color-line); }
.skeleton-quote > .skeleton:first-child { width: 72px; height: 72px; }
.loading-header { display: flex; align-items: center; gap: 32px; min-height: 108px; color: var(--color-muted); font-size: 14px; }
.loading-header img { width: 145px; }
.loading-header > .skeleton { flex: 1; }
.loading-navigation { height: 61px; display: flex; gap: 36px; align-items: center; }
.loading-navigation > .skeleton { width: 135px; height: 18px; }
.load-error { padding: 24px; background: var(--color-tide-wash); border-radius: 12px; }
.load-error h2 { font-size: 23px; }
.load-error p { color: var(--color-muted); font-size: 15px; }
[data-image-shell]:not(.is-loaded):has(img[data-image])::before { content: ""; position: absolute; inset: 12px; background: #E5EDF3; border-radius: 8px; z-index: -1; }
[data-image-shell]:not(.is-loaded) img[data-image] { opacity: 0; }
.image-fallback { font-size: 13px; color: var(--color-muted); text-align: center; padding: 16px; }
.image-failed .product-zoom { display: none; }

@keyframes skeleton-load { to { transform: translateX(100%); } }
@media(max-width:760px) {
  .loading-header { gap: 14px; min-height: 92px; }
  .loading-header img { width: 100px; }
  .loading-navigation { display: none; }
  .loading-header > span:last-child { font-size: 12px; }
  .skeleton-quote { grid-template-columns: 60px 1fr; }
  .skeleton-quote > .skeleton:first-child { width: 60px; height: 60px; }
  .skeleton-quote > .skeleton:last-child { grid-column: 2; }
}
/* brand.css: orden original conservado dentro del componente. */
.loading-header img { width: 145px; height: auto; }
