/* Reset/Podstawy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    color: #222;
    background: #f4f6f8;
}


/* Naglowek */
.iwt-header {
    background: #0a3d62;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}
.iwt-logo {
    width: 140px;
    display: block;
    margin: 0 auto 10px;
}

/* Filtry */
.iwt-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
    background: #fff;
    border-bottom: 1px solid #ddd;
}
.filter-btn {
    padding: 10px 18px;
    border: none;
    background: #d1d1d1;
    cursor: pointer;
    font-weight: bold;
    border-radius: 5px;
    transition: .3s;
}
.filter-btn.active,
.filter-btn:hover {
    background: #0a3d62;
    color: #fff;
}

/* Siatka produktów */
.iwt-products {
    display: grid;
    gap: 25px;
    grid-template-columns: repeat(5, 280px);
    justify-content: center;
}

.iwt-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 7px rgba(0,0,0,.1);
    overflow: hidden;
    text-align: center;
    transition: 0.3s ease;
}
.iwt-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.iwt-card h3 {
    margin: 10px 0;
    font-size: 1.1rem;
}
.iwt-desc {
    font-size: .9rem;
    padding: 0 14px 10px;
    color: #444;
}
.iwt-btn {
    display: inline-block;
    margin-bottom: 12px;
    padding: 8px 14px;
    background: #0a3d62;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: .9rem;
}
.iwt-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #ddd;
}

.iwt-filters-left {
    display: flex;
    gap: 10px;
}

.iwt-filters-right img {
    height: 55px;
}
.iwt-btn {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
    padding: 10px 18px;
    background: #0a3d62;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-size: .9rem;
    overflow: hidden;
    transition: all 0.35s ease;
}

.iwt-btn::after {
    content: "→";
    position: absolute;
    right: 14px;
    opacity: 0;
    transition: all 0.35s ease;
}

.iwt-btn:hover {
    padding-right: 32px;
    background: #07406f;
    box-shadow: 0 0 12px rgba(10,61,98,0.6);
}

.iwt-btn:hover::after {
    opacity: 1;
}
.iwt-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
}
/* =========================
   RESPONSYWNOŚĆ – IWT
========================= */

/* DUŻE DESKTOPY */
@media (max-width: 1600px) {
  .iwt-products {
    grid-template-columns: repeat(4, 280px);
  }
}

/* LAPTOP */
@media (max-width: 1400px) {
  .iwt-products {
    grid-template-columns: repeat(3, 280px);
  }
}

/* TABLETY POZIOME */
@media (max-width: 1200px) {
  .iwt-products {
    grid-template-columns: repeat(3, 260px);
    gap: 20px;
  }

  .iwt-filters {
    padding: 16px 20px;
  }
}

/* TABLETY PIONOWE */
@media (max-width: 992px) {
  .iwt-products {
    grid-template-columns: repeat(2, 260px);
  }

  .iwt-filters {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .iwt-filters-left {
    flex-wrap: wrap;
    justify-content: center;
  }

  .iwt-filters-right img {
    height: 48px;
  }
}

/* TELEFONY */
@media (max-width: 768px) {
  .iwt-products {
    grid-template-columns: 1fr;
    padding: 20px 10px;
  }

  .iwt-card {
    max-width: 340px;
    margin: 0 auto;
  }

  .iwt-card img {
    height: 200px;
  }

  .filter-btn {
    padding: 10px 14px;
    font-size: 0.85rem;
  }

  .iwt-btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }
}

/* MAŁE TELEFONY */
@media (max-width: 480px) {
  .iwt-card img {
    height: 180px;
  }

  .iwt-desc {
    font-size: 0.85rem;
  }

  .iwt-header {
    padding: 16px 0;
  }

  .iwt-logo {
    width: 120px;
  }
}
