body {
  font-family: Arial, sans-serif;
  background: linear-gradient(to top, rgb(110, 231, 249) 10%, #ffffff 70%);
}

h2 {
  color: #0b4b75;
}

h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #005480;
  margin-top: 8px;
}

.shop-container {
  background: rgba(110, 231, 249, 0.4);
  border-radius: 10px;
  margin-bottom: 2%;
}

/* Product card */
.product-card {
  position: relative;
  background: #6ee7f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: transform 0.2s;
  height: 100%; /* cards same height */
}

.product-card:hover {
  transform: scale(1.05);
}

/* Badge styled as starburst */
.badge {
  position: absolute;
  top: -25px;
  left: -25px;
  background: red;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 5px;
  clip-path: polygon(
    50% 0%, 61% 35%, 98% 35%, 
    68% 57%, 79% 91%, 50% 70%, 
    21% 91%, 32% 57%, 2% 35%, 
    39% 35%
  );
  text-align: center;
  width: 65px;
  height: 65px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.product-card img {
  width: 100%;
  height: 200px; /* fixed height for consistency */
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.product-info {
  padding: 12px;
  text-align: center;
}

.product-info h3 {
  margin: 5px 0;
  font-size: 22px;
  color: #0b4b75;
}

.product-info p {
  margin-top: 0;
  font-size: 18px;
  color: #0b4b75;
}

.order-btn {
  position: absolute;
  bottom: -17px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 15px;
  border: none;
  border-radius: 20px;
  background: #004466;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.3s;
}

.order-btn:hover {
  background: #006699;
}

@media (min-width: 768px) and (max-width: 1024px) {
  .shop-container .col-md-4 {
    flex: 0 0 33.3333%;   /* 3 per row */
    max-width: 33.3333%;
  }

  .product-card {
    width: 100%;          /* expand to fill col */
    height: 350px;        /* make taller */
  }

  .product-card img {
    height: 65%;          /* keep image taller */
  }

  /* Center last row with 2 cards */
  .row.justify-content-center {
    justify-content: center !important;
  }
}