/* ═══════════════════════════════════════════════════════════════════
   STORE — Dark theme overlay for the Peptido store section
   Applied via <body class="store-page"> on all /tienda/ routes
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Store CSS Variables ───────────────────────────────────────── */
.store-page {
  --s-bg:        #0d1f3c;
  --s-surface:   #112a50;
  --s-surface2:  #163460;
  --s-accent:    #4fc3f7;
  --s-accent2:   #0288d1;
  --s-border:    rgba(79,195,247,0.15);
  --s-text:      #ffffff;
  --s-text-60:   rgba(255,255,255,0.6);
  --s-text-40:   rgba(255,255,255,0.4);
  --s-text-20:   rgba(255,255,255,0.2);
  --s-radius:    16px;
}

/* Override body background for store pages */
body.store-page {
  background: var(--s-bg);
  color: var(--s-text);
}

/* ─── Store Navbar Override ─────────────────────────────────────── */
body.store-page .navbar {
  background: rgba(13,31,60,0.97);
  border-bottom: 1px solid var(--s-border);
  backdrop-filter: blur(12px);
}
body.store-page .navbar .nav-link {
  color: var(--s-text-60) !important;
  background: transparent !important;
}
body.store-page .navbar .nav-link:hover {
  color: var(--s-text) !important;
  background: rgba(255,255,255,0.06) !important;
}
body.store-page .navbar .nav-link.active {
  color: var(--s-accent) !important;
  background: rgba(0,212,170,0.1) !important;
}
body.store-page .navbar-logo span {
  color: var(--s-text);
}
body.store-page .lang-btn {
  color: var(--s-text-40);
  background: transparent;
  border: none;
}
body.store-page .lang-btn.active {
  color: #111827;
  background: #fff;
  border-radius: 50px;
}

/* ─── Store Main Area ───────────────────────────────────────────── */
body.store-page main {
  background: var(--s-bg);
  min-height: 100vh;
}
body.store-page .footer {
  background: var(--s-surface);
  border-top: 1px solid var(--s-border);
  color: var(--s-text-60);
}
body.store-page .footer-link { color: var(--s-text-60); }
body.store-page .footer-link:hover { color: var(--s-text); }
body.store-page .footer-tagline,
body.store-page .footer-disclaimer p,
body.store-page .footer-copy { color: var(--s-text-40); }

/* ─── Store Layout Helpers ──────────────────────────────────────── */
.s-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Hero Section ──────────────────────────────────────────────── */
.store-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--s-border);
  padding: 64px 24px 48px;
  text-align: center;
}

.store-hero__glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: rgba(0,212,170,0.03);
  filter: blur(100px);
  pointer-events: none;
}

.store-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--s-border);
  background: rgba(255,255,255,0.04);
  border-radius: 50px;
  padding: 6px 16px;
  margin-bottom: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.35em;
  color: var(--s-accent);
  text-transform: uppercase;
}

.store-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--s-text);
  margin-bottom: 12px;
  line-height: 1.15;
}

.store-hero__title span {
  background: linear-gradient(135deg, var(--s-accent), var(--s-accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.store-hero__subtitle {
  font-size: 1rem;
  color: var(--s-text-40);
  max-width: 480px;
  margin: 0 auto 28px;
}

/* ─── Search Bar ────────────────────────────────────────────────── */
.store-search {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}

.store-search__icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--s-text-40);
  pointer-events: none;
}

.store-search__input {
  width: 100%;
  padding: 14px 20px 14px 44px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--s-border);
  border-radius: 50px;
  color: var(--s-text);
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.store-search__input::placeholder { color: var(--s-text-40); }
.store-search__input:focus {
  border-color: rgba(0,212,170,0.4);
  background: rgba(255,255,255,0.08);
}

/* ─── Filter Bar ────────────────────────────────────────────────── */
.store-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--s-border);
  margin-bottom: 24px;
}

