/* Digital Premium — Tienda /app/offers.php */

body.dp-store.dp-app {
  --store-lime: var(--dp-lime, #c8da00);
  --store-surface: var(--surface-page, #0c0912);
  --store-card: rgba(255, 255, 255, 0.04);
  --store-border: var(--border-subtle, rgba(255, 255, 255, 0.08));
}

body.dp-store.dp-app .webchat-main,
body.dp-store .dp-store-main {
  padding: 0 0 calc(72px + env(safe-area-inset-bottom, 0px)) 0;
  max-width: none;
  overflow-x: hidden;
  transition: padding-bottom 0.2s ease;
}

/* Nav (~64px) + botón comprar elevado (~28px) + barra carrito (~64px) + margen */
body.dp-store.dp-app.has-cart-bar .webchat-main,
body.dp-store.has-cart-bar .dp-store-main {
  padding-bottom: calc(172px + env(safe-area-inset-bottom, 0px));
}

.dp-store-wrap {
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 28px;
  box-sizing: border-box;
}

/* Page header */
.dp-store-page-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 4px 0 8px;
}

.dp-store-page-copy {
  flex: 1;
  min-width: 0;
}

.dp-store-page-eyebrow {
  display: block;
  font-family: var(--font-condensed, 'Poppins', sans-serif);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--store-lime);
  font-weight: 600;
  margin-bottom: 4px;
}

.dp-store-page-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text-strong, #fff);
  line-height: 1.15;
}

.dp-store-page-sub {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted, rgba(255, 255, 255, 0.55));
  line-height: 1.45;
}

.dp-store-promo-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 18px;
}

.dp-store-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.dp-store-back {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--store-border);
  background: var(--surface-card, rgba(255, 255, 255, 0.04));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-body, #fff);
  text-decoration: none;
}

.dp-store-wallet-chip {
  text-align: right;
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(200, 218, 0, 0.15), rgba(200, 218, 0, 0.06));
  border: 1px solid rgba(200, 218, 0, 0.4);
  color: var(--store-lime);
  flex-shrink: 0;
  align-self: flex-start;
}

.dp-store-wallet-chip strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.dp-store-wallet-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

/* Hero banner */
.dp-store-hero-slider {
  margin-bottom: 20px;
}

.dp-store-hero-track {
  display: grid;
}

.dp-store-hero {
  grid-area: 1 / 1;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ec4899 0%, #6366f1 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.dp-store-hero-slider .dp-store-hero {
  margin-bottom: 0;
  min-height: 196px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
}

.dp-store-hero-slider .dp-store-hero.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.dp-store-hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.dp-store-hero-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.2s ease, background 0.2s ease;
}

.dp-store-hero-dots button.is-active {
  width: 24px;
  background: var(--store-lime);
}

.dp-store-hero--image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.dp-store-hero--image-overlay::before {
  opacity: 0.5;
}

.dp-store-hero--image-only::before {
  opacity: 1;
}

.dp-store-hero--image-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--hero-overlay, linear-gradient(135deg, rgba(12, 9, 18, 0.72) 0%, rgba(12, 9, 18, 0.45) 100%));
  z-index: 1;
}

.dp-store-hero--image-only::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12, 9, 18, 0.72) 0%, rgba(12, 9, 18, 0.45) 100%);
  z-index: 1;
}

.dp-store-hero--image-only .dp-store-hero-title,
.dp-store-hero--image-only .dp-store-hero-desc,
.dp-store-hero--image-only .dp-store-hero-badge {
  text-shadow: none;
}

.dp-store-hero--image > * {
  position: relative;
  z-index: 2;
}

.dp-store-hero-badge {
  display: inline-block;
  background: var(--store-lime);
  color: #0c0912;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 10px;
}

.dp-store-hero-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.2;
}

.dp-store-hero-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 16px;
  line-height: 1.45;
}

.dp-store-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.dp-store-hero-secondary {
  color: #fff;
  font-size: 0.8125rem;
  text-decoration: underline;
}

/* Volume discounts */
.dp-store-volume {
  border: 2px dashed rgba(200, 218, 0, 0.45);
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 20px;
}

.dp-store-volume-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text-strong);
}

.dp-store-volume-subtitle {
  margin: -4px 0 12px;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.62);
}

