/* ── Mini-carrito flotante (el dropdown genérico ".nav-dropdown*" vive en
style.css porque el menú "Tienda" aparece en páginas que no cargan este
archivo) ── */
.nav-cart-trigger { position: relative; background: none; border: none; cursor: pointer; font-family: inherit; padding: 0; }
.nav-cart-badge {
  position: absolute;
  top: -8px;
  right: -11px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--g-brand);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  line-height: 17px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(240, 78, 26, .5);
}
.nav-cart-panel { right: 0; left: auto; width: 340px; padding: 16px; }

.nav-cart-empty { text-align: center; padding: 20px 10px 10px; }
.nav-cart-empty-icon { font-size: 1.8rem; margin-bottom: 8px; opacity: .5; }
.nav-cart-empty p { color: var(--muted); font-size: .85rem; margin-bottom: 14px; }

.nav-cart-items { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; margin: -4px -4px 4px; padding: 4px; }
.nav-cart-item { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 10px; }
.nav-cart-item:hover { background: var(--off); }
.nav-cart-item-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--off); border-radius: 10px; font-size: 1.05rem;
}
.nav-cart-item-info { flex: 1; min-width: 0; }
.nav-cart-item-label { font-size: .8rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.nav-cart-item-price { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.nav-cart-item-remove {
  flex-shrink: 0; background: none; border: none; color: var(--lite);
  cursor: pointer; font-size: .85rem; line-height: 1; padding: 4px;
  transition: color .15s;
}
.nav-cart-item-remove:hover { color: var(--fire); }

.nav-cart-footer { border-top: 1px solid #EAE5F5; padding-top: 12px; margin-top: 4px; }
.nav-cart-subtotal { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.nav-cart-btn, .nav-cart-btn-outline {
  display: block; width: 100%; text-align: center; padding: 10px; border-radius: 10px;
  font-size: .82rem; font-weight: 700; text-decoration: none; margin-bottom: 8px;
  transition: opacity .2s;
}
.nav-cart-btn:last-child, .nav-cart-btn-outline:last-child { margin-bottom: 0; }
.nav-cart-btn:hover, .nav-cart-btn-outline:hover { opacity: .88; }
.nav-cart-btn-outline { border: 1.5px solid #EAE5F5; color: var(--ink); background: #fff; }

@media (max-width: 640px) {
  .nav-cart-panel { position: fixed; top: 74px; right: 12px; left: 12px; width: auto; }
}

/* ── Carrito premium ── */
.cart-hero { background: var(--g-hero); padding: 140px 0 44px; position: relative; overflow: hidden; }
.cart-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.cart-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.cart-breadcrumb a:hover { color: #fff; }
.cart-breadcrumb .sep { color: rgba(255,255,255,.25); }
.cart-breadcrumb .current { color: #fff; font-weight: 600; }
.cart-hero h1 { font-family: var(--f-head); font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 8px; }
.cart-hero p { font-size: .9rem; color: rgba(255,255,255,.55); }

.cart-empty-state { max-width: 420px; margin: 60px auto; text-align: center; padding: 48px 32px; background: #fff; border: 1.5px solid #EAE5F5; border-radius: 20px; box-shadow: 0 2px 8px rgba(15,10,30,.05); }
.cart-empty-icon { font-size: 2.6rem; margin-bottom: 16px; opacity: .5; }
.cart-empty-state h2 { font-family: var(--f-head); font-size: 1.3rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.cart-empty-state p { color: var(--muted); font-size: .88rem; margin-bottom: 24px; }

.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }

.cart-product-card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1.5px solid #EAE5F5; border-radius: 16px;
  padding: 18px; margin-bottom: 14px;
  transition: box-shadow .2s, border-color .2s;
}
.cart-product-card:hover { box-shadow: 0 8px 24px rgba(15,10,30,.08); border-color: #DCD4F0; }
.cart-product-icon {
  width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px;
  background: var(--off); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.cart-product-info { flex: 1; min-width: 0; }
.cart-product-type { background: rgba(108,59,245,.08); color: var(--violet); border: 1px solid rgba(108,59,245,.2); margin-bottom: 6px; }
.cart-product-title { font-family: var(--f-head); font-weight: 700; font-size: .98rem; color: var(--ink); line-height: 1.35; }
.cart-product-price { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); white-space: nowrap; }
.cart-product-remove-form { flex-shrink: 0; }
.cart-product-remove {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--off); border: none; border-radius: 10px; color: var(--muted);
  cursor: pointer; transition: background-color .15s, color .15s;
}
.cart-product-remove svg { width: 17px; height: 17px; }
.cart-product-remove:hover { background: rgba(240,78,26,.1); color: var(--fire); }

.cart-continue { margin-top: 6px; }
.cart-continue a { color: var(--muted); font-size: .85rem; font-weight: 600; text-decoration: none; }
.cart-continue a:hover { color: var(--fire); }

.cart-summary-card {
  position: sticky; top: 96px;
  background: #fff; border: 1.5px solid #EAE5F5; border-radius: 18px;
  padding: 26px; box-shadow: 0 2px 8px rgba(15,10,30,.05);
}
.cart-summary-title { font-family: var(--f-head); font-weight: 800; font-size: 1.05rem; color: var(--ink); margin-bottom: 16px; }

.cart-coupon-form { display: flex; gap: 8px; margin-top: 16px; }
.cart-coupon-form input {
  flex: 1; padding: 10px 12px; border: 1.5px solid #EAE5F5; border-radius: 10px;
  font-family: var(--f-body); font-size: .85rem; color: var(--ink);
}
.cart-coupon-form input:focus { outline: none; border-color: var(--fire); }
.cart-coupon-form button {
  padding: 10px 16px; border: 1.5px solid #EAE5F5; border-radius: 10px; background: #fff;
  font-weight: 700; font-size: .82rem; color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.cart-coupon-form button:hover { border-color: var(--fire); color: var(--fire); }

.cart-trust-row {
  display: flex; flex-direction: column; gap: 16px; margin-top: 22px; padding-top: 20px;
  border-top: 1px solid #EAE5F5;
}
.cart-trust-item { display: flex; align-items: flex-start; gap: 12px; }
.cart-trust-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, rgba(0,196,167,.12), rgba(108,59,245,.12));
  border: 1px solid rgba(108,59,245,.14);
  display: flex; align-items: center; justify-content: center;
  color: var(--violet);
}
.cart-trust-icon svg { width: 17px; height: 17px; }
.cart-trust-copy { font-size: .78rem; line-height: 1.55; color: var(--muted); }
.cart-trust-copy strong { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-summary-card { position: static; }
}

/* ── TIENDA ── */
.tienda-hero {
  background: var(--g-hero);
  padding: 130px 0 44px;
  position: relative;
  overflow: hidden;
}

.tienda-hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.tienda-hero p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .6);
  max-width: 580px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.tienda-section {
  padding: 56px 0;
}

.tienda-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 32px 0 0;
}

.tienda-filter-pill {
  display: inline-block;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid #EAE5F5;
  background: #fff;
  color: var(--ink2);
  font-size: .82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}

.tienda-filter-pill:hover {
  border-color: var(--fire);
  color: var(--fire);
}

.tienda-filter-pill.is-active {
  background: var(--g-brand);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(240, 78, 26, .35);
}

.tienda-section-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--ink);
}

.tienda-empty {
  color: var(--muted);
  font-size: .92rem;
  padding: 40px 0;
  text-align: center;
}

.paths-grid .tienda-empty {
  grid-column: 1 / -1;
}

/* ── Selector de tipo de producto / modalidad ── */
.product-type-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.product-type-card {
  position: relative;
  background: #fff;
  border: 1.5px solid #EAE5F5;
  border-radius: 16px;
  padding: 22px;
  text-align: left;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
}

.product-type-card:hover {
  border-color: rgba(240, 78, 26, .4);
}

.product-type-card:has(input:checked) {
  border-color: var(--fire);
  box-shadow: 0 8px 24px rgba(240, 78, 26, .16);
  background: rgba(240, 78, 26, .03);
}

.product-type-card:has(input:checked)::after {
  content: '✓';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--g-brand);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-type-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.product-type-icon { font-size: 1.4rem; margin-bottom: 8px; }

.product-type-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--ink);
  padding-right: 20px;
}

