/* XANY UI Contract Core - Shell theme visual skin.
 * Shell owns only data-xany-theme state; UI paints the theme here.
 */
.xany-home-v2-platform.xany-theme-anim,
.xany-home-v2-platform.xany-theme-anim *,
.xany-home-v2-platform.xany-theme-anim *::before,
.xany-home-v2-platform.xany-theme-anim *::after {
  transition:
    background-color .42s cubic-bezier(.22,.61,.36,1),
    background .42s cubic-bezier(.22,.61,.36,1),
    border-color .42s cubic-bezier(.22,.61,.36,1),
    color .30s cubic-bezier(.22,.61,.36,1),
    box-shadow .42s cubic-bezier(.22,.61,.36,1),
    opacity .30s cubic-bezier(.22,.61,.36,1),
    transform .34s cubic-bezier(.16,1,.3,1) !important;
}

.xany-home-actions .xany-home-theme-toggle {
  order: 25;
}

.xany-home-theme-toggle {
  position: relative;
  width: 58px;
  height: 34px;
  min-width: 58px;
  border: 1px solid rgba(226, 232, 240, .88);
  border-radius: 999px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, .92);
  color: #94a3b8;
  box-shadow: 0 12px 24px rgba(15, 23, 42, .05);
  cursor: pointer;
  overflow: hidden;
}

.xany-home-theme-toggle svg {
  position: relative;
  z-index: 2;
  width: 15px;
  height: 15px;
  pointer-events: none;
}

.xany-theme-thumb {
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.42), rgba(255,255,255,0) 46%),
    linear-gradient(135deg, #a78bfa, #7c3aed);
  box-shadow: 0 8px 18px rgba(109, 40, 217, .26);
  transform: translateX(0);
  pointer-events: none;
}

.xany-home-v2-platform[data-xany-theme="light"] .xany-theme-sun {
  color: #7c3aed;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-theme-moon {
  color: #c4b5fd;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-theme-thumb {
  transform: translateX(26px);
}

