/**
 * Hello Plataforma · Customs Styles
 *
 * Estilos para:
 * - /mis-customs/ del fan
 * - /mi-panel/customs/ de la creadora
 * - Modal de solicitud
 * - Modal de cotización
 * - Modal de pago
 * - Status badges
 */


/* ============================================================
   1. LAYOUT BASE
   ============================================================ */

.hp-customs-wrapper {
  background: var(--hp-bg-secondary);
  min-height: 100vh;
}

.hp-customs {
  max-width: 480px;
  margin: 0 auto;
  padding: 16px 16px 100px;
}


/* ============================================================
   2. HERO
   ============================================================ */

.hp-customs-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.18) 0%, rgba(168, 135, 208, 0.06) 100%);
  border: 0.5px solid rgba(149, 117, 205, 0.30);
  border-radius: 16px;
  margin-bottom: 16px;
}

.hp-customs-hero-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #9575CD 0%, #69499E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hp-customs-hero-icon i {
  font-size: 26px;
  color: #FFF;
}

.hp-customs-hero-content { flex: 1; min-width: 0; }

.hp-customs-hero-title {
  font-family: var(--hp-font-base);
  font-size: 20px;
  font-weight: 800;
  color: var(--hp-text-primary);
  margin: 0;
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.hp-customs-hero-sub {
  font-family: var(--hp-font-base);
  font-size: 13px;
  color: var(--hp-text-secondary);
  margin: 4px 0 0;
}


/* ============================================================
   3. TABS / FILTROS
   ============================================================ */

.hp-customs-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}

.hp-customs-tabs::-webkit-scrollbar { display: none; }

.hp-customs-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 99px;
  background: var(--hp-bg-primary);
  border: 0.5px solid var(--hp-border-subtle);
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-text-secondary);
  text-decoration: none !important;
  white-space: nowrap;
  transition: all var(--hp-duration-normal) var(--hp-ease);
}

.hp-customs-tab:hover {
  border-color: var(--hp-purple);
  color: var(--hp-text-primary);
}

.hp-customs-tab.is-active {
  background: var(--hp-gradient-purple-button);
  border-color: transparent;
  color: #FFF;
  box-shadow: 0 4px 12px -2px rgba(105, 73, 158, 0.30);
}

.hp-customs-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #FFF;
  color: var(--hp-purple-deep);
  font-family: var(--hp-font-base);
  font-size: 10px;
  font-weight: 800;
  border-radius: 99px;
}

.hp-customs-tab:not(.is-active) .hp-customs-tab-badge {
  background: #D97757;
  color: #FFF;
}


/* ============================================================
   4. CARDS
   ============================================================ */

.hp-customs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-custom-card {
  background: var(--hp-bg-primary);
  border: 0.5px solid var(--hp-border-subtle);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color var(--hp-duration-normal) var(--hp-ease),
              transform var(--hp-duration-normal) var(--hp-ease);
}

.hp-custom-card:hover { transform: translateY(-1px); }

