/* ══════════════════════════════════════════════
   WEBINAR CARDS — sistema unificato
   Struttura comune: colonna calendario + corpo
   • wc-card--next  : grande, con countdown
   • wc-card--other : compatta, senza countdown
══════════════════════════════════════════════ */

/* ── Base ─────────────────────────────────────── */

.wc-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .22s ease;
}

.wc-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-l);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
}

/* ── Shared — colonna calendario ─────────────── */

.wc-next-cal-col, .wc-other-cal-col {
  flex-shrink: 0;
  background: var(--blue-mid);
  width: 130px;
  padding: 1.3rem .75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
}

.wc-next-cal-weekday, .wc-other-cal-weekday {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: rgb(255 255 255 / 85%);
}

.wc-next-cal-day, .wc-other-cal-day {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.wc-next-cal-month, .wc-other-cal-month {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255,255,255,.95);
}

.wc-next-cal-time, .wc-other-cal-time {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgb(255 255 255 / 85%);
  width: 100%;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.2);
}

/* ── Shared — info row ───────────────────────── */

.wc-next-info-row, .wc-other-info-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--border);
}

.wc-next-info-sep, .wc-other-info-sep {
  color: var(--border);
}

/* ── Shared — prezzo ─────────────────────────── */

.wc-next-price-value, .wc-other-price-value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  line-height: 1;
}

.wc-next-price-sub, .wc-other-price-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--ink-l);
}

.wc-next-price-free, .wc-other-price-free {
  color: var(--blue-primary);
}

.wc-next-price-donazione, .wc-other-price-donazione {
  color: var(--gold-dark);
}

/* ── Shared — bottoni ────────────────────────── */

.wc-next-btn, .wc-other-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--blue-primary);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}

.wc-next-btn:hover, .wc-other-btn:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Shared — sconto ─────────────────────────── */

.wc-next-sconto, .wc-other-sconto {
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background: var(--gold-bg);
  border: 1.5px solid var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 7px;
  padding: .6rem .8rem;
  line-height: 1.5;
}

.wc-next-sconto strong, .wc-other-sconto strong {
  color: var(--blue);
  font-weight: 800;
}

.wc-next-sconto div, .wc-other-sconto div {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.wc-next-sconto-prices, .wc-other-sconto-prices {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
}

.wc-next-sconto-scontato, .wc-other-sconto-scontato {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--blue);
}

.wc-next-sconto-save, .wc-other-sconto-save {
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  color: #059669;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  padding: .15rem .45rem;
  border-radius: 5px;
}

.wc-next-sconto-exp, .wc-other-sconto-exp {
  font-size: .85rem;
  font-weight: 600;
  color: #e50202;
}

/* ══════════════════════════════════════════════
   CARD NEXT
══════════════════════════════════════════════ */

.wc-card--next {
  background: #fff;
  border: 1.5px solid var(--blue-light);
  box-shadow: var(--shadow);
  transition: box-shadow .25s ease, transform .22s ease;
}

.wc-card--next:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.wc-next-cal-day {
  font-size: 3.8rem;
}

.wc-next-cal-time {
  margin-top: .7rem;
  padding-top: .7rem;
}

.wc-next-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.wc-next-body {
  flex: 1;
  padding: 1.1rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.wc-next-kicker {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-primary);
}

.wc-next-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.wc-next-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
  margin: 0;
}

.wc-next-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--ink-l);
  line-height: 1.5;
  margin: 0;
}

.wc-next-info-row {
  gap: .3rem .5rem;
  padding-top: .65rem;
}

.wc-next-foot {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.35rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.wc-next-foot-left {
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.wc-next-cd-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--ink-l);
}

.wc-next-countdown .countdown-blocks {
  justify-content: flex-start;
  gap: .2rem;
}

.wc-next-countdown .countdown-block {
  flex: 0 0 auto;
  padding: .28rem .45rem;
}

.wc-next-countdown .countdown-value {
  font-size: 1.8rem;
}

.wc-next-countdown .countdown-label {
  font-size: .75rem;
}

.wc-next-countdown .countdown-sep {
  font-size: 1.6rem;
  margin-bottom: .35rem;
}

.wc-next-scarcity {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.wc-next-scarcity-bar-wrap {
  width: 150px;
  height: 4px;
  background: var(--border);
  border-radius: 99px;
  overflow: hidden;
}

.wc-next-scarcity-bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #f59e0b, #ef4444);
  transition: width .6s ease;
}

.wc-next-scarcity-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #b45309;
}

.wc-next-social {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.wc-next-foot-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .5rem;
  flex-shrink: 0;
}

.wc-next-price-value {
  font-size: clamp(1.8rem, 1.9vw, 2.2rem);
}

.wc-next-price-sub {
  text-align: right;
}

.wc-next-sconto {
  text-align: right;
}

.wc-next-sconto div {
  align-items: flex-end;
}

.wc-next-sconto-prices {
  justify-content: flex-end;
}

.wc-next-btn {
  padding: .7rem 1.3rem;
  box-shadow: 0 4px 16px rgba(46,139,87,.25);
}

.wc-next-btn:hover {
  box-shadow: 0 6px 22px rgba(46,139,87,.35);
}

/* ══════════════════════════════════════════════
   CARD OTHER
══════════════════════════════════════════════ */

.wc-card--other {
  background: #fff;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .22s ease;
}

.wc-card--other:hover {
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.wc-other-cal-day {
  font-size: 2.8rem;
}

.wc-other-cal-time {
  margin-top: .5rem;
  padding-top: .5rem;
}

.wc-other-right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.wc-other-body {
  flex: 1;
  padding: .85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.wc-other-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.25;
  margin: 0;
}

.wc-other-info-row {
  gap: .25rem .6rem;
  padding-top: .45rem;
  color: var(--ink-l);
}

.wc-other-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .65rem 1.1rem;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.wc-other-price-wrap {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.wc-other-price-value {
  font-size: clamp(1.8rem, 1.9vw, 2.2rem);
}

.wc-other-btn {
  padding: .6rem 1.2rem;
}

/* ══════════════════════════════════════════════
   MOBILE
══════════════════════════════════════════════ */

@media (max-width: 576px) {
  .wc-next-cal-col, .wc-other-cal-col {
    width: 100%;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: .5rem;
  }
}

@media (max-width: 576px) {
  .wc-next-cal-time, .wc-other-cal-time {
    border-top: none;
    border-left: 1px solid rgba(255,255,255,.2);
    width: auto;
    padding-left: .55rem;
    /*margin-left: .25rem;*/
    margin-top: 0;
    padding-top: 0;
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .wc-next-cal-day, .wc-other-cal-day {
    font-size: 1.5rem;
  }
}

@media (max-width: 576px) {
  .wc-next-cal-month, .wc-other-cal-month {
    font-size: 1.4rem;
  }
}

@media (max-width: 560px) {
  .wc-next-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: .85rem;
  }
}

@media (max-width: 560px) {
  .wc-next-foot-right {
    align-items: center;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .wc-next-price-sub {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .wc-next-sconto {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .wc-next-sconto div {
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .wc-next-sconto-prices {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .wc-next-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .wc-next-scarcity-bar-wrap {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .wc-other-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: .65rem;
  }
}

@media (max-width: 480px) {
  .wc-other-btn {
    width: 100%;
    justify-content: center;
  }
}