.dp-store-volume-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dp-store-volume-item {
  background: var(--store-card);
  border-radius: 10px;
  padding: 10px;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.dp-store-volume-off {
  color: #a5b4fc;
  font-weight: 700;
}

/* Categories */
.dp-store-cats {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  margin-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.dp-store-cats::-webkit-scrollbar { display: none; }

.dp-store-cat {
  flex-shrink: 0;
  border: none;
  border-radius: 99px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--store-card);
  color: #a5b4fc;
  cursor: pointer;
}

.dp-store-cat.is-active {
  background: var(--store-lime);
  color: #0c0912;
}

/* Product grid */
.dp-store-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

@media (min-width: 480px) {
  .dp-store-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.dp-store-card {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid var(--store-border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dp-store-card.is-hidden {
  display: none;
}

.dp-store-card:active:not(.is-out-of-stock) {
  transform: scale(0.98);
}

.dp-store-card.is-starred {
  /* Destacado = badge + acento suave, SIN borde lime (eso se reserva para "en carrito"). */
  background:
    linear-gradient(135deg, rgba(251, 191, 36, 0.10) 0%, transparent 42%),
    rgba(255, 255, 255, 0.02);
}

.dp-store-card.is-out-of-stock {
  opacity: 0.5;
  cursor: not-allowed;
}

.dp-store-card.in-cart {
  border-color: var(--store-lime);
  box-shadow: 0 0 0 1px rgba(200, 218, 0, 0.35);
}

.dp-store-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.dp-store-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dp-store-card-star {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.5625rem;
  font-weight: 700;
  color: #0c0912;
  background: var(--store-lime);
  padding: 3px 8px;
  border-radius: 99px;
  letter-spacing: 0.06em;
}

.dp-store-card-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}

.dp-store-card-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-strong);
  line-height: 1.25;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dp-store-card-desc {
  display: none;
}

.dp-store-card-stock {
  font-size: 0.6875rem;
  color: #34d399;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dp-store-card-stock.is-empty { color: #f87171; }

.dp-store-stock-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.dp-store-card-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.dp-store-card-price {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--store-lime);
  margin: 0;
}

.dp-store-card-price small {
  font-size: 0.625rem;
  font-weight: 500;
  opacity: 0.8;
}

.dp-store-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.dp-store-card-add,
.dp-store-card-detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 12px;
  padding: 9px 10px;
  min-height: 38px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.dp-store-card-add {
  border: none;
  background: var(--store-lime);
  color: #0c0912;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  pointer-events: auto;
  z-index: 2;
}

.dp-store-card-detail {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-strong, #fff);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}

.dp-store-card.in-cart .dp-store-card-add {
  background: rgba(200, 218, 0, 0.2);
  color: var(--store-lime);
  border: 1px solid rgba(200, 218, 0, 0.45);
}

.dp-store-card-add-icon {
  font-size: 1rem;
  line-height: 1;
}

.dp-store-card-soldout {
  font-size: 0.6875rem;
  color: #f87171;
  font-weight: 600;
}

/* Toast */
.dp-store-toast {
  position: fixed;
  left: 50%;
  bottom: calc(178px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  z-index: 9500;
  background: rgba(12, 9, 18, 0.95);
  border: 1px solid rgba(200, 218, 0, 0.45);
  color: #fff;
  padding: 10px 18px;
  border-radius: 14px;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  white-space: normal;
  text-align: center;
  max-width: min(calc(100% - 32px), 340px);
  line-height: 1.35;
}

body.dp-store:not(.has-cart-bar) .dp-store-toast {
  bottom: calc(90px + env(safe-area-inset-bottom, 0px));
}

.dp-store-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
}

/* Sticky cart bar — encima del menú, sin tapar el botón comprar elevado */
.dp-store-sticky-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 190;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(12, 9, 18, 0.96);
  border: 1px solid rgba(200, 218, 0, 0.28);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
  box-sizing: border-box;
}

.dp-store-sticky-bar.is-empty {
  display: none;
  border-top-color: var(--store-border);
}

.dp-store-sticky-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}

.dp-store-sticky-text strong {
  display: block;
  color: var(--text-strong);
  font-size: 0.9375rem;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.dp-store-cart-count {
  display: inline-flex;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: var(--store-lime);
  color: #0c0912;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-left: 6px;
  padding: 0 6px;
}

.dp-store-sticky-bar.is-empty .dp-store-cart-count {
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
}

.dp-store-cart-btn {
  flex-shrink: 0;
  border: none;
  border-radius: 99px;
  padding: 12px 20px;
  background: var(--store-lime);
  color: #0c0912;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(200, 218, 0, 0.35);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}

.dp-store-sticky-bar.is-empty .dp-store-cart-btn {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  box-shadow: none;
}

/* Bottom sheet portal */
body.dp-store-sheet-open { overflow: hidden; }

.dp-store-sheet-portal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
}

.dp-store-sheet-portal.is-active {
  pointer-events: auto;
}

.dp-store-sheet-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 9001;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.dp-store-sheet-portal.is-active .dp-store-sheet-backdrop:not([hidden]) {
  opacity: 1;
}

.dp-store-sheet {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  margin: 0;
  max-width: 100%;
  width: 100%;
  max-height: min(92dvh, 720px);
  border: none;
  border-radius: 24px 24px 0 0;
  padding: 8px 20px calc(28px + env(safe-area-inset-bottom));
  background: #15101f;
  color: var(--text-strong);
  z-index: 9002;
  overflow-y: auto;
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.55);
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  pointer-events: auto;
}

.dp-store-sheet.is-open {
  transform: translateY(0);
}

.dp-store-sheet[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
}

.dp-store-sheet:not([hidden]).is-open {
  visibility: visible;
}

/* Buttons */
.dp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 99px;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  padding: 12px 20px;
  font-size: 0.875rem;
}

.dp-btn--lime {
  background: var(--store-lime);
  color: #0c0912;
  box-shadow: 0 4px 16px rgba(200, 218, 0, 0.3);
}

.dp-btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-strong);
  border: 1px solid var(--store-border);
}

.dp-btn--block {
  display: flex;
  width: 100%;
}

.dp-btn[hidden],
.dp-store-status-actions [hidden],
.store-admin-combobox__item[hidden] {
  display: none !important;
}

.dp-store-sheet-handle {
  width: 40px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  margin: 0 auto 16px;
}

.dp-store-sheet-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
}

.dp-store-sheet-head {
  margin-bottom: 18px;
}

.dp-store-sheet-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.dp-store-product-detail-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 42px;
  margin-bottom: 18px;
}

.dp-store-product-detail-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: #fff;
}

.dp-store-product-detail-price {
  font-family: var(--font-display);
  margin: 4px 0 0;
  color: var(--store-lime);
  font-size: 1.15rem;
  font-weight: 700;
}

.dp-store-product-detail-desc {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  font-size: 0.95rem;
  white-space: pre-line;
  margin-bottom: 22px;
}

.dp-store-product-detail-months {
  margin: 0 0 16px;
  padding: 0;
  border: none;
  background: transparent;
}

.dp-store-months-upsell {
  margin: 2px 0 8px;
  padding: 0;
  border-radius: 12px;
  background: transparent;
  border: none;
}

.dp-store-months-upsell--compact {
  margin: 0 0 8px;
  padding: 0;
  border-radius: 12px;
}

.dp-store-summary-months {
  grid-column: 1 / -1;
  width: 100%;
  margin: -2px 0 6px;
}

.dp-store-months-upsell__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 8px 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.dp-store-months-upsell__toggle-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.dp-store-months-upsell__toggle-text em {
  font-style: normal;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dp-store-months-upsell__toggle-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.dp-store-months-upsell.is-expanded .dp-store-months-upsell__toggle {
  border-bottom-color: transparent;
  padding-bottom: 6px;
}

.dp-store-months-upsell__panel {
  padding: 0 0 4px;
}

.dp-store-months-upsell__head {
  display: none;
}

.dp-store-months-upsell__kicker,
.dp-store-months-upsell__hint,
.dp-store-months-upsell__summary {
  display: none;
}

.dp-store-months-upsell__title {
  display: none;
}

.dp-store-months-options {
  display: grid;
  gap: 8px;
}

.dp-store-months-upsell--compact .dp-store-months-options {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.dp-store-months-opt {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 2px;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
  font: inherit;
}

.dp-store-months-upsell--compact .dp-store-months-opt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 88px;
  width: auto;
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 11px;
  gap: 2px;
}

.dp-store-months-opt:active {
  transform: scale(0.985);
}

.dp-store-months-opt.is-selected {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.dp-store-months-opt__total {
  grid-column: 1;
  grid-row: 1;
  font-weight: 800;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}

.dp-store-months-opt__meta {
  grid-column: 1;
  grid-row: 2;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.52);
}

.dp-store-months-opt__price {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  font-weight: 800;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
}

.dp-store-months-upsell--compact .dp-store-months-opt__price {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.dp-store-months-opt__add {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.42);
  text-align: right;
  white-space: nowrap;
}

.dp-store-months-upsell__summary {
  margin: 11px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
}

.dp-store-months-upsell__summary strong {
  color: var(--store-lime);
  font-weight: 800;
}

.dp-store-profile-card .dp-store-months-upsell {
  margin-top: 10px;
  margin-bottom: 12px;
}

.dp-store-summary-line__meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* Detalle de producto: descripción larga con scroll interno */
.dp-store-product-sheet {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dp-store-product-sheet.is-open {
  z-index: 9004;
}

.dp-store-product-sheet .dp-store-sheet-handle,
.dp-store-product-sheet .dp-store-product-detail-head,
.dp-store-product-sheet .dp-store-sheet-sub {
  flex-shrink: 0;
}

.dp-store-product-sheet .dp-store-product-detail-desc {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  margin-bottom: 0;
  padding-bottom: 8px;
  padding-right: 2px;
}

.dp-store-product-sheet #productDetailAddBtn {
  flex-shrink: 0;
  margin-top: 16px;
}

.dp-store-sheet-kicker {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--store-lime);
  margin-bottom: 6px;
}