/* Border-left por status color */
.hp-custom-card.hp-status-yellow { border-left: 3px solid #C9A961; }
.hp-custom-card.hp-status-orange { border-left: 3px solid #D97757; }
.hp-custom-card.hp-status-purple { border-left: 3px solid #9575CD; }
.hp-custom-card.hp-status-purple-deep { border-left: 3px solid #69499E; }
.hp-custom-card.hp-status-blue { border-left: 3px solid #4A90E2; }
.hp-custom-card.hp-status-green { border-left: 3px solid #5C8A56; }
.hp-custom-card.hp-status-red { border-left: 3px solid #C04545; }
.hp-custom-card.hp-status-gray { border-left: 3px solid #999; }


.hp-custom-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.hp-custom-card-fan {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.hp-custom-fan-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hp-gradient-purple-button);
  color: #FFF;
  font-family: var(--hp-font-base);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: -0.3px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.hp-custom-fan-info { flex: 1; min-width: 0; }

.hp-custom-fan-name {
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hp-custom-fan-email {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: var(--hp-text-tertiary);
  margin: 1px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* Type badge */

.hp-custom-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  background: var(--hp-bg-card);
  border: 0.5px solid var(--hp-border-subtle);
  border-radius: 99px;
  font-family: var(--hp-font-base);
  font-size: 11px;
  font-weight: 700;
  color: var(--hp-text-primary);
  letter-spacing: 0.1px;
}

.hp-custom-type-badge i {
  font-size: 13px;
  color: var(--hp-purple-deep);
}

.hp-custom-type-duration {
  margin-left: 4px;
  padding-left: 6px;
  border-left: 0.5px solid var(--hp-border-subtle);
  color: var(--hp-text-secondary);
  font-weight: 600;
}


/* Status badge */

.hp-custom-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 99px;
  font-family: var(--hp-font-base);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: #FFF;
}

.hp-custom-status-badge i { font-size: 12px; }

.hp-status-bg-yellow { background: linear-gradient(135deg, #D4B96A 0%, #B49850 100%); }
.hp-status-bg-orange { background: linear-gradient(135deg, #E0876A 0%, #D97757 100%); }
.hp-status-bg-purple { background: linear-gradient(135deg, #9575CD 0%, #7E5BB8 100%); }
.hp-status-bg-purple-deep { background: linear-gradient(135deg, #7E5BB8 0%, #69499E 100%); }
.hp-status-bg-blue { background: linear-gradient(135deg, #5BA0E8 0%, #4A90E2 100%); }
.hp-status-bg-green { background: linear-gradient(135deg, #7DAF77 0%, #5C8A56 100%); }
.hp-status-bg-red { background: linear-gradient(135deg, #D86060 0%, #C04545 100%); }
.hp-status-bg-gray { background: linear-gradient(135deg, #B0B0B0 0%, #909090 100%); }


.hp-custom-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hp-custom-desc {
  font-family: var(--hp-font-base);
  font-size: 13px;
  color: var(--hp-text-secondary);
  margin: 0;
  line-height: 1.5;
}


/* References thumbs */

.hp-custom-refs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.hp-custom-ref-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--hp-bg-card);
  border: 0.5px solid var(--hp-border-subtle);
  flex-shrink: 0;
}

.hp-custom-ref-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* Quote box (en card del fan) */

.hp-custom-quote-box {
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.18) 0%, rgba(168, 135, 208, 0.04) 100%);
  border: 0.5px solid rgba(149, 117, 205, 0.30);
  border-radius: 10px;
  padding: 12px;
}

.hp-custom-quote-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.hp-custom-quote-label {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: var(--hp-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
}

.hp-custom-quote-price {
  font-family: var(--hp-font-base);
  font-size: 22px;
  font-weight: 800;
  color: var(--hp-purple-deep);
  letter-spacing: -0.5px;
  line-height: 1;
}

.hp-custom-quote-days {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-secondary);
  margin-bottom: 6px;
}

.hp-custom-quote-days i { font-size: 14px; }

.hp-custom-quote-message {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-secondary);
  background: var(--hp-bg-primary);
  border-radius: 8px;
  padding: 8px 10px;
  margin: 6px 0 0;
  display: flex;
  gap: 6px;
  align-items: flex-start;
  line-height: 1.5;
  font-style: italic;
}

.hp-custom-quote-message i {
  font-size: 14px;
  color: var(--hp-purple-deep);
  flex-shrink: 0;
  margin-top: 2px;
  font-style: normal;
}

.hp-custom-expires {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: #D97757;
  margin: 6px 0 0;
  font-weight: 700;
}


/* Quote summary mini (card de creadora) */

.hp-custom-quote-summary {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: var(--hp-bg-card);
  border-radius: 8px;
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-purple-deep);
}

.hp-custom-quote-days-mini {
  color: var(--hp-text-secondary);
  font-weight: 500;
  font-size: 12px;
}

.hp-custom-expires-mini {
  margin-left: auto;
  color: #D97757;
  font-size: 10px;
  font-weight: 700;
}


/* Payment pending box */

.hp-custom-payment-pending {
  background: linear-gradient(135deg, rgba(217, 119, 87, 0.10) 0%, rgba(217, 119, 87, 0.02) 100%);
  border: 0.5px solid rgba(217, 119, 87, 0.30);
  border-radius: 10px;
  padding: 12px;
  text-align: center;
}

.hp-custom-payment-amount {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: var(--hp-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
  margin: 0;
}

.hp-custom-payment-price {
  font-family: var(--hp-font-base);
  font-size: 24px;
  font-weight: 800;
  color: #D97757;
  letter-spacing: -0.5px;
  margin: 4px 0;
  line-height: 1;
}


/* Status info messages */

.hp-custom-status-info {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: var(--hp-bg-card);
  border-radius: 10px;
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-secondary);
  margin: 0;
}

.hp-custom-status-info i {
  font-size: 16px;
  color: var(--hp-purple-deep);
}

.hp-status-info-success {
  background: linear-gradient(135deg, rgba(168, 208, 162, 0.20) 0%, rgba(125, 175, 119, 0.05) 100%);
  border-left: 3px solid #5C8A56;
}

.hp-status-info-success i { color: #5C8A56; }


/* Rejection message */

.hp-custom-rejection {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  background: rgba(192, 69, 69, 0.06);
  border-radius: 10px;
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.hp-custom-rejection i {
  font-size: 14px;
  color: #C04545;
  flex-shrink: 0;
  margin-top: 1px;
}


/* Actions row */

.hp-custom-actions {
  display: flex;
  gap: 8px;
}

.hp-custom-actions .hp-btn { flex: 1; }


.hp-custom-card-footer {
  margin-top: 4px;
}


/* ============================================================
   5. EMPTY STATE
   ============================================================ */

.hp-customs-empty {
  text-align: center;
  padding: 60px 24px;
}

.hp-customs-empty-icon {
  width: 80px;
  height: 80px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.30) 0%, rgba(168, 135, 208, 0.10) 100%);
  border: 0.5px solid rgba(149, 117, 205, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.hp-customs-empty-icon i {
  font-size: 36px;
  color: var(--hp-purple-deep);
}

.hp-customs-empty-title {
  font-family: var(--hp-font-base);
  font-size: 17px;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0;
}

.hp-customs-empty-sub {
  font-family: var(--hp-font-base);
  font-size: 13px;
  color: var(--hp-text-secondary);
  margin: 8px auto 0;
  line-height: 1.5;
  max-width: 300px;
}


/* ============================================================
   6. FAB · PEDIR CUSTOM
   ============================================================ */

.hp-customs-fab {
  position: fixed;
  bottom: 90px;
  right: 50%;
  transform: translateX(50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  background: var(--hp-gradient-purple-button);
  color: #FFF;
  border: none;
  border-radius: 99px;
  font-family: var(--hp-font-base);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  z-index: 90;
  box-shadow:
    0 12px 28px -8px rgba(105, 73, 158, 0.50),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform var(--hp-duration-normal) var(--hp-ease),
              box-shadow var(--hp-duration-normal) var(--hp-ease);
}

.hp-customs-fab:hover {
  transform: translateX(50%) translateY(-2px);
  box-shadow:
    0 16px 36px -10px rgba(105, 73, 158, 0.60),
    inset 0 1px 0 rgba(255, 255, 255, 0.30);
}

.hp-customs-fab:active {
  transform: translateX(50%) translateY(0);
}

.hp-customs-fab i { font-size: 18px; }

@media (min-width: 600px) {
  .hp-customs-fab {
    right: calc(50% - 200px);
    transform: none;
  }
  .hp-customs-fab:hover { transform: translateY(-2px); }
  .hp-customs-fab:active { transform: translateY(0); }
}


/* ============================================================
   7. MODAL BASE
   ============================================================ */

.hp-customs-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.hp-customs-modal[aria-hidden="false"] {
  display: flex;
  animation: hpCustomsModalFadeIn 200ms ease-out;
}

@keyframes hpCustomsModalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hp-customs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 14, 22, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.hp-customs-modal-content {
  position: relative;
  background: #FFF;
  border-radius: 18px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px -12px rgba(15, 14, 22, 0.35);
  animation: hpCustomsModalSlide 250ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes hpCustomsModalSlide {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.hp-customs-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 0.5px solid var(--hp-border-subtle);
  position: sticky;
  top: 0;
  background: #FFF;
  z-index: 1;
}

.hp-customs-modal-header h2 {
  font-family: var(--hp-font-base);
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.3px;
  color: var(--hp-text-primary);
}

.hp-customs-modal-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--hp-bg-card);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--hp-text-secondary);
  flex-shrink: 0;
}

.hp-customs-modal-close:hover {
  background: var(--hp-bg-secondary);
  color: var(--hp-text-primary);
}

.hp-customs-modal-close i { font-size: 18px; }

.hp-customs-modal-body {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hp-customs-modal-footer {
  display: flex;
  gap: 10px;
  padding: 14px 20px;
  border-top: 0.5px solid var(--hp-border-subtle);
  position: sticky;
  bottom: 0;
  background: #FFF;
}

.hp-customs-modal-footer .hp-btn { flex: 1; }


/* ============================================================
   8. FORM · PEDIR CUSTOM
   ============================================================ */

.hp-custom-info-banner {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.18) 0%, rgba(168, 135, 208, 0.04) 100%);
  border-radius: 10px;
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-secondary);
  margin: 0 0 4px;
  line-height: 1.5;
}

.hp-custom-info-banner i {
  font-size: 16px;
  color: var(--hp-purple-deep);
  flex-shrink: 0;
  margin-top: 1px;
}


/* Type grid */

.hp-custom-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* ============================================================
   TYPE OPTIONS · defensa contra hover rosa de Elementor
   ============================================================ */

.hp-custom-type-option,
.hp-custom-type-option:link,
.hp-custom-type-option:visited,
.hp-custom-type-option:hover,
.hp-custom-type-option:focus,
.hp-custom-type-option:active {
  text-decoration: none !important;
  outline: none !important;
}

.hp-custom-type-option {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 8px;
  background: var(--hp-bg-card, #FFF) !important;
  border: 1px solid var(--hp-border-subtle, rgba(0,0,0,0.08)) !important;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--hp-font-base, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 600;
  color: var(--hp-text-secondary, #5B5566) !important;
  transition: transform 200ms ease-out,
              border-color 200ms ease-out,
              background 200ms ease-out,
              color 200ms ease-out !important;
}

.hp-custom-type-option i {
  font-size: 22px;
  color: var(--hp-text-tertiary, #8B8499) !important;
  transition: color 200ms ease-out;
}

.hp-custom-type-option:hover {
  border-color: var(--hp-purple-deep, #69499E) !important;
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.10) 0%, rgba(168, 135, 208, 0.04) 100%) !important;
  color: var(--hp-text-primary, #1A1726) !important;
  transform: translateY(-1px) !important;
}

.hp-custom-type-option:hover i {
  color: var(--hp-purple-deep, #69499E) !important;
}

.hp-custom-type-option.is-selected {
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.30) 0%, rgba(168, 135, 208, 0.10) 100%) !important;
  border-color: var(--hp-purple-deep, #69499E) !important;
  color: var(--hp-purple-deep, #69499E) !important;
  box-shadow: 0 0 0 2px rgba(149, 117, 205, 0.15) !important;
}

.hp-custom-type-option.is-selected i {
  color: var(--hp-purple-deep, #69499E) !important;
}


/* ============================================================
   DURATION GRID · defensa contra Elementor + diseño compacto
   ============================================================ */

.hp-custom-duration-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.hp-custom-duration-option,
.hp-custom-duration-option:link,
.hp-custom-duration-option:visited,
.hp-custom-duration-option:hover,
.hp-custom-duration-option:focus,
.hp-custom-duration-option:active {
  text-decoration: none !important;
  outline: none !important;
}

.hp-custom-duration-option {
  flex: 1;
  min-width: 70px;
  padding: 12px 8px;
  background: var(--hp-bg-card, #FFF) !important;
  border: 1px solid var(--hp-border-subtle, rgba(0,0,0,0.08)) !important;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--hp-font-base, 'Inter', sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-text-secondary, #5B5566) !important;
  transition: transform 200ms ease-out,
              border-color 200ms ease-out,
              background 200ms ease-out,
              color 200ms ease-out !important;
}

.hp-custom-duration-option:hover {
  border-color: var(--hp-purple-deep, #69499E) !important;
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.10) 0%, rgba(168, 135, 208, 0.04) 100%) !important;
  color: var(--hp-text-primary, #1A1726) !important;
  transform: translateY(-1px) !important;
}

.hp-custom-duration-option.is-selected {
  background: linear-gradient(135deg, var(--hp-purple-light, #A887D0) 0%, var(--hp-purple-deep, #69499E) 100%) !important;
  border-color: var(--hp-purple-deep, #69499E) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 12px -2px rgba(105, 73, 158, 0.30) !important;
}


/* Char count */

.hp-custom-char-count {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: var(--hp-text-tertiary);
  margin: 4px 0 0;
  text-align: right;
}


/* References uploader */

.hp-custom-refs-uploader {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-custom-refs-add {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  background: var(--hp-bg-card);
  border: 1.5px dashed var(--hp-border-subtle);
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-text-secondary);
  transition: all var(--hp-duration-normal) var(--hp-ease);
}

.hp-custom-refs-add:hover {
  border-color: var(--hp-purple-deep);
  color: var(--hp-purple-deep);
  background: rgba(212, 191, 232, 0.10);
}

.hp-custom-refs-add i { font-size: 18px; }

.hp-custom-refs-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.hp-custom-refs-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hp-bg-card);
}

.hp-custom-refs-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hp-custom-refs-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(15, 14, 22, 0.75);
  color: #FFF;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hp-custom-refs-preview-remove i { font-size: 14px; }


/* Input prefix (para $) */

.hp-input-prefix {
  position: relative;
}

.hp-input-prefix-symbol {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--hp-font-base);
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-text-secondary);
  pointer-events: none;
}

.hp-input-prefix input { padding-left: 28px; }


/* Quote fields grid (creadora) */

.hp-custom-quote-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}


/* ============================================================
   9. DETAIL MODAL (creadora)
   ============================================================ */

.hp-custom-detail-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.hp-custom-detail-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hp-custom-detail-label {
  font-family: var(--hp-font-base);
  font-size: 11px;
  font-weight: 800;
  color: var(--hp-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.hp-custom-detail-desc {
  font-family: var(--hp-font-base);
  font-size: 13px;
  color: var(--hp-text-primary);
  background: var(--hp-bg-card);
  border-radius: 10px;
  padding: 12px 14px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.hp-custom-detail-refs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px;
}

.hp-custom-detail-ref {
  aspect-ratio: 1;
  border-radius: 10px;
  overflow: hidden;
  background: var(--hp-bg-card);
}

.hp-custom-detail-ref img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


@media (prefers-reduced-motion: reduce) {
  .hp-customs-modal-content,
  .hp-customs-modal,
  .hp-customs-fab { animation: none !important; transition: none !important; }
}


/* ============================================================
   10. CARD DE CUSTOMS EN DASHBOARD DE CREADORA
   ============================================================ */

.hp-customs-creator-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--hp-bg-primary);
  border: 0.5px solid var(--hp-border-subtle);
  border-radius: 14px;
  text-decoration: none !important;
  margin-bottom: 14px;
  transition: transform var(--hp-duration-normal) var(--hp-ease),
              border-color var(--hp-duration-normal) var(--hp-ease),
              box-shadow var(--hp-duration-normal) var(--hp-ease);
}

.hp-customs-creator-card:hover {
  transform: translateY(-2px);
  border-color: var(--hp-purple);
  box-shadow: 0 8px 20px -4px rgba(105, 73, 158, 0.12);
}

.hp-customs-creator-card.has-pending {
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.18) 0%, rgba(168, 135, 208, 0.04) 100%);
  border-color: rgba(149, 117, 205, 0.30);
}

.hp-customs-creator-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9575CD 0%, #69499E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.hp-customs-creator-card.has-pending .hp-customs-creator-icon {
  animation: hpCustomsSparkle 2.4s ease-in-out infinite;
}

@keyframes hpCustomsSparkle {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.hp-customs-creator-icon i {
  font-size: 22px;
  color: #FFF;
}

.hp-customs-creator-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: #FFF;
  color: var(--hp-purple-deep);
  border-radius: 99px;
  font-family: var(--hp-font-base);
  font-size: 10px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--hp-purple-deep);
  box-shadow: 0 2px 4px rgba(105, 73, 158, 0.30);
}

.hp-customs-creator-content {
  flex: 1;
  min-width: 0;
}

.hp-customs-creator-label {
  font-family: var(--hp-font-base);
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0;
  letter-spacing: -0.2px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.hp-customs-creator-pill {
  font-family: var(--hp-font-base);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFF;
  background: linear-gradient(135deg, #9575CD 0%, #69499E 100%);
  padding: 2px 6px;
  border-radius: 99px;
  text-transform: uppercase;
}

.hp-customs-creator-pill--production {
  background: linear-gradient(135deg, #DCB877 0%, #C9A961 100%);
}

.hp-customs-creator-sub {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-secondary);
  margin: 3px 0 0;
}

/* ============================================================
   11. PAYMENT SCREEN (modal de SPEI)
   ============================================================ */

.hp-custom-payment-screen {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hp-custom-payment-amount-box {
  text-align: center;
  padding: 18px;
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.20) 0%, rgba(168, 135, 208, 0.06) 100%);
  border: 0.5px solid rgba(149, 117, 205, 0.30);
  border-radius: 14px;
}

.hp-custom-payment-label {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: var(--hp-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  margin: 0;
}

.hp-custom-payment-big-amount {
  font-family: var(--hp-font-base);
  font-size: 32px;
  font-weight: 800;
  color: var(--hp-purple-deep);
  letter-spacing: -1px;
  margin: 6px 0 0;
  line-height: 1;
}

.hp-custom-payment-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hp-custom-payment-field label {
  font-family: var(--hp-font-base);
  font-size: 11px;
  font-weight: 700;
  color: var(--hp-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.hp-custom-payment-copy {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--hp-bg-card);
  border: 0.5px solid var(--hp-border-subtle);
  border-radius: 10px;
}

.hp-custom-payment-value {
  flex: 1;
  font-family: var(--hp-font-base);
  font-size: 15px;
  font-weight: 700;
  color: var(--hp-text-primary);
  letter-spacing: 0.5px;
  word-break: break-all;
}

.hp-custom-payment-copy-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--hp-purple-deep);
  border: none;
  color: #FFF;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--hp-duration-normal) var(--hp-ease);
}

.hp-custom-payment-copy-btn:hover { transform: scale(1.05); }
.hp-custom-payment-copy-btn:active { transform: scale(0.95); }
.hp-custom-payment-copy-btn i { font-size: 16px; }

.hp-custom-payment-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.hp-custom-payment-mini {
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-text-primary);
  margin: 4px 0 0;
}

.hp-custom-payment-info-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  background: rgba(212, 191, 232, 0.15);
  border-radius: 10px;
}

.hp-custom-payment-info-banner i {
  font-size: 18px;
  color: var(--hp-purple-deep);
  flex-shrink: 0;
}

.hp-custom-payment-info-banner p {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-secondary);
  margin: 0;
  line-height: 1.5;
}

.hp-custom-payment-info-banner strong {
  color: var(--hp-text-primary);
  font-weight: 700;
}


/* ============================================================
   12. DELIVERY BOX (fan ve archivo entregado)
   ============================================================ */

.hp-custom-delivery-box {
  background: linear-gradient(135deg, rgba(168, 208, 162, 0.20) 0%, rgba(125, 175, 119, 0.05) 100%);
  border: 0.5px solid rgba(125, 175, 119, 0.40);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hp-custom-delivery-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hp-custom-delivery-header > i {
  font-size: 24px;
  color: #5C8A56;
  flex-shrink: 0;
}

.hp-custom-delivery-title {
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0;
}

.hp-custom-delivery-sub {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: var(--hp-text-tertiary);
  margin: 2px 0 0;
}

.hp-custom-delivery-preview {
  border-radius: 10px;
  overflow: hidden;
  max-height: 240px;
}

.hp-custom-delivery-preview img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 240px;
  object-fit: cover;
}


/* Viewer inline (NUEVO · reemplaza al preview con link de descarga) */

.hp-custom-delivery-viewer {
  border-radius: 12px;
  overflow: hidden;
  background: #0F0E16;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  position: relative;
}

.hp-custom-delivery-viewer img {
  width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-drag: none;
  pointer-events: none;
}

.hp-custom-delivery-viewer video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  background: #000;
}

/* Bloquear el menú contextual del video (que permite "guardar como") */
.hp-custom-delivery-viewer video::-internal-media-controls-download-button {
  display: none;
}
.hp-custom-delivery-viewer video::-webkit-media-controls-enclosure {
  overflow: hidden;
}

.hp-custom-delivery-audio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: linear-gradient(135deg, #2A1F44 0%, #1A1530 100%);
}

.hp-custom-delivery-audio > i {
  font-size: 32px;
  color: var(--hp-purple);
  flex-shrink: 0;
}

.hp-custom-delivery-audio audio {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.hp-custom-delivery-note {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(125, 175, 119, 0.10);
  border-radius: 8px;
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: #5C8A56;
  font-weight: 600;
  margin: 0;
}

.hp-custom-delivery-note i {
  font-size: 14px;
}


/* ============================================================
   13. REFUND BOX
   ============================================================ */

.hp-custom-refunded-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.10) 0%, rgba(74, 144, 226, 0.02) 100%);
  border: 0.5px solid rgba(74, 144, 226, 0.30);
  border-radius: 10px;
}

.hp-custom-refunded-box > i {
  font-size: 22px;
  color: #4A90E2;
  flex-shrink: 0;
}

.hp-custom-refunded-title {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-weight: 700;
  margin: 0;
}

.hp-custom-refunded-amount {
  font-family: var(--hp-font-base);
  font-size: 18px;
  font-weight: 800;
  color: #4A90E2;
  margin: 2px 0 0;
  letter-spacing: -0.5px;
  line-height: 1;
}


/* ============================================================
   14. DEADLINE BOX (creadora ve plazo)
   ============================================================ */

.hp-custom-deadline-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--hp-bg-card);
  border: 0.5px solid var(--hp-border-subtle);
  border-radius: 10px;
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 600;
  color: var(--hp-text-primary);
}

.hp-custom-deadline-box i {
  font-size: 18px;
  color: var(--hp-purple-deep);
}

.hp-custom-deadline-box.is-overdue {
  background: rgba(217, 119, 87, 0.08);
  border-color: rgba(217, 119, 87, 0.30);
  color: #D97757;
}

.hp-custom-deadline-box.is-overdue i { color: #D97757; }


/* ============================================================
   15. DELIVERED BOX (creadora confirma entrega)
   ============================================================ */

.hp-custom-delivered-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(168, 208, 162, 0.20) 0%, rgba(125, 175, 119, 0.05) 100%);
  border: 0.5px solid rgba(125, 175, 119, 0.40);
  border-radius: 10px;
}

.hp-custom-delivered-box > i {
  font-size: 24px;
  color: #5C8A56;
  flex-shrink: 0;
}

.hp-custom-delivered-title {
  font-family: var(--hp-font-base);
  font-size: 13px;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0;
}

.hp-custom-delivered-sub {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: var(--hp-text-tertiary);
  margin: 2px 0 0;
}


/* ============================================================
   16. FOOTER STACK + DANGER BUTTON
   ============================================================ */

.hp-customs-modal-footer-stack {
  flex-direction: column;
  gap: 8px;
}

.hp-customs-modal-footer-stack .hp-btn { width: 100%; }

.hp-btn-danger-soft {
  background: rgba(217, 119, 87, 0.08) !important;
  border-color: rgba(217, 119, 87, 0.30) !important;
  color: #D97757 !important;
}

.hp-btn-danger-soft:hover {
  background: rgba(217, 119, 87, 0.15) !important;
}


/* ============================================================
   17. UPLOAD PROGRESS OVERLAY
   ============================================================ */

.hp-custom-upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 14, 22, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: hpUploadFadeIn 200ms ease-out;
}

@keyframes hpUploadFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.hp-custom-upload-card {
  max-width: 380px;
  width: 100%;
  background: #FFF;
  border-radius: 20px;
  padding: 32px 26px;
  text-align: center;
  box-shadow: 0 32px 80px -12px rgba(105, 73, 158, 0.35);
  animation: hpUploadCardSlide 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes hpUploadCardSlide {
  from { transform: translateY(20px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.hp-custom-upload-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: linear-gradient(135deg, #9575CD 0%, #69499E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 16px 32px -6px rgba(105, 73, 158, 0.40);
  animation: hpUploadPulse 1.8s ease-in-out infinite;
}

@keyframes hpUploadPulse {
  0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 16px 32px -6px rgba(105,73,158,0.40), 0 0 0 0 rgba(105,73,158,0.4); }
  50% { box-shadow: inset 0 1px 0 rgba(255,255,255,0.25), 0 16px 32px -6px rgba(105,73,158,0.40), 0 0 0 14px rgba(105,73,158,0); }
}

.hp-custom-upload-icon i {
  font-size: 38px;
  color: #FFF;
}

.hp-custom-upload-title {
  font-family: var(--hp-font-base);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--hp-text-primary);
  margin: 0;
  line-height: 1.2;
}

.hp-custom-upload-filename {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-tertiary);
  margin: 6px 0 22px;
}

.hp-custom-upload-progress-wrap {
  height: 8px;
  background: rgba(212, 191, 232, 0.30);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 10px;
}

.hp-custom-upload-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #9575CD 0%, #69499E 100%);
  border-radius: 99px;
  transition: width 200ms ease-out;
  box-shadow: 0 2px 4px rgba(105, 73, 158, 0.30);
}

.hp-custom-upload-progress-bar.is-processing {
  background: linear-gradient(
    90deg,
    #9575CD 0%,
    #C9A961 50%,
    #9575CD 100%
  );
  background-size: 200% 100%;
  animation: hpProgressShimmer 1.6s linear infinite;
}

@keyframes hpProgressShimmer {
  from { background-position: 200% 0; }
  to { background-position: -200% 0; }
}

.hp-custom-upload-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
}

.hp-custom-upload-percent {
  font-family: var(--hp-font-base);
  font-size: 22px;
  font-weight: 800;
  color: var(--hp-purple-deep);
  letter-spacing: -0.5px;
  line-height: 1;
}

.hp-custom-upload-size {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-tertiary);
  font-weight: 600;
}

.hp-custom-upload-hint {
  font-family: var(--hp-font-base);
  font-size: 11px;
  color: var(--hp-text-tertiary);
  margin: 0;
  font-style: italic;
}

/* Estado done */

.hp-custom-upload-card.is-done .hp-custom-upload-icon {
  background: linear-gradient(135deg, #7DAF77 0%, #5C8A56 100%);
  animation: none;
}

.hp-custom-upload-card.is-done .hp-custom-upload-progress-bar {
  background: linear-gradient(90deg, #7DAF77 0%, #5C8A56 100%);
  animation: none;
}

.hp-custom-upload-card.is-done .hp-custom-upload-percent {
  color: #5C8A56;
}

/* Estado error */

.hp-custom-upload-card.is-error .hp-custom-upload-icon {
  background: linear-gradient(135deg, #D86060 0%, #C04545 100%);
  animation: none;
}

.hp-custom-upload-card.is-error .hp-custom-upload-progress-bar {
  background: linear-gradient(90deg, #D86060 0%, #C04545 100%);
  animation: none;
}

.hp-custom-upload-card.is-error .hp-custom-upload-percent {
  color: #C04545;
}

@media (prefers-reduced-motion: reduce) {
  .hp-custom-upload-overlay,
  .hp-custom-upload-card,
  .hp-custom-upload-icon,
  .hp-custom-upload-progress-bar { animation: none !important; }
}


/* ============================================================
   18. PAY OPTIONS (wallet vs transferencia en modal de pago custom)
   ============================================================ */

.hp-custom-pay-option {
  background: var(--hp-bg-primary);
  border: 1.5px solid var(--hp-border-subtle);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color 200ms ease, box-shadow 200ms ease;
}

.hp-custom-pay-option--primary {
  border-color: rgba(149, 117, 205, 0.40);
  background: linear-gradient(135deg, rgba(212, 191, 232, 0.18) 0%, rgba(168, 135, 208, 0.04) 100%);
  box-shadow: 0 12px 24px -8px rgba(105, 73, 158, 0.18);
}

.hp-custom-pay-option--partial {
  border-color: rgba(201, 169, 97, 0.30);
  background: linear-gradient(135deg, rgba(220, 184, 119, 0.12) 0%, rgba(201, 169, 97, 0.03) 100%);
}

.hp-custom-pay-option--secondary {
  background: var(--hp-bg-card);
}


/* Header de cada opción */

.hp-custom-pay-option-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hp-custom-pay-option-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9575CD 0%, #69499E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              0 8px 16px -4px rgba(105, 73, 158, 0.30);
}

.hp-custom-pay-option-icon i {
  font-size: 22px;
  color: #FFF;
}

.hp-custom-pay-option-icon--partial {
  background: linear-gradient(135deg, #DCB877 0%, #C9A961 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              0 8px 16px -4px rgba(201, 169, 97, 0.30);
}

.hp-custom-pay-option-icon--bank {
  background: linear-gradient(135deg, #A8AABF 0%, #6E7191 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              0 8px 16px -4px rgba(110, 113, 145, 0.30);
}


.hp-custom-pay-option-info {
  flex: 1;
  min-width: 0;
}

.hp-custom-pay-option-title {
  font-family: var(--hp-font-base);
  font-size: 14px;
  font-weight: 700;
  color: var(--hp-text-primary);
  margin: 0;
  letter-spacing: -0.2px;
}

.hp-custom-pay-option-sub {
  font-family: var(--hp-font-base);
  font-size: 12px;
  color: var(--hp-text-secondary);
  margin: 2px 0 0;
  line-height: 1.4;
}

.hp-custom-pay-option-sub strong {
  color: var(--hp-text-primary);
  font-weight: 700;
}

.hp-custom-pay-option-badge {
  font-family: var(--hp-font-base);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #FFF;
  background: linear-gradient(135deg, #7DAF77 0%, #5C8A56 100%);
  padding: 3px 8px;
  border-radius: 99px;
  text-transform: uppercase;
  flex-shrink: 0;
  align-self: flex-start;
  box-shadow: 0 4px 8px -2px rgba(92, 138, 86, 0.30);
}


/* Separador "o" */

.hp-custom-pay-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0;
}

.hp-custom-pay-separator::before,
.hp-custom-pay-separator::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--hp-border-subtle);
}

.hp-custom-pay-separator span {
  font-family: var(--hp-font-base);
  font-size: 11px;
  font-weight: 600;
  color: var(--hp-text-tertiary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}


/* Detalles SPEI dentro de la opción de transferencia */

.hp-custom-spei-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 4px;
  border-top: 0.5px solid var(--hp-border-subtle);
  margin-top: 4px;
  padding-top: 14px;
}


/* Botón bronce para "Recargar wallet" */

.hp-btn-bronze {
  background: linear-gradient(135deg, #DCB877 0%, #C9A961 100%) !important;
  color: #FFF !important;
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              0 8px 20px -4px rgba(201, 169, 97, 0.40) !important;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.hp-btn-bronze:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              0 12px 24px -4px rgba(201, 169, 97, 0.50) !important;
}


/* Estado "success" después de pagar con wallet */

.hp-btn-success {
  background: linear-gradient(135deg, #7DAF77 0%, #5C8A56 100%) !important;
  color: #FFF !important;
  pointer-events: none !important;
}