/* ========== PRODUCT CARD ========== */
#tab-1-shop {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 12px;
}
@media (max-width: 1024px) {
  #tab-1-shop {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}
@media (max-width: 768px) {
  #tab-1-shop {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (max-width: 480px) {
  #tab-1-shop {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px;
  }
}

.product-card-wrapper {
  position: relative;
}

.product-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(208, 47, 47, 0.95);
  color: #ffffff;
}
.product-badge-discount {
  background: #d02f2f;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 8px 16px rgba(0,0,0,.06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,.12);
}

.product-image {
  flex: 0 0 auto;
  overflow: hidden;
  background: #f5f7fa;
  width: 100%;
  height: 140px;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform .3s ease;
  display: block;
}
.product-img:hover {
  transform: scale(1.05);
}

.product-info {
  flex: 1;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 50px;
}

.product-name {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  color: #1a1a1a;
  white-space: normal;
  word-break: break-word;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  display: -webkit-box;
}

@media (max-width: 480px) {
  .product-name {
    font-size: 14px;
  }
}

.product-id {
  font-size: 10px;
  color: #808b95;
  font-weight: 500;
  margin-top: auto;
}

.product-footer {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-top: 1px solid rgba(0,0,0,.04);
}

.product-price {
  font-size: 14px;
  font-weight: 700;
  color: #2ca652;
}

@media (max-width: 480px) {
  .product-price {
    font-size: 18px;
  }
}

.product-footer .button {
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
}

@media (max-width: 480px) {
  .product-footer .button {
    padding: 12px 16px;
    font-size: 14px;
  }
}
  text-align: center;
}
