/* === Styl sekcji dostawy (shortcode_dostawa) === */

.dostawa-widget {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 25px 0;
  padding: 10px 0;
}

.dostawa-box {
  position: relative;
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  padding: 16px 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
  transition: all 0.25s ease;
}

/* 🧊 Tło lodu */
.dostawa-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://rybko.pl/wp-content/uploads/2025/10/frozenice2.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  z-index: 0;
  transition: opacity 0.25s ease;
  filter: brightness(1.1);
}

.dostawa-box:hover::before {
  opacity: 0.35;
}

.dostawa-box:hover {
  border-color: #4881fe;
  background: rgba(250, 250, 255, 0.95);
}

/* 🔹 Zawartość */
.dostawa-box > * {
  position: relative;
  z-index: 1;
}

.dostawa-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 10px;
  opacity: 0.95;
}

.dostawa-title {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin: 0 0 6px;
}

.dostawa-text {
  font-size: 13.5px;
  color: #444;
  line-height: 1.5;
  margin: 0;
}

/* 🧭 Kotwica #wysylka — przewijanie z marginesem */
#wysylka {
  scroll-margin-top: 30vh; /* sekcja ustawi się mniej więcej na środku ekranu */
  scroll-behavior: smooth; /* płynne przewijanie */
}
