:root {
  --bg-dark: #0b0b0d;
  --text: #f5f7fb;
  --panel: #151d28;
  --card-bg: #1a1a1e;
  --accent: #ffcc00;
  --accent-dark: #ccaa00;
  --accent-2: #28a745;
  --accent-2-dark: #208b39;
  --muted-2: #9aa4b2;
  --gold: #ffcc00;
  --radius-lg: 14px;
  --gap-lg: 2rem;
  --img-w: 300px;
  --img-h: 250px;
}

.category-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--text);
}

.product-grid {
  display: grid;
  gap: var(--gap-lg);
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  justify-content: center;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.6);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.product-card:before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255, 45, 122, 0.08) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 0;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  border-color: rgba(255, 45, 122, 0.4);
}

.product-card:hover:before {
  opacity: 1;
}

.product-card:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.product-card a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
}

.product-card .img-wrap {
  width: var(--img-w);
  height: var(--img-h);
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9ecef;
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02), 0 15px 40px rgba(0, 0, 0, 0.55);
  padding: 1rem;
}

.product-card .img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.product-card .title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.product-card .price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  padding: 0.5rem 0;
  position: relative;
}

.product-card .price .promo-efectivo {
  display: inline-block;
  color: #0b0b0b;
  background: var(--gold);
  padding: 8px 15px;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

.product-card .price .promo-tarjeta {
  display: block;
  color: var(--muted-2);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

.product-card .actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.product-card .actions .btn {
  position: relative;
  padding: 0.6rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 9px;
  text-align: center;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: transform .25s ease, box-shadow .25s ease;
  flex: 1;
  border: none;
  min-height: 50px;
}

.product-card .actions .btn.add-to-cart {
  background: linear-gradient(180deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 6px 0 var(--accent-dark), 0 0 15px rgba(255, 45, 122, 0.3);
}

.product-card .actions .btn.contact {
  background: linear-gradient(180deg, var(--accent-2), var(--accent-2-dark));
  color: #fff;
  box-shadow: 0 6px 0 var(--accent-2-dark), 0 0 15px rgba(40, 167, 69, 0.3);
}

.product-card .actions .btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.product-card .actions .btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--accent-dark);
}

.product-card .actions .btn.add-to-cart i {
  font-size: 1.1em;
}


@media (max-width:1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width:900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width:560px) {
  .product-card {
    padding: 1.5rem;
  }

  .product-card .actions {
    flex-direction: column;
  }

  .product-card .actions .btn {
    width: 100%;
  }
}