/* ==========================================================================
   Mega Menu — Pellety (komponent)
   Treść: content block "Pellety-Mega-Menu" (post 1071)
   Kolory z palety Blocksy (var(--theme-palette-color-*)).
   ========================================================================== */

.elnet-mega {
  padding: 6px;
}

.elnet-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.elnet-mega__card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 16px;
  background: var(--theme-palette-color-6, #F7F2EA);
  border: 1px solid var(--theme-palette-color-5, #E7E1D8);
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.elnet-mega__card:hover {
  transform: translateY(-3px);
  border-color: var(--theme-palette-color-1, #F8951E);
  box-shadow: 0 10px 24px rgba(43, 38, 34, .10);
}

.elnet-mega__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--theme-palette-color-1, #F8951E);
  color: #fff;
}

.elnet-mega__icon svg {
  width: 22px;
  height: 22px;
}

.elnet-mega__name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.2;
  color: var(--theme-palette-color-3, #2B2622);
}

.elnet-mega__spec {
  font-family: "Rubik", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #6B6259;
}

.elnet-mega__all {
  display: block;
  text-align: center;
  margin-top: 14px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--theme-palette-color-2, #D97A1C);
  text-decoration: none;
}

.elnet-mega__all:hover { color: var(--theme-palette-color-1, #F8951E); }

/* Responsywność */
@media (max-width: 999px) {
  .elnet-mega__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .elnet-mega__grid { grid-template-columns: 1fr; }
}
