/* Люксовая витрина курсов и файлов · /kursy/ */
.sb-lux-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.sb-lux-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 28px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 196, 220, 0.22);
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.04), transparent 42%),
    rgba(12, 4, 14, 0.78);
  overflow: hidden;
  min-height: 100%;
  box-shadow:
    0 1px 0 rgba(255, 245, 249, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.28),
    0 28px 56px rgba(20, 4, 18, 0.22);
  transition: border-color 220ms cubic-bezier(0.22, 1, 0.36, 1), transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1);
}
.sb-lux-card:hover {
  border-color: rgba(255, 196, 220, 0.42);
  transform: translateY(-2px);
  box-shadow:
    0 1px 0 rgba(255, 245, 249, 0.06),
    0 16px 36px rgba(0, 0, 0, 0.32),
    0 36px 72px rgba(40, 8, 28, 0.28),
    0 0 40px rgba(255, 61, 154, 0.12);
}
.sb-lux-card__glow {
  position: absolute;
  inset: auto -20% -40% -20%;
  height: 55%;
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 80, 140, 0.22), transparent 70%);
}
.sb-lux-card--champagne .sb-lux-card__glow {
  background: radial-gradient(ellipse at 50% 100%, rgba(232, 176, 122, 0.28), transparent 70%);
}
.sb-lux-card--gold .sb-lux-card__glow {
  background: radial-gradient(ellipse at 40% 0%, rgba(243, 200, 154, 0.22), transparent 55%),
    radial-gradient(ellipse at 70% 100%, rgba(255, 120, 160, 0.2), transparent 65%);
}
.sb-lux-card--dusk .sb-lux-card__glow {
  background: radial-gradient(ellipse at 50% 100%, rgba(140, 90, 180, 0.28), transparent 70%);
}
.sb-lux-card--ink .sb-lux-card__glow {
  background: radial-gradient(ellipse at 50% 100%, rgba(90, 120, 200, 0.18), transparent 70%);
}
.sb-lux-card--plum .sb-lux-card__glow {
  background: radial-gradient(ellipse at 50% 100%, rgba(180, 60, 120, 0.26), transparent 70%);
}
.sb-lux-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px 32px;
  padding: 36px 36px 32px;
  border-radius: 24px;
  border-color: rgba(243, 200, 154, 0.38);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(243, 200, 154, 0.14), transparent 50%),
    radial-gradient(ellipse 60% 70% at 100% 30%, rgba(255, 80, 140, 0.16), transparent 55%),
    rgba(14, 6, 16, 0.9);
}
.sb-lux-card--featured h3 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  max-width: 16ch;
}
.sb-lux-card--featured .sb-lux-card__teaser {
  font-size: 1.05rem;
  max-width: 42ch;
}
.sb-lux-card--featured .sb-lux-card__foot {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  border-left: 1px solid rgba(255, 196, 220, 0.16);
  padding-left: 24px;
  margin-top: 0;
}
.sb-lux-card__tag {
  position: relative;
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #f3c89a;
}
.sb-lux-card h3 {
  position: relative;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  font-size: clamp(1.28rem, 2.2vw, 1.55rem);
  line-height: 1.15;
  color: #fff8fb;
}
.sb-lux-card__teaser {
  position: relative;
  margin: 0;
  flex: 1;
  color: rgba(255, 236, 245, 0.78);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.sb-lux-card__foot {
  position: relative;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 196, 220, 0.12);
}
.sb-lux-card--featured .sb-lux-card__foot {
  border-top: 0;
}
.sb-lux-card__price-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sb-lux-card__price {
  margin: 8px 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  font-size: 2.125rem;
  line-height: 1;
  color: #fff8fb;
  letter-spacing: 0.02em;
}
.sb-lux-card__price small {
  font-size: 1rem;
  font-weight: 600;
  color: #f3c89a;
}
.sb-lux-card__once {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 220, 235, 0.55);
}
.sb-lux-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sb-lux-card__actions .btn {
  flex: 1 1 auto;
  min-width: 7.5rem;
  justify-content: center;
}
.sb-lux-card__actions .btn-primary {
  min-width: 8.5rem;
}

@media (max-width: 1100px) {
  .sb-lux-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sb-lux-grid--men .sb-lux-card--featured {
  border-color: rgba(160, 190, 230, 0.35);
  background:
    radial-gradient(ellipse 70% 80% at 0% 0%, rgba(120, 160, 220, 0.16), transparent 50%),
    radial-gradient(ellipse 60% 70% at 100% 30%, rgba(232, 176, 122, 0.12), transparent 55%),
    rgba(8, 10, 18, 0.92);
}
.sb-lux-grid--men .sb-lux-card__tag { color: #c9d7ef; }
.sb-lux-card--men .sb-lux-card__once { letter-spacing: 0.1em; }

@media (max-width: 720px) {
  .sb-lux-grid { grid-template-columns: 1fr; gap: 14px; }
  .sb-lux-card--featured {
    grid-template-columns: 1fr;
    padding: 22px 18px 18px;
  }
  .sb-lux-card--featured .sb-lux-card__foot {
    grid-column: 1;
    grid-row: auto;
    border-left: 0;
    border-top: 1px solid rgba(255, 196, 220, 0.16);
    padding-left: 0;
    padding-top: 14px;
  }
  .sb-lux-card__price { font-size: 1.75rem; }
}
