/* assets/css/app.css — Dia a Dia Embalagens */

/* Line-clamp utilities (compatibility) */
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Smooth image loading */
img { transition: opacity 0.2s ease; }
img[loading="lazy"] { opacity: 0; }
img[loading="lazy"].loaded { opacity: 1; }

/* Product description prose */
.prose-descricao { line-height: 1.75; color: #374151; }
.prose-descricao p  { margin-bottom: 0.75rem; }
.prose-descricao ul { list-style: disc; padding-left: 1.25rem; margin-bottom: 0.75rem; }
.prose-descricao li { margin-bottom: 0.25rem; }

/* Gallery thumbnail active state */
.thumb-ativa { ring: 2px; ring-offset: 2px; ring-color: #1f6e1f; opacity: 1; }

/* Fade-in hero */
.hero-fade-in { animation: fadeInUp 0.5s ease both; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Print styles */
@media print {
    header, footer, nav, .no-print { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; text-decoration: none; }
}