.store-filters__cats {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.store-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid var(--s-border);
  background: transparent;
  color: var(--s-text-60);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.store-cat-btn:hover { color: var(--s-text); border-color: rgba(255,255,255,0.2); }
.store-cat-btn.active {
  background: var(--s-accent);
  border-color: var(--s-accent);
  color: #000;
}

.store-filters__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-select {
  appearance: none;
  padding: 7px 32px 7px 12px;
  background: rgba(255,255,255,0.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--s-border);
  border-radius: 8px;
  color: var(--s-text-60);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}
.store-select:focus { border-color: rgba(0,212,170,0.4); }
.store-select option { background: #1a2235; color: #fff; }

.store-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--s-text-40);
  cursor: pointer;
  user-select: none;
}
.store-toggle input[type="checkbox"] {
  width: 14px;
  height: 14px;
  accent-color: var(--s-accent);
  cursor: pointer;
}

/* ─── Product Grid ──────────────────────────────────────────────── */
.store-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

/* ─── Product Card ──────────────────────────────────────────────── */
.product-card {
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  animation: fadeInUp 0.35s ease both;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  border-color: rgba(255,255,255,0.15);
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.product-card__img {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--s-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s;
}
.product-card:hover .product-card__img img {
  transform: scale(1.04);
}

.product-card__img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.product-card__badge--nuevo     { background: rgba(59,91,219,0.9); color: #fff; }
.product-card__badge--mas-vendido { background: rgba(0,212,170,0.9); color: #000; }
.product-card__badge--oferta    { background: rgba(239,68,68,0.9); color: #fff; }

.product-card__body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card__ref {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--s-text-40);
  text-transform: uppercase;
  font-family: 'JetBrains Mono', monospace;
}

.product-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--s-text);
  margin: 0;
}

.product-card__desc {
  font-size: 0.82rem;
  color: var(--s-text-40);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card__purity {
  font-size: 0.7rem;
  color: var(--s-accent);
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
}

.product-card__footer {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--s-border);
}

.product-card__price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--s-text);
}
.product-card__price .from-label {
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--s-text-40);
  margin-right: 2px;
}

/* Concentration selector */
.product-card__conc-select {
  width: 100%;
  appearance: none;
  padding: 8px 30px 8px 12px;
  background: rgba(255,255,255,0.05) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  border: 1px solid var(--s-border);
  border-radius: 8px;
  color: var(--s-text-60);
  font-size: 0.8rem;
  font-family: inherit;
  cursor: pointer;
  outline: none;
}
.product-card__conc-select:focus { border-color: rgba(0,212,170,0.4); }
.product-card__conc-select option { background: #1a2235; }

/* WhatsApp buy button */
.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #25D366;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-whatsapp:hover { background: #1ebe5d; transform: translateY(-1px); }
.btn-whatsapp:active { transform: scale(0.97); }
.btn-whatsapp:disabled {
  background: rgba(255,255,255,0.08);
  color: var(--s-text-40);
  cursor: not-allowed;
  transform: none;
}

/* Add to cart button (oculto — habilitar cuando se activen pagos en línea) */
.btn-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: var(--s-accent);
  color: #000;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  font-family: inherit;
}
.btn-cart:hover { background: rgba(0,212,170,0.85); }
.btn-cart:active { transform: scale(0.97); }
.btn-cart:disabled {
  background: rgba(255,255,255,0.08);
  color: var(--s-text-40);
  cursor: not-allowed;
}

/* Protocol link */
.product-card__protocol {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: var(--s-text-40);
  text-decoration: none;
  transition: color 0.2s;
  margin-top: 2px;
}
.product-card__protocol:hover { color: var(--s-accent); }

/* ─── Cart Button (floating) ────────────────────────────────────── */
.cart-float-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--s-border);
  background: rgba(255,255,255,0.06);
  color: var(--s-text-60);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.cart-float-btn:hover {
  background: rgba(255,255,255,0.1);
  color: var(--s-text);
}
.cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background: var(--s-accent);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 800;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}
.cart-badge.visible { display: flex; }

