/* ===================================================== */
/* FOOTBAG GALLERY PAGE - CLEAN OEM CATALOG
/* ===================================================== */

:root {
  --primary: #25aae1;
  --primary-dark: #2979a7;

  --dark: #0f172a;
  --muted: #64748b;

  --bg: #f6fbfe;
  --border: #dbe7ef;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* CONTAINER */
.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* ===================================================== */
/* PAGE HEADER
/* ===================================================== */
.gallery-page-header {
  position: relative;
  overflow: hidden;

  padding: 120px 0 70px;

  text-align: center;

  background:
    radial-gradient(
      circle at center,
      rgba(37,170,225,.08),
      transparent 50%
    ),
    linear-gradient(
      180deg,
      #ffffff,
      #f6fbfe
    );
}

.hero-tag {
  display: inline-block;

  padding: 8px 16px;

  border-radius: 999px;

  background: rgba(37,170,225,.08);

  border: 1px solid rgba(37,170,225,.15);

  color: #25aae1;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 1px;

  margin-bottom: 18px;
}

.gallery-page-header h1 {
  font-size: clamp(42px, 6vw, 72px);

  line-height: 1.05;

  font-weight: 900;

  color: #0f172a;

  margin-bottom: 20px;
}

.gallery-page-header h1 span {
  background: linear-gradient(
    175deg,
    #25aae1,
    #2979a7
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gallery-page-header p {
  max-width: 760px;

  margin: auto;

  font-size: 17px;

  line-height: 1.8;

  color: #64748b;
}

.header-stats {
  display: flex;
  justify-content: center;
  gap: 50px;

  margin-top: 50px;

  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;

  font-size: 28px;
  font-weight: 900;

  color: #25aae1;
}

.stat span {
  font-size: 13px;
  color: #64748b;
}
/* ===================================================== */
/* GALLERY SECTION
/* ===================================================== */

.product-gallery-section.full {
  padding: 70px 0 110px;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

/* ===================================================== */
/* PRODUCT CARD
/* ===================================================== */
.product-card {
  position: relative;

  background: white;

  border-radius: 24px;

  overflow: hidden;

  border: 1px solid rgba(37, 170, 225, 0.08);

  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);

  transition: all 0.35s ease;
}
.product-card::before {
  content: "";

  position: absolute;

  top: 0;
  left: 0;

  width: 100%;
  height: 4px;

  background: linear-gradient(90deg, #25aae1, #2979a7);

  z-index: 10;
}
.product-card:hover {
  transform: translateY(-10px);

  border-color: rgba(37, 170, 225, 0.25);

  box-shadow: 0 25px 60px rgba(37, 170, 225, 0.15);
}
.product-image {
  position: relative;
  height: 260px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at center,
      rgba(37, 170, 225, 0.08),
      transparent 70%
    ),
    #ffffff;
}
.product-image::after {
  display: none;
}
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  padding: 20px;

  transition: transform 0.45s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.08) rotate(2deg);
}

/* CONTENT */
.product-content {
  padding: 14px 16px;
}

.product-content h3 {
  font-size: 18px;
  font-weight: 800;

  color: var(--dark);

  margin-bottom: 10px;

  line-height: 1.4;
}
.product-artno {
  position: relative;   /* changed from absolute */
  top: auto;
  left: auto;

  display: inline-block;

  margin-bottom: 10px;

  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);

  border: 1px solid rgba(37, 170, 225, 0.15);

  padding: 7px 12px;

  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;

  color: #2979a7;
}
.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;

  z-index: 5;

  background: linear-gradient(135deg, #25aae1, #2979a7);
  color: white;

  font-size: 11px;
  font-weight: 800;

  padding: 6px 10px;
  border-radius: 999px;

  text-transform: lowercase;
  letter-spacing: 0.5px;

  box-shadow: 0 8px 20px rgba(37, 170, 225, 0.25);

  animation: badgePulse 2.5s ease-in-out infinite;
  transform-origin: center;
  text-transform: lowercase;
}

/* subtle floating pulse */
@keyframes badgePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(37, 170, 225, 0.25);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 12px 28px rgba(37, 170, 225, 0.35);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 20px rgba(37, 170, 225, 0.25);
  }
}
/* ===================================================== */
/* PRODUCT META (FILLINGS + MATERIALS)
/* ===================================================== */

.product-meta {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

/* each row block */
.meta-item {
  background: #f8fbfd;

  border: 1px solid rgba(37, 170, 225, 0.08);

  border-radius: 14px;

  padding: 12px;

  transition: 0.3s ease;
}

.product-card:hover .meta-item {
  background: white;

  border-color: rgba(37, 170, 225, 0.18);
}

/* label */
.meta-title {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #25aae1;
  margin-bottom: 4px;
}

/* values text */
.meta-item p {
  font-size: 12px;
  color: #475569;
  line-height: 1.5;

  /* keeps long lists clean */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* optional small icon bullet feel */
.meta-item::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  background: #25aae1;
  border-radius: 50%;
  margin-bottom: 6px;
}

/* BUTTON */
.product-btn {
  display: block;
  width: 100%;

  margin-top: 16px;
  padding: 12px;

  text-align: center;
  text-decoration: none;

  border-radius: 14px;

  font-size: 14px;
  font-weight: 700;

  color: white;

  background: linear-gradient(175deg, #25aae1, #2979a7);

  transition: all 0.3s ease;
}

.product-btn:hover {
  transform: translateY(-2px);

  box-shadow: 0 12px 30px rgba(37, 170, 225, 0.35);
}

/* ===================================================== */
/* RESPONSIVE
/* ===================================================== */

@media (max-width: 1024px) {
  .product-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .product-gallery-grid {
    grid-template-columns: 1fr;
  }
}