.dp-store-summary-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--store-border);
  border-radius: 16px;
  padding: 2px 12px;
  margin-bottom: 10px;
}

.dp-store-summary-card .dp-store-summary-line:last-child {
  border-bottom: none;
}

.dp-store-profile-section {
  margin-bottom: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
}

.dp-store-profile-hint {
  font-size: 0.8125rem;
  color: #f87171;
  margin: 8px 0 0;
}

.dp-store-profile-block.is-invalid .dp-store-input {
  border-color: #f87171;
  box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2);
}

.dp-store-confirm-btn {
  margin-top: 8px;
  padding: 16px 20px;
  font-size: 0.9375rem;
}

.dp-store-pay-amount--hero {
  background: rgba(200, 218, 0, 0.1);
  border: 1px solid rgba(200, 218, 0, 0.25);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.dp-store-pay-amount--hero strong {
  font-size: 1.75rem;
  color: var(--store-lime);
}

.dp-store-sheet--success {
  text-align: center;
}

.dp-store-success-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(200, 218, 0, 0.15);
  border: 2px solid var(--store-lime);
  color: var(--store-lime);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dp-store-sheet--success .dp-store-sheet-title {
  margin-bottom: 12px;
}

.dp-store-sheet--success .dp-store-status-body {
  text-align: center;
  margin-bottom: 20px;
}

.dp-store-summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--store-border);
  font-size: 0.9375rem;
}

.dp-store-summary-line__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dp-store-summary-line__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: #fff;
}

.dp-store-summary-line__price {
  font-size: 0.8125rem;
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
}

.dp-store-summary-line__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.dp-store-cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.dp-store-cart-qty-value {
  min-width: 24px;
  padding: 0 4px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  text-align: center;
  line-height: 1;
  user-select: none;
}

.dp-store-cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dp-store-section-panel {
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid var(--store-border);
  background: rgba(255, 255, 255, 0.03);
}

.dp-store-payment-panel .dp-store-sheet-sub {
  margin-bottom: 12px;
}

.dp-store-cart-qty-btn:active {
  transform: scale(0.95);
}

.dp-store-cart-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.dp-store-summary-line.is-discount {
  color: var(--store-lime);
  font-size: 0.875rem;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed rgba(200, 218, 0, 0.2);
}

.dp-store-volume-feedback {
  padding: 10px 0 6px;
  border-top: 1px dashed rgba(200, 218, 0, 0.15);
  margin-top: 4px;
}

.dp-store-summary-card .dp-store-volume-feedback:last-child {
  padding-bottom: 8px;
}

.dp-store-coupon-row {
  margin-top: 8px;
}

.dp-store-coupon-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 16px 0 8px;
  display: block;
}

.dp-store-coupon-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: stretch;
  position: relative;
  width: 100%;
}

.dp-store-coupon-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 1;
}

.dp-store-coupon-input {
  flex: 1;
  min-width: 0;
  width: 100%;
  padding-left: 42px !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}

.dp-store-coupon-input.is-applied {
  border-color: var(--store-lime);
  box-shadow: 0 0 0 1px rgba(200, 218, 0, 0.25);
}

.dp-store-coupon-apply {
  flex-shrink: 0;
  min-width: 0 !important;
  width: auto;
  max-width: 42vw;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid var(--store-border) !important;
  color: #fff !important;
  font-weight: 600;
  padding: 0 14px !important;
  white-space: nowrap;
}

.dp-store-coupon-feedback {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dp-store-coupon-msg {
  font-size: 0.8125rem;
  margin: 0;
  font-weight: 600;
}

.dp-store-coupon-msg.is-ok { color: var(--store-lime); }
.dp-store-coupon-msg.is-error { color: #f87171; }

.dp-store-coupon-info {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.dp-store-coupon-info-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
}

.dp-store-coupon-terms-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--store-lime);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.dp-store-coupon-terms-link svg:last-child {
  opacity: 0.8;
}

.dp-store-coupon-warning {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(200, 218, 0, 0.45);
  background: rgba(200, 218, 0, 0.06);
}

.dp-store-coupon-warning[hidden],
.dp-store-coupon-feedback [hidden] {
  display: none !important;
}

.dp-store-coupon-warning svg {
  flex-shrink: 0;
  color: var(--store-lime);
  margin-top: 2px;
}

.dp-store-coupon-warning p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.dp-store-coupon-terms-sheet {
  position: fixed;
  inset: 0;
  z-index: 13000;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.dp-store-coupon-terms-sheet.is-open {
  pointer-events: auto;
  opacity: 1;
}

.dp-store-coupon-terms-sheet .dp-manage-sheet-overlay {
  position: absolute;
  inset: 0;
  background: rgba(12, 9, 18, 0.78);
  backdrop-filter: blur(4px);
}

.dp-store-coupon-terms-sheet .dp-manage-sheet-panel {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #1a1528 0%, #0f0a14 100%);
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 14px 22px calc(22px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  max-height: min(78vh, 560px);
  overflow-y: auto;
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
}

.dp-store-coupon-terms-sheet.is-open .dp-manage-sheet-panel {
  transform: translateY(0);
}

.dp-store-coupon-terms-sheet .dp-manage-sheet-handle {
  width: 42px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 18px;
}

.dp-store-coupon-terms-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  margin: 0 0 14px;
}

.dp-store-coupon-terms-body {
  white-space: pre-line;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  line-height: 1.55;
  margin-bottom: 18px;
  max-height: 50vh;
  overflow-y: auto;
}

body.dp-store-coupon-terms-open {
  overflow: hidden;
}

.dp-store-profile-section {
  margin-bottom: 4px;
}

.dp-store-profile-intro {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
}

.dp-store-profile-fields {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 12px 0 4px;
}

.dp-store-profile-card {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.28);
}

.dp-store-profile-card.is-invalid {
  border-color: rgba(248, 113, 113, 0.55);
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.2);
}

.dp-store-profile-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
  overflow: hidden;
}

.dp-store-profile-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dp-store-profile-card-body {
  flex: 1;
  min-width: 0;
}

.dp-store-profile-card-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin: 0 0 8px;
  color: #fff;
}

.dp-store-profile-card-note {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.dp-store-profile-card-note-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.45);
}

.dp-store-profile-field-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 6px;
}

