/* Shared product thumbnails for Home, the department listing and More departments. */
.dept-grid--products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.dept-tile { min-width: 0; overflow: hidden; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 5px 16px -12px rgba(75,56,22,.25); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.dept-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dept-tile:is(:hover, :focus-visible) { border-color: var(--red); }
.dept-tile__media { aspect-ratio: 1; overflow: hidden; background: #f2e8d6; }
.dept-tile__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.dept-tile:hover img { transform: scale(1.035); }
.dept-tile__body { padding: 16px 18px 18px; }
.dept-tile h3 { margin: 0 0 5px; font-size: 1.08rem; line-height: 1.25; color: #22472a; }
.dept-tile:is(:hover, :focus-visible) h3 { color: var(--red-600); }
.dept-tile__body span { display: block; font-size: .8rem; line-height: 1.4; color: #66705e; }

@media (max-width: 700px) {
  .dept-grid--products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .dept-tile { border-radius: 16px; }
  .dept-tile__body { padding: 12px 13px 14px; }
  .dept-tile h3 { font-size: 1rem; }
  .dept-tile__body span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .dept-tile, .dept-tile img { transition: none; }
}
