
/* ENKI_PREMIUM_V6_CARDS_2654FO */

#departamentos,
#productos {
  scroll-margin-top:30px;
}

.section-head h2 {
  font-size:clamp(26px,2.5vw,36px);
  font-weight:850;
  letter-spacing:-.8px;
  line-height:1.2;
}

.section-head p {
  color:#aeb8c6;
  line-height:1.65;
}

.departments {
  gap:18px;
}

.department {
  position:relative;
  min-height:120px;
  padding:27px 24px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(145deg,#1b222d,#111720);
  box-shadow:0 12px 30px rgba(0,0,0,.12);
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.department:hover {
  transform:translateY(-4px);
  border-color:rgba(255,213,0,.5);
  box-shadow:0 18px 40px rgba(0,0,0,.25);
}

.department:focus-visible {
  outline:2px solid #ffd500;
  outline-offset:3px;
}

.department small {
  display:block;
  margin-top:11px;
  font-size:12px;
  line-height:1.5;
  font-weight:500;
  color:#aeb8c6;
}

.toolbar {
  gap:14px;
  margin-bottom:23px;
}

.toolbar input,
.toolbar select {
  min-height:49px;
  background:#171e28;
  border:1px solid #354050;
  border-radius:11px;
  color:#f4f6fa;
  font-family:inherit;
}

.toolbar input:focus,
.toolbar select:focus {
  outline:2px solid rgba(255,213,0,.45);
  outline-offset:1px;
}

.grid {
  grid-template-columns:repeat(
    auto-fill,
    minmax(min(100%,260px),1fr)
  );
  gap:23px;
  align-items:stretch;
}

.grid > .card {
  border-radius:19px;
  border:1px solid rgba(255,255,255,.10);
  background:#151c26;
  box-shadow:0 12px 35px rgba(0,0,0,.16);
  overflow:hidden;
  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.grid > .card:hover {
  transform:translateY(-5px);
  border-color:rgba(255,213,0,.30);
  box-shadow:0 22px 48px rgba(0,0,0,.28);
}

.grid > .card .price {
  font-size:clamp(24px,2vw,30px);
  font-weight:900;
  letter-spacing:-.6px;
  color:#fff;
}

.grid > .card .stock {
  color:#aeb8c6;
  font-size:12px;
  line-height:1.5;
}

.grid > .card button,
.grid > .card a {
  transition:
    filter .2s ease,
    transform .2s ease;
}

.grid > .card button:hover,
.grid > .card a:hover {
  filter:brightness(1.07);
}

@media (max-width:900px) {
  .departments {
    gap:13px;
  }

  .grid {
    gap:16px;
  }
}

@media (max-width:560px) {
  .department {
    min-height:100px;
    padding:20px;
  }

  .grid {
    grid-template-columns:1fr;
    gap:18px;
  }

  .grid > .card {
    border-radius:16px;
  }
}

@media (prefers-reduced-motion:reduce) {
  .department,
  .grid > .card,
  .grid > .card button,
  .grid > .card a {
    transition:none;
  }

  .department:hover,
  .grid > .card:hover {
    transform:none;
  }
}