.product-type-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.product-type-price {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
  margin-top: 12px;
}

/* ── Selector de método de pago (checkout, paso 3) ── */
.pm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin: 0 0 20px;
}

.pm-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1.5px solid #EAE5F5;
  border-radius: 16px;
  padding: 16px 18px;
  cursor: pointer;
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.pm-card:hover {
  border-color: rgba(240, 78, 26, .35);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 10, 30, .08);
}

.pm-card:has(input:checked) {
  border-color: transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    var(--g-brand) border-box;
  box-shadow: 0 10px 28px rgba(240, 78, 26, .2);
  transform: translateY(-2px);
}

.pm-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.pm-card-icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.pm-card-icon svg { width: 20px; height: 20px; }
.pm-icon-paypal { background: linear-gradient(135deg, #00457C, #0079C1); }
.pm-icon-mercadopago { background: linear-gradient(135deg, #00A1E4, #2D3277); }

.pm-card-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
}
.pm-card-sub {
  font-size: .74rem;
  color: var(--muted);
  margin-top: 1px;
}

.pm-card-check {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--g-brand);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .18s ease, transform .18s ease;
}
.pm-card:has(input:checked) .pm-card-check {
  opacity: 1;
  transform: scale(1);
}

.pm-card.is-disabled {
  cursor: not-allowed;
  background: var(--off);
  border-style: dashed;
}
.pm-card.is-disabled:hover {
  transform: none;
  box-shadow: none;
  border-color: #EAE5F5;
}
.pm-card.is-disabled .pm-card-icon {
  background: #E3DEF2;
  color: #A79FC2;
}
.pm-card.is-disabled .pm-card-title {
  color: var(--muted);
}
.pm-card-soon {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  background: #EAE5F5;
  padding: 3px 8px;
  border-radius: 999px;
}

/* ── Buy box + modal de compra (curso / voucher) ── */
.buybox {
  background: #fff;
  border: 1.5px solid #EAE5F5;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 2px 8px rgba(15, 10, 30, .05);
  max-width: 640px;
}

.buybox-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.buybox-price-block { flex-shrink: 0; text-align: right; }
.buybox-price-label { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.buybox-price-amount {
  display: inline-block;
  font-family: var(--f-head);
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-flip { display: inline-block; }
.price-flip.is-flipping { animation: buyboxPriceFlip .5s ease; }

@keyframes buyboxPriceFlip {
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(-10px); opacity: 0; }
  41% { transform: translateY(10px); }
  100% { transform: translateY(0); opacity: 1; }
}

.buybox-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }

@media (max-width: 480px) {
  .buybox-row { flex-wrap: wrap; }
  .buybox-price-block { text-align: left; }
}

.buybox-bare {
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  max-width: none;
}

.purchase-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  border: none;
  border-radius: 22px;
  padding: 0;
  max-width: 720px;
  width: 92%;
  max-height: 86vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(15, 10, 30, .35);
  background: #fff;
}

.purchase-modal::backdrop { background: rgba(15, 10, 30, .55); backdrop-filter: blur(3px); }

@starting-style {
  .purchase-modal[open] { opacity: 0; transform: translate(-50%, -50%) translateY(14px) scale(.98); }
}

.purchase-modal[open] {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0) scale(1);
  transition: opacity .25s ease, transform .25s ease, display .25s allow-discrete, overlay .25s allow-discrete;
}