.dp-store-profile-card .dp-store-input {
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.dp-store-profile-card .dp-store-input:last-child {
  margin-bottom: 0;
}

.dp-store-profile-block {
  padding: 12px 0;
  border-bottom: 1px solid var(--store-border);
}

.dp-store-profile-block:last-child {
  border-bottom: none;
}

.dp-store-profile-block-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  margin: 0 0 10px;
  color: var(--store-lime);
}

.dp-store-profile-block .dp-store-input {
  width: 100%;
  margin-bottom: 10px;
  box-sizing: border-box;
}

.dp-store-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--store-border);
  border-radius: 12px;
  padding: 12px 14px;
  color: #fff;
  font-size: 0.875rem;
}

.dp-store-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 20px 0 16px;
  font-family: var(--font-display);
}

.dp-store-summary-total strong {
  font-size: 1.5rem;
  color: var(--store-lime);
}

.dp-store-sheet-sub {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.dp-store-pay-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--store-border);
  margin-bottom: 8px;
  cursor: pointer;
}

.dp-store-pay-option.is-selected {
  border-color: var(--store-lime);
  background: rgba(200, 218, 0, 0.08);
}

.dp-store-pay-option input { accent-color: var(--store-lime); }

.dp-store-pay-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dp-store-pay-option-body small {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.dp-store-confirm-btn { margin-top: 16px; }

.dp-store-pay-info {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 16px;
}

.dp-store-pay-info-inner {
  display: flex;
  gap: 12px;
  align-items: center;
}

.dp-store-pay-info-inner strong { display: block; font-size: 1rem; }

.dp-store-pay-info-text {
  flex: 1;
  min-width: 0;
}

.dp-store-pay-number-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 4px 0 6px;
}

.dp-store-pay-number {
  font-size: 1.125rem;
  letter-spacing: 0.02em;
}

.dp-store-copy-btn {
  border: 1px solid rgba(200, 218, 0, 0.45);
  background: rgba(200, 218, 0, 0.12);
  color: var(--store-lime);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.dp-store-copy-btn:active {
  transform: scale(0.96);
}

.dp-store-pay-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.dp-store-pay-steps li {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.875rem;
  line-height: 1.4;
}

.dp-store-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--store-lime);
  color: #0c0912;
  font-weight: 700;
  font-size: 0.8125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dp-store-pay-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--store-border);
}

.dp-store-pay-amount strong {
  font-size: 1.35rem;
  color: var(--store-lime);
  font-family: var(--font-display);
}

.dp-store-wa-btn {
  background: #25d366 !important;
  color: #fff !important;
  margin-bottom: 10px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  font-weight: 600;
}

.dp-store-upload-btn {
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.dp-store-upload-btn.is-uploading {
  opacity: 0.55;
  pointer-events: none;
}

.dp-store-receipt-upload-overlay {
  position: fixed;
  inset: 0;
  z-index: 9100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 6, 14, 0.92);
  backdrop-filter: blur(6px);
}

.dp-store-receipt-upload-overlay[hidden] {
  display: none !important;
}

.dp-store-receipt-upload-box {
  text-align: center;
  color: #fff;
  max-width: 280px;
}

.dp-store-receipt-upload-box strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.dp-store-receipt-upload-box p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.45;
}

.dp-store-receipt-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #c4f542;
  animation: dp-store-receipt-spin 0.85s linear infinite;
}

@keyframes dp-store-receipt-spin {
  to { transform: rotate(360deg); }
}

.dp-store-sheet-back {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  margin-bottom: 8px;
  padding: 0;
}

.dp-store-status-msg {
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 10px;
}

.dp-store-status-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f0a14;
  background: linear-gradient(135deg, #c4f542, #a3e635);
  box-shadow: 0 8px 24px rgba(196, 245, 66, 0.3);
}

.dp-store-status-sub {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: center;
}

.dp-store-status-sub strong {
  color: #c4f542;
}

.dp-store-sheet--success .dp-store-status-body {
  padding: 8px 0 20px;
}

.dp-store-status-actions {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.dp-store-checkout-notice {
  margin: 14px 0 6px;
}

.dp-store-checkout-notice[hidden] {
  display: none !important;
}

.dp-store-checkout-notice__list {
  display: grid;
  gap: 10px;
}

.dp-store-checkout-notice__card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 13px;
  border-radius: 14px;
  border: 1px solid rgba(96, 165, 250, 0.45);
  background: linear-gradient(180deg, rgba(26, 50, 112, 0.32), rgba(15, 30, 74, 0.36));
  font-size: 0.875rem;
  line-height: 1.45;
  color: #e2e8f0;
}

.dp-store-checkout-notice__card-icon {
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.95rem;
  color: #93c5fd;
}

.dp-store-checkout-notice__card strong {
  color: #ffffff;
}

.dp-store-checkout-notice.is-warning .dp-store-checkout-notice__card {
  border-color: rgba(250, 204, 21, 0.5);
  background: linear-gradient(180deg, rgba(113, 63, 18, 0.35), rgba(64, 31, 8, 0.4));
  color: #fef3c7;
}

.dp-store-checkout-notice.is-warning .dp-store-checkout-notice__card-icon {
  color: #fbbf24;
}

.dp-store-status-file {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

.dp-store-status-eta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(148, 163, 184, 0.2);
  font-size: 0.85rem;
  color: #cbd5e1;
}

.dp-store-status-info {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(250, 204, 21, 0.4);
  background: rgba(113, 63, 18, 0.3);
  font-size: 0.875rem;
  line-height: 1.45;
  color: #fde68a;
}

.dp-store-status-info strong {
  color: #fef3c7;
}

/* Wallet page */
.dp-wallet-balance-card {
  background: linear-gradient(145deg, rgba(200, 218, 0, 0.15), rgba(124, 58, 237, 0.2));
  border: 1px solid var(--store-border);
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  margin-bottom: 24px;
}

.dp-wallet-balance-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--store-lime);
  margin: 8px 0 12px;
}

.dp-wallet-balance-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.dp-wallet-history-title {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 12px;
}

.dp-wallet-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dp-wallet-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--store-border);
  gap: 12px;
}

.dp-wallet-item small {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 2px;
}

.dp-wallet-item .is-credit { color: #34d399; font-weight: 600; }
.dp-wallet-item .is-debit { color: #f87171; font-weight: 600; }
.dp-wallet-item .is-rejected { color: #fb7185; font-weight: 600; }
.dp-wallet-item--rejected {
  border-color: rgba(251, 113, 133, 0.28);
  background: rgba(127, 29, 29, 0.12);
}
.dp-wallet-item-note {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.55);
}

.dp-wallet-balance-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.dp-wallet-balance-amount {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--store-lime);
  margin: 8px 0 8px;
}

.dp-wallet-balance-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0 0 18px;
}

.dp-wallet-store-link { margin-top: 10px; }

.dp-wallet-section-title {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  margin: 0 0 12px;
}

.dp-wallet-pending { margin-bottom: 24px; }

.dp-wallet-pending-list { list-style: none; padding: 0; margin: 0; }

.dp-wallet-pending-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 12px;
  margin-bottom: 8px;
}

