/* dif-Shop category tile standard 1.0.1. Deliberately scoped to category lists. */
:is(.cd-category-list, .cd-categories-wrapper) {
  --dif-tile-silver-top: #e4e7e9;
  --dif-tile-silver-bottom: #c4c9cd;
  --dif-tile-ink: #252b30;
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)) !important;
  gap: 16px !important;
  align-items: stretch;
}
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry) {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #d2d6d9;
  border-radius: 8px;
  background: var(--dif-tile-silver-bottom) !important;
  text-decoration: none;
  transition: box-shadow .18s ease, border-color .18s ease;
}
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry)::before,
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry)::after { display: none !important; }
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry) .cd-category-image {
  position: static !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  flex: 0 0 auto;
  transform: none !important;
  filter: none !important;
}
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry) :is(.cd-category-info, .cd-category-caption) {
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex: 1 0 auto;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 64px;
  height: auto !important;
  padding: 12px 14px !important;
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--dif-tile-silver-top), var(--dif-tile-silver-bottom)) !important;
  border-top: 1px solid #b7bec3;
  transform: none !important;
  opacity: 1 !important;
}
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry) :is(.cd-category-name, .cd-category-caption > .h5) {
  color: var(--dif-tile-ink) !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  text-align: center !important;
  text-shadow: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere;
  margin: 0 !important;
  padding: 0 !important;
}
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry) .cd-btn { display: none !important; }
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry):hover {
  border-color: #ab441c;
  box-shadow: 0 5px 16px #252b3022;
}
:is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry):focus-visible {
  outline: 3px solid #ab441c;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  :is(.cd-category-list, .cd-categories-wrapper) :is(.cd-category-wrapper, .cd-category-entry) { transition: none; }
}
