/* Estilos muy básicos placeholder; sustituir por tu CSS gaming completo */
body { color:#fff; margin:0; font-family:system-ui, sans-serif; }
a { color:#7dc4ff; text-decoration:none; }
.fh-header { position:sticky; top:0; background:#050814e6; backdrop-filter:blur(10px); border-bottom:1px solid #111; z-index:20; }
.fh-header-inner { max-width:1200px; margin:0 auto; padding:0.75rem 1rem; display:flex; align-items:center; justify-content:space-between; }
.fh-logo { font-weight:700; letter-spacing:.08em; font-size:.9rem; display:flex; flex-direction:column; text-transform:uppercase; }
.fh-logo span { font-weight:400; font-size:.7rem; opacity:.8; }
.fh-nav { display:flex; gap:1rem; }
.fh-nav a { font-size:.9rem; opacity:.85; }
.fh-header-actions { display:flex; gap:.5rem; align-items:center; }
.fh-btn { border:none; border-radius:999px; padding:.45rem .9rem; background:linear-gradient(135deg,#40e0ff,#7b5cff); color:#fff; font-size:.85rem; cursor:pointer; }
.fh-btn-ghost { background:transparent; border:1px solid #555; }
.fh-sm { font-size:.8rem; padding:.3rem .7rem; }
.fh-main { max-width:1200px; margin:0 auto; padding:1.25rem 1rem 3rem; }
.fh-section { margin-bottom:2.5rem; animation: fh-section-in 0.7s ease-out both; }
.fh-section-title { font-size:1.4rem; margin-bottom:.25rem; }
.fh-section-subtitle { opacity:.8; font-size:.9rem; }
.fh-grid { display:grid; gap:1.25rem; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.fh-card { background:#090f20; border-radius:1rem; overflow:hidden; border:1px solid #151b30; display:flex; flex-direction:column; }
.fh-card-image-wrap { display:block; height:180px; background:#111; }
.fh-card-image-wrap img { width:100%; height:100%; object-fit:contain; }
.fh-card-body { padding:.75rem .9rem 1rem; display:flex; flex-direction:column; gap:.3rem; }
.fh-card-title { font-size:.95rem; margin:0; }
.fh-card-price { font-size:.95rem; font-weight:600; }
.fh-card-category { font-size:.8rem; opacity:.75; }
.fh-card-actions { margin-top:.5rem; }
.fh-filters { margin-bottom:1rem; padding:.75rem .9rem; border-radius:.9rem; background:#090f20; border:1px solid #151b30; }
.fh-filters-row { display:flex; flex-wrap:wrap; gap:.75rem; }
.fh-filters-field { flex:1 1 180px; display:flex; flex-direction:column; gap:.25rem; font-size:.85rem; }
.fh-filters-field input,.fh-filters-field select { padding:.35rem .5rem; border-radius:.5rem; border:1px solid #333; background:#050814; color:#fff; }
.fh-empty { padding:1.5rem 1rem; text-align:center; opacity:.85; }
.fh-footer { border-top:1px solid #111; padding:1rem; text-align:center; opacity:.7; font-size:.8rem; }
.fh-cart-button { position:relative; display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:999px; background:radial-gradient(circle at 0 0,#40e0ff,#7b5cff); color:#fff; }
.fh-cart-badge { position:absolute; top:-4px; right:-4px; min-width:18px; height:18px; border-radius:999px; background:#ff4d7a; color:#fff; font-size:.7rem; display:flex; align-items:center; justify-content:center; padding:0 4px; border:2px solid #050814; }
.fh-cart-table { width:100%; border-collapse:collapse; margin-top:1rem; font-size:.85rem; }
.fh-cart-table th,.fh-cart-table td { padding:.45rem .5rem; border-bottom:1px solid #151b30; }
.fh-cart-qty { width:70px; padding:.2rem; border-radius:.4rem; border:1px solid #333; background:#050814; color:#fff; }
.fh-cart-actions-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; margin-top:1rem; }
.fh-cart-summary { display:flex; flex-direction:column; gap:.25rem; text-align:right; }
.fh-cart-summary span { min-width:80px; display:inline-block; }
.fh-cart-total-amount { font-size:1.1rem; font-weight:600; }
.fh-modal-backdrop { position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,.7); z-index:50; }
.fh-modal-backdrop.is-open { display:flex; }
.fh-modal { background:#090f20; border-radius:1rem; padding:1rem 1.25rem; max-width:420px; width:100%; border:1px solid #151b30; }
.fh-modal-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:.5rem; }
.fh-modal-group { margin:.5rem 0; }
.fh-modal-total { display:flex; justify-content:space-between; align-items:center; margin-top:.5rem; font-weight:600; }
.fh-radio,.fh-checkbox { display:flex; align-items:center; gap:.35rem; font-size:.85rem; }

/* Página de producto */
.fh-product-grid {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  gap:2rem;
  align-items:flex-start;
}
.fh-product-image img {
  max-width:100%;
  max-height:420px;
  border-radius:1.25rem;
  object-fit:contain;
}
.fh-product-price {
  font-size:1.4rem;
  font-weight:600;
  margin:0.5rem 0 1rem;
}
.fh-product-description {
  font-size:0.95rem;
  opacity:0.9;
}
.fh-product-actions {
  margin-top:1.5rem;
  display:flex;
  gap:0.75rem;
  flex-wrap:wrap;
}
@media (max-width:900px){
  .fh-product-grid { grid-template-columns:1fr; }
}

/* Perfil & pedidos */
.fh-profile-header {
  display:flex;
  gap:1rem;
  align-items:center;
  padding:1rem;
  border-radius:1rem;
  background:#090f20;
  border:1px solid #151b30;
}
.fh-profile-avatar {
  width:56px;
  height:56px;
  border-radius:999px;
  background:radial-gradient(circle at 0 0,#40e0ff,#7b5cff);
}
.fh-profile-meta {
  font-size:0.85rem;
  opacity:0.8;
}
.fh-orders-list {
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.fh-order-card {
  background:#090f20;
  border-radius:1rem;
  border:1px solid #151b30;
  padding:0.75rem 0.9rem 0.9rem;
}
.fh-order-card-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:1rem;
  margin-bottom:0.5rem;
}
.fh-order-meta {
  font-size:0.8rem;
  opacity:0.8;
}
.fh-order-total {
  font-weight:600;
}
.fh-order-items {
  border-top:1px solid #151b30;
  margin-top:0.5rem;
  padding-top:0.5rem;
  display:flex;
  flex-direction:column;
  gap:0.35rem;
}
.fh-order-item {
  display:flex;
  justify-content:space-between;
  gap:0.5rem;
  font-size:0.85rem;
}
.fh-order-item-name {
  margin:0;
}
.fh-order-item-extras {
  margin:0;
  font-size:0.78rem;
  opacity:0.8;
}
.fh-order-item-right {
  text-align:right;
  display:flex;
  flex-direction:column;
  gap:0.15rem;
}
.fh-order-status {
  padding:0.1rem 0.4rem;
  border-radius:999px;
  font-size:0.7rem;
}
.fh-order-status-pending { background:#ffb34733; color:#ffb347; }
.fh-order-status-paid { background:#4cd96433; color:#4cd964; }
.fh-order-status-cancelled { background:#ff4d7a33; color:#ff4d7a; }
.fh-order-coupon {
  margin-top:0.4rem;
  font-size:0.8rem;
  opacity:0.85;
}
.fh-order-notes {
  margin-top:0.4rem;
  font-size:0.8rem;
  opacity:0.9;
}

/* Checkout layout */
.fh-checkout-grid {
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);
  gap:1.5rem;
}
.fh-checkout-summary,.fh-checkout-payment {
  background:#090f20;
  border-radius:1rem;
  border:1px solid #151b30;
  padding:0.9rem 1rem;
}
.fh-checkout-help {
  font-size:0.8rem;
  opacity:0.8;
  margin:0.15rem 0 0.4rem 1.5rem;
}
@media(max-width:900px){
  .fh-checkout-grid { grid-template-columns:1fr; }
}

/* Mejora visual: fondo con patrón y hover en tarjetas */
body.fh-body {
  background: radial-gradient(circle at top, #111633 0, #050814 55%, #02030a 100%);
  color:#f5f7ff;
}

.fh-header {
  box-shadow:0 8px 20px rgba(0,0,0,0.65);
}

.fh-card {
  position:relative;
  overflow:hidden;
  transition:transform .18s ease-out, box-shadow .18s ease-out, border-color .18s ease-out;
}
.fh-card::before {
  content:'';
  position:absolute;
  inset:-40%;
  background:radial-gradient(circle at 0 0, rgba(64,224,255,0.13), transparent 60%);
  opacity:0;
  transform:translateX(-30%);
  transition:opacity .3s ease-out, transform .3s ease-out;
  pointer-events:none;
}
.fh-card:hover {
  transform:translateY(-4px);
  box-shadow:0 12px 28px rgba(0,0,0,0.7);
  border-color:#273b7a;
}
.fh-card:hover::before {
  opacity:1;
  transform:translateX(0);
}
.fh-card-image-wrap {
  background:radial-gradient(circle at 50% 0, #1c264a, #050814);
}

.fh-btn {
  box-shadow:0 0 12px rgba(123,92,255,0.4);
  transition:transform .12s ease-out, box-shadow .12s ease-out, background .12s ease-out;
}
.fh-btn:hover {
  transform:translateY(-1px);
  box-shadow:0 0 16px rgba(123,92,255,0.75);
}
.fh-btn:active {
  transform:translateY(0);
  box-shadow:0 0 6px rgba(123,92,255,0.5);
}

/* Pista filtros */
.fh-filter-hint {
  font-size:0.8rem;
  opacity:0.85;
  margin:0.3rem 0 0.8rem;
}

/* =============================
   HEADER + MENÚ RESPONSIVE
   ============================= */

.fh-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, #050814f8, #050814dd 70%, transparent);
  backdrop-filter: blur(14px);
}

.fh-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.fh-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.fh-logo-title {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.fh-logo-subtitle {
  font-size: 0.7rem;
  opacity: 0.75;
}

.fh-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.9rem;
}

.fh-nav-link {
  text-decoration: none;
  opacity: 0.85;
  position: relative;
}

.fh-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.2rem;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.18s ease-out;
  background: linear-gradient(90deg, #40e0ff, #7b5cff);
}

.fh-nav-link:hover::after {
  transform: scaleX(1);
}

.fh-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Carrito con badge */
.fh-cart-badge {
  position: relative;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 0, #ff6ad5, #7b5cff);
  text-decoration: none;
}

.fh-cart-icon {
  font-size: 1.1rem;
}

.fh-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ff3b6b;
  color: #fff;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Usuario */
.fh-user-pill {
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: #0a1023;
  border: 1px solid #202744;
  font-size: 0.8rem;
}

/* Botón hamburguesa */
.fh-nav-toggle {
  display: none; /* solo móvil, ver media query */
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #2a355a;
  background: #050814;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}

.fh-nav-toggle span {
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: #f5f7ff;
}

/* ========= MÓVIL ========= */
@media (max-width: 900px) {
  .fh-header-inner {
    padding-inline: 1rem;
  }

  .fh-nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    padding: 0.5rem 0;
    flex-direction: column;
    gap: 0;
    background: #050814f2;
    border-bottom: 1px solid #151b30;
    display: none;
  }

  .fh-nav-link {
    width: 100%;
    padding: 0.75rem 1.5rem;
  }

  .fh-nav-link::after {
    left: 1.5rem;
    right: 1.5rem;
  }

  /* Cuando se abre el menú */
  body.fh-nav-open .fh-nav {
    display: flex;
  }

  .fh-nav-toggle {
    display: flex;
  }

  .fh-header-right {
    gap: 0.4rem;
  }
}

/* =============================
   LAYOUT TIENDA (similar a capturas)
   ============================= */

.fh-store-layout {
  max-width: 1280px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 2rem;
}

.fh-store-sidebar {
  background: rgba(5, 8, 20, 0.9);
  border-radius: 18px;
  padding: 1.2rem 1.2rem 1.4rem;
  border: 1px solid rgba(52, 65, 114, 0.8);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.fh-store-filters-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.fh-store-filters-group label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.fh-store-filters-group select,
.fh-store-filters-group input[type="text"] {
  width: 100%;
}

.fh-store-filters-info {
  margin-top: 0.3rem;
  border-top: 1px solid rgba(40, 51, 96, 0.9);
  padding-top: 0.7rem;
  font-size: 0.83rem;
}

.fh-store-filters-info h3 {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.fh-store-filters-info ul {
  padding-left: 1.1rem;
}

.fh-store-mini-cart {
  margin-top: 0.4rem;
  padding-top: 0.7rem;
  border-top: 1px solid rgba(40, 51, 96, 0.9);
  font-size: 0.85rem;
}

.fh-store-mini-cart h3 {
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.fh-store-mini-cart .fh-empty {
  margin: 0.1rem 0 0;
}

.fh-store-main-header {
  display: flex;
  justify-content: flex-end;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
  opacity: 0.85;
}

@media (max-width: 900px) {
  .fh-store-layout {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 1rem;
  }

  .fh-store-sidebar {
    order: 1;
  }

  .fh-store-main-header {
    justify-content: flex-start;
  }
}

/* =============================
   Filtros de tienda (sidebar)
   ============================= */

.fh-store-sidebar {
  background: radial-gradient(circle at top left, #172554 0, #020617 55%);
  border-radius: 18px;
  padding: 1.25rem 1.4rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.65);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  color: #e5e7eb;
}

.fh-store-filters-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(226, 232, 240, 0.9);
}

.fh-store-sidebar select,
.fh-store-sidebar input[type="text"] {
  width: 100%;
  margin-top: 0.25rem;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  color: #e5e7eb;
  outline: none;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.4);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s;
}

.fh-store-sidebar select:focus,
.fh-store-sidebar input[type="text"]:focus {
  border-color: #818cf8;
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.65), 0 0 20px rgba(79, 70, 229, 0.6);
  background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.25), rgba(15, 23, 42, 0.95));
}

.fh-store-sidebar select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #a5b4fc 50%),
    linear-gradient(135deg, #a5b4fc 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.fh-store-filters-info h3 {
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
}

.fh-store-filters-info ul {
  font-size: 0.8rem;
  color: #cbd5f5;
}

.fh-store-mini-cart h3 {
  font-size: 0.85rem;
  margin-bottom: 0.15rem;
}

.fh-store-mini-cart p {
  font-size: 0.8rem;
}

/* =============================
   Carrito: filas, imagen y qty
   ============================= */

.fh-cart-table td,
.fh-cart-table th {
  padding: 0.8rem 1rem;
  vertical-align: middle;
}

.fh-cart-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.fh-cart-thumb {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  background: radial-gradient(circle at top left, #1f2937 0, #020617 60%);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.fh-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fh-cart-product-name {
  font-weight: 500;
  font-size: 0.92rem;
}

.fh-cart-product-meta {
  font-size: 0.78rem;
  color: #9ca3af;
}

/* Controles de cantidad */

.fh-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.fh-qty-control input.fh-cart-qty {
  width: 3rem;
  text-align: center;
  border-radius: 999px;
}

.fh-qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top left, #1d243d 0, #020617 70%);
  color: #e5e7eb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.fh-qty-btn:hover {
  transform: translateY(-1px);
  border-color: #818cf8;
  box-shadow: 0 0 14px rgba(79, 70, 229, 0.7);
}

/* Botones peligrosos (quitar / vaciar) */

.fh-btn-danger,
.fh-btn-danger-outline {
  background: linear-gradient(135deg, #b91c1c, #f97373);
  border: 1px solid rgba(248, 113, 113, 0.9);
  color: #fee2e2;
}

.fh-btn-danger-outline {
  background: transparent;
  color: #fecaca;
  border-color: rgba(248, 113, 113, 0.7);
}

.fh-btn-danger:hover,
.fh-btn-danger-outline:hover {
  background: linear-gradient(135deg, #dc2626, #fecaca);
  color: #111827;
  border-color: #fecaca;
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.9);
}

/* Ajustes de filtros tienda: selects y buscador */
.fh-store-sidebar select,
.fh-store-sidebar input[type="text"] {
  box-sizing: border-box;
  display: block;
  max-width: 100%;
}

/* Colores de las opciones del desplegable */
.fh-store-sidebar select option,
.fh-store-sidebar select optgroup {
  background-color: #020617;
  color: #e5e7eb;
}

/* En algunos navegadores el menú toma el color del propio <select> */
.fh-store-sidebar select {
  color: #e5e7eb;
}


/* ============ Perfil & pedidos ============ */

.fh-profile-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .fh-profile-layout {
    grid-template-columns: 1fr;
  }
}

.fh-profile-sidebar {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 18px;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.fh-profile-user {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.fh-profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: radial-gradient(circle at top, #38bdf8, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-weight: 700;
  font-size: 1.1rem;
  overflow: hidden;
}
.fh-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fh-profile-name {
  margin: 0;
  font-size: 1rem;
}
.fh-profile-subtitle {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.75;
}

.fh-profile-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.fh-profile-menu-item {
  display: block;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  font-size: 0.86rem;
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.75;
}
.fh-profile-menu-item:hover {
  background: rgba(30, 64, 175, 0.7);
  opacity: 1;
}
.fh-profile-menu-item-active {
  background: linear-gradient(120deg, #4f46e5, #ec4899);
  opacity: 1;
}

/* Tabs pedidos */
.fh-orders-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}
.fh-orders-tab {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(148, 163, 184, 0.5);
  text-decoration: none;
  color: #e5e7eb;
}
.fh-orders-tab-active {
  background: linear-gradient(120deg, #4f46e5, #ec4899);
  border-color: transparent;
}

/* Buscador pedidos */
.fh-orders-search {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.fh-orders-search input[type="text"] {
  flex: 1;
}

/* Tarjeta de pedido */
.fh-order-card {
  background: rgba(15, 23, 42, 0.98);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  margin-bottom: 0.9rem;
}

.fh-order-card-header,
.fh-order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.fh-order-id {
  font-weight: 600;
  font-size: 0.85rem;
}
.fh-order-date {
  font-size: 0.8rem;
  opacity: 0.75;
}

.fh-order-status-pill {
  font-size: 0.78rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  text-transform: capitalize;
}
.fh-order-status-pending {
  background: rgba(252, 211, 77, 0.15);
  color: #facc15;
}
.fh-order-status-paid,
.fh-order-status-delivered {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}
.fh-order-status-cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}

.fh-order-items {
  margin: 0.7rem 0;
  border-top: 1px solid rgba(51, 65, 85, 0.9);
  border-bottom: 1px solid rgba(51, 65, 85, 0.9);
}
.fh-order-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 0.6rem;
  padding: 0.6rem 0;
  align-items: center;
}
.fh-order-item + .fh-order-item {
  border-top: 1px dashed rgba(51, 65, 85, 0.9);
}
.fh-order-item-thumb img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.fh-order-item-name {
  font-size: 0.9rem;
}
.fh-order-item-extras {
  font-size: 0.78rem;
  opacity: 0.8;
}
.fh-order-item-meta {
  text-align: right;
  font-size: 0.8rem;
}
.fh-order-item-price {
  font-weight: 600;
}

.fh-order-total span:first-child {
  font-size: 0.85rem;
  opacity: 0.8;
}
.fh-order-total span:last-child {
  font-size: 1rem;
  font-weight: 600;
}

.fh-user-pill-link {
  text-decoration: none;
  cursor: pointer;
}
.fh-user-pill-link:hover {
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.6);
}

.fh-order-products {
  list-style: none;
  margin: 0.4rem 0 0.4rem 0;
  padding: 0;
  border-radius: 12px;
  background: rgba(4, 7, 24, 0.9);
}

.fh-order-product {
  padding: 0.45rem 0.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
}

.fh-order-product:nth-child(2n) {
  background: rgba(10, 16, 38, 0.92);
}

/* Columna izquierda: icono + nombre */
.fh-order-product-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.fh-order-product-thumb {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 0, #4f6bff, #1a1038);
}

.fh-order-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fh-order-product-name {
  font-weight: 500;
}

/* Columna derecha: Cant / precio */
.fh-order-product-meta {
  display: flex;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: #c2c8ff;
}

/* =========================================
   TIENDA - VISTA MÓVIL: mostrar filtros
   ========================================= */
@media (max-width: 900px) {
  /* El layout pasa a vertical: filtros arriba, productos debajo */
  .fh-store-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-inline: 1rem;
  }

  .fh-store-sidebar {
    position: static;
    width: 100%;
    max-width: 100%;
    order: -1;           /* filtros antes del listado */
    margin-bottom: 0.5rem;
  }

  /* Por si en alguna página sigues usando el layout antiguo */
  .fh-shop-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .fh-shop-sidebar,
  .fh-shop-filters,
  .fh-filters-panel {
    position: static;
    top: auto;
    width: 100%;
    max-width: 100%;
    display: block;
    order: -1;
  }
}

/* Centrar panel de filtros en móvil */
@media (max-width: 900px) {
  .fh-store-layout {
    display: block;              /* columna única */
    padding: 1.25rem 1rem 2.5rem;
  }

  .fh-store-sidebar {
    max-width: 480px;            /* ancho cómodo en móvil grande */
    margin: 0 auto 1.5rem;       /* centrado horizontal */
  }

  .fh-store-main {
    max-width: 100%;
  }
}

/* Quitar flechas de los inputs de cantidad (navegadores WebKit) */
.fh-cart-qty::-webkit-outer-spin-button,
.fh-cart-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Quitar flechas en Firefox */
.fh-cart-qty[type="number"] {
  -moz-appearance: textfield;
}

/* Opcional: que se vea centrado y solo el número */
.fh-cart-qty {
  text-align: center;
}


/* Mejor contraste de texto en panel admin */
body.fh-admin-body {
  color: #e5e7eb;
}

.fh-card-body {
  color: #e5e7eb;
}

.fh-section-title {
  color: #f9fafb;
}

.fh-section-subtitle {
  color: rgba(209, 213, 219, 0.9);
}

/* Botones extra pequeños (editar / borrar) */
.fh-btn-xs {
  padding: 0.25rem 0.7rem;
  font-size: 0.78rem;
}

/* ==== PERFIL: cabecera usuario en sidebar ==== */
.fh-profile-user {
    display: flex;
    flex-direction: column;      /* avatar arriba, texto debajo */
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.fh-profile-user-avatar img,
.fh-profile-user-avatar .fh-avatar-fallback {
    width: 72px;
    height: 72px;
    border-radius: 9999px;       /* redondito */
    object-fit: cover;
}

.fh-profile-user-info {
    max-width: 100%;
    padding: 0 0.5rem;
}

.fh-profile-user-name {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.fh-profile-user-meta {
    font-size: 0.75rem;
    opacity: 0.8;
    word-break: break-all;       /* si el ID es larguísimo, que parta línea */
    line-height: 1.2;
}

/* ==== BOTÓN PRINCIPAL CON EFECTO NEÓN/PULSO ==== */
.fh-btn-primary-pulse {
    position: relative;
    z-index: 0;
    overflow: visible;
}

/* halo animado alrededor del botón */
.fh-btn-primary-pulse::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    background: radial-gradient(circle at 10% 0%, #ff5af6 0, transparent 55%),
                radial-gradient(circle at 90% 100%, #4fd1ff 0, transparent 55%);
    opacity: 0.7;
    filter: blur(10px);
    z-index: -1;
    animation: fh-btn-glow 2.4s ease-in-out infinite;
}

/* pequeño “latido” del propio botón */
.fh-btn-primary-pulse {
    animation: fh-btn-breathe 3s ease-in-out infinite;
}

@keyframes fh-btn-glow {
    0% {
        opacity: 0.25;
        transform: scale(0.97);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.03);
    }
    100% {
        opacity: 0.25;
        transform: scale(0.97);
    }
}

@keyframes fh-btn-breathe {
    0% {
        transform: translateY(0);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.35);
    }
    50% {
        transform: translateY(-1px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    }
    100% {
        transform: translateY(0);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.35);
    }
}


/* ==== Sidebar perfil: textos y EOSID ==== */

.fh-profile-userbox {
    font-size: 0.8rem;
}

.fh-profile-userbox p {
    margin-bottom: 0.6rem;
    word-break: break-word;
}

.fh-profile-eos-block {
    margin-top: 0.75rem;
}

.fh-profile-eos {
    display: inline-block;
    margin-top: 0.3rem;
    padding: 0.35rem 0.6rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    max-width: 100%;
    overflow-wrap: break-word; /* que parta línea sin romper el layout */
    line-height: 1.2;
}

.fh-profile-eos-empty {
    border-style: dashed;
    opacity: 0.8;
}

/* Animación de entrada para bloques de sección */
@keyframes fh-section-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==== FONDO GLOBAL ANIMADO CON BLOBS ==== */

/* Fondo base oscuro con degradado muy marcado */
html,
body {
    min-height: 100%;
    background: radial-gradient(circle at 0% 0%, #1f2937 0, #020617 45%, #020617 60%, #000000 100%) !important;
}

/* Contenedor global animado: blobs que se mueven en toda la página */
body {
    position: relative;
    color: #f7f8ff;
}

body::before,
body::after {
    content: "";
    position: fixed;
    width: 620px;
    height: 620px;
    border-radius: 9999px;
    filter: blur(60px);
    opacity: 0.85;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: -1;           /* por detrás de todo el contenido */
}

/* Blob superior-izquierda */
body::before {
    background: radial-gradient(circle at 30% 0%, rgba(96, 165, 250, 0.9) 0, transparent 60%);
    top: -160px;
    left: -180px;
    animation: fh-bg-blob-1 20s ease-in-out infinite alternate;
}

/* Blob inferior-derecha */
body::after {
    background: radial-gradient(circle at 70% 100%, rgba(244, 114, 182, 0.9) 0, transparent 60%);
    bottom: -200px;
    right: -160px;
    animation: fh-bg-blob-2 26s ease-in-out infinite alternate;
}

@keyframes fh-bg-blob-1 {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        transform: translate3d(80px, 40px, 0) scale(1.3);
        opacity: 1;
    }
    100% {
        transform: translate3d(-30px, -50px, 0) scale(0.9);
        opacity: 0.5;
    }
}

@keyframes fh-bg-blob-2 {
    0% {
        transform: translate3d(0, 0, 0) scale(1.05);
        opacity: 0.5;
    }
    50% {
        transform: translate3d(-80px, -40px, 0) scale(1.35);
        opacity: 1;
    }
    100% {
        transform: translate3d(40px, 60px, 0) scale(0.9);
        opacity: 0.45;
    }
}


/* ==== DONACIONES: sidebar sticky y con altura limitada ==== */

/* Asegura que las columnas no estiren la altura de la sidebar */
.fh-store-layout {
    align-items: flex-start;
}

/* Sidebar pegada mientras haces scroll */
.fh-store-sidebar {
    position: sticky;
    top: 90px; /* ajusta si tu header es más alto/bajo */
    max-height: calc(100vh - 110px); /* que nunca pase de la altura de pantalla */
    overflow-y: auto;               /* si el contenido es largo, scroll interno */
}

/* Un toque más fino al scroll del panel (opcional) */
.fh-store-sidebar::-webkit-scrollbar {
    width: 6px;
}
.fh-store-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.fh-store-sidebar::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.6);
    border-radius: 999px;
}

/* En móvil NO queremos sidebar sticky */
@media (max-width: 900px) {
    .fh-store-sidebar {
        position: static;
        max-height: none;
        overflow: visible;
    }
}


/* ==== DESTELLO ANIMADO EN TARJETAS DE ITEMS ==== */

/* Por si acaso, nos aseguramos de que la tarjeta permita pseudo-elementos bien recortados */
.fh-card {
    position: relative;
    overflow: hidden;
}

/* Destello que cruza la tarjeta */
.fh-card::after {
    content: "";
    position: absolute;
    top: -20%;
    left: -120%;
    width: 60%;
    height: 140%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.18) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    opacity: 0;
    pointer-events: none;
    animation: fh-card-shine 4.8s ease-in-out infinite;
}

/* Animación del destello: entra de la izquierda, cruza y se va */
@keyframes fh-card-shine {
    0% {
        left: -130%;
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    30% {
        left: 130%;
        opacity: 0;
    }
    100% {
        left: 130%;
        opacity: 0;
    }
}

/* ==== AJUSTES PARA MÓVILES: PANEL DE FILTROS CENTRADO ==== */

@media (max-width: 600px) {
    /* Reducimos padding lateral general en la vista de tienda */
    .fh-store-layout {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    /* El panel ocupa el ancho completo disponible y se centra */
    .fh-store-sidebar {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 1rem 1rem 1.2rem;
        box-sizing: border-box; /* cuenta padding + borde dentro del ancho */
    }
}

/* Por si acaso algún efecto saca algo por la derecha */
body {
    overflow-x: visible;
}


/* ====== CHECKOUT / FINALIZAR DONACIÓN ====== */

.fh-checkout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 3rem 1.5rem 4rem;
}

.fh-checkout-header {
    margin-bottom: 2rem;
}

.fh-checkout-kicker {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.fh-checkout-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.fh-checkout-subtitle {
    margin: 0;
    opacity: 0.8;
    max-width: 46rem;
}

/* Steps */

.fh-checkout-steps {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    padding: 0;
    margin: 1.5rem 0 2.5rem;
    position: relative;
}

.fh-checkout-steps::before {
    content: "";
    position: absolute;
    inset: 50% 0 auto;
    height: 1px;
    background: linear-gradient(to right, rgba(255,255,255,0.08), rgba(255,255,255,0));
    pointer-events: none;
}

.fh-checkout-steps li {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

.fh-checkout-steps li .step-number {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    border: 1px solid rgba(255,255,255,0.25);
}

.fh-checkout-steps li.done {
    opacity: 0.8;
}

.fh-checkout-steps li.done .step-number {
    background: linear-gradient(135deg, #6f5bff, #e450ff);
    border-color: transparent;
}

.fh-checkout-steps li.current {
    opacity: 1;
}

.fh-checkout-steps li.current .step-number {
    background: #fff;
    color: #111827;
}

/* Layout */

.fh-checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr);
    gap: 2rem;
}

.fh-checkout-card {
    background: radial-gradient(circle at top left, rgba(255,255,255,0.06), rgba(15,23,42,0.98));
    border-radius: 1.25rem;
    padding: 1.75rem 1.75rem 1.5rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.8);
}

.fh-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.fh-card-header h2 {
    margin: 0;
    font-size: 1.2rem;
}

/* Badges */

.fh-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
    border: 1px solid transparent;
    white-space: nowrap;
}

.fh-badge-soft {
    background: rgba(15,23,42,0.85);
    border-color: rgba(148, 163, 184, 0.6);
}

.fh-badge-accent {
    background: linear-gradient(135deg, #6f5bff, #e450ff);
    border-color: transparent;
}

/* Items */

.fh-checkout-items {
    border-radius: 0.9rem;
    background: rgba(15,23,42,0.65);
    padding: 0.75rem 0.75rem 0.4rem;
    border: 1px solid rgba(148, 163, 184, 0.25);
    max-height: 280px;
    overflow: auto;
}

.fh-checkout-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 0.25rem;
    border-bottom: 1px dashed rgba(148, 163, 184, 0.25);
}

.fh-checkout-item:last-child {
    border-bottom: none;
}

.fh-checkout-item-name {
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
}

.fh-checkout-item-extras {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    opacity: 0.8;
}

.fh-checkout-item-meta {
    text-align: right;
    font-size: 0.85rem;
    min-width: 4.5rem;
}

.fh-checkout-item-qty {
    display: block;
    opacity: 0.8;
}

.fh-checkout-item-price {
    font-weight: 600;
}

/* Totales */

.fh-checkout-totals {
    margin: 1.25rem 0 0.75rem;
    font-size: 0.9rem;
}

.fh-checkout-totals .row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.25rem;
}

.fh-checkout-totals .row.muted {
    opacity: 0.6;
}

.fh-checkout-totals .row.total {
    margin-top: 0.4rem;
    padding-top: 0.4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    font-size: 1rem;
}

.fh-checkout-totals dt {
    font-weight: 400;
}

.fh-checkout-totals dd {
    margin: 0;
    font-weight: 600;
}

.fh-checkout-note {
    margin: 0.75rem 0 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Tags */

.fh-tag-game {
    display: inline-flex;
    margin-left: 0.4rem;
    padding: 0.05rem 0.45rem;
    border-radius: 999px;
    font-size: 0.7rem;
    background: rgba(56,189,248,0.1);
    border: 1px solid rgba(56,189,248,0.4);
}

/* Pago */

.fh-checkout-payment {
    position: relative;
}

.fh-checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.fh-payment-options {
    border: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.fh-payment-option {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0.85rem;
    border-radius: 0.9rem;
    background: rgba(15,23,42,0.75);
    border: 1px solid rgba(148, 163, 184, 0.25);
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.fh-payment-option:hover {
    border-color: rgba(129, 140, 248, 0.7);
    box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.3);
}

.fh-payment-option input[type="radio"] {
    margin-top: 0.25rem;
}

.fh-payment-content {
    flex: 1;
}

.fh-payment-title-row {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
}

.fh-payment-title {
    font-weight: 500;
    font-size: 0.95rem;
}

.fh-payment-chip {
    font-size: 0.7rem;
    padding: 0.1rem 0.5rem;
    border-radius: 999px;
    background: rgba(129, 140, 248, 0.2);
    border: 1px solid rgba(129, 140, 248, 0.7);
}

.fh-payment-desc {
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    opacity: 0.85;
}

/* Botones */

.fh-checkout-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.fh-btn-primary {
    background: linear-gradient(135deg, #6f5bff, #e450ff);
    border: none;
    color: #fff;
}

.fh-btn-ghost {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.6);
}

.fh-checkout-legal {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
    opacity: 0.75;
}

/* Responsive */

@media (max-width: 900px) {
    .fh-checkout-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .fh-checkout-card {
        padding: 1.5rem 1.25rem 1.25rem;
    }
}

@media (max-width: 640px) {
    .fh-checkout {
        padding-inline: 1rem;
    }

    .fh-checkout-steps {
        flex-wrap: wrap;
        gap: 0.75rem;
    }
}

/* ===================================== */
/* HERO – botones portada responsive     */
/* ===================================== */

.fh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.4rem;
}

/* Aseguramos que los botones permiten varias líneas */
.fh-hero-actions .fh-btn {
    white-space: normal;
}

/* En móvil, ponerlos en columna y a ancho completo */
@media (max-width: 640px) {
    .fh-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .fh-hero-actions .fh-btn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;           /* que el padding no haga que se salga */
        max-width: 100%;                  /* por si acaso */
        margin-inline: 0;                 /* sin márgenes extra laterales */
    }
}

/* Fix carrito en móvil: evitar texto en columna y mantenerlo legible */
@media (max-width: 640px) {
  .fh-cart-table {
    table-layout: auto;           /* que reparta columnas de forma natural */
    width: 100%;
  }

  .fh-cart-table th,
  .fh-cart-table td {
    padding: 0.55rem 0.45rem;
    font-size: 0.8rem;
    white-space: normal;          /* permitir varias líneas, pero normales */
    word-break: normal;           /* nada de romper cada letra */
  }
}
