.product-grid--holder {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 292px));
  justify-content: center;
  gap: clamp(18px, 4vw, 28px);
  max-width: 640px;
  margin: 0 auto;
}

@media (max-width: 680px) {
  .product-grid--holder {
    grid-template-columns: 1fr;
    max-width: min(360px, 100%);
    gap: 14px;
  }

  .product-card--glass {
    aspect-ratio: auto;
    min-height: 0;
    width: 100%;
  }

  .product-card__inner {
    padding: 22px 20px 20px;
    min-height: 156px;
    justify-content: center;
  }

  .product-card__for {
    font-size: 10px;
    letter-spacing: 0.18em;
  }

  .product-card__name {
    max-width: none;
    font-size: clamp(1.35rem, 7.2vw, 1.85rem);
    letter-spacing: 0.05em;
    line-height: 1.08;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .product-card__hook {
    max-width: 22ch;
    margin-top: 0.45rem;
    font-size: clamp(0.8rem, 3.2vw, 0.9rem);
    line-height: 1.4;
  }
}

@media (max-width: 380px) {
  .product-grid--holder {
    max-width: 100%;
    gap: 12px;
  }

  .product-card__inner {
    padding: 18px 14px 16px;
    min-height: 148px;
  }

  .product-card__name {
    font-size: clamp(1.2rem, 6.5vw, 1.55rem);
    letter-spacing: 0.04em;
  }

  .product-card__hook {
    max-width: none;
    font-size: 0.78rem;
  }
}

@keyframes product-glass-in {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes product-shine {
  0% {
    transform: translateX(-120%) rotate(12deg);
    opacity: 0;
  }

  15% {
    opacity: 0.55;
  }

  45% {
    opacity: 0.35;
  }

  100% {
    transform: translateX(220%) rotate(12deg);
    opacity: 0;
  }
}

.product-card--glass {
  position: relative;
  isolation: isolate;
  min-height: 200px;
  aspect-ratio: 1;
  padding: 1px;
  border-radius: 24px;
  border: 1px solid rgba(80, 200, 255, 0.14);
  background: linear-gradient(150deg, rgba(80, 200, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 38%, rgba(8, 9, 12, 0.92) 72%);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 22px 56px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(80, 200, 255, 0.06),
    0 0 40px rgba(80, 200, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -1px 0 rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s cubic-bezier(0.2, 0.9, 0.2, 1);
}

.product-card--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 23px;
  z-index: 0;
  background:
    radial-gradient(100% 90% at 15% 5%, rgba(80, 200, 255, 0.35), transparent 50%),
    radial-gradient(90% 80% at 95% 95%, rgba(80, 200, 255, 0.2), transparent 48%);
  opacity: 0.95;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.product-card__bg {
  position: absolute;
  inset: 0;
  border-radius: 23px;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.product-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.product-card__bg img.is-loaded {
  opacity: 1;
}

.product-card--has-bg::before {
  z-index: 1;
}

.product-card--has-bg .product-card__shine {
  z-index: 2;
}

.product-card--has-bg .product-card__inner {
  z-index: 3;
}

.product-card--hwid::before {
  background:
    radial-gradient(100% 90% at 85% 8%, rgba(80, 200, 255, 0.32), transparent 52%),
    radial-gradient(90% 80% at 5% 92%, rgba(120, 200, 255, 0.14), transparent 50%);
}

.product-card__shine {
  position: absolute;
  top: -40%;
  left: 0;
  width: 42%;
  height: 180%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0.03) 35%,
    rgba(255, 255, 255, 0.14) 50%,
    rgba(255, 255, 255, 0.03) 65%,
    transparent 100%
  );
}

.product-card__inner {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  text-wrap: balance;
  gap: 0.55rem;
  padding: clamp(20px, 5vw, 28px) clamp(16px, 4vw, 22px);
  border-radius: 23px;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.72) 0%, rgba(12, 14, 18, 0.55) 100%);
}

.product-card__for {
  margin: 0 0 0.15rem;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
}

.product-card__name {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(1.45rem, 4.8vw, 2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 40px rgba(80, 200, 255, 0.45),
    0 2px 24px rgba(0, 0, 0, 0.6);
}

.product-card__hook {
  margin: 0.35rem 0 0;
  max-width: 16ch;
  font-size: clamp(0.82rem, 2.2vw, 0.95rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: rgba(235, 237, 245, 0.82);
}

@media (prefers-reduced-motion: no-preference) {
  .product-card--glass {
    animation: product-glass-in 0.75s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }

  .product-card--glass:nth-child(1) {
    animation-delay: 0.08s;
  }

  .product-card--glass:nth-child(2) {
    animation-delay: 0.2s;
  }

  .product-card--glass:nth-child(1) .product-card__shine {
    animation: product-shine 2.8s ease-in-out 0.6s infinite;
  }

  .product-card--glass:nth-child(2) .product-card__shine {
    animation: product-shine 3.2s ease-in-out 1.4s infinite;
  }
}

@media (hover: hover) and (pointer: fine) {
  .product-card--glass:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(80, 200, 255, 0.45);
    box-shadow:
      0 32px 72px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(80, 200, 255, 0.2),
      0 0 56px rgba(80, 200, 255, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }

  .product-card--glass:hover::before {
    opacity: 1;
  }

  .product-card--glass:hover .product-card__name {
    color: #f8feff;
    text-shadow:
      0 0 52px rgba(80, 200, 255, 0.55),
      0 2px 28px rgba(0, 0, 0, 0.55);
  }
}