/* ─── Cart Sidebar ──────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: var(--s-surface);
  border-left: 1px solid var(--s-border);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--s-border);
}

.cart-sidebar__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--s-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-sidebar__close {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: none;
  background: rgba(255,255,255,0.06);
  color: var(--s-text-60);
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}
.cart-sidebar__close:hover { background: rgba(255,255,255,0.1); color: var(--s-text); }

.cart-sidebar__items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-sidebar__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  gap: 10px;
  color: var(--s-text-40);
  font-size: 0.9rem;
  padding: 40px 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--s-border);
  border-radius: 12px;
}

.cart-item__img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--s-surface2);
}

.cart-item__img-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: var(--s-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.cart-item__info { min-width: 0; }

.cart-item__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--s-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__conc {
  font-size: 0.72rem;
  color: var(--s-text-40);
  margin-bottom: 8px;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-item__qty-btn {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--s-border);
  background: rgba(255,255,255,0.05);
  color: var(--s-text-60);
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.cart-item__qty-btn:hover { background: rgba(255,255,255,0.1); color: var(--s-text); }

.cart-item__qty-num {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--s-text);
  min-width: 18px;
  text-align: center;
}

.cart-item__right { text-align: right; }

.cart-item__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--s-text);
  white-space: nowrap;
}

.cart-item__remove {
  background: none;
  border: none;
  color: var(--s-text-40);
  cursor: pointer;
  font-size: 0.7rem;
  padding: 2px 4px;
  transition: color 0.2s;
  font-family: inherit;
}
.cart-item__remove:hover { color: #ef4444; }

.cart-sidebar__footer {
  padding: 16px 20px;
  border-top: 1px solid var(--s-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--s-text-60);
}

.cart-summary-row.total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--s-text);
  padding-top: 8px;
  border-top: 1px solid var(--s-border);
}

.btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  border-radius: 12px;
  border: none;
  background: var(--s-accent);
  color: #000;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-checkout:hover { background: rgba(0,212,170,0.85); }
.btn-checkout:disabled {
  background: rgba(255,255,255,0.08);
  color: var(--s-text-40);
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Checkout Page ─────────────────────────────────────────────── */
.checkout-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 768px) {
  .checkout-wrapper { grid-template-columns: 1fr; }
}

.checkout-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
}

.checkout-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--s-text-40);
  flex-shrink: 0;
}

.checkout-step__num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--s-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.checkout-step.active { color: var(--s-text); }
.checkout-step.active .checkout-step__num {
  background: var(--s-accent);
  border-color: var(--s-accent);
  color: #000;
}

.checkout-step.done { color: var(--s-accent); }
.checkout-step.done .checkout-step__num {
  background: rgba(0,212,170,0.15);
  border-color: rgba(0,212,170,0.3);
  color: var(--s-accent);
}

.checkout-step__sep {
  flex: 1;
  height: 1px;
  background: var(--s-border);
  margin: 0 4px;
}

.checkout-panel {
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  padding: 24px;
}

.checkout-panel h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--s-text);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--s-text-60);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  padding: 10px 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--s-border);
  border-radius: 9px;
  color: var(--s-text);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.form-input::placeholder { color: var(--s-text-40); }
.form-input:focus { border-color: rgba(0,212,170,0.4); background: rgba(255,255,255,0.06); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.shipping-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 2px solid var(--s-border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 10px;
}
.shipping-card:hover { border-color: rgba(255,255,255,0.2); }
.shipping-card.selected { border-color: var(--s-accent); background: rgba(0,212,170,0.05); }
.shipping-card input[type="radio"] { display: none; }

.shipping-card__icon {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.shipping-card__label { font-size: 0.85rem; font-weight: 600; color: var(--s-text); }
.shipping-card__desc  { font-size: 0.75rem; color: var(--s-text-40); }
.shipping-card__price { font-size: 0.82rem; font-weight: 700; color: var(--s-accent); margin-left: auto; }

.checkout-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn-back {
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid var(--s-border);
  background: transparent;
  color: var(--s-text-60);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.btn-back:hover { color: var(--s-text); border-color: rgba(255,255,255,0.2); }

.btn-next {
  flex: 1;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  background: var(--s-accent);
  color: #000;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.btn-next:hover { background: rgba(0,212,170,0.85); }

/* Order summary sidebar */
.checkout-summary {
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  padding: 20px;
  position: sticky;
  top: 84px;
}

.checkout-summary h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--s-text);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.summary-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--s-border);
}

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

.summary-item__img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--s-surface2);
  flex-shrink: 0;
}

