/* DevilsMart category bar: deliberately scoped to avoid changing the theme. */
.dsmcci-bar {
  --dsmcci-red: #bc101b;
  --dsmcci-yellow: #ffd737;
  --dsmcci-ink: #171717;
  box-sizing: border-box;
  width: 100%;
  padding: 16px 14px 18px;
  margin: 0 auto 22px;
  background: linear-gradient(120deg, #a70d16 0%, #cd1923 100%);
  border-bottom: 4px solid var(--dsmcci-yellow);
  border-radius: 14px;
  font-family: inherit;
}
.dsmcci-bar *, .dsmcci-bar *::before, .dsmcci-bar *::after { box-sizing: border-box; }
.dsmcci-inner { width: 100%; max-width: 1380px; margin: 0 auto; }
.dsmcci-heading {
  color: #fff;
  font-size: clamp(15px, 1.45vw, 20px);
  font-weight: 800;
  letter-spacing: .1px;
  line-height: 1.3;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.dsmcci-heading-mark { width: 6px; height: 18px; border-radius: 4px; background: var(--dsmcci-yellow); }
.dsmcci-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.dsmcci-item {
  display: flex;
  flex: 0 0 calc(10% - 7.2px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
  min-height: 92px;
  padding: 8px 3px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 11px;
  background: #fff;
  color: var(--dsmcci-ink);
  box-shadow: 0 3px 6px rgba(62, 0, 0, .11);
  text-decoration: none !important;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.dsmcci-item:visited { color: var(--dsmcci-ink); }
.dsmcci-item:hover,
.dsmcci-item:focus-visible {
  color: var(--dsmcci-ink);
  background: var(--dsmcci-yellow);
  transform: translateY(-3px);
  box-shadow: 0 6px 13px rgba(62, 0, 0, .22);
}
.dsmcci-item:focus-visible { outline: 3px solid var(--dsmcci-yellow); outline-offset: 3px; }
.dsmcci-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 37px;
  height: 37px;
  flex: 0 0 37px;
  border-radius: 50%;
  background: #fff2b9;
  color: var(--dsmcci-red);
}
.dsmcci-icon svg { display: block; width: 23px; height: 23px; }
.dsmcci-label {
  display: block;
  width: 100%;
  color: inherit;
  text-align: center;
  font-size: 10.5px;
  font-weight: 750;
  line-height: 1.25;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
@media (max-width: 1150px) {
  .dsmcci-item { flex-basis: calc(16.6667% - 6.667px); }
}
@media (max-width: 560px) {
  .dsmcci-bar { padding: 12px 10px 14px; border-radius: 10px; }
  .dsmcci-grid { gap: 7px; }
  .dsmcci-item { flex-basis: calc(33.3333% - 4.667px); }
  .dsmcci-item { min-height: 73px; }
}
@media (max-width: 340px) {
  .dsmcci-item { flex-basis: calc(50% - 3.5px); }
}
@media (prefers-reduced-motion: reduce) {
  .dsmcci-item { transition: none; }
  .dsmcci-item:hover, .dsmcci-item:focus-visible { transform: none; }
}