.dp-wallet-pending-badge {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #fbbf24;
}

.dp-wallet-sheet-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: -8px 0 16px;
}

.dp-wallet-amount-input {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  border: none;
  background: transparent;
  padding: 8px 0;
  width: 100%;
}

.dp-wallet-amount-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--store-border);
  border-radius: 16px;
  padding: 12px 18px;
  margin-bottom: 14px;
}

.dp-wallet-amount-prefix {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--store-lime);
  flex-shrink: 0;
}

.dp-wallet-quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.dp-wallet-quick-btn {
  border: 1px solid var(--store-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-strong);
  border-radius: 12px;
  padding: 10px 4px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.dp-wallet-quick-btn.is-active,
.dp-wallet-quick-btn:hover {
  border-color: var(--store-lime);
  background: rgba(200, 218, 0, 0.12);
  color: var(--store-lime);
}

/* Desktop / tablet landscape: quitar margen del sidebar legacy */
@media (min-width: 769px) {
  body.dp-store.dp-app .webchat-shell {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
    box-shadow: none !important;
  }

  body.dp-store.dp-app .webchat-main,
  body.dp-store .dp-store-main {
    max-width: none !important;
    margin: 0 !important;
    width: 100% !important;
  }

  html:has(body.dp-store.dp-app),
  body.dp-store.dp-app {
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto !important;
    overscroll-behavior: auto;
    height: auto;
    min-height: 100dvh;
  }

  body.dp-store.dp-app .webchat-main,
  body.dp-store .dp-store-main {
    overflow: visible !important;
    overflow-y: visible !important;
    height: auto !important;
    max-height: none !important;
  }
}

/* PC layout — mismo flujo que plataformas / dashboard */
@media (min-width: 1024px) {
  body.dp-store.dp-app .webchat-shell {
    display: block;
    min-height: 100dvh;
    height: auto;
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 252px;
    box-sizing: border-box;
  }

  body.dp-store.dp-app .dp-bottom-nav {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 150;
    width: 252px;
    height: 100dvh;
    max-height: 100dvh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 16px 14px 20px;
    border-top: none;
    border-right: 1px solid var(--border-subtle);
    background: linear-gradient(180deg, rgba(12, 9, 18, 0.99), rgba(12, 9, 18, 0.95));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.dp-store.dp-app .dp-bottom-nav-desktop-head {
    display: block;
    margin: 2px 4px 12px;
    padding: 12px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
  }

  body.dp-store.dp-app .dp-bottom-nav-brand {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 8px;
  }

  body.dp-store.dp-app .dp-bottom-nav-brand-logo { height: 26px; width: auto; object-fit: contain; }
  body.dp-store.dp-app .dp-bottom-nav-brand-logo--single { height: 30px; }
  body.dp-store.dp-app .dp-bottom-nav-brand-sep { color: var(--text-muted); font-size: 12px; font-weight: 700; }
  body.dp-store.dp-app .dp-bottom-nav-user { display: flex; flex-direction: column; gap: 1px; }
  body.dp-store.dp-app .dp-bottom-nav-user-eyebrow { font-family: var(--font-condensed); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
  body.dp-store.dp-app .dp-bottom-nav-user-name { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--text-strong); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  body.dp-store.dp-app .dp-bottom-nav-buy {
    order: 0;
    align-self: stretch;
    margin: 2px 0 6px;
    width: auto;
    height: auto;
    min-height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(200, 218, 0, 0.3);
    padding: 10px 12px;
    justify-content: flex-start;
    gap: 10px;
    box-shadow: none;
  }

  body.dp-store.dp-app .dp-bottom-nav-buy-label {
    display: inline;
    font-family: var(--font-condensed);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 700;
  }

  body.dp-store.dp-app .dp-bottom-nav-item {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 12px 13px;
    border-radius: 10px;
    font-size: 10.5px;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  body.dp-store.dp-app .dp-bottom-nav-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-body);
  }

  body.dp-store.dp-app .dp-bottom-nav-item.is-active {
    background: rgba(200, 218, 0, 0.12);
    border-color: rgba(200, 218, 0, 0.28);
    color: var(--dp-lime);
  }
  body.dp-store.dp-app .dp-bottom-nav-desktop-logout {
    display: block;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.dp-store.dp-app .dp-bottom-nav-item--logout {
    width: 100%;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(248, 113, 113, 0.2);
  }


  body.dp-store.dp-app .dp-bottom-nav-item svg {
    flex-shrink: 0;
  }

  body.dp-store.dp-app .webchat-main,
  body.dp-store .dp-store-main {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 0 48px !important;
  }

  body.dp-store.dp-app .dp-app-header {
    position: sticky;
    top: 0;
    z-index: 120;
    padding-left: clamp(24px, 3vw, 48px);
    padding-right: clamp(24px, 3vw, 48px);
  }

  .dp-store-wrap {
    max-width: min(1500px, calc(100vw - 252px));
    margin: 0 auto;
    padding: 0 0 36px;
  }

  .dp-store-page-head {
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 20px;
    padding: 16px clamp(24px, 3vw, 48px) 8px;
  }

  .dp-store-back {
    display: none;
  }

  .dp-store-page-title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
  }

  .dp-store-page-sub {
    font-size: 0.875rem;
    max-width: 52ch;
  }

  .dp-store-wallet-chip {
    padding: 12px 18px;
    border-radius: 16px;
  }

  .dp-store-promo-row {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr);
    align-items: stretch;
    gap: clamp(16px, 2vw, 24px);
    margin-bottom: 24px;
    padding: 0 clamp(24px, 3vw, 48px);
    border-radius: 18px;
    border: 1px solid var(--store-border);
    background: rgba(255, 255, 255, 0.015);
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .dp-store-promo-row:has(.dp-store-hero-slider:only-child),
  .dp-store-promo-row:has(.dp-store-volume--side:only-child) {
    grid-template-columns: 1fr;
  }

  .dp-store-hero-slider {
    margin: 0;
    min-width: 0;
  }

  .dp-store-volume--side {
    margin: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .dp-store-volume-grid {
    flex: 1;
    grid-template-columns: 1fr;
    align-content: start;
  }

  .dp-store-hero-slider .dp-store-hero {
    min-height: 260px;
    padding: 32px;
  }

  .dp-store-hero-title {
    font-size: 2rem;
  }

  .dp-store-cats,
  .dp-store-grid {
    padding-left: clamp(24px, 3vw, 48px);
    padding-right: clamp(24px, 3vw, 48px);
  }

  .dp-store-cats {
    margin-bottom: 22px;
    overflow: visible;
    flex-wrap: wrap;
  }

  .dp-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .dp-store-card {
    border-radius: 22px;
  }

  .dp-store-card-body {
    padding: 15px;
  }

  .dp-store-sticky-bar {
    left: 252px;
    right: 0;
    bottom: 0;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 16px clamp(24px, 3vw, 48px);
    box-sizing: border-box;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    z-index: 350;
  }

  .dp-store-sheet {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(100%);
    max-width: 560px;
    border-radius: 20px 20px 0 0;
    bottom: 0;
  }

  .dp-store-product-sheet {
    max-width: 620px;
  }

  .dp-store-sheet.is-open {
    transform: translateX(-50%) translateY(0);
  }

  .dp-store-sheet-backdrop {
    left: 252px;
    right: 0;
  }
}

@media (min-width: 1366px) {
  .dp-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Admin tabs helper */
.store-admin-tabs .nav-link {
  font-size: 0.8125rem;
  font-weight: 600;
}

.store-admin-panel {
  border: 1px solid rgba(124, 58, 237, 0.15);
}

/* —— Catálogo v2 (solo public — Comprar plataformas) —— */
.dp-store-catalog-v2 .dp-store-promo-row {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 16px;
}

.dp-store-catalog-v2 .dp-store-hero-slider {
  margin-bottom: 0;
}

.dp-store-catalog-v2 .dp-store-hero-slider .dp-store-hero {
  min-height: 168px;
}

.dp-store-catalog-v2 .dp-store-volume,
.dp-store-catalog-v2 .dp-store-volume--side {
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
  background: rgba(18, 13, 28, 0.65);
}

.dp-store-catalog-v2 .dp-store-volume-title {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--store-lime);
}

.dp-store-catalog-v2 .dp-store-volume-subtitle {
  margin: -2px 0 12px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.58);
}

.dp-store-catalog-v2 .dp-store-volume-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.dp-store-catalog-v2 .dp-store-volume-off {
  color: var(--store-lime);
}

.dp-store-catalog-v2 .dp-store-page-head {
  align-items: center;
  margin-bottom: 10px;
  padding-top: 2px;
}

.dp-store-catalog-v2 .dp-store-page-eyebrow {
  color: rgba(255, 255, 255, 0.45);
  font-size: 10px;
  letter-spacing: 0.14em;
  margin-bottom: 2px;
}

.dp-store-catalog-v2 .dp-store-page-title {
  font-size: clamp(1.5rem, 5.5vw, 1.85rem);
  margin: 0;
}

.dp-store-catalog-v2 .dp-store-wallet-chip {
  display: block;
  padding: 8px 10px;
  border-radius: 12px;
  min-width: 0;
}

.dp-store-catalog-v2 .dp-store-wallet-label {
  font-size: 0.5625rem;
}

.dp-store-catalog-v2 .dp-store-wallet-chip strong {
  font-size: 0.875rem;
}

.dp-store-catalog-v2 .dp-store-cats {
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.dp-store-catalog-v2 .dp-store-cat {
  border: 1px solid rgba(165, 180, 252, 0.28);
  background: rgba(12, 9, 18, 0.55);
  color: #a5b4fc;
  padding: 9px 18px;
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.dp-store-catalog-v2 .dp-store-cat.is-active {
  background: var(--store-lime);
  border-color: var(--store-lime);
  color: #0c0912;
  box-shadow: 0 4px 18px rgba(200, 218, 0, 0.22);
}

.dp-store-catalog-v2 .dp-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.dp-store-catalog-v2 .dp-store-card {
  background: linear-gradient(180deg, rgba(28, 20, 42, 0.96) 0%, rgba(18, 13, 28, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: 100%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.dp-store-catalog-v2 .dp-store-card.is-hidden {
  display: none !important;
}

.dp-store-catalog-v2 .dp-store-card.is-starred {
  border-color: transparent;
  box-shadow: none;
  background:
    linear-gradient(145deg, rgba(251, 191, 36, 0.12) 0%, transparent 38%),
    rgba(255, 255, 255, 0.02);
}

.dp-store-catalog-v2 .dp-store-card.in-cart {
  border-color: rgba(200, 218, 0, 0.7);
  box-shadow:
    0 0 0 1px rgba(200, 218, 0, 0.35),
    inset 3px 0 0 var(--store-lime);
}

.dp-store-catalog-v2 .dp-store-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.dp-store-catalog-v2 .dp-store-card.is-tappable {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dp-store-catalog-v2 .dp-store-card-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.dp-store-catalog-v2 .dp-store-card-icon .wc-platform-logo {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: block;
}

.dp-store-catalog-v2 .dp-store-card-icon .wc-platform-logo__img,
.dp-store-catalog-v2 .dp-store-card-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.dp-store-catalog-v2 .dp-store-card-icon-fallback {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
}

.dp-store-catalog-v2 .dp-store-card-quick-add {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0;
  pointer-events: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.dp-store-catalog-v2 .dp-store-card-detail-link {
  position: relative;
  z-index: 2;
}

.dp-store-catalog-v2 .dp-store-card-quick-add.is-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.dp-store-catalog-v2 .dp-store-card-quick-add-icon {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
}

.dp-store-catalog-v2 .dp-store-card.in-cart .dp-store-card-quick-add {
  background: var(--store-lime);
  border-color: var(--store-lime);
  color: #0c0912;
}

.dp-store-catalog-v2 .dp-store-card-name {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 8px;
  -webkit-line-clamp: 2;
}

.dp-store-catalog-v2 .dp-store-card-star-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 4px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0c0912;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.28);
}

.dp-store-catalog-v2 .dp-store-card-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  align-self: flex-start;
}

.dp-store-catalog-v2 .dp-store-card-chat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ede9fe;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.92), rgba(91, 33, 182, 0.95));
  border: 1px solid rgba(196, 181, 253, 0.35);
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.28);
}

.dp-store-catalog-v2 .dp-store-card-combo-badge,
.dp-store-catalog-v2 .dp-store-card-months-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 4px 10px;
  margin: 0;
}

.dp-store-catalog-v2 .dp-store-card-combo-badge {
  color: #0c0912;
  background: linear-gradient(135deg, #c8da00, #a8b800);
}

.dp-store-catalog-v2 .dp-store-card-months-badge {
  color: #ecfeff;
  background: linear-gradient(135deg, rgba(14, 116, 144, 0.95), rgba(8, 145, 178, 0.95));
}

.dp-store-profile-card.is-combo {
  border-color: rgba(200, 218, 0, 0.35);
}

.dp-store-combo-plat {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dp-store-catalog-v2 .dp-store-card-desc {
  display: -webkit-box;
  margin: 0 0 10px;
  font-size: 0.75rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.52);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dp-store-catalog-v2 .dp-store-card-detail-link {
  display: inline-flex;
  align-self: flex-start;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  font-family: var(--font-condensed);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--store-lime);
  cursor: pointer;
}

.dp-store-catalog-v2 .dp-store-card-stock {
  margin: 0 0 8px;
  font-size: 0.6875rem;
  color: #34d399;
}

.dp-store-catalog-v2 .dp-store-card-stock.is-low {
  color: #fbbf24;
}

.dp-store-catalog-v2 .dp-store-card-stock.is-empty {
  color: #f87171;
}

.dp-store-catalog-v2 .dp-store-card-price {
  margin: auto 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.dp-store-catalog-v2 .dp-store-card-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
}

@media (min-width: 900px) {
  .dp-store-catalog-v2 {
    max-width: 920px;
  }

  .dp-store-catalog-v2 .dp-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .dp-store-catalog-v2 .dp-store-wallet-chip {
    display: block;
  }
}

@media (min-width: 1200px) {
  .dp-store-catalog-v2 .dp-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Capibara: tarjetas a ancho completo con logo amplio */
.dp-store-catalog-capibra .dp-store-grid {
  grid-template-columns: 1fr;
  gap: 14px;
}

.dp-store-catalog-capibra .dp-store-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto auto auto auto auto auto;
  column-gap: 18px;
  row-gap: 6px;
  align-items: start;
  padding: 18px 58px 18px 18px;
  border-radius: 20px;
  min-height: 0;
}

.dp-store-catalog-capibra .dp-store-card-top {
  grid-column: 1;
  grid-row: 1 / span 6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  gap: 0;
}

.dp-store-catalog-capibra .dp-store-card-icon {
  width: 88px;
  height: 88px;
  min-width: 88px;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.35), rgba(12, 9, 18, 0.9));
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dp-store-catalog-capibra .dp-store-card-icon .wc-platform-logo,
.dp-store-catalog-capibra .dp-store-card-icon .wc-platform-logo__img,
.dp-store-catalog-capibra .dp-store-card-icon-img {
  width: 88px;
  height: 88px;
  border-radius: 20px;
}

.dp-store-catalog-capibra .dp-store-card-icon-fallback {
  font-size: 2rem;
}

.dp-store-catalog-capibra .dp-store-card-quick-add {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.dp-store-catalog-capibra .dp-store-card-quick-add-icon {
  font-size: 1.35rem;
}

.dp-store-catalog-capibra .dp-store-card-name {
  grid-column: 2;
  grid-row: 1;
  font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  line-height: 1.2;
  margin: 2px 0 0;
  -webkit-line-clamp: 3;
}

.dp-store-catalog-capibra .dp-store-card-badges {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

.dp-store-catalog-capibra .dp-store-card-star-badge {
  margin: 0;
}

.dp-store-catalog-capibra .dp-store-card-desc {
  grid-column: 2;
  grid-row: 3;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.58);
  -webkit-line-clamp: 3;
  margin: 0;
}

.dp-store-catalog-capibra .dp-store-card-detail-link {
  grid-column: 2;
  grid-row: 4;
  margin: 2px 0 0;
  font-size: 0.75rem;
}

.dp-store-catalog-capibra .dp-store-card-stock {
  grid-column: 2;
  grid-row: 5;
  margin: 0;
  font-size: 0.75rem;
}

.dp-store-catalog-capibra .dp-store-card-price {
  grid-column: 2;
  grid-row: 6;
  margin: 4px 0 0;
  font-size: clamp(1.25rem, 5vw, 1.5rem);
}

.dp-store-catalog-capibra .dp-store-card-price small {
  font-size: 0.8125rem;
}

.dp-store-catalog-capibra .dp-store-card.is-starred {
  border-color: transparent;
  box-shadow: none;
  background:
    linear-gradient(120deg, rgba(251, 191, 36, 0.14) 0%, transparent 36%),
    rgba(255, 255, 255, 0.02);
}

@media (min-width: 900px) {
  .dp-store-catalog-capibra {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
  }

  .dp-store-catalog-capibra .dp-store-grid {
    grid-template-columns: 1fr;
  }

  .dp-store-catalog-capibra .dp-store-card {
    grid-template-columns: 112px minmax(0, 1fr);
    padding: 20px 64px 20px 20px;
  }

  .dp-store-catalog-capibra .dp-store-card-icon,
  .dp-store-catalog-capibra .dp-store-card-icon .wc-platform-logo,
  .dp-store-catalog-capibra .dp-store-card-icon .wc-platform-logo__img,
  .dp-store-catalog-capibra .dp-store-card-icon-img {
    width: 104px;
    height: 104px;
  }
}

@media (min-width: 1200px) {
  .dp-store-catalog-capibra .dp-store-grid {
    grid-template-columns: 1fr;
  }
}

/* ====== PC PRO LAYOUT (override final) ====== */
@media (min-width: 1024px) {
  .dp-store-catalog-v2 {
    max-width: none;
  }

  .dp-store-wrap.dp-store-catalog-v2 {
    width: 100%;
    max-width: min(1600px, calc(100vw - 252px));
    margin: 0 auto;
  }

  .dp-store-catalog-v2 .dp-store-page-head {
    margin-bottom: 14px;
  }

  .dp-store-catalog-v2 .dp-store-promo-row {
    margin-bottom: 16px;
  }

  .dp-store-catalog-v2 .dp-store-hero-slider .dp-store-hero {
    min-height: 220px;
  }

  .dp-store-catalog-v2 .dp-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1366px) {
  .dp-store-catalog-v2 .dp-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Capibara en PC: usar grilla desktop, no columna angosta */
@media (min-width: 1024px) {
  .dp-store-catalog-capibra {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .dp-store-catalog-capibra .dp-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .dp-store-catalog-capibra .dp-store-card {
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    grid-template-rows: none;
    column-gap: 0;
    row-gap: 0;
    align-items: stretch;
    padding: 14px 14px 16px;
    border-radius: 16px;
  }

  .dp-store-catalog-capibra .dp-store-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0 0 12px;
  }

  .dp-store-catalog-capibra .dp-store-card-icon,
  .dp-store-catalog-capibra .dp-store-card-icon .wc-platform-logo,
  .dp-store-catalog-capibra .dp-store-card-icon .wc-platform-logo__img,
  .dp-store-catalog-capibra .dp-store-card-icon-img {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 12px;
  }

  .dp-store-catalog-capibra .dp-store-card-quick-add {
    position: static;
    width: 36px;
    height: 36px;
    border-radius: 50%;
  }

  .dp-store-catalog-capibra .dp-store-card-name,
  .dp-store-catalog-capibra .dp-store-card-badges,
  .dp-store-catalog-capibra .dp-store-card-star-badge,
  .dp-store-catalog-capibra .dp-store-card-desc,
  .dp-store-catalog-capibra .dp-store-card-detail-link,
  .dp-store-catalog-capibra .dp-store-card-stock,
  .dp-store-catalog-capibra .dp-store-card-price {
    grid-column: auto;
    grid-row: auto;
  }

  .dp-store-catalog-capibra .dp-store-card-name {
    font-size: 1.02rem;
    margin: 0 0 8px;
  }
}

@media (min-width: 1366px) {
  .dp-store-catalog-capibra .dp-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.dp-store-summary-line__price--muted {
  opacity: 0.45;
  font-size: 0.75rem;
  font-weight: 600;
}

/* ==========================================================================
   TIENDA PÚBLICA DIGITAL PREMIUM — CARTA DE PRESENTACIÓN & AUTH MODAL
   ========================================================================== */

/* Layout general para tienda pública */
body.dp-store--guest {
  background-color: #0c0912;
  color: #fff;
}

body.dp-store--guest .webchat-shell {
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, rgba(200, 218, 0, 0.04) 0%, transparent 60%),
              radial-gradient(circle at 100% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 50%),
              #0c0912;
}

body.dp-store--guest .dp-store-wrap.dp-store-catalog-v2 {
  max-width: 1240px;
  padding: 16px 20px 48px;
}

/* Header público de la tienda */
.dp-store-public-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dp-store-public-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.dp-store-public-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: opacity 0.2s ease;
}

.dp-store-public-logo-link:hover {
  opacity: 0.9;
}

.dp-store-public-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(200, 218, 0, 0.25));
}