.summary-item__img-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--s-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.summary-item__name  { font-size: 0.8rem; font-weight: 600; color: var(--s-text); }
.summary-item__conc  { font-size: 0.7rem; color: var(--s-text-40); }
.summary-item__price { font-size: 0.85rem; font-weight: 700; color: var(--s-text); margin-left: auto; white-space: nowrap; }

/* ─── Confirmation Page ─────────────────────────────────────────── */
.confirmation-wrapper {
  max-width: 560px;
  margin: 80px auto;
  padding: 0 24px;
  text-align: center;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  background: rgba(0,212,170,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--s-accent);
}

.confirmation-card {
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  padding: 28px;
  margin: 24px 0;
}

.confirmation-card .order-id {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--s-accent);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.05em;
}

/* ─── Dashboard ─────────────────────────────────────────────────── */
.dashboard-wrapper {
  max-width: 940px;
  margin: 0 auto;
  padding: 40px 24px;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
  flex-wrap: wrap;
}

.dashboard-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--s-accent);
}

.dashboard-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.04);
  padding: 5px;
  border-radius: 12px;
  border: 1px solid var(--s-border);
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.dashboard-tab {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: var(--s-text-60);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: inherit;
}
.dashboard-tab:hover { color: var(--s-text); }
.dashboard-tab.active {
  background: var(--s-surface);
  color: var(--s-text);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.dashboard-tab-panel { display: none; }
.dashboard-tab-panel.active { display: block; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.stat-card {
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: 12px;
  padding: 18px;
}

.stat-card__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--s-text-40);
  margin-bottom: 8px;
}

.stat-card__value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--s-text);
  line-height: 1;
}

.stat-card__value.accent { color: var(--s-accent); }

.order-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.order-row__id {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--s-text);
  font-family: 'JetBrains Mono', monospace;
}

.order-row__date { font-size: 0.75rem; color: var(--s-text-40); }

