/* ===================================================== */
/* PRODUCT GALLERY SECTION (2026 MODERN COMPACT GRID) */
/* ===================================================== */

.product-gallery-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

/* ===================================================== */
/* BACKGROUND EFFECT */
/* ===================================================== */

.product-gallery-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  top: -220px;
  right: -220px;
  background: radial-gradient(circle,
      rgba(37, 99, 235, 0.08),
      transparent 70%);
  filter: blur(40px);
  z-index: 0;
}

/* ===================================================== */
/* INTRO */
/* ===================================================== */

.gallery-intro {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
  position: relative;
  z-index: 2;
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.gallery-intro h1 {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.1;
  color: #0f172a;
  margin-bottom: 16px;
  font-weight: 800;
}

.gallery-intro p {
  font-size: 15px;
  line-height: 1.8;
  color: #64748b;
}

/* ===================================================== */
/* FILTERS */
/* ===================================================== */

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.filter-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #0f172a;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn:hover {
  border-color: #2563eb;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: #2563eb;
  color: white;
  border-color: #2563eb;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.18);
}

/* ===================================================== */
/* GRID */
/* ===================================================== */

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 2;
}

/* ===================================================== */
/* PRODUCT CARD */
/* ===================================================== */

.product-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  transition: 0.35s ease;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(37, 99, 235, 0.2);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

/* ===================================================== */
/* IMAGE */
/* ===================================================== */

.product-image {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: #f1f5f9;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.04);
}

/* ===================================================== */
/* BADGE */
/* ===================================================== */

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #2563eb;
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

/* ===================================================== */
/* CONTENT */
/* ===================================================== */

.product-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-content h3 {
  font-size: 17px;
  line-height: 1.4;
  color: #0f172a;
  margin-bottom: 8px;
  font-weight: 700;
}

.product-artno {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 14px;
  font-weight: 600;
}

/* ===================================================== */
/* META */
/* ===================================================== */

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.meta-item {
  padding: 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: 0.3s ease;
}

.meta-item:hover {
  background: white;
  border-color: #cbd5e1;
}

.meta-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.meta-item p {
  font-size: 12px;
  line-height: 1.6;
  color: #475569;
  font-weight: 500;
}

/* ===================================================== */
/* BUTTON */
/* ===================================================== */

.product-btn {
  margin-top: 16px;
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: #0f172a;
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.product-btn:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.18);
}

/* ===================================================== */
/* RESPONSIVE */
/* ===================================================== */

@media (max-width: 1300px) {
  .product-gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .product-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-image {
    height: 220px;
  }
}

@media (max-width: 768px) {

  .product-gallery-section {
    padding: 70px 0;
  }

  .gallery-intro {
    margin-bottom: 35px;
  }

  .gallery-intro p {
    font-size: 14px;
  }

  .gallery-filters {
    gap: 8px;
    margin-bottom: 30px;
  }

  .filter-btn {
    padding: 9px 14px;
    font-size: 11px;
  }

  .product-gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-image {
    height: 230px;
  }

  .product-content {
    padding: 16px;
  }

  .product-content h3 {
    font-size: 16px;
  }

  .meta-item {
    padding: 11px;
  }

  .product-btn {
    height: 42px;
    font-size: 12px;
  }
}