/* ============================================================
   BUTTONS — Botones y acciones
============================================================ */

.btn {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: none;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.18s ease;
  -webkit-appearance: none;
  touch-action: manipulation;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.18s;
}

.btn:active::after { background: rgba(255,255,255,0.10); }
.btn:active         { transform: scale(0.975); }
.btn:disabled       { opacity: 0.45; cursor: not-allowed; transform: none !important; }

.btn-primary {
  background: linear-gradient(135deg, #2DCCD3 0%, #00A098 50%, #005479 100%);
  color: white;
  box-shadow: 0 6px 24px rgba(45,204,211,0.38), 0 2px 6px rgba(0,84,121,0.15);
}

.btn-primary:not(:disabled):hover {
  box-shadow: 0 10px 32px rgba(45,204,211,0.50);
  transform: translateY(-1px);
}

.btn-teal {
  background: linear-gradient(135deg, #005479 0%, #00A098 60%, #2DCCD3 100%);
  color: white;
  box-shadow: 0 6px 24px rgba(0,160,152,0.35);
}

.btn-teal:not(:disabled):hover {
  box-shadow: 0 10px 32px rgba(0,160,152,0.48);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  color: rgba(255,255,255,0.75);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover { background: rgba(255,255,255,0.20); }

.btn-outline-glass {
  background: rgba(255,252,248,0.70);
  border: 1px solid rgba(160,140,110,0.22);
  color: var(--slate);
  backdrop-filter: blur(10px);
  width: auto;
  padding: 10px 12px;
  border-radius: 12px;
}

.btn-sm {
  padding: 11px 16px;
  font-size: 13px;
  border-radius: 12px;
}

/* ── Action tiles (mostrar / wallet / compartir) ── */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 9px;
  margin-bottom: 20px;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  border: none;
  border-radius: 18px;
  padding: 14px 8px;
  cursor: pointer;
  transition: all 0.20s ease;
  touch-action: manipulation;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  font-family: var(--sans);
}

.action-btn:hover  { transform: translateY(-3px); }
.action-btn:active { transform: scale(0.95); }

.action-btn .action-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}

.action-btn .action-icon svg {
  width: 18px; height: 18px;
  fill: none; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.action-btn .action-label {
  font-size: 11px;
  font-weight: 700;
}

/* Mostrar — teal con transparencia */
.act-show {
  background: rgba(45,204,211,0.18);
  border: 1.5px solid rgba(45,204,211,0.45);
  box-shadow: 0 2px 12px rgba(45,204,211,0.15);
  backdrop-filter: blur(12px);
}
.act-show .action-icon {
  background: rgba(45,204,211,0.20);
  border: none;
}
.act-show .action-icon svg { stroke: #007A80; }
.act-show .action-label { color: #007A80; }
.act-show:hover {
  background: rgba(45,204,211,0.30);
  border-color: rgba(45,204,211,0.65);
  box-shadow: 0 6px 18px rgba(45,204,211,0.25);
  transform: translateY(-2px);
}

/* Wallet — azul con transparencia */
.act-wallet {
  background: rgba(0,84,121,0.14);
  border: 1.5px solid rgba(0,84,121,0.35);
  box-shadow: 0 2px 12px rgba(0,84,121,0.10);
  backdrop-filter: blur(12px);
}
.act-wallet .action-icon {
  background: rgba(0,84,121,0.16);
  border: none;
}
.act-wallet .action-icon svg { stroke: #005479; }
.act-wallet .action-label { color: #005479; }
.act-wallet:hover {
  background: rgba(0,84,121,0.22);
  border-color: rgba(0,84,121,0.50);
  box-shadow: 0 6px 18px rgba(0,84,121,0.18);
  transform: translateY(-2px);
}

/* Compartir — naranja con transparencia */
.act-share {
  background: rgba(255,107,53,0.14);
  border: 1.5px solid rgba(255,107,53,0.40);
  box-shadow: 0 2px 12px rgba(255,107,53,0.12);
  backdrop-filter: blur(12px);
}
.act-share .action-icon {
  background: rgba(255,107,53,0.16);
  border: none;
}
.act-share .action-icon svg { stroke: #C4400A; }
.act-share .action-label { color: #C4400A; }
.act-share:hover {
  background: rgba(255,107,53,0.22);
  border-color: rgba(255,107,53,0.55);
  box-shadow: 0 6px 18px rgba(255,107,53,0.20);
  transform: translateY(-2px);
}

/* Active compartido */
.act-show:active,
.act-wallet:active,
.act-share:active {
  transform: scale(0.96);
  box-shadow: none;
}

/* ── Gift quick button ── */
.gift-quick-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(45,204,211,0.30);
  border-radius: 20px;
  padding: 14px 16px;
  cursor: pointer;
  margin-bottom: 20px;
  text-align: left;
  font-family: var(--sans);
  transition: all 0.20s ease;
  touch-action: manipulation;
  box-shadow: 0 2px 12px rgba(45,204,211,0.10);
  position: relative;
  overflow: hidden;
}

.gift-quick-btn::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #2DCCD3, #005479);
  border-radius: 4px 0 0 4px;
}

.gift-quick-btn:hover {
  background: rgba(255,255,255,0.97);
  border-color: rgba(45,204,211,0.55);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(45,204,211,0.18);
}

.gift-quick-btn:active { transform: scale(0.98); }

.gift-quick-icon {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(45,204,211,0.15), rgba(0,160,152,0.10));
  border: 1px solid rgba(45,204,211,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: #005479;
}

.gift-quick-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gift-quick-title {
  font-size: 14px;
  font-weight: 700;
  color: #005479;
  display: block;
}

.gift-quick-sub {
  font-size: 12px;
  color: #4A7A82;
  display: block;
}

.gift-quick-sub strong {
  color: #2DCCD3;
  font-weight: 700;
}