.dp-store-public-brand-text {
  display: flex;
  flex-direction: column;
}

.dp-store-public-brand-name {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}

.dp-store-public-brand-tag {
  font-family: var(--font-condensed, 'Poppins', sans-serif);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--store-lime, #c8da00);
}

/* Buscador en Header */
.dp-store-search-wrap {
  flex: 1;
  min-width: 260px;
  max-width: 520px;
}

.dp-store-search-box {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 16px;
  transition: all 0.25s ease;
}

.dp-store-search-box:focus-within {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--store-lime, #c8da00);
  box-shadow: 0 0 0 3px rgba(200, 218, 0, 0.15);
}

.dp-store-search-box svg {
  color: rgba(255, 255, 255, 0.45);
  flex-shrink: 0;
  margin-right: 10px;
}

.dp-store-search-input {
  width: 100%;
  height: 42px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.875rem;
  outline: none;
}

.dp-store-search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.dp-store-search-clear {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Botones de acción Header */
.dp-store-public-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.dp-store-public-actions .dp-btn {
  padding: 9px 18px;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
}

.dp-store-user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
}

.dp-store-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--store-lime, #c8da00);
  color: #0c0912;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .dp-store-public-head {
    gap: 12px;
  }
  .dp-store-search-wrap {
    order: 3;
    width: 100%;
    max-width: 100%;
  }
}

