/* ==========================================================================
   Product cards — image frame, hover CTA, badges
   ========================================================================== */

.product-card-premium--cta .product-card-premium__media {
  position: relative;
  display: grid;
}

.product-card-premium--cta .product-card-premium__media > .product-card-premium__image,
.product-card-premium--cta .product-card-premium__media > .product-card__footer {
  grid-area: 1 / 1;
}

.product-card-premium--cta .product-card-premium__image {
  background: #f8fafc;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  aspect-ratio: 1 / 1;
  max-height: 240px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  text-decoration: none;
}

.product-card-premium--cta .product-card-premium__image img,
.product-card-premium--cta .product-card-premium__image .product-card__image {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.product-card-premium--cta .product-card-premium__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  z-index: 2;
}

.product-card-premium--cta .product-card__discount-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #0e7490;
  background: rgba(103, 232, 249, 0.35);
  border: 1px solid rgba(6, 182, 212, 0.45);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(6, 182, 212, 0.15);
}

.product-card-premium--cta .product-card__footer {
  align-self: end;
  justify-self: center;
  position: relative;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 0 1rem;
  margin: 0;
  background: transparent;
  pointer-events: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.product-card-premium--cta .product-card-hover-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #fff;
  background: #0284c7;
  border: none;
  border-radius: 0.375rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.18), 0 4px 6px -4px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product-card-premium--cta .product-card-hover-btn:hover {
  background: #1e40af;
  color: #fff;
  box-shadow: 0 12px 20px -4px rgba(29, 78, 216, 0.35);
}

.product-card-premium--cta .product-card-hover-btn__arrow {
  flex-shrink: 0;
}

@media (hover: hover) {
  .product-card-premium--cta:hover .product-card-premium__shade {
    opacity: 1;
  }

  .product-card-premium--cta:hover .product-card-hover-btn {
    opacity: 1;
    transform: translateY(0);
  }

  .product-card-premium--cta:hover .product-card__footer {
    opacity: 1;
    visibility: visible;
    pointer-events: none;
    transform: none;
  }
}

@media (hover: none) {
  .product-card-premium--cta .product-card-premium__shade {
    opacity: 1;
  }

  .product-card-premium--cta .product-card-hover-btn {
    opacity: 1;
    transform: none;
  }

  .product-card-premium--cta .product-card__footer {
    opacity: 1;
    visibility: visible;
  }
}

.product-card-premium--cta .badge-popular,
.product-card-premium--cta .card-glow-badge--popular {
  top: 0.75rem;
  right: 0.75rem;
}

.product-card-premium--cta .card-glow-badge--stock {
  top: 0.75rem;
  right: 0.75rem;
}

.product-card-price--request {
  display: block;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #64748b;
}

[data-theme="dark"] .product-card-premium--cta .product-card-premium__image,
html.dark .product-card-premium--cta .product-card-premium__image {
  background: rgba(15, 23, 42, 0.6);
}