.order-status {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.order-status--pendiente  { color: #fbbf24; background: rgba(251,191,36,0.1);  border-color: rgba(251,191,36,0.2); }
.order-status--procesando { color: #60a5fa; background: rgba(96,165,250,0.1);  border-color: rgba(96,165,250,0.2); }
.order-status--enviado    { color: #a78bfa; background: rgba(167,139,250,0.1); border-color: rgba(167,139,250,0.2); }
.order-status--entregado  { color: #34d399; background: rgba(52,211,153,0.1);  border-color: rgba(52,211,153,0.2); }
.order-status--cancelado  { color: #f87171; background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.2); }

.order-row__total { margin-left: auto; font-size: 0.9rem; font-weight: 800; color: var(--s-text); }

/* ─── Admin Users Panel ─────────────────────────────────────────── */
.admin-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-label {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--s-text-40);
  margin-bottom: 12px;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--s-border);
  border-radius: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.user-row__avatar {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--s-text-60);
  flex-shrink: 0;
}

.user-row__name { font-size: 0.9rem; font-weight: 600; color: var(--s-text); }
.user-row__email { font-size: 0.75rem; color: var(--s-text-40); }

.user-status {
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.65rem;
  font-weight: 700;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.user-status--pending  { color: #fbbf24; background: rgba(251,191,36,0.1);  border-color: rgba(251,191,36,0.2); }
.user-status--approved { color: #34d399; background: rgba(52,211,153,0.1);  border-color: rgba(52,211,153,0.2); }
.user-status--rejected { color: #f87171; background: rgba(248,113,113,0.1); border-color: rgba(248,113,113,0.2); }

.user-row__actions { margin-left: auto; display: flex; gap: 6px; }

.btn-approve {
  padding: 5px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(52,211,153,0.15);
  color: #34d399;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.btn-approve:hover { background: rgba(52,211,153,0.25); }

.btn-reject {
  padding: 5px 14px;
  border-radius: 8px;
  border: none;
  background: rgba(248,113,113,0.10);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.btn-reject:hover { background: rgba(248,113,113,0.2); }

/* ─── Pendiente / Aviso Privacidad ──────────────────────────────── */
.page-center {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.page-center__card {
  max-width: 480px;
  width: 100%;
  background: var(--s-surface);
  border: 1px solid var(--s-border);
  border-radius: var(--s-radius);
  padding: 40px;
  text-align: center;
}

.page-center__icon {
  width: 64px;
  height: 64px;
  background: rgba(0,212,170,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

/* ─── No-results state ──────────────────────────────────────────── */
.store-no-results {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  color: var(--s-text-40);
}

.store-no-results__icon { font-size: 3rem; margin-bottom: 12px; }
.store-no-results__title { font-size: 1.1rem; font-weight: 700; color: var(--s-text-60); margin-bottom: 6px; }

/* ─── Store counter ─────────────────────────────────────────────── */
.store-count {
  font-size: 0.78rem;
  color: var(--s-text-40);
  margin-bottom: 20px;
}

/* ─── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .store-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .store-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .store-hero { padding: 40px 16px 32px; }
  .store-hero__title { font-size: 1.7rem; }
  .store-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .checkout-wrapper { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .s-container { padding: 0 16px; }
  .store-filters { gap: 8px; }
}
@media (max-width: 480px) {
  .store-grid { grid-template-columns: 1fr; }
}

/* ── Additional utility classes ───────────────────────────────────────────── */

/* Legal / Privacy page */
.legal-wrapper {
  max-width: 760px;
  margin: 48px auto;
  padding: 0 24px 64px;
  color: var(--s-text-60);
}
.legal-wrapper h1 { font-size: 2rem; font-weight: 800; color: var(--s-text); margin-bottom: 6px; }
.legal-updated { font-size: 0.8rem; color: var(--s-text-40); margin-bottom: 32px; }
.legal-wrapper section { margin-bottom: 28px; }
.legal-wrapper h2 {
  font-size: 1.05rem; font-weight: 700; color: var(--s-text);
  margin: 0 0 10px; padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.legal-wrapper p, .legal-wrapper li { font-size: 0.9rem; line-height: 1.7; margin: 6px 0; }
.legal-wrapper ul { padding-left: 20px; }
.legal-wrapper a { color: var(--s-accent); }

/* Dashboard: nav-badge */
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--s-accent); color: #0a0e1a;
  border-radius: 999px; font-size: 0.65rem; font-weight: 800;
  padding: 0 5px; min-width: 16px; height: 16px; margin-left: 4px;
}

/* Dashboard nav */
.dashboard-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.dashboard-nav__item {
  background: none; border: none; cursor: pointer;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border-radius: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--s-text-60);
  transition: all .2s; text-align: left;
}
.dashboard-nav__item:hover { background: rgba(255,255,255,.04); color: var(--s-text); }
.dashboard-nav__item.active { background: rgba(0,212,170,.08); color: var(--s-accent); }

/* Orders list extras */
.orders-list { display: flex; flex-direction: column; gap: 8px; }
.order-row__items { font-size: 0.8rem; color: var(--s-text-40); flex: 1; padding: 0 12px; }

/* Address card */
.address-card {
  background: var(--s-surface); border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px; padding: 14px 16px;
}
.address-card.default { border-color: rgba(0,212,170,.3); }
.address-card__label { font-size: 0.85rem; font-weight: 600; color: var(--s-text); margin-bottom: 4px; }
.address-badge {
  display: inline-block; font-size: 0.65rem; font-weight: 700;
  background: rgba(0,212,170,.15); color: var(--s-accent);
  border-radius: 4px; padding: 1px 6px; margin-left: 6px;
}

/* Admin section */
.admin-section { margin-bottom: 32px; }
.admin-section h2 {
  display: flex; align-items: center; gap: 8px;
  font-size: 1rem; font-weight: 700; color: var(--s-text);
  margin: 0 0 12px; padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-section__dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.admin-section__dot.pending  { background: #fbbf24; }
.admin-section__dot.approved { background: #34d399; }
.admin-section__dot.rejected { background: #f87171; }

.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; margin-bottom: 28px;
}
.admin-header h1 { font-size: 1.4rem; font-weight: 800; color: var(--s-text); margin: 0; }

.user-status-count {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.75rem; font-weight: 700; padding: 3px 10px;
  border-radius: 999px; border: 1px solid;
}
.user-status-count.pending  { color: #fbbf24; background: rgba(251,191,36,0.08);  border-color: rgba(251,191,36,0.2); }
.user-status-count.approved { color: #34d399; background: rgba(52,211,153,0.08);  border-color: rgba(52,211,153,0.2); }
.user-status-count.rejected { color: #f87171; background: rgba(248,113,113,0.08); border-color: rgba(248,113,113,0.2); }

.user-table { display: flex; flex-direction: column; gap: 8px; }
.user-row__info { flex: 1; }
.user-row__meta { font-size: 0.78rem; color: var(--s-text-40); margin-top: 2px; }
.user-row__date { font-size: 0.7rem; color: var(--s-text-40); margin-top: 3px; }

/* Empty state */
.empty-state {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 48px 24px;
  color: var(--s-text-40); font-size: 0.9rem; text-align: center;
}

/* Form feedback message */
.form-msg {
  padding: 10px 14px; border-radius: 8px; font-size: 0.85rem; margin-bottom: 14px;
  background: rgba(0,212,170,.08); border: 1px solid rgba(0,212,170,.2); color: var(--s-accent);
}
.form-msg.error {
  background: rgba(248,113,113,.08); border-color: rgba(248,113,113,.2); color: #f87171;
}

/* ═══ PEPTIDE DRAWER ════════════════════════════════════════════════ */
.peptide-overlay {
  position: fixed;
  inset: 0;
  top: 80px;
  background: rgba(0,0,0,0.55);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(3px);
}
.peptide-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.peptide-drawer {
  position: fixed;
  top: 80px;
  right: 0;
  bottom: 0;
  width: min(480px, 100vw);
  background: #0d1f3c;
  border-left: 1px solid rgba(79,195,247,0.15);
  z-index: 901;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -12px 0 48px rgba(0,0,0,0.5);
}
.peptide-drawer.is-open {
  transform: translateX(0);
}

.peptide-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 20px;
  border-bottom: 1px solid rgba(79,195,247,0.1);
  flex-shrink: 0;
}
.peptide-drawer__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--s-accent);
  margin-bottom: 6px;
}
.peptide-drawer__name {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.2;
}
.peptide-drawer__close {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s;
}
.peptide-drawer__close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.peptide-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.peptide-drawer__body::-webkit-scrollbar { width: 4px; }
.peptide-drawer__body::-webkit-scrollbar-thumb { background: rgba(79,195,247,0.2); border-radius: 99px; }

.peptide-drawer__loading {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  padding: 32px 0;
}
.peptide-drawer__spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(79,195,247,0.2);
  border-top-color: var(--s-accent);
  border-radius: 50%;
  animation: drawer-spin 0.7s linear infinite;
  flex-shrink: 0;
}
@keyframes drawer-spin {
  to { transform: rotate(360deg); }
}

.peptide-drawer__subtitle {
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  margin: 0;
  line-height: 1.6;
}

.peptide-drawer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.peptide-drawer__tag {
  background: rgba(79,195,247,0.1);
  border: 1px solid rgba(79,195,247,0.2);
  color: var(--s-accent);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.peptide-drawer__section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.peptide-drawer__section-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin: 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.peptide-drawer__text {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
}

.peptide-drawer__benefit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.peptide-drawer__benefit-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--s-accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.peptide-drawer__benefit-body {
  display: block;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
}

.peptide-drawer__chem {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.peptide-drawer__chem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}
.peptide-drawer__chem-row span {
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
}
.peptide-drawer__chem-row code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--s-accent);
  background: rgba(79,195,247,0.08);
  padding: 3px 8px;
  border-radius: 6px;
  text-align: right;
  word-break: break-all;
}

.peptide-drawer__footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(79,195,247,0.1);
  flex-shrink: 0;
}

/* card click cursor */
.product-card { cursor: pointer; }
.product-card__protocol {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
}