.purchase-modal-form { position: relative; padding: 32px; }

.purchase-panel {
  background: #fff;
  border: 1.5px solid #EAE5F5;
  border-radius: 22px;
  padding: 32px;
  margin-top: 24px;
  max-width: 720px;
  box-shadow: 0 2px 8px rgba(15, 10, 30, .05);
}
.purchase-panel .purchase-modal-form { padding: 0; }

@media (max-width: 640px) {
  .purchase-panel { padding: 24px; }
}

.purchase-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #EAE5F5;
  background: #fff;
  color: var(--muted);
  font-size: .9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .15s, color .15s;
}

.purchase-modal-close:hover { border-color: var(--fire); color: var(--fire); }

.purchase-modal-title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 22px;
  padding-right: 40px;
}

.voucher-summary {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--off);
  border: 1.5px solid #EAE5F5;
  border-radius: 16px;
  padding: 20px;
  margin: 24px 0 0;
}

.voucher-summary-icon { font-size: 1.6rem; flex-shrink: 0; }
.voucher-summary-title { font-weight: 700; font-size: .95rem; color: var(--ink); margin-bottom: 4px; }
.voucher-summary-desc { font-size: .82rem; color: var(--muted); line-height: 1.6; }

@media (max-width: 640px) {
  .purchase-modal { width: 96%; max-height: 92vh; }
  .purchase-modal-form { padding: 24px; }
}

/* ── Checkout wizard ── */
.checkout-section {
  padding: 130px 0 90px;
  min-height: 60vh;
}

.checkout-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1.5px solid #EAE5F5;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 2px 8px rgba(15, 10, 30, .05);
}

.checkout-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 32px;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--lite);
  font-weight: 600;
}

.checkout-step-index {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid #EAE5F5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
}