/* Bottom Nav para visitantes móviles */
.dp-public-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: calc(64px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(14, 10, 22, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
}

@media (min-width: 769px) {
  .dp-public-bottom-nav {
    display: none !important;
  }
}

.dp-public-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Poppins', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dp-public-nav-item.is-active,
.dp-public-nav-item:hover {
  color: var(--store-lime, #c8da00);
}

.dp-public-nav-item svg {
  transition: transform 0.2s ease;
}

.dp-public-nav-item:active svg {
  transform: scale(0.9);
}

.dp-public-nav-icon-wrap {
  position: relative;
  display: inline-flex;
}

.dp-public-nav-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: var(--store-lime, #c8da00);
  color: #0c0912;
  font-size: 0.625rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 999px;
  min-width: 14px;
  text-align: center;
  line-height: 1.2;
}

/* Espaciado del footer / barra de carrito para guest */
body.dp-store--guest.has-cart-bar .dp-store-main {
  padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 768px) {
  body.dp-store--guest .dp-store-main {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }
  body.dp-store--guest.has-cart-bar .dp-store-main {
    padding-bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  }
}

/* ==========================================================================
   MODAL DE PREGUNTA / REDIRECCIÓN: "¿YA TIENES UNA CUENTA?"
   ========================================================================== */

.dp-store-auth-prompt-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(5, 3, 10, 0.85) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  z-index: 99999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.dp-store-auth-prompt-overlay.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.dp-store-auth-prompt-card {
  position: relative !important;
  width: 100% !important;
  max-width: 440px !important;
  background: #140f22 !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(200, 218, 0, 0.15) !important;
  padding: 32px 24px 24px !important;
  text-align: center !important;
  box-sizing: border-box !important;
  transform: translateY(20px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100000 !important;
}

.dp-store-auth-prompt-overlay.is-open .dp-store-auth-prompt-card {
  transform: translateY(0) scale(1) !important;
}

.dp-store-auth-prompt-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dp-store-auth-prompt-close:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(1.05);
}

.dp-store-auth-prompt-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(200, 218, 0, 0.08);
  border: 1px solid rgba(200, 218, 0, 0.3);
  margin-bottom: 16px;
  box-shadow: 0 8px 24px rgba(200, 218, 0, 0.18);
}

.dp-store-auth-prompt-badge img {
  height: 36px;
  width: auto;
}

.dp-store-auth-prompt-title {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
  line-height: 1.25;
}

.dp-store-auth-prompt-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 24px;
  line-height: 1.45;
}

