/* ===== PAGE BASE ===== */
.shop-body {
  margin: 0;
  min-height: 100vh;
  color: #ffffff;
  font-family: "SK-Modernist", Arial, sans-serif;

  /* Your textured background */
  background-image: url("/assets/images/footerbg.png");
  background-size: cover;          /* cover entire viewport */
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: fixed;

  /* Prevent horizontal scroll just in case */
  overflow-x: hidden;
}

.shop-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px 80px;
  box-sizing: border-box;
}

/* ===== HEADING ===== */
.shop-heading h1 {
  font-family: "Moderniz", Arial, sans-serif;
  font-size: 30px;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 10px;
}

/* ===== GRID ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 per row on desktop */
  gap: 40px;
}

/* ===== CARD ===== */
.product-card {
  text-align: center;
  position: relative;
  padding-top: 40px;
}

/* ===== GLASS CONTAINER (background behind can) ===== */
.glass-container {
  position: relative;
  height: 200px;
  width: 100%;
  text-align: center;
  border-radius: 20px;
  overflow: visible;
}

.glass-container::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;

  /* Subtle dark translucent base */
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(0, 0, 0, 0.3)
  );

  /* White borders only on left & right */
  border-left: 1px solid rgba(255, 255, 255, 0.6);
  border-right: 1px solid rgba(255, 255, 255, 0.6);

  /* Glass blur */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Outer shadow for depth */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);

  z-index: 0;
  pointer-events: none;
}

/* ===== CAN IMAGE + HOVER ===== */
.can-image {
  width: 90px;
  height: 190px;
  margin-top: -10px;
  transition: transform 0.4s ease, margin-top 0.4s ease;
  position: relative;
  z-index: 2; /* Above glass */
}

.glass-container:hover .can-image {
  margin-top: 0;
  transform: translateY(-60px) scale(1.2) rotate(5deg);
  z-index: 10;
}

/* ===== TEXT + BUTTON ===== */
.product-name {
  margin-top: 22px;
  margin-bottom: 6px;
  font-family: "Moderniz", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
}

.product-tagline {
  margin: -2px 0 18px;
  font-size: 0.95rem;
  color: #d4d4d4;
}

.product-btn{
  padding: 8px 28px;       /* bigger, like the screenshot */
  border-radius: 12px;     /* pill shape */
  border: 1px solid rgba(255,255,255,0.95);
  /* dark teal (top) -> slate/grey (bottom) */
  background: linear-gradient(180deg,#153B44 0%,#2E4F56 35%,#4E5152 100%);
  color: #fff;
  font-size: 17px;
  letter-spacing: 0.08em;
  cursor: pointer;
  /* subtle depth */
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.10),
    0 10px 30px rgba(0,0,0,0.45);

  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.product-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
}

/* ===== RESPONSIVE: 2 per row on mobile ===== */
@media (max-width: 768px) {
  .shop-page {
    padding: 20px 12px 50px; /* a bit less padding so cards fit nicely */
  }

  .shop-body{
    background-image: url("/assets/images/shopbg_mob.png");
    background-size: cover;
    background-position: top center;
    background-repeat: repeat;
  }

  .shop-heading h1 {
    font-size: 22px;
    margin-bottom: 30px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 per row */
    column-gap: 16px;
    row-gap: 28px;
  }

  .product-card {
    padding-top: 24px;
  }

  .glass-container {
    height: 170px;
  }

  .can-image {
    width: 70px;
    height: 150px;
  }

  .product-name {
    font-size: 0.95rem;
    width: 90%;
    justify-self: center;
    align-self: center;
  }

  .product-tagline {
    font-size: 0.8rem;
  }

  .product-btn {
    padding: 8px 18px;
    font-size: 0.75rem;
  }
}
