/* ================================================================
   Design 4 — Glass Card
   Centered card with blurred background, modern glassmorphism
   ================================================================ */

body.products-show_card {
  background: #0c0c0d;
}

.product-card-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.product-card-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(60px) brightness(0.25) saturate(0.5);
  transform: scale(1.1);
}

.product-card-container {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.product-card {
  width: 100%;
  max-width: 480px;
  background: rgba(24, 24, 27, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

/* Card image */
.card-image-stage {
  width: 100%;
  height: 260px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.card-image-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card body */
.card-body {
  padding: 1.75rem;
}

.card-back {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  margin-bottom: 1rem;
  transition: color 0.2s;
}

.card-back:hover { color: rgba(255, 255, 255, 0.8); }

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #f1f1f3;
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

.card-price-badge {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}

/* Compact description */
.card-desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: #a1a1aa;
  max-height: 120px;
  overflow-y: auto;
  margin-bottom: 1.25rem;
  padding-right: 0.5rem;
}

.card-desc li { list-style: disc; margin-left: 1rem; padding: 2px 0; }

/* Variant selector (compact dropdown style) */
.card-variant-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #27272a;
  border: 1px solid #3f3f46;
  border-radius: 10px;
  color: #f1f1f3;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 1rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.card-variant-select:focus {
  outline: none;
  border-color: #6366f1;
}

.card-variant-detail {
  font-size: 0.75rem;
  color: #52525b;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
}

/* Form fields */
.card-field {
  margin-bottom: 0.75rem;
}

.card-field label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: #71717a;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.card-field input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  background: rgba(39, 39, 42, 0.6);
  border: 1px solid rgba(63, 63, 70, 0.6);
  border-radius: 8px;
  color: #f1f1f3;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.card-field input:focus {
  outline: none;
  border-color: #6366f1;
  background: rgba(39, 39, 42, 0.9);
}

.card-submit {
  width: 100%;
  padding: 0.875rem;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.25);
}

.card-submit:hover {
  background: #4f46e5;
  box-shadow: 0 6px 25px rgba(99, 102, 241, 0.35);
}

.card-submit img {
  height: 20px;
  vertical-align: middle;
}

.card-payment-hint {
  text-align: center;
  font-size: 0.6875rem;
  color: #52525b;
  margin-top: 0.625rem;
}

/* Dot indicators for images */
.card-dots {
  display: flex;
  justify-content: center;
  gap: 0.375rem;
  margin-top: 0.625rem;
}

.card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s;
}

.card-dot.active {
  background: #6366f1;
  width: 18px;
  border-radius: 3px;
}