.dp-store-auth-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.dp-store-auth-choice-btn {
  display: flex !important;
  align-items: center !important;
  text-align: left !important;
  padding: 14px 16px !important;
  border-radius: 16px !important;
  gap: 14px !important;
  text-decoration: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
  min-height: 64px !important;
}

.dp-store-auth-choice-btn:hover {
  transform: translateY(-2px);
}

.dp-store-auth-choice-btn#dpPromptLoginBtn {
  background: var(--store-lime, #c8da00);
  color: #0c0912;
  box-shadow: 0 6px 20px rgba(200, 218, 0, 0.25);
  border: none;
}

.dp-store-auth-choice-btn#dpPromptLoginBtn:hover {
  background: #d4e800;
  box-shadow: 0 8px 24px rgba(200, 218, 0, 0.35);
}

.dp-store-auth-choice-btn#dpPromptRegisterBtn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
}

.dp-store-auth-choice-btn#dpPromptRegisterBtn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(200, 218, 0, 0.4);
}

.dp-store-auth-choice-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.12);
}

#dpPromptRegisterBtn .dp-store-auth-choice-icon {
  background: rgba(255, 255, 255, 0.08);
}

.dp-store-auth-choice-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.dp-store-auth-choice-copy strong {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
}

.dp-store-auth-choice-copy small {
  font-size: 0.75rem;
  opacity: 0.78;
  margin-top: 2px;
  line-height: 1.3;
}

.dp-store-auth-choice-arrow {
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.6;
  flex-shrink: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.dp-store-auth-choice-btn:hover .dp-store-auth-choice-arrow {
  opacity: 1;
  transform: translateX(3px);
}

.dp-store-auth-prompt-foot {
  text-align: center;
}

.dp-store-prompt-cancel-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.55);
  font-family: 'Poppins', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  transition: color 0.2s ease;
}

.dp-store-prompt-cancel-btn:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .dp-store-auth-prompt-overlay {
    align-items: flex-end !important;
    padding: 0 !important;
  }
  .dp-store-auth-prompt-card {
    max-width: 100% !important;
    border-radius: 24px 24px 0 0 !important;
    padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px)) !important;
    transform: translateY(100%) !important;
  }
  .dp-store-auth-prompt-overlay.is-open .dp-store-auth-prompt-card {
    transform: translateY(0) !important;
  }
}