.checkout-step.is-active { color: var(--ink); }
.checkout-step.is-active .checkout-step-index { border-color: var(--fire); color: var(--fire); }
.checkout-step.is-done { color: var(--aqua); }
.checkout-step.is-done .checkout-step-index { border-color: var(--aqua); background: var(--aqua); color: #fff; }

.checkout-step-sep {
  width: 24px;
  height: 1.5px;
  background: #EAE5F5;
}

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink2); margin-bottom: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #EAE5F5;
  border-radius: 10px;
  font-family: var(--f-body);
  font-size: .9rem;
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--fire);
}
.form-error { color: var(--fire); font-size: .78rem; margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.checkout-alert {
  background: rgba(240, 78, 26, .08);
  border: 1px solid rgba(240, 78, 26, .2);
  color: var(--fire);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: .85rem;
  margin-bottom: 18px;
}

.checkout-alert-success {
  background: rgba(0, 196, 167, .1);
  border-color: rgba(0, 196, 167, .25);
  color: #0A8F7A;
}

.order-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #EAE5F5;
  font-size: .9rem;
}

.order-summary-row.total {
  font-weight: 800;
  font-size: 1.05rem;
  border-bottom: none;
  padding-top: 16px;
}

.tabs-toggle { display: flex; gap: 8px; margin-bottom: 24px; }
.tabs-toggle button {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid #EAE5F5;
  background: #fff;
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  color: var(--muted);
}
.tabs-toggle button.is-active {
  border-color: var(--fire);
  color: var(--fire);
  background: rgba(240, 78, 26, .06);
}

/* ── Tarjeta de producto del catálogo ── */
.pc-card {
  background: #fff;
  border: 1.5px solid #EAE5F5;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}

.pc-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(15, 10, 30, .12);
}

.pc-card-media {
  position: relative;
  height: 170px;
  background: var(--g-hero);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: #fff;
}

/* Velo oscuro de abajo hacia arriba: sin esto, el título en blanco se pierde
cuando la imagen de fondo (ej. un badge/certificado) es clara, sin importar
cuánto text-shadow se le ponga al texto solo. */
.pc-card-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 6, 26, .82) 0%, rgba(10, 6, 26, .35) 45%, rgba(10, 6, 26, 0) 75%);
  pointer-events: none;
}

.pc-card-badge,
.pc-card-media-title {
  position: relative;
  z-index: 1;
}

.pc-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 10, 30, .55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}

.pc-card-media-title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 2px 12px rgba(0, 0, 0, .65);
}

.pc-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pc-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.pc-card-tags .cc-tag.is-brand {
  background: rgba(108, 59, 245, .08);
  border-color: rgba(108, 59, 245, .2);
  color: var(--violet);
  font-weight: 700;
}

.pc-card-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.3;
}

.pc-card-desc {
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.pc-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: .76rem;
  color: var(--ink2);
  font-weight: 700;
  margin-bottom: 16px;
  padding-top: 14px;
  border-top: 1.5px solid #EAE5F5;
}

.pc-card-stats span { display: inline-flex; align-items: center; gap: 4px; }

.pc-card-price {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.15rem;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.pc-card-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: var(--g-cool);
  color: #fff;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  transition: opacity .2s;
}

.pc-card-cta:hover { opacity: .88; }

/* ── Eventos (webinars, talleres hands-on, laboratorios) ── */
.events-list { display: flex; flex-direction: column; gap: 22px; }

.event-card {
  display: flex;
  background: #fff;
  border: 1.5px solid #EAE5F5;
  border-radius: 20px;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 52px rgba(15, 10, 30, .12);
}

.event-card-media {
  position: relative;
  flex: 0 0 300px;
  min-height: 240px;
  background: var(--g-hero);
  background-size: cover;
  background-position: center;
}

.event-date-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(15, 10, 30, .22);
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.event-date-month {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.event-date-day {
  font-family: var(--f-head);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--ink);
}

.event-date-year {
  font-size: .68rem;
  font-weight: 600;
  color: var(--muted);
}

.event-card-body {
  flex: 1;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.event-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.event-card-tags .cc-tag.is-brand {
  background: rgba(108, 59, 245, .08);
  border-color: rgba(108, 59, 245, .2);
  color: var(--violet);
  font-weight: 700;
}

.event-card-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 10px;
}

.event-card-desc {
  font-size: .88rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 18px;
}

.event-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .8rem;
  color: var(--ink2);
  font-weight: 600;
  padding-top: 16px;
  margin-top: auto;
  border-top: 1.5px solid #EAE5F5;
  margin-bottom: 18px;
}

.event-card-meta span { display: inline-flex; align-items: center; gap: 5px; }

.event-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.event-card-price {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.3rem;
  background: var(--g-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 720px) {
  .event-card { flex-direction: column; }
  .event-card-media { flex-basis: auto; height: 200px; }
  .event-card-footer { flex-direction: column; align-items: stretch; }
  .event-card-footer .btn { width: 100%; text-align: center; }
}