.xany-home-v2-platform[data-xany-theme="dark"] {
  color-scheme: dark;
  color: #e9ebf1 !important;
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(139, 92, 246, .28), transparent 58%),
    radial-gradient(720px 420px at 8% 4%, rgba(30, 185, 255, .10), transparent 56%),
    radial-gradient(rgba(255,255,255,.032) 1px, transparent 1px),
    linear-gradient(90deg, #15171f 0%, #1d212c 52%, #211c2f 100%) !important;
  background-size: auto, auto, 22px 22px, auto !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-header {
  border-color: rgba(255, 255, 255, .10) !important;
  background: rgba(29, 33, 44, .82) !important;
  box-shadow:
    0 26px 80px rgba(0, 0, 0, .32),
    inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-logo strong,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-user-mini strong,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-user-top strong,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-hero h1,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-hero-copy-clean h1,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-overview-title,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-subpage-title,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-cart-head h2,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-auth-title,
.xany-home-v2-platform[data-xany-theme="dark"] h1,
.xany-home-v2-platform[data-xany-theme="dark"] h2,
.xany-home-v2-platform[data-xany-theme="dark"] h3 {
  color: #f4f6fb !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-nav a,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-user-mini small,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-user-top small,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-hero p,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-overview-subtitle,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-auth-access-head small,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-group-head span,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-item-info span,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-item-info small,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-user-progress small {
  color: #aeb5c6 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-search input,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-auth-field input,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-intent-field input,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-core-form input,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-core-form select,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-core-form textarea {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(0, 0, 0, .22) !important;
  color: #eef2ff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-search input::placeholder,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-auth-field input::placeholder {
  color: rgba(226, 232, 240, .48) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-icon-btn,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-theme-toggle,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-user-mini,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-actions .xany-home-shop-clock {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(37, 42, 55, .88) !important;
  color: #e9ebf1 !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .06) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-nav a:hover,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-nav a.is-active,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-icon-btn:hover,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-theme-toggle:hover,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-user-mini:hover {
  border-color: rgba(167, 139, 250, .38) !important;
  background: rgba(45, 51, 67, .92) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-side-card,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-user-card,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-v2-unified-cart,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-ranking-card,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-overview-hero,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-overview-card,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-overview-activity,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-final-shared-hero,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-final-summary,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-final-stat,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-subpage-hero,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-subpage-panel,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-core-panel,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-card,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-wizard,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-slot-empty,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-panel-copy,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-support-split,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-cart,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-summary-card,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-group,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-auth-access-card {
  border-color: rgba(255, 255, 255, .12) !important;
  background:
    linear-gradient(180deg, rgba(46, 52, 68, .96), rgba(36, 41, 54, .92)) !important;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .09) !important;
  color: #e9ebf1 !important;
}

/* ─── user-card + cart — broad-scope dark (panel flotante + right-rail) ─── */
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card-compact,
.xany-home-v2-platform[data-xany-theme="dark"] #xanyRightProfileSlot .xany-user-card-compact,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-right .xany-v2-unified-cart,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-unified-cart,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) #xanyPavosnowCartSlot > .xany-v2-unified-cart {
  border-color: rgba(255, 255, 255, .12) !important;
  background:
    linear-gradient(180deg, rgba(46, 52, 68, .96), rgba(36, 41, 54, .92)) !important;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, .34),
    inset 0 1px 0 rgba(255, 255, 255, .09) !important;
  backdrop-filter: blur(16px) saturate(1.1) !important;
  -webkit-backdrop-filter: blur(16px) saturate(1.1) !important;
  color: #e9ebf1 !important;
}

/* ─── texto en panel flotante (out-of-scope coverage) ─── */
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card .xany-user-top strong,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card-compact .xany-user-top strong {
  color: #f4f6fb !important;
}

html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card .xany-user-top small,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card-compact .xany-user-top small,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card .xany-user-progress small,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card-compact .xany-user-progress small {
  color: #aeb5c6 !important;
}

html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card .xany-user-progress-bar,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-user-card-compact .xany-user-progress-bar {
  background: rgba(255, 255, 255, .12) !important;
}

/* ─── xany-v2-cart-empty + widget-head — dark (right-rail cart inner elements) ─── */
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-empty {
  background: rgba(21, 23, 31, .52) !important;
  border-color: rgba(255, 255, 255, .09) !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-empty strong {
  color: #e9ebf1 !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-empty span {
  color: #aeb5c6 !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-widget-head strong {
  color: #f4f6fb !important;
}

/* ─── pavosnow-cart-empty — dark override (empty-state card PavosNow si aplica) ─── */
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-empty {
  background: rgba(21, 23, 31, .52) !important;
  border-color: rgba(255, 255, 255, .09) !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-empty strong {
  color: #e9ebf1 !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-empty span {
  color: #aeb5c6 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-group-head {
  background: rgba(15, 18, 28, .78) !important;
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-group-head strong {
  color: #e9ebf1 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-item,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-v2-cart-item,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-activity-row,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-flow-steps span,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-panel-chip,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-profile-menu-item:not(.xany-profile-logout-simple) {
  border-color: rgba(255, 255, 255, .09) !important;
  background: rgba(21, 23, 31, .52) !important;
  color: #e9ebf1 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-user-progress-bar,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-profile-progress {
  background: rgba(255, 255, 255, .10) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-btn-secondary,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-btn-soft,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-secondary,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-panel-back {
  border-color: rgba(167, 139, 250, .26) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #ddd6fe !important;
}

/* ─── account hub panel — dark: texto, iconos, support-split, intent-field ─── */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-panel-copy .xany-account-overview-title {
  color: #f4f6fb !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-panel-copy .xany-account-overview-subtitle {
  color: #aeb5c6 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-card strong {
  color: #e9ebf1 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-card:hover,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-card:focus-visible {
  background: rgba(56, 63, 82, .96) !important;
  border-color: rgba(167, 139, 250, .38) !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-card.is-verify .xany-account-hub-icon {
  color: #a78bfa !important;
  background: rgba(139, 92, 246, .16) !important;
  border-color: rgba(167, 139, 250, .32) !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-card.is-support .xany-account-hub-icon {
  color: #38bdf8 !important;
  background: rgba(14, 165, 233, .16) !important;
  border-color: rgba(56, 189, 248, .30) !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-card.is-account .xany-account-hub-icon {
  color: #cbd5e1 !important;
  background: rgba(148, 163, 184, .14) !important;
  border-color: rgba(203, 213, 225, .24) !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-card.is-points .xany-account-hub-icon {
  color: #fbbf24 !important;
  background: rgba(212, 144, 10, .18) !important;
  border-color: rgba(251, 191, 36, .30) !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-support-split button:not(.is-active) {
  background: rgba(109, 40, 217, .14) !important;
  color: #c4b5fd !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-intent-field {
  color: #e9ebf1 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-intent-field input {
  background: rgba(21, 23, 31, .60) !important;
  border-color: rgba(139, 92, 246, .30) !important;
  color: #e9ebf1 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-auth-message[data-xany-auth-tone="success"] {
  color: #7dd3ae !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-auth-message[data-xany-auth-tone="error"] {
  color: #fda4af !important;
}

/* ─── Mi cuenta — dark: actividad, chips del hero, kicker y status pills ─── */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-activity-row.xany-account-live-row {
  border-color: rgba(255, 255, 255, .10) !important;
  background: rgba(255, 255, 255, .045) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-activity-row.xany-account-live-row:hover {
  border-color: rgba(167, 139, 250, .38) !important;
  background: rgba(255, 255, 255, .08) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-activity-row .xany-account-live-body strong {
  color: #f4f6fb !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-activity-row .xany-account-live-body small,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-activity-row .xany-account-live-side em {
  color: #aeb5c6 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-overview-activity-head span {
  color: #f4f6fb !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-overview-activity-head small {
  color: rgba(174, 181, 198, .8) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-panel-chip {
  border-color: rgba(255, 255, 255, .12) !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #e9ebf1 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-panel-chip.is-rank {
  border-color: rgba(167, 139, 250, .32) !important;
  background: rgba(139, 92, 246, .16) !important;
  color: #c4b5fd !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-panel-copy .xany-account-overview-kicker {
  background: rgba(139, 92, 246, .18) !important;
  color: #c4b5fd !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-status {
  background: rgba(255, 255, 255, .08) !important;
  color: #aeb5c6 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-status.is-warning {
  background: rgba(212, 144, 10, .20) !important;
  color: #fbbf24 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-status.is-ok {
  background: rgba(34, 197, 94, .18) !important;
  color: #4ade80 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-hub-status.is-points {
  background: rgba(139, 92, 246, .18) !important;
  color: #c4b5fd !important;
}

/* ─── Detalle de pedido — dark: tiles, bloques, tabla y facturacion ─────────
   El shell trae un layout-lock con !important que fuerza fondo blanco en los
   tiles; el selector largo con [data-xany-account-section] lo supera. */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-section-panel[data-xany-account-section="orderDetail"] .xany-order-detail-tile,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-tile {
  border-color: rgba(255, 255, 255, .12) !important;
  background: linear-gradient(180deg, rgba(46, 52, 68, .96), rgba(36, 41, 54, .92)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-block {
  border-color: rgba(255, 255, 255, .12) !important;
  background: linear-gradient(180deg, rgba(46, 52, 68, .96), rgba(36, 41, 54, .92)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-tile-label {
  color: rgba(174, 181, 198, .85) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-tile strong,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-block > strong {
  color: #f4f6fb !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-table {
  border-color: rgba(255, 255, 255, .10) !important;
  background: rgba(255, 255, 255, .04) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-row {
  border-bottom-color: rgba(255, 255, 255, .08) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-row span {
  color: rgba(203, 213, 225, .92) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-row span em {
  color: rgba(174, 181, 198, .8) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-row strong {
  color: #f4f6fb !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-detail-row.is-empty span {
  color: rgba(174, 181, 198, .75) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-order-billing-lines span {
  color: rgba(203, 213, 225, .92) !important;
}

/* ─── Reloj NUEVA TIENDA — dark: texto interno del pill ─── */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-shop-clock span {
  color: #aeb5c6 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-home-shop-clock strong {
  color: #f4f6fb !important;
}

/* ─── Tiles live-card en section panels (recompensas, status) — dark ────────
   El shell trae un layout-lock (0,3,0) !important con fondo blanco;
   este selector con .xany-account-section-panel (0,4,0) lo supera. */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-section-panel .xany-account-live-card {
  border-color: rgba(255, 255, 255, .12) !important;
  background: linear-gradient(180deg, rgba(46, 52, 68, .96), rgba(36, 41, 54, .92)) !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .08) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-live-label {
  color: rgba(174, 181, 198, .85) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-account-live-card strong {
  color: #f4f6fb !important;
}

/* ─── Carrito Resumen — dark: items y texto. Doble scope porque el rail
   puede montarse fuera del arbol del platform (de ahi el html:has). ─── */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-v2-cart-item,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-item {
  border-color: rgba(255, 255, 255, .10) !important;
  background: rgba(255, 255, 255, .05) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05) !important;
  color: #e9ebf1 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-v2-cart-info strong,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-info strong {
  color: #f4f6fb !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-v2-cart-info span,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-v2-cart-info small,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-info span,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-info small {
  color: #aeb5c6 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-v2-cart-price,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-price {
  color: #f4f6fb !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-v2-cart-thumb,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-v2-cart-thumb {
  background: rgba(255, 255, 255, .08) !important;
  color: #c4b5fd !important;
}

/* ─── checkout hero + secure-payment — dark ─── */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-hero,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-secure-payment-block {
  border-color: rgba(255,255,255,.10) !important;
  background:
    linear-gradient(180deg, rgba(37,42,55,.94), rgba(29,33,44,.88)) !important;
  box-shadow:
    0 28px 72px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.07) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-hero p,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-hero-badge span,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-hero-badge small {
  color: #aeb5c6 !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-hero-badge strong {
  color: #f4f6fb !important;
}

/* ─── checkout preparing / payment / error — dark ─── */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-preparing,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-payment,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-error {
  border-color: rgba(255,255,255,.10) !important;
  background:
    radial-gradient(circle at 18% 18%, rgba(109,40,217,.22), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(30,185,255,.14), transparent 32%),
    linear-gradient(180deg, rgba(29,33,44,.96), rgba(21,24,32,.96)) !important;
  box-shadow:
    0 28px 72px rgba(0,0,0,.30),
    inset 0 1px 0 rgba(255,255,255,.07) !important;
}

.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-preparing p,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-preparing small,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-payment p,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-payment small,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-error p,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-error small {
  color: #aeb5c6 !important;
}

/* ─── checkout review — dark: textos, botones, item-type ─── */
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-cart-head h2 {
  color: #f4f6fb !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-close {
  background: rgba(29, 33, 44, .72) !important;
  border-color: rgba(139, 92, 246, .32) !important;
  color: #c4b5fd !important;
  box-shadow: none !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-summary-card h3,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-secure-payment-state strong {
  color: #f4f6fb !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-secure-payment-state {
  background: linear-gradient(180deg, rgba(37, 42, 55, .94), rgba(29, 33, 44, .88)) !important;
  border-color: rgba(255, 255, 255, .10) !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-summary-line {
  border-top-color: rgba(255, 255, 255, .07) !important;
  color: #aeb5c6 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-summary-line strong {
  color: #e9ebf1 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-item-type {
  background: rgba(109, 40, 217, .28) !important;
  color: #c4b5fd !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-item-info strong {
  color: #e9ebf1 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-item-info span,
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-item-info small {
  color: #aeb5c6 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-item-price {
  color: #e9ebf1 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-remove {
  background: rgba(185, 28, 28, .16) !important;
  border-color: rgba(239, 68, 68, .28) !important;
  color: #fca5a5 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-empty {
  background: rgba(21, 23, 31, .52) !important;
  border-color: rgba(139, 92, 246, .18) !important;
  color: #aeb5c6 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-empty strong {
  color: #e9ebf1 !important;
}
.xany-home-v2-platform[data-xany-theme="dark"] .xany-final-checkout-mixed-notice {
  background: rgba(154, 52, 18, .18) !important;
  border-color: rgba(251, 146, 60, .28) !important;
  color: #fcd34d !important;
}

/* ─── pavosnow-cart-panel — dark (capa de tema; no toca los bloques del panel) ─── */
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-panel {
  background:
    radial-gradient(circle at 96% 0%, rgba(109, 40, 217, .22), transparent 35%),
    linear-gradient(180deg, rgba(37, 42, 55, .94), rgba(29, 33, 44, .88)) !important;
  border-color: rgba(255, 255, 255, .10) !important;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, .30),
    inset 0 1px 0 rgba(255, 255, 255, .07) !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-eyebrow {
  color: #c4b5fd !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-title {
  color: #f4f6fb !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-meta {
  color: #aeb5c6 !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-lines {
  border-top-color: rgba(255, 255, 255, .08) !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-line {
  color: #aeb5c6 !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-line strong {
  color: #e9ebf1 !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-total strong {
  color: #c4b5fd !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-item {
  background: rgba(21, 23, 31, .52) !important;
  border-color: rgba(255, 255, 255, .09) !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-trust span {
  background: rgba(109, 40, 217, .18) !important;
  color: #c4b5fd !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-coupon-box {
  background: rgba(21, 23, 31, .45) !important;
  border-color: rgba(255, 255, 255, .08) !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-coupon-box label,
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-coupon-box small {
  color: #aeb5c6 !important;
}
html:has(.xany-home-v2-platform[data-xany-theme="dark"]) .xany-home-right .pavosnow-cart-view {
  background: rgba(29, 33, 44, .72) !important;
  border-color: rgba(139, 92, 246, .30) !important;
  color: #c4b5fd !important;
}

/* Body/html dark background — overrides the fixed light background from the shell */
html:has(.xany-home-v2-platform[data-xany-theme="dark"]),
body:has(.xany-home-v2-platform[data-xany-theme="dark"]),
body.xany-v2-app-shell-page:has(.xany-home-v2-platform[data-xany-theme="dark"]) {
  background:
    radial-gradient(900px 520px at 88% -10%, rgba(139, 92, 246, .18), transparent 58%),
    radial-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, #0f1117 0%, #15171f 50%, #191320 100%) !important;
  background-attachment: fixed !important;
  background-repeat: no-repeat, repeat, no-repeat !important;
  background-size: auto, 22px 22px, auto !important;
  background-position: right top, left top, center !important;
}

@media (prefers-reduced-motion: reduce) {
  .xany-home-v2-platform.xany-theme-anim,
  .xany-home-v2-platform.xany-theme-anim *,
  .xany-home-v2-platform.xany-theme-anim *::before,
  .xany-home-v2-platform.xany-theme-anim *::after,
  .xany-theme-thumb {
    transition: none !important;
  }
}
