@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Montserrat:wght@700;800;900&display=swap');

/**
 * ============================================================
 * MARLINSUBNORTE — Customer Area Visual Restyling (Estilo Astro)
 * Módulo: msncustomerdark v1.2.6 (Astro Header, Footer & Typography)
 * Vistas: Iniciar sesión, Registro, Mi cuenta, Historial, Direcciones, Recuperar contraseña, SuperCheckout, RGPD
 * ============================================================
 */

/* ============================================================
   0. VARIABLES DE COLOR Y TIPOGRAFÍA (Coherencia exacta con Astro)
   ============================================================ */
:root {
  --ms-font-sans:     'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ms-font-heading:  'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ms-bg-deep:       #020b24;
  --ms-bg-card:       #081530;
  --ms-bg-card-hover: #0d204a;
  --ms-bg-input:      #0a1a3a;
  --ms-border:        rgba(255, 255, 255, 0.10);
  --ms-border-focus:  rgba(234, 179, 8, 0.50);
  --ms-gold:          #eab308;
  --ms-gold-light:    #facc15;
  --ms-gold-dark:     #ca8a04;
  --ms-text:          #e8edf7;
  --ms-text-muted:    rgba(232, 237, 247, 0.65);
  --ms-radius-lg:     16px;
  --ms-radius-md:     12px;
  --ms-radius-sm:     8px;
  --ms-success:       #22c55e;
  --ms-error:         #ef4444;
}

/* ============================================================
   1. FONDO GLOBAL, RESET Y TIPOGRAFÍA BASE (ESTILO ASTRO EXACTO)
   ============================================================ */
body.page-customer-account,
body.msn-customer-dark,
body#authentication,
body#my-account,
body#history,
body#order-detail,
body#order-follow,
body#identity,
body#addresses,
body#address,
body#discount,
body#order-slip,
body#password,
body#registration,
body#module-psgdpr-gdpr {
  background-color: var(--ms-bg-deep) !important;
  background-image: none !important;
  color: var(--ms-text) !important;
  font-family: var(--ms-font-sans) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  min-height: 100vh !important;
}

/* 1.1 TITULARES Y ENCABEZADOS: MONTSERRAT (Idéntico a Astro, anula Oswald del tema) */
body.page-customer-account h1,
body.page-customer-account h2,
body.page-customer-account h3,
body.page-customer-account h4,
body.page-customer-account h5,
body.page-customer-account h6,
body.msn-customer-dark h1,
body.msn-customer-dark h2,
body.msn-customer-dark h3,
body.msn-customer-dark h4,
body.msn-customer-dark h5,
body.msn-customer-dark h6,
body#module-psgdpr-gdpr h1,
body#module-psgdpr-gdpr h2,
body#module-psgdpr-gdpr h3,
body#module-psgdpr-gdpr h4,
body#module-psgdpr-gdpr h5,
body#module-psgdpr-gdpr h6,
body#module-psgdpr-gdpr .card h1,
body#module-psgdpr-gdpr .card h2,
body#module-psgdpr-gdpr .card h3,
body#module-psgdpr-gdpr .card-block h1,
body#module-psgdpr-gdpr .card-block h2,
body#module-psgdpr-gdpr .card-block h3,
body#module-psgdpr-gdpr .psgdprinfo17 h2,
body#module-psgdpr-gdpr .psgdprinfo17 h3,
body#module-psgdpr-gdpr [class*="psgdprinfo"] h2,
body#module-psgdpr-gdpr [class*="psgdprinfo"] h3,
.page-gdpr h1,
.page-gdpr h2,
.page-gdpr h3,
.page-header h1,
.page-title,
.card-title,
.card-header,
.msn-footer-title,
.msn-header-brand-name,
.msn-brand-name {
  font-family: var(--ms-font-heading) !important;
  letter-spacing: -0.01em;
}

/* 1.2 TEXTO GENERAL, PÁRRAFOS, BOTONES, INPUTS Y ENLACES: INTER (Idéntico a Astro) */
body.page-customer-account,
body.page-customer-account #wrapper,
body.page-customer-account #content,
body.page-customer-account #content-wrapper,
body.page-customer-account #main,
body.page-customer-account p,
body.page-customer-account span,
body.page-customer-account a,
body.page-customer-account li,
body.page-customer-account td,
body.page-customer-account th,
body.page-customer-account label,
body.page-customer-account input,
body.page-customer-account button,
body.page-customer-account select,
body.page-customer-account textarea,
body.page-customer-account .btn,
body.page-customer-account .card,
body.page-customer-account .card-block,
body.msn-customer-dark,
body.msn-customer-dark #wrapper,
body.msn-customer-dark #content,
body.msn-customer-dark #content-wrapper,
body.msn-customer-dark #main,
body.msn-customer-dark p,
body.msn-customer-dark span,
body.msn-customer-dark a,
body.msn-customer-dark li,
body.msn-customer-dark td,
body.msn-customer-dark th,
body.msn-customer-dark label,
body.msn-customer-dark input,
body.msn-customer-dark button,
body.msn-customer-dark select,
body.msn-customer-dark textarea,
body.msn-customer-dark .btn,
body.msn-customer-dark .card,
body.msn-customer-dark .card-block,
body#module-psgdpr-gdpr,
body#module-psgdpr-gdpr #wrapper,
body#module-psgdpr-gdpr #content,
body#module-psgdpr-gdpr #content-wrapper,
body#module-psgdpr-gdpr #main,
body#module-psgdpr-gdpr .page-content,
body#module-psgdpr-gdpr p,
body#module-psgdpr-gdpr span,
body#module-psgdpr-gdpr a,
body#module-psgdpr-gdpr li,
body#module-psgdpr-gdpr td,
body#module-psgdpr-gdpr th,
body#module-psgdpr-gdpr label,
body#module-psgdpr-gdpr button,
body#module-psgdpr-gdpr input,
body#module-psgdpr-gdpr select,
body#module-psgdpr-gdpr textarea,
body#module-psgdpr-gdpr .btn,
body#module-psgdpr-gdpr .btn-primary,
body#module-psgdpr-gdpr a.btn,
body#module-psgdpr-gdpr button.btn,
body#module-psgdpr-gdpr .card,
body#module-psgdpr-gdpr .card-block,
body#module-psgdpr-gdpr .psgdprinfo17,
body#module-psgdpr-gdpr [class*="psgdprinfo"],
body#module-psgdpr-gdpr .psgdprinfo17 p,
body#module-psgdpr-gdpr .psgdprinfo17 span,
body#module-psgdpr-gdpr .psgdprinfo17 a,
body#module-psgdpr-gdpr .psgdprinfo17 li,
.page-gdpr,
.page-gdpr p,
.page-gdpr span,
.page-gdpr a,
.page-gdpr li,
.page-gdpr .btn,
.page-gdpr .card,
.page-gdpr .card-block {
  font-family: var(--ms-font-sans) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

/* ============================================================
   NEUTRALIZACIÓN DE RECUADROS DE FOCUS / OUTLINE / TAP HIGHLIGHT
   Elimina marcos blancos o grises al tocar o seleccionar enlaces, tarjetas o botones
   ============================================================ */
*,
*::before,
*::after {
  -webkit-tap-highlight-color: transparent !important;
}

body.page-customer-account a:focus,
body.page-customer-account a:active,
body.page-customer-account a:focus-visible,
body.page-customer-account button:focus,
body.page-customer-account button:active,
body.page-customer-account button:focus-visible,
body.page-customer-account .card:focus,
body.page-customer-account .card:active,
body.page-customer-account .card:focus-visible,
body.page-customer-account .box:focus,
body.page-customer-account .box:active,
body.page-customer-account .page-content:focus,
body.page-customer-account #content:focus,
body.page-customer-account .links a:focus,
body.page-customer-account .links a:active,
body.page-customer-account .links a:focus-visible,
body.page-customer-account .msn-astro-header *:focus,
body.page-customer-account .msn-astro-footer *:focus,
body.page-customer-account .msn-icon-link:focus,
body.page-customer-account .msn-icon-link:active,
body.page-customer-account .msn-icon-link:focus-visible,
body.page-customer-account .page-footer a:focus,
body.page-customer-account .page-footer a:active,
body.page-customer-account .account-link:focus,
body.page-customer-account .account-link:active,
body.msn-customer-dark *:focus:not(input):not(select):not(textarea),
body.msn-customer-dark *:active:not(input):not(select):not(textarea),
body.msn-customer-dark *:focus-visible:not(input):not(select):not(textarea) {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Neutralizar textos oscuros heredados del tema MultiSport en el área de cliente */
body.page-customer-account p,
body.msn-customer-dark p,
body#password p,
body#authentication p,
body#registration p,
body.page-customer-account span:not(.label):not(.label-pill):not(.cart-products-count):not(.msn-bullet),
body.msn-customer-dark span:not(.label):not(.label-pill):not(.cart-products-count):not(.msn-bullet),
body#password span:not(.label):not(.label-pill):not(.cart-products-count):not(.msn-bullet),
body#authentication span:not(.label):not(.label-pill):not(.cart-products-count):not(.msn-bullet),
body.page-customer-account label,
body.msn-customer-dark label,
body#password label,
body#authentication label,
body.page-customer-account div:not(.alert):not([class*="alert"]):not(.msn-astro-footer):not(.msn-icon-box),
body.msn-customer-dark div:not(.alert):not([class*="alert"]):not(.msn-astro-footer):not(.msn-icon-box),
body#password div:not(.alert):not([class*="alert"]):not(.msn-astro-footer):not(.msn-icon-box),
body#authentication div:not(.alert):not([class*="alert"]):not(.msn-astro-footer):not(.msn-icon-box) {
  color: var(--ms-text);
}

/* Contenedores principales transparentes */
body.page-customer-account #wrapper,
body.msn-customer-dark #wrapper,
body#password #wrapper,
body#authentication #wrapper,
body.page-customer-account #content-wrapper,
body.msn-customer-dark #content-wrapper,
body#password #content-wrapper,
body#authentication #content-wrapper,
body.page-customer-account #main,
body.msn-customer-dark #main,
body#password #main,
body#authentication #main,
body.page-customer-account .container,
body.msn-customer-dark .container {
  background: transparent !important;
  box-shadow: none !important;
}

/* ============================================================
   2. SUPRESIÓN DE LA CABECERA VIEJA PRESTASHOP (#header)
   ============================================================ */
body.page-customer-account header#header,
body.page-customer-account #header,
body.msn-customer-dark header#header,
body.msn-customer-dark #header,
body#password header#header,
body#password #header,
body#authentication header#header,
body#authentication #header,
body#registration header#header,
body#registration #header,
body#my-account header#header,
body#my-account #header,
body#history header#header,
body#history #header,
body.page-customer-account #carousel,
body.page-customer-account .ikony-belka,
body.page-customer-account .tlo_menu,
body.page-customer-account .tlo_belka,
body.page-customer-account .belka,
body.page-customer-account #custom-text-parallax,
body.page-customer-account .parallax-section,
body.page-customer-account .googleFloatingBadge {
  display: none !important;
}

/* ============================================================
   2.1. CABECERA OFICIAL ESTILO ASTRO (.msn-astro-header)
   Diseño idéntico a Astro: Desplegables y mega-paneles desktop,
   acordeones móviles interactivos, sin botón residual a tienda.
   ============================================================ */
.msn-astro-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 999 !important;
  width: 100% !important;
  background-color: rgba(2, 11, 36, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.45) !important;
  box-sizing: border-box !important;
  font-family: var(--ms-font-sans) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.msn-astro-header * {
  box-sizing: border-box !important;
  font-family: inherit !important;
}

.msn-astro-header .msn-header-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  height: 68px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  position: relative !important;
}

/* Brand / Logotipo */
.msn-astro-header .msn-header-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  flex-shrink: 0 !important;
}

.msn-astro-header .msn-header-logo-img {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.35)) !important;
  transition: filter 0.3s ease !important;
  display: block !important;
}

.msn-astro-header .msn-header-logo-link:hover .msn-header-logo-img {
  filter: drop-shadow(0 0 16px rgba(234, 179, 8, 0.6)) !important;
}

.msn-astro-header .msn-header-brand-name {
  font-family: var(--ms-font-heading) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.15 !important;
  display: inline-block !important;
}

.msn-astro-header .msn-header-brand-yellow {
  color: #eab308 !important;
}

.msn-astro-header .msn-header-brand-sub {
  font-family: var(--ms-font-heading) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 10.5px !important;
  letter-spacing: 2.2px !important;
  display: block !important;
}

/* Navegación Desktop con Desplegables */
.msn-astro-header .msn-header-nav {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 100% !important;
}

.msn-astro-header .msn-dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
}

.msn-astro-header .msn-dropdown-mega {
  position: static !important;
}

.msn-astro-header .msn-nav-link,
.msn-astro-header .msn-dropdown-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  color: #cbd5e1 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

.msn-astro-header .msn-nav-link:hover,
.msn-astro-header .msn-dropdown:hover > .msn-nav-link,
.msn-astro-header .msn-dropdown:hover > .msn-dropdown-btn,
.msn-astro-header .msn-dropdown.msn-open > .msn-dropdown-btn {
  color: #eab308 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

.msn-astro-header .msn-chevron {
  width: 14px !important;
  height: 14px !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
}

.msn-astro-header .msn-dropdown:hover .msn-chevron,
.msn-astro-header .msn-dropdown.msn-open .msn-chevron {
  transform: rotate(180deg) !important;
  color: #eab308 !important;
}

/* Split trigger (Filosofía) */
.msn-astro-header .msn-split-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
}

.msn-astro-header .msn-split-btn {
  background: transparent !important;
  border: none !important;
  color: #94a3b8 !important;
  padding: 6px 4px !important;
  cursor: pointer !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.msn-astro-header .msn-split-btn:hover,
.msn-astro-header .msn-dropdown:hover .msn-split-btn {
  color: #eab308 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* Paneles Desplegables Generales */
.msn-astro-header .msn-dropdown-panel {
  position: absolute !important;
  top: calc(100% - 2px) !important;
  background: rgba(12, 21, 36, 0.98) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 16px !important;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.7) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(8px) scale(0.98) !important;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms !important;
  pointer-events: none !important;
  z-index: 1000 !important;
  overflow: hidden !important;
}

.msn-astro-header .msn-dropdown:hover .msn-dropdown-panel,
.msn-astro-header .msn-dropdown:focus-within .msn-dropdown-panel,
.msn-astro-header .msn-dropdown.msn-open .msn-dropdown-panel {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) scale(1) !important;
  pointer-events: auto !important;
}

/* Mega Panel Pesca Submarina */
.msn-astro-header .msn-mega-panel {
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) scale(0.98) !important;
  width: 920px !important;
  max-width: calc(100vw - 32px) !important;
  max-height: 85vh !important;
  overflow-y: auto !important;
}

.msn-astro-header .msn-dropdown-mega:hover .msn-mega-panel,
.msn-astro-header .msn-dropdown-mega.msn-open .msn-mega-panel {
  transform: translateX(-50%) translateY(0) scale(1) !important;
}

/* Anchos específicos de paneles */
.msn-astro-header .msn-panel-buceo {
  left: 0 !important;
  width: 380px !important;
  max-width: calc(100vw - 32px) !important;
}

.msn-astro-header .msn-panel-blog {
  right: 0 !important;
  width: 620px !important;
  max-width: calc(100vw - 32px) !important;
}

.msn-astro-header .msn-panel-filosofia {
  right: 0 !important;
  width: 660px !important;
  max-width: calc(100vw - 32px) !important;
}

.msn-astro-header .msn-panel-contacto {
  right: 0 !important;
  width: 360px !important;
  max-width: calc(100vw - 32px) !important;
}

.msn-astro-header .msn-panel-account {
  right: 0 !important;
  width: 230px !important;
  max-width: calc(100vw - 32px) !important;
}

/* Cabecera interna de paneles (.msn-panel-strip) */
.msn-astro-header .msn-panel-strip {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  background: linear-gradient(to right, rgba(234, 179, 8, 0.05), transparent) !important;
}

.msn-astro-header .msn-strip-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #eab308 !important;
  margin: 0 !important;
}

.msn-astro-header .msn-strip-sub {
  font-size: 11px !important;
  color: #94a3b8 !important;
  margin: 2px 0 0 0 !important;
}

.msn-astro-header .msn-strip-links {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

.msn-astro-header .msn-strip-search {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.msn-astro-header .msn-strip-search:hover {
  color: #eab308 !important;
}

.msn-astro-header .msn-strip-cta {
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #eab308 !important;
  text-decoration: none !important;
  transition: opacity 0.15s ease !important;
}

.msn-astro-header .msn-strip-cta:hover {
  text-decoration: underline !important;
}

/* Grid de Mega Menú (Pesca Submarina) */
.msn-astro-header .msn-mega-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 0 !important;
  padding: 16px 18px !important;
}

.msn-astro-header .msn-grid-col {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.msn-astro-header .msn-border-left {
  border-left: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding-left: 16px !important;
  margin-left: 8px !important;
}

.msn-astro-header .msn-col-heading {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  padding: 0 8px 6px !important;
  margin: 0 !important;
}

.msn-astro-header .msn-mega-link {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  padding: 7px 10px !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
}

.msn-astro-header .msn-mega-link:hover {
  color: #eab308 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.msn-astro-header .msn-icon {
  font-size: 14px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

/* Listas en Paneles Buceo y Cuenta */
.msn-astro-header .msn-panel-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  padding: 12px 14px !important;
}

.msn-astro-header .msn-panel-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: all 0.15s ease !important;
}

.msn-astro-header .msn-panel-row:hover {
  color: #eab308 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.msn-astro-header .msn-row-main {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
}

.msn-astro-header .msn-count-badge {
  font-size: 10px !important;
  font-weight: 700 !important;
  color: #94a3b8 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
}

/* Panel Blog */
.msn-astro-header .msn-blog-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 0 !important;
  padding: 16px 18px !important;
}

/* Panel Filosofía */
.msn-astro-header .msn-filosofia-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  padding: 16px 18px !important;
}

.msn-astro-header .msn-strip-lead {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.msn-astro-header .msn-pulse-dot {
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #eab308 !important;
  animation: msnPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite !important;
}

@keyframes msnPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.msn-astro-header .msn-strip-location {
  font-size: 11px !important;
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

.msn-astro-header .msn-filo-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 12px !important;
  padding: 14px !important;
}

.msn-astro-header .msn-filo-img-box {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 16 / 10 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-bottom: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.msn-astro-header .msn-filo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.6s ease !important;
}

.msn-astro-header .msn-filo-card:hover .msn-filo-img {
  transform: scale(1.05) !important;
}

.msn-astro-header .msn-filo-badge {
  position: absolute !important;
  bottom: 8px !important;
  left: 8px !important;
  padding: 2px 8px !important;
  border-radius: 9999px !important;
  background: rgba(8, 13, 23, 0.85) !important;
  backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  color: #eab308 !important;
  text-transform: uppercase !important;
}

.msn-astro-header .msn-filo-card-title {
  color: #ffffff !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  margin: 0 0 4px !important;
}

.msn-astro-header .msn-filo-card-desc {
  color: #cbd5e1 !important;
  font-size: 11.5px !important;
  line-height: 1.45 !important;
  margin: 0 !important;
}

.msn-astro-header .msn-filo-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 12px !important;
  padding: 8px 12px !important;
  border-radius: 8px !important;
  background: #eab308 !important;
  color: #0f172a !important;
  font-weight: 700 !important;
  font-size: 11.5px !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
}

.msn-astro-header .msn-filo-cta:hover {
  background: #facc15 !important;
}

.msn-astro-header .msn-filo-links {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 4px !important;
}

.msn-astro-header .msn-filo-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  border: 1px solid transparent !important;
  transition: all 0.2s !important;
}

.msn-astro-header .msn-filo-item:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
}

.msn-astro-header .msn-filo-icon-box {
  width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(234, 179, 8, 0.1) !important;
  border: 1px solid rgba(234, 179, 8, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  font-size: 14px !important;
}

.msn-astro-header .msn-filo-item-title {
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  transition: color 0.15s !important;
}

.msn-astro-header .msn-filo-item:hover .msn-filo-item-title {
  color: #eab308 !important;
}

.msn-astro-header .msn-filo-item-sub {
  font-size: 10.5px !important;
  color: #94a3b8 !important;
  margin: 2px 0 0 !important;
  line-height: 1.35 !important;
}

.msn-astro-header .msn-wa-item:hover .msn-wa-title {
  color: #25D366 !important;
}

.msn-astro-header .msn-wa-box {
  background: rgba(37, 211, 102, 0.1) !important;
  border-color: rgba(37, 211, 102, 0.25) !important;
}

/* Panel Contacto */
.msn-astro-header .msn-contacto-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 14px !important;
}

.msn-astro-header .msn-contact-card {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px 12px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: background 0.2s !important;
}

.msn-astro-header .msn-contact-card:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

.msn-astro-header .msn-contact-icon {
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.msn-astro-header .msn-wa-bg {
  background: rgba(37, 211, 102, 0.12) !important;
  border: 1px solid rgba(37, 211, 102, 0.3) !important;
}

.msn-astro-header .msn-gold-bg {
  background: rgba(234, 179, 8, 0.12) !important;
  border: 1px solid rgba(234, 179, 8, 0.3) !important;
}

.msn-astro-header .msn-wa-svg-fill {
  width: 20px !important;
  height: 20px !important;
  fill: #25D366 !important;
}

.msn-astro-header .msn-svg-stroke {
  width: 20px !important;
  height: 20px !important;
  stroke: #eab308 !important;
}

.msn-astro-header .msn-contact-sub {
  font-size: 10px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  color: #64748b !important;
  margin: 0 !important;
  letter-spacing: 0.5px !important;
}

.msn-astro-header .msn-contact-title {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  margin: 2px 0 0 !important;
  transition: color 0.2s !important;
}

.msn-astro-header .msn-contact-card:hover .msn-contact-title {
  color: #eab308 !important;
}

.msn-astro-header .msn-contact-card:hover .msn-wa-title {
  color: #25D366 !important;
}

/* Panel Mi Cuenta */
.msn-astro-header .msn-account-strip {
  padding: 10px 14px !important;
}

/* Acciones rápidas (Mi cuenta y Hamburguesa) */
.msn-astro-header .msn-header-actions {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-shrink: 0 !important;
  height: 100% !important;
}

.msn-astro-header .msn-account-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #e8edf7 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

.msn-astro-header .msn-account-btn:hover,
.msn-astro-header .msn-account-dropdown:hover > .msn-account-btn {
  color: #eab308 !important;
  border-color: rgba(234, 179, 8, 0.45) !important;
  background: rgba(234, 179, 8, 0.08) !important;
}

.msn-astro-header .msn-btn-icon {
  width: 15px !important;
  height: 15px !important;
  stroke: currentColor !important;
  flex-shrink: 0 !important;
}

/* Botón Hamburguesa Móvil */
.msn-astro-header .msn-mobile-toggle {
  display: none !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
  padding: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  align-items: center !important;
  justify-content: center !important;
}

.msn-astro-header .msn-mobile-toggle:hover {
  color: #eab308 !important;
  border-color: rgba(234, 179, 8, 0.4) !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.msn-astro-header .msn-hamburger-icon {
  width: 20px !important;
  height: 20px !important;
  stroke: currentColor !important;
}

/* Menú móvil desplegable */
.msn-astro-header .msn-mobile-drawer {
  display: none !important;
  background: #060e22 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 12px 18px 24px !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  max-height: calc(100vh - 68px) !important;
  overflow-y: auto !important;
}

.msn-astro-header.msn-menu-open .msn-mobile-drawer {
  display: block !important;
  animation: msnFadeInDown 0.22s ease-out !important;
}

@keyframes msnFadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msn-astro-header .msn-mobile-nav {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

.msn-astro-header .msn-mobile-link {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: #e8edf7 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  padding: 11px 14px !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
}

.msn-astro-header .msn-mobile-link:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #eab308 !important;
}

/* Acordeones Móviles */
.msn-astro-header .msn-mobile-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.msn-astro-header .msn-accordion-trigger {
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 11px 14px !important;
  color: #e8edf7 !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  text-align: left !important;
  transition: all 0.15s ease !important;
}

.msn-astro-header .msn-accordion-trigger:hover,
.msn-astro-header .msn-accordion-trigger.msn-active {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #eab308 !important;
}

.msn-astro-header .msn-accordion-trigger.msn-active .msn-chevron {
  transform: rotate(180deg) !important;
  color: #eab308 !important;
}

.msn-astro-header .msn-accordion-body {
  flex-direction: column !important;
  gap: 2px !important;
  padding: 4px 10px 12px 18px !important;
}

.msn-astro-header .msn-sub-link {
  display: block !important;
  padding: 7px 10px !important;
  font-size: 13px !important;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.msn-astro-header .msn-sub-link:hover {
  color: #eab308 !important;
  background: rgba(255, 255, 255, 0.04) !important;
}

.msn-astro-header .msn-sub-link.msn-highlight {
  color: #eab308 !important;
  font-weight: 600 !important;
  margin-bottom: 4px !important;
}

.msn-astro-header .msn-mobile-gold {
  color: #eab308 !important;
  font-weight: 600 !important;
}

/* Asistente de Contraseña Segura en Formularios */
.msn-pw-helper-bar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 8px !important;
  flex-wrap: wrap !important;
}

.msn-pw-suggest-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 8px !important;
  background: rgba(234, 179, 8, 0.12) !important;
  border: 1px solid rgba(234, 179, 8, 0.35) !important;
  color: #eab308 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.msn-pw-suggest-btn:hover {
  background: rgba(234, 179, 8, 0.22) !important;
  border-color: #eab308 !important;
  color: #facc15 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 2px 8px rgba(234, 179, 8, 0.25) !important;
}

.msn-pw-key-icon {
  width: 14px !important;
  height: 14px !important;
  flex-shrink: 0 !important;
}

.msn-pw-feedback {
  font-size: 12px !important;
  color: #4ade80 !important;
  background: rgba(34, 197, 94, 0.12) !important;
  border: 1px solid rgba(34, 197, 94, 0.3) !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
}

.msn-pw-copy-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 6px 10px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: #e2e8f0 !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.msn-pw-copy-btn:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.msn-pw-toggle-btn {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  font-size: 16px !important;
  line-height: 1 !important;
  padding: 4px !important;
  z-index: 5 !important;
  opacity: 0.75 !important;
  transition: opacity 0.2s ease, transform 0.1s ease !important;
}

.msn-pw-toggle-btn:hover {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.1) !important;
}


/* Responsive Breakpoints Header */
@media (max-width: 991px) {
  .msn-astro-header .msn-header-nav {
    display: none !important;
  }
  .msn-astro-header .msn-mobile-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 480px) {
  .msn-astro-header .msn-account-text {
    display: none !important;
  }
  .msn-astro-header .msn-account-btn {
    padding: 8px !important;
  }
}

/* Migas de pan (Breadcrumbs) */
body.page-customer-account .breadcrumb {
  background: transparent !important;
  padding: 18px 0 10px 0 !important;
  margin-bottom: 20px !important;
  border: none !important;
}

body.page-customer-account .breadcrumb ol,
body.page-customer-account .breadcrumb li,
body.page-customer-account .breadcrumb span {
  color: var(--ms-text-muted) !important;
  font-size: 14px !important;
}

body.page-customer-account .breadcrumb a {
  color: var(--ms-gold) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.page-customer-account .breadcrumb a:hover {
  color: var(--ms-gold-light) !important;
}

body.page-customer-account .breadcrumb li::after {
  color: rgba(255, 255, 255, 0.2) !important;
}

/* Títulos principales (H1) */
body.page-customer-account .page-header h1,
body.page-customer-account h1 {
  color: #ffffff !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin-bottom: 24px !important;
  letter-spacing: -0.5px !important;
}

/* ============================================================
   3. TARJETA DE CONTENIDO PRINCIPAL (Card)
   ============================================================ */
body.page-customer-account #content.page-content,
body.page-customer-account .card.card-block,
body.page-customer-account .card {
  background: var(--ms-bg-card) !important;
  border: 1px solid var(--ms-border) !important;
  border-radius: var(--ms-radius-lg) !important;
  box-shadow: 0 12px 32px -4px rgba(0, 0, 0, 0.45) !important;
  padding: 32px !important;
  color: var(--ms-text) !important;
}

/* Centrado estético en vistas de formulario */
body#authentication #content-wrapper,
body#password #content-wrapper,
body#registration #content-wrapper {
  max-width: 580px !important;
  margin: 0 auto !important;
  float: none !important;
}

/* ============================================================
   4. FORMULARIOS, CAMPOS, LABELS, RADIOS Y CHECKBOXES
   ============================================================ */
body.page-customer-account .form-group {
  margin-bottom: 22px !important;
}

/* Labels de campos */
body.page-customer-account .form-control-label,
body.page-customer-account label {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  margin-bottom: 8px !important;
  display: block !important;
  text-align: left !important;
}

body.page-customer-account .form-control-label.required::after,
body.page-customer-account label.required::after,
body.page-customer-account .form-control-label .required {
  color: var(--ms-gold) !important;
  margin-left: 4px !important;
}

/* Comentarios y textos de ayuda ("Solo se permiten...", "Ejemplo: 31/05/1970", "Opcional") */
body.page-customer-account .form-control-comment,
body.page-customer-account span.form-control-comment,
body.page-customer-account .col-md-3.form-control-comment,
body.page-customer-account .help-block,
body.page-customer-account small {
  color: rgba(232, 237, 247, 0.72) !important;
  font-size: 12.5px !important;
  line-height: 1.4 !important;
  margin-top: 6px !important;
  display: block !important;
}

/* Radios ("Sr.", "Sra.") */
body.page-customer-account .radio-inline,
body.page-customer-account label.radio-inline,
body.page-customer-account .custom-radio + span,
body.page-customer-account .form-control-valign label {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  margin-right: 20px !important;
}

/* Checkboxes (GDPR, Términos, Boletín, Ofertas) con Alto Contraste en Oro / Amarillo */
body.page-customer-account .custom-checkbox,
body.page-customer-account span.custom-checkbox {
  display: inline-flex !important;
  align-items: flex-start !important;
  cursor: pointer !important;
  margin-bottom: 10px !important;
}

body.page-customer-account .custom-checkbox label,
body.page-customer-account span.custom-checkbox label {
  color: #e8edf7 !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  cursor: pointer !important;
  display: inline !important;
}

body.page-customer-account .custom-checkbox label a,
body.page-customer-account span.custom-checkbox label a {
  color: var(--ms-gold) !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

body.page-customer-account .custom-checkbox label em,
body.page-customer-account span.custom-checkbox label em {
  color: rgba(232, 237, 247, 0.65) !important;
  font-style: italic !important;
}

/* Casilla personalizada PrestaShop Classic */
body.page-customer-account .custom-checkbox input[type="checkbox"] + span,
body.page-customer-account span.custom-checkbox > span:not(.checkbox-checked):not(label) {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  background: #05102a !important;
  border: 2px solid rgba(234, 179, 8, 0.5) !important;
  border-radius: 5px !important;
  margin-right: 12px !important;
  margin-top: 2px !important;
  vertical-align: middle !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

body.page-customer-account .custom-checkbox:hover input[type="checkbox"] + span,
body.page-customer-account span.custom-checkbox:hover > span:not(.checkbox-checked):not(label) {
  border-color: #facc15 !important;
  box-shadow: 0 0 10px rgba(250, 204, 21, 0.35) !important;
}

body.page-customer-account .custom-checkbox input[type="checkbox"]:checked + span,
body.page-customer-account span.custom-checkbox input[type="checkbox"]:checked + span {
  background: rgba(234, 179, 8, 0.25) !important;
  border-color: #facc15 !important;
}

/* Cuando la casilla NO está marcada: ocultar estrictamente el icono del check */
body.page-customer-account .custom-checkbox input[type="checkbox"]:not(:checked) + span .checkbox-checked,
body.page-customer-account .custom-checkbox input[type="checkbox"]:not(:checked) + span i,
body.page-customer-account span.custom-checkbox input[type="checkbox"]:not(:checked) + span .checkbox-checked,
body.page-customer-account span.custom-checkbox input[type="checkbox"]:not(:checked) + span i {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Cuando la casilla SÍ está marcada: mostrar el icono con checkmark dorado brillante */
body.page-customer-account .custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked,
body.page-customer-account .custom-checkbox input[type="checkbox"]:checked + span i,
body.page-customer-account span.custom-checkbox input[type="checkbox"]:checked + span .checkbox-checked,
body.page-customer-account span.custom-checkbox input[type="checkbox"]:checked + span i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #facc15 !important; /* Amarillo brillante dorado de alto impacto */
  font-size: 18px !important;
  font-weight: 900 !important;
  text-shadow: 0 0 6px rgba(250, 204, 21, 0.6) !important;
}

body.page-customer-account input[type="checkbox"] {
  accent-color: #facc15 !important;
  width: 20px !important;
  height: 20px !important;
  cursor: pointer !important;
}

body.page-customer-account input[type="radio"] {
  accent-color: #facc15 !important;
  width: 18px !important;
  height: 18px !important;
  cursor: pointer !important;
}

/* Inputs de texto: fondo azul marino oscuro y texto blanco nítido */
body.page-customer-account input.form-control,
body.page-customer-account select.form-control,
body.page-customer-account textarea.form-control {
  background-color: var(--ms-bg-input) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 10px !important;
  height: 46px !important;
  padding: 10px 16px !important;
  font-size: 16px !important; /* Previene auto-zoom en iOS Safari */
  transition: all 0.2s ease !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

body.page-customer-account input.form-control:focus,
body.page-customer-account select.form-control:focus,
body.page-customer-account textarea.form-control:focus {
  border-color: var(--ms-gold) !important;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.25) !important;
  outline: none !important;
}

/* NEUTRALIZACIÓN TOTAL DE AUTOCOMPLETADO (Evita texto negro por autofill en Chrome/Safari) */
body.page-customer-account input:-webkit-autofill,
body.page-customer-account input:-webkit-autofill:hover, 
body.page-customer-account input:-webkit-autofill:focus,
body.page-customer-account input:-webkit-autofill:active,
body.page-customer-account select:-webkit-autofill,
body.page-customer-account textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #0a1a3a inset !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #ffffff !important;
  transition: background-color 5000s ease-in-out 0s !important;
  border-color: var(--ms-gold) !important;
}

body.page-customer-account input::placeholder,
body.page-customer-account textarea::placeholder {
  color: rgba(232, 237, 247, 0.40) !important;
  opacity: 1 !important;
}

/* Botón de ver/ocultar contraseña */
body.page-customer-account [data-action="show-password"] {
  background: #0d204a !important;
  color: var(--ms-gold) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-left: none !important;
  border-radius: 0 10px 10px 0 !important;
  height: 46px !important;
  padding: 0 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  transition: background 0.2s ease !important;
}

body.page-customer-account [data-action="show-password"]:hover {
  background: #143068 !important;
  color: var(--ms-gold-light) !important;
}

/* Enlace Olvidó su contraseña */
body.page-customer-account .forgot-password {
  text-align: right !important;
  margin-top: 8px !important;
  margin-bottom: 20px !important;
}

body.page-customer-account .forgot-password a {
  color: var(--ms-gold) !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body.page-customer-account .forgot-password a:hover {
  color: var(--ms-gold-light) !important;
  text-decoration: underline !important;
}

/* Textos de cabecera en formularios de login y registro */
body.page-customer-account .register-form p,
body.page-customer-account .login-form p {
  color: #e8edf7 !important;
  font-size: 14.5px !important;
  margin-bottom: 20px !important;
}

body.page-customer-account .register-form p a,
body.page-customer-account .login-form p a {
  color: var(--ms-gold) !important;
  font-weight: 600 !important;
  text-decoration: underline !important;
}

body.page-customer-account .register-form p a:hover,
body.page-customer-account .login-form p a:hover {
  color: var(--ms-gold-light) !important;
}

/* ============================================================
   5. BOTONES DE ACCIÓN (Estilo Dorado Astro)
   ============================================================ */
body.page-customer-account .btn.btn-primary,
body.msn-customer-dark .btn.btn-primary,
body#password .btn.btn-primary,
body#authentication .btn.btn-primary,
body#registration .btn.btn-primary,
body.page-customer-account button[type="submit"],
body.msn-customer-dark button[type="submit"],
body#password button[type="submit"],
body#authentication button[type="submit"],
button[data-link-action="send-reset-link"],
body.page-customer-account button[data-link-action="sign-in"] {
  background-color: var(--ms-gold) !important;
  background-image: none !important;
  color: #020b24 !important; /* Texto oscuro de alto contraste sobre fondo oro */
  font-family: var(--ms-font-sans) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  border: none !important;
  border-radius: 10px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
  min-height: 46px !important;
  padding: 12px 32px !important;
  width: 100% !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.3) !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

body.page-customer-account .btn.btn-primary:hover,
body.msn-customer-dark .btn.btn-primary:hover,
body#password .btn.btn-primary:hover,
body#authentication .btn.btn-primary:hover,
body#registration .btn.btn-primary:hover,
body.page-customer-account button[type="submit"]:hover,
body.msn-customer-dark button[type="submit"]:hover,
body#password button[type="submit"]:hover,
body#authentication button[type="submit"]:hover,
button[data-link-action="send-reset-link"]:hover,
body.page-customer-account button[data-link-action="sign-in"]:hover {
  background-color: var(--ms-gold-light) !important;
  color: #020b24 !important;
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.45) !important;
  transform: translateY(-2px) !important;
}

/* Caja de "¿No tiene cuenta? Cree una aquí" */
body.page-customer-account .no-account {
  text-align: center !important;
  margin-top: 24px !important;
  padding: 18px !important;
  background: rgba(234, 179, 8, 0.05) !important;
  border: 1px dashed rgba(234, 179, 8, 0.35) !important;
  border-radius: 12px !important;
}

body.page-customer-account .no-account,
body.page-customer-account .no-account a {
  color: var(--ms-gold) !important;
  font-weight: 600 !important;
  font-size: 14.5px !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: color 0.2s ease !important;
}

body.page-customer-account .no-account a:hover {
  color: var(--ms-gold-light) !important;
  text-decoration: underline !important;
}

/* ============================================================
   6. SUPRESIÓN DE BARRA LATERAL (Marcas y Categorías - Captura 2)
   Elimina enlaces internos hacia PrestaShop y centra los formularios
   ============================================================ */
body.page-customer-account #left-column,
body.page-customer-account #right-column,
body.page-customer-account .block-categories,
body.page-customer-account .block-manufacturers,
body.page-customer-account .block-categories-title {
  display: none !important;
}

body.page-customer-account #content-wrapper {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* ============================================================
   7. PANEL DE USUARIO (DASHBOARD — /tienda/mi-cuenta)
   ============================================================ */
body#my-account .links {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 20px !important;
  margin-top: 24px !important;
}

body#my-account .links > a {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  text-decoration: none !important;
}

body#my-account .links .link-item {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  background: var(--ms-bg-card) !important;
  border: 1px solid var(--ms-border) !important;
  border-radius: var(--ms-radius-lg) !important;
  padding: 32px 20px !important;
  min-height: 160px !important;
  color: #e8edf7 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25) !important;
}

body#my-account .links .link-item span {
  color: #e8edf7 !important;
}

body#my-account .links .link-item i,
body#my-account .links .link-item .material-icons,
body#my-account .links #order-slips-link i,
body#my-account .links #order-slips-link .material-icons,
body#my-account .links a[href*="factura"] i,
body#my-account .links a[href*="factura"] .material-icons,
body#my-account .links a[href*="order-slip"] i,
body#my-account .links a[href*="order-slip"] .material-icons,
body#my-account #order-slips-link i,
body#my-account #order-slips-link .material-icons,
body#my-account a[id*="order-slip"] i,
body#my-account a[id*="order-slip"] .material-icons {
  font-size: 42px !important;
  color: var(--ms-gold) !important;
  fill: var(--ms-gold) !important;
  margin-bottom: 14px !important;
  filter: none !important;
  transition: transform 0.25s ease, color 0.25s ease !important;
}

body#my-account .links a:hover .link-item {
  background: var(--ms-bg-card-hover) !important;
  border-color: var(--ms-border-focus) !important;
  transform: translateY(-4px) !important;
  box-shadow: 0 12px 28px -4px rgba(0, 0, 0, 0.4), 0 0 16px rgba(234, 179, 8, 0.15) !important;
}

body#my-account .links a:hover .link-item i,
body#my-account .links a:hover .link-item .material-icons,
body#my-account .links #order-slips-link:hover i,
body#my-account .links a[href*="factura"]:hover i,
body#my-account a[id*="order-slip"]:hover i {
  transform: scale(1.1) !important;
  color: var(--ms-gold-light) !important;
  fill: var(--ms-gold-light) !important;
}

/* Botón de cerrar sesión */
body.page-customer-account a[href*="mylogout"],
body#my-account a[href*="mylogout"] {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: rgba(239, 68, 68, 0.08) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  color: #f87171 !important;
  padding: 10px 24px !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  margin-top: 24px !important;
}

body.page-customer-account a[href*="mylogout"]:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
}

/* ============================================================
   8. HISTORIAL DE PEDIDOS (/tienda/historial-compra)
   ============================================================ */
body#history p,
body#order-detail p {
  color: #cbd5e1 !important;
  font-size: 14.5px !important;
}

body#history .table,
body#order-detail .table {
  background: transparent !important;
  color: var(--ms-text) !important;
  border: 1px solid var(--ms-border) !important;
  border-radius: var(--ms-radius-md) !important;
  overflow: hidden !important;
}

body#history thead th,
body#order-detail thead th {
  background: #05102a !important;
  color: var(--ms-gold) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  border-bottom: 2px solid rgba(234, 179, 8, 0.35) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 14px 16px !important;
}

body#history tbody tr,
body#order-detail tbody tr {
  background: var(--ms-bg-card) !important;
  border-color: rgba(255, 255, 255, 0.06) !important;
  transition: background 0.15s ease !important;
}

body#history tbody tr:nth-of-type(even),
body#order-detail tbody tr:nth-of-type(even) {
  background: #0b1a3a !important;
}

body#history tbody tr:hover,
body#order-detail tbody tr:hover {
  background: #0e224d !important;
}

body#history tbody td,
body#history tbody th,
body#order-detail tbody td,
body#order-detail tbody th {
  border-color: rgba(255, 255, 255, 0.06) !important;
  padding: 14px 16px !important;
  vertical-align: middle !important;
  font-size: 14px !important;
  color: #e8edf7 !important;
}

body#history th[scope="row"] {
  color: var(--ms-gold) !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
  font-weight: 700 !important;
}

/* ============================================================
   ICONOS DE FACTURA PDF EN BLANCO Y ENLACES "PEDIR DE NUEVO"
   ============================================================ */
/* 1. Iconos PDF en blanco puro de alta visibilidad */
body#history td a[href*="pdf" i],
body#history td a[href*="invoice" i],
body#history td a[href*="factura" i],
body#history .table td a[href*="pdf" i],
body#history .table td a[href*="invoice" i],
body#history .table td a[href*="factura" i],
body#order-detail a[href*="pdf" i],
body#order-detail a[href*="invoice" i],
body#order-detail a[href*="factura" i] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

body#history td a[href*="pdf" i] img,
body#history td a[href*="invoice" i] img,
body#history td a[href*="factura" i] img,
body#history .table td img,
body#history .table td a img,
body#history a[href*="pdf" i] img,
body#history a[href*="invoice" i] img,
body#order-detail a[href*="pdf" i] img,
body#order-detail a[href*="invoice" i] img,
body#order-detail img[src*="pdf" i] {
  filter: brightness(0) invert(1) !important;
  opacity: 0.95 !important;
  transition: all 0.2s ease !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

body#history td a[href*="pdf" i]:hover img,
body#history td a[href*="invoice" i]:hover img,
body#history a[href*="pdf" i]:hover img,
body#order-detail a[href*="pdf" i]:hover img {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(234, 179, 8, 0.8)) !important;
  opacity: 1 !important;
  transform: scale(1.1) !important;
}

body#history td a[href*="pdf" i] i,
body#history td a[href*="invoice" i] i,
body#history td a[href*="pdf" i] svg,
body#history td a[href*="invoice" i] svg,
body#history td a[href*="pdf" i] .material-icons,
body#history td a[href*="invoice" i] .material-icons,
body#order-detail a[href*="pdf" i] i,
body#order-detail a[href*="invoice" i] i,
body#order-detail a[href*="pdf" i] svg,
body#order-detail a[href*="invoice" i] svg,
body#order-detail a[href*="pdf" i] .material-icons,
body#order-detail a[href*="invoice" i] .material-icons {
  color: #ffffff !important;
  fill: #ffffff !important;
  font-size: 22px !important;
  transition: all 0.2s ease !important;
}

body#history td a[href*="pdf" i]:hover i,
body#history td a[href*="pdf" i]:hover svg,
body#history td a[href*="pdf" i]:hover .material-icons,
body#order-detail a[href*="pdf" i]:hover i {
  color: #eab308 !important;
  fill: #eab308 !important;
  transform: scale(1.1) !important;
}

/* 2. Botón "Datos" y Enlace "Pedir de nuevo" en la tabla de pedidos */
body#history .table td.order-actions,
body#history td.order-actions,
body#history .order-actions {
  white-space: nowrap !important;
  vertical-align: middle !important;
}

/* 2a. Botón "Datos" (Píldora estilizada en tabla de escritorio) */
body#history .table td.order-actions a[data-link-action="view-order-details"],
body#history td.order-actions a[data-link-action="view-order-details"],
body#history .table td.order-actions a[href*="order-detail"],
body#history td.order-actions a[href*="order-detail"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 68px !important;
  max-width: none !important;
  height: auto !important;
  min-height: 32px !important;
  max-height: none !important;
  padding: 6px 16px !important;
  margin-right: 12px !important;
  background: rgba(234, 179, 8, 0.12) !important;
  background-color: rgba(234, 179, 8, 0.12) !important;
  border: 1.5px solid rgba(234, 179, 8, 0.45) !important;
  border-radius: 9999px !important;
  color: #ffffff !important; /* TEXTO BLANCO NÍTIDO DE ALTO CONTRASTE EN REPOSO */
  font-family: var(--ms-font-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
}

body#history .table td.order-actions a[data-link-action="view-order-details"] *,
body#history td.order-actions a[data-link-action="view-order-details"] *,
body#history .table td.order-actions a[href*="order-detail"] *,
body#history td.order-actions a[href*="order-detail"] * {
  color: #ffffff !important;
}

/* Estado Hover / Focus / Activo del botón "Datos": fondo amarillo y TEXTO OSCURO */
body#history .table td.order-actions a[data-link-action="view-order-details"]:hover,
body#history .table td.order-actions a[data-link-action="view-order-details"]:focus,
body#history .table td.order-actions a[data-link-action="view-order-details"]:active,
body#history td.order-actions a[data-link-action="view-order-details"]:hover,
body#history td.order-actions a[data-link-action="view-order-details"]:focus,
body#history td.order-actions a[data-link-action="view-order-details"]:active,
body#history .table td.order-actions a[href*="order-detail"]:hover,
body#history .table td.order-actions a[href*="order-detail"]:focus,
body#history td.order-actions a[href*="order-detail"]:hover,
body#history td.order-actions a[href*="order-detail"]:focus {
  background: #facc15 !important;
  background-color: #facc15 !important;
  border-color: #facc15 !important;
  color: #020b24 !important; /* TEXTO OSCURO DE MÁXIMO CONTRASTE SOBRE AMARILLO */
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.45) !important;
  transform: translateY(-1px) !important;
}

body#history .table td.order-actions a[data-link-action="view-order-details"]:hover *,
body#history .table td.order-actions a[data-link-action="view-order-details"]:focus *,
body#history .table td.order-actions a[data-link-action="view-order-details"]:active *,
body#history td.order-actions a[data-link-action="view-order-details"]:hover *,
body#history td.order-actions a[data-link-action="view-order-details"]:focus *,
body#history td.order-actions a[data-link-action="view-order-details"]:active *,
body#history .table td.order-actions a[href*="order-detail"]:hover *,
body#history td.order-actions a[href*="order-detail"]:hover * {
  color: #020b24 !important;
}

/* 2b. Texto "Pedir de nuevo" y enlaces de acciones (enlace simple a la derecha) */
body#history a[href*="reorder" i],
body#history a[href*="submitReorder" i],
body#history a[data-link-action="reorder" i],
body#history a[title*="Pedir" i],
body#history a[title*="Reorder" i],
body#order-detail a[href*="reorder" i],
body#order-detail a[href*="submitReorder" i],
body#order-detail a[data-link-action="reorder" i] {
  color: #ffffff !important;
  font-family: var(--ms-font-sans) !important;
  font-weight: 600 !important;
  font-size: 13.5px !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

body#history a[href*="reorder" i] *,
body#history a[href*="submitReorder" i] *,
body#order-detail a[href*="reorder" i] * {
  color: inherit !important;
}

body#history a[href*="reorder" i]:hover,
body#history a[href*="submitReorder" i]:hover,
body#history a[data-link-action="reorder" i]:hover,
body#history a[title*="Pedir" i]:hover,
body#history a[title*="Reorder" i]:hover,
body#order-detail a[href*="reorder" i]:hover,
body#order-detail a[href*="submitReorder" i]:hover,
body#order-detail a[data-link-action="reorder" i]:hover {
  color: #eab308 !important;
  text-decoration: underline !important;
}


/* Insignias de estado (Badges: Entregado, Enviado, etc.) */
body#history .label,
body#history .label-pill,
body#order-detail .label,
body#order-detail .label-pill,
body.page-customer-account .label,
body.page-customer-account .badge {
  display: inline-block !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  border: 1px solid rgba(234, 179, 8, 0.4) !important;
  background: rgba(234, 179, 8, 0.16) !important;
  color: #facc15 !important;
}

/* Versión móvil del historial (tarjetas de pedidos) */
body#history .orders.hidden-md-up .order,
body#history .orders.hidden-md-up .order * {
  color: #e8edf7 !important;
}

body#history .orders.hidden-md-up .order {
  background: var(--ms-bg-card) !important;
  border: 1px solid var(--ms-border) !important;
  border-radius: var(--ms-radius-md) !important;
  padding: 18px !important;
  margin-bottom: 16px !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35) !important;
}

/* Botones de acción móvil alineados (Detalles 🔍 y Reordenar 🔄) */
body#history .orders.hidden-md-up .order .text-right,
body#history .orders.hidden-md-up .order .text-xs-right {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: flex-start !important;
  gap: 10px !important;
}

body#history .orders.hidden-md-up .order .task a,
body#history .orders.hidden-md-up .order .text-xs-right a,
body#history .orders.hidden-md-up .order a[data-link-action="view-order-details"],
body#history .orders.hidden-md-up .order a[href*="reorder" i],
body#history .orders.hidden-md-up .order a[href*="submitReorder" i],
body#history .orders.hidden-md-up .order a[title*="Reorder" i],
body#history .orders.hidden-md-up .order a[title*="Pedir" i],
body#history .orders.hidden-md-up .order a.order-actions {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  background: rgba(234, 179, 8, 0.12) !important;
  color: #facc15 !important;
  border: 1.5px solid rgba(234, 179, 8, 0.45) !important;
  border-radius: 9px !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

body#history .orders.hidden-md-up .order .task a i,
body#history .orders.hidden-md-up .order .task a .material-icons,
body#history .orders.hidden-md-up .order a i,
body#history .orders.hidden-md-up .order a .material-icons {
  font-size: 22px !important;
  line-height: 1 !important;
  color: #facc15 !important;
}

body#history .orders.hidden-md-up .order .task a:hover,
body#history .orders.hidden-md-up .order a:hover {
  background: #facc15 !important;
  color: #020b24 !important;
  border-color: #facc15 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(250, 204, 21, 0.4) !important;
}

body#history .orders.hidden-md-up .order .task a:hover i,
body#history .orders.hidden-md-up .order .task a:hover .material-icons,
body#history .orders.hidden-md-up .order a:hover i,
body#history .orders.hidden-md-up .order a:hover .material-icons {
  color: #020b24 !important;
}

/* ============================================================
   8.1 DETALLES DEL PEDIDO (/tienda/detalle-pedido) - NO WHITE BOXES
   ============================================================ */
body#order-detail,
body#order-detail #wrapper,
body#order-detail #content-wrapper,
body#order-detail #main,
body#order-detail .page-content {
  background-color: var(--ms-bg-deep) !important;
}

body#order-detail .box,
body#order-detail .card,
body#order-detail .card-block,
body#order-detail #order-infos,
body#order-detail #order-infos .box,
body#order-detail #order-history,
body#order-detail #order-history.box,
body#order-detail #delivery-address,
body#order-detail #delivery-address.box,
body#order-detail #invoice-address,
body#order-detail #invoice-address.box,
body#order-detail #order-products,
body#order-detail #order-messages,
body#order-detail .order-item,
body#order-detail .line,
body#order-detail article.box,
body#order-detail div.box,
body.page-order-detail .box,
body.page-order-detail article.box,
body.page-customer-account .box,
body.page-customer-account article.box {
  background: var(--ms-bg-card) !important; /* #071330 */
  background-color: var(--ms-bg-card) !important;
  border: 1px solid var(--ms-border) !important;
  border-radius: var(--ms-radius-md) !important;
  color: #e8edf7 !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
  padding: 22px !important;
  margin-bottom: 22px !important;
}

body#order-detail .box *,
body#order-detail .card *,
body#order-detail article.box *,
body.page-order-detail .box *,
body.page-customer-account .box * {
  background-color: transparent !important;
}

body#order-detail h1,
body#order-detail h2,
body#order-detail h3,
body#order-detail h4,
body#order-detail h5,
body#order-detail strong,
body#order-detail b {
  color: #ffffff !important;
}

body#order-detail p,
body#order-detail span,
body#order-detail li,
body#order-detail td,
body#order-detail .date,
body#order-detail .total {
  color: #cbd5e1 !important;
}

body#order-detail a {
  color: var(--ms-gold) !important;
}

body#order-detail a:hover {
  color: var(--ms-gold-light) !important;
  text-decoration: underline !important;
}

/* Líneas de seguimiento del estado del pedido */
body#order-detail #order-history .history-lines .line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 12px 0 !important;
}

/* Botón "Pedir de nuevo" en detalle de pedido */
body#order-detail a.order-actions,
body#order-detail a[href*="reorder"],
body#order-detail a[data-link-action="reorder"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: var(--ms-gold) !important;
  color: #020b24 !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 8px 18px !important;
  border-radius: var(--ms-radius-sm) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
}

body#order-detail a.order-actions:hover,
body#order-detail a[href*="reorder"]:hover,
body#order-detail a[data-link-action="reorder"]:hover {
  background: #facc15 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.35) !important;
}

/* ============================================================
   9. DIRECCIONES Y DATOS PERSONALES
   ============================================================ */
body#addresses .address {
  background: var(--ms-bg-card) !important;
  border: 1px solid var(--ms-border) !important;
  border-radius: var(--ms-radius-md) !important;
  padding: 22px !important;
  margin-bottom: 20px !important;
  color: #e8edf7 !important;
}

body#addresses .address-body h4 {
  color: var(--ms-gold) !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
}

body#addresses .address-body address {
  color: #e8edf7 !important;
}

body#addresses .address-footer a {
  color: var(--ms-gold) !important;
  font-weight: 600 !important;
  margin-right: 16px !important;
}

/* ============================================================
   10. NOTIFICACIONES Y ALERTAS (High-Contrast & No-White-Box Fix)
   ============================================================ */
.alert,
.alert *,
.ps-alert-success,
.ps-alert-success *,
.ps-alert-error,
.ps-alert-error *,
.ps-alert-danger,
.ps-alert-danger *,
.ps-alert-warning,
.ps-alert-warning *,
.ps-alert-info,
.ps-alert-info *,
[class*="alert-"],
[class*="alert-"] *,
[class*="ps-alert-"],
[class*="ps-alert-"] * {
  box-sizing: border-box !important;
}

/* SUCCESS ALERTS (Verde bosque oscuro con texto blanco nítido) */
.alert-success,
.ps-alert-success,
ul.ps-alert-success,
ul.ps-alert-success .item,
ul.ps-alert-success li,
.alert-success ul,
.alert-success li,
.ps-alert-success .item,
.ps-alert-success li {
  background: #0d2818 !important;
  background-color: #0d2818 !important;
  border: 1px solid #22c55e !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(34, 197, 94, 0.15) !important;
  padding: 14px 18px !important;
  margin-bottom: 24px !important;
}

/* Neutralizar cualquier fondo blanco del tema y forzar contraste absoluto */
.alert-success *,
.ps-alert-success *,
ul.ps-alert-success *,
.ps-alert-success .item *,
.alert-success p,
.ps-alert-success p,
ul.ps-alert-success p,
.alert-success span,
.ps-alert-success span,
ul.ps-alert-success span {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.alert-success i,
.ps-alert-success i,
.alert-success svg,
.ps-alert-success svg,
.ps-alert-success svg path {
  color: #22c55e !important;
  fill: #22c55e !important;
  stroke: #22c55e !important;
}

/* DANGER / ERROR ALERTS (Rojo oscuro con texto blanco nítido) */
.alert-danger,
.ps-alert-error,
.ps-alert-danger,
ul.ps-alert-error,
ul.ps-alert-danger,
ul.ps-alert-error .item,
ul.ps-alert-danger .item,
ul.ps-alert-error li,
ul.ps-alert-danger li,
.alert-danger ul,
.alert-danger li,
.ps-alert-error .item,
.ps-alert-danger .item {
  background: #321115 !important;
  background-color: #321115 !important;
  border: 1px solid #ef4444 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(239, 68, 68, 0.15) !important;
  padding: 14px 18px !important;
  margin-bottom: 24px !important;
}

.alert-danger *,
.ps-alert-error *,
.ps-alert-danger *,
ul.ps-alert-error *,
ul.ps-alert-danger *,
.alert-danger p,
.ps-alert-error p,
.ps-alert-danger p,
.alert-danger span,
.ps-alert-error span,
.ps-alert-danger span {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.alert-danger i,
.ps-alert-error i,
.ps-alert-danger i,
.alert-danger svg,
.ps-alert-error svg,
.ps-alert-danger svg {
  color: #ef4444 !important;
  fill: #ef4444 !important;
  stroke: #ef4444 !important;
}

/* WARNING / INFO ALERTS (Ámbar oscuro con texto blanco nítido) */
.alert-warning,
.alert-info,
.ps-alert-warning,
.ps-alert-info,
ul.ps-alert-warning,
ul.ps-alert-info,
ul.ps-alert-warning .item,
ul.ps-alert-info .item,
.alert-warning ul,
.alert-warning li {
  background: #2b1f07 !important;
  background-color: #2b1f07 !important;
  border: 1px solid #eab308 !important;
  color: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 0 12px rgba(234, 179, 8, 0.15) !important;
  padding: 14px 18px !important;
  margin-bottom: 24px !important;
}

.alert-warning *,
.alert-info *,
.ps-alert-warning *,
.ps-alert-info *,
ul.ps-alert-warning *,
ul.ps-alert-info *,
.alert-warning p,
.alert-info p,
.ps-alert-warning p,
.ps-alert-info p {
  background: transparent !important;
  background-color: transparent !important;
  color: #ffffff !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.alert-warning i,
.alert-info i,
.ps-alert-warning i,
.ps-alert-info i,
.alert-warning svg,
.alert-info svg {
  color: #eab308 !important;
  fill: #eab308 !important;
}

/* ============================================================
   11. ENLACES DEL PIE DE PÁGINA (.page-footer, .account-link, Volver a inicio)
   ============================================================ */
.page-footer,
footer.page-footer,
.password-footer,
#content-wrapper .page-footer,
#main .page-footer {
  margin-top: 36px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--ms-border) !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

@media (min-width: 640px) {
  .page-footer,
  footer.page-footer,
  .password-footer,
  #content-wrapper .page-footer,
  #main .page-footer {
    flex-direction: row !important;
    justify-content: center !important;
    gap: 16px !important;
  }
}

.page-footer ul,
.page-footer li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-block !important;
}

.page-footer a,
.page-footer a *,
.page-footer span,
.password-footer a,
.password-footer a *,
.account-link,
.account-link *,
a[data-link-action="back-to-login"],
a[data-link-action="back-to-home"] {
  color: #facc15 !important;
}

.page-footer a,
.password-footer a,
.account-link,
a[data-link-action="back-to-login"],
a[data-link-action="back-to-home"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  color: #facc15 !important;
  background: rgba(234, 179, 8, 0.12) !important;
  border: 1px solid rgba(234, 179, 8, 0.45) !important;
  border-radius: 9999px !important;
  padding: 0 22px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  margin: 0 !important;
  width: auto !important;
  text-align: center !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.page-footer a i,
footer.page-footer a i,
.password-footer a i,
.account-link i,
.page-footer a span,
footer.page-footer a span,
.password-footer a span,
.account-link span {
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  font-size: 16px !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

@media (min-width: 640px) {
  .page-footer a,
  .password-footer a,
  .account-link,
  a[data-link-action="back-to-login"],
  a[data-link-action="back-to-home"] {
    width: auto !important;
    max-width: none !important;
  }
}

.page-footer a:hover,
.page-footer a:focus,
.page-footer a:active,
.password-footer a:hover,
.password-footer a:focus,
.password-footer a:active,
.account-link:hover,
.account-link:focus,
.account-link:active,
a[data-link-action="back-to-login"]:hover,
a[data-link-action="back-to-home"]:hover,
body.page-customer-account .page-footer a:hover,
body.page-customer-account .page-footer a:focus,
body.page-customer-account .page-footer a:active,
body.page-customer-account .account-link:hover,
body.page-customer-account .account-link:focus,
body.page-customer-account .account-link:active,
body.msn-customer-dark .page-footer a:hover,
body.msn-customer-dark .page-footer a:focus,
body.msn-customer-dark .account-link:hover,
body.msn-customer-dark .account-link:focus,
body#module-psgdpr-gdpr .page-footer a:hover,
body#module-psgdpr-gdpr .page-footer a:focus,
body#module-psgdpr-gdpr .page-footer a:active,
body#module-psgdpr-gdpr .account-link:hover,
body#module-psgdpr-gdpr .account-link:focus,
body#module-psgdpr-gdpr .account-link:active,
body#module-psgdpr-gdpr a.account-link:hover,
body#module-psgdpr-gdpr a.account-link:focus,
body#module-psgdpr-gdpr a.account-link:active {
  background: #facc15 !important;
  background-color: #facc15 !important;
  color: #020b24 !important;
  -webkit-text-fill-color: #020b24 !important;
  border-color: #facc15 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.45) !important;
}

.page-footer a:hover *,
.page-footer a:focus *,
.page-footer a:active *,
.password-footer a:hover *,
.account-link:hover *,
.account-link:focus *,
.account-link:active *,
a[data-link-action="back-to-login"]:hover *,
a[data-link-action="back-to-home"]:hover *,
body.page-customer-account .page-footer a:hover *,
body.page-customer-account .page-footer a:focus *,
body.page-customer-account .account-link:hover *,
body.page-customer-account .account-link:focus *,
body.msn-customer-dark .page-footer a:hover *,
body.msn-customer-dark .account-link:hover *,
body#module-psgdpr-gdpr .page-footer a:hover *,
body#module-psgdpr-gdpr .page-footer a:focus *,
body#module-psgdpr-gdpr .page-footer a:active *,
body#module-psgdpr-gdpr .account-link:hover *,
body#module-psgdpr-gdpr .account-link:focus *,
body#module-psgdpr-gdpr .account-link:active *,
body#module-psgdpr-gdpr a.account-link:hover *,
body#module-psgdpr-gdpr a.account-link:focus *,
body#module-psgdpr-gdpr a.account-link:active * {
  color: #020b24 !important;
  -webkit-text-fill-color: #020b24 !important;
}

/* ============================================================
   12. SUPRESIÓN DEL PIE DE PÁGINA VIEJO PRESTASHOP (#footer)
   Oculta el footer antiguo mientras JS inyecta el footer oficial Astro
   ============================================================ */
body.page-customer-account footer#footer,
body.page-customer-account #footer,
body.msn-customer-dark footer#footer,
body.msn-customer-dark #footer,
body#password footer#footer,
body#password #footer,
body#authentication footer#footer,
body#authentication #footer {
  display: none !important;
}

/* ============================================================
   13. FOOTER OFICIAL ESTILO ASTRO (.msn-astro-footer)
   ============================================================ */
.msn-astro-footer {
  position: relative !important;
  background-color: #080d17 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding: 64px 20px 40px !important;
  margin-top: 80px !important;
  overflow: hidden !important;
  font-family: var(--ms-font-sans) !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
}

.msn-astro-footer * {
  box-sizing: border-box !important;
  font-family: inherit !important;
}

/* Ambient glow & highlight line */
.msn-astro-footer .msn-footer-glow {
  position: absolute !important;
  top: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 600px !important;
  max-width: 90vw !important;
  height: 260px !important;
  background: rgba(234, 179, 8, 0.04) !important;
  filter: blur(100px) !important;
  border-radius: 9999px !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

.msn-astro-footer .msn-footer-top-line {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(234, 179, 8, 0.25), transparent) !important;
  z-index: 2 !important;
}

/* Container */
.msn-astro-footer .msn-footer-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 16px !important;
  position: relative !important;
  z-index: 10 !important;
}

/* 12-col grid */
.msn-astro-footer .msn-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr) !important;
  gap: 32px !important;
  margin-bottom: 56px !important;
}

.msn-astro-footer .msn-footer-brand {
  grid-column: span 3 !important;
}

.msn-astro-footer .msn-footer-col {
  grid-column: span 2 !important;
}

.msn-astro-footer .msn-footer-contact {
  grid-column: span 3 !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Brand styling */
.msn-astro-footer .msn-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  margin-bottom: 20px !important;
}

.msn-astro-footer .msn-brand-logo {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  filter: drop-shadow(0 0 10px rgba(234, 179, 8, 0.35)) !important;
  transition: filter 0.3s ease !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.msn-astro-footer .msn-brand-link:hover .msn-brand-logo {
  filter: drop-shadow(0 0 16px rgba(234, 179, 8, 0.6)) !important;
}

.msn-astro-footer .msn-brand-name {
  font-family: var(--ms-font-heading) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  line-height: 1.15 !important;
  display: inline-block !important;
}

.msn-astro-footer .msn-brand-yellow {
  color: #eab308 !important;
}

.msn-astro-footer .msn-brand-sub {
  font-family: var(--ms-font-heading) !important;
  color: #94a3b8 !important;
  font-weight: 600 !important;
  font-size: 11px !important;
  letter-spacing: 2.2px !important;
  display: block !important;
}

.msn-astro-footer .msn-brand-desc {
  font-family: var(--ms-font-sans) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  margin: 0 !important;
}

/* Section titles */
.msn-astro-footer .msn-footer-title {
  font-family: var(--ms-font-heading) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin: 0 0 20px 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.msn-astro-footer .msn-bullet {
  width: 6px !important;
  height: 6px !important;
  background-color: #eab308 !important;
  border-radius: 50% !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* Link lists */
.msn-astro-footer .msn-footer-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.msn-astro-footer .msn-footer-list li {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.msn-astro-footer .msn-footer-list a:not(.msn-icon-link) {
  font-family: var(--ms-font-sans) !important;
  color: #94a3b8 !important;
  font-size: 14px !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}


.msn-astro-footer .msn-footer-list a:hover {
  color: #eab308 !important;
}

/* Enlaces con icono (Información Legal y Contacto) — Disposición estrictamente horizontal flex */
.msn-astro-footer .msn-footer-icon-list {
  gap: 14px !important;
}

.msn-astro-footer .msn-footer-list a.msn-icon-link,
.msn-astro-footer a.msn-icon-link,
#msn-astro-footer a.msn-icon-link,
.msn-astro-footer .msn-contact-list a.msn-icon-link {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  text-decoration: none !important;
  color: inherit !important;
}

.msn-astro-footer .msn-icon-box {
  width: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  height: 32px !important;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  transition: all 0.2s ease !important;
}

.msn-astro-footer .msn-svg {
  width: 14px !important;
  height: 14px !important;
  stroke: #eab308 !important;
  stroke-width: 2 !important;
  fill: none !important;
  display: block !important;
}

.msn-astro-footer .msn-icon-label {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin: 0 !important;
  line-height: 1.2 !important;
  transition: color 0.2s ease !important;
}

.msn-astro-footer .msn-icon-link:hover .msn-icon-box {
  background: rgba(86, 118, 133, 0.15) !important;
  border-color: #567685 !important;
}

.msn-astro-footer .msn-icon-link:hover .msn-icon-label {
  color: #eab308 !important;
}

/* Contact specific */
.msn-astro-footer .msn-contact-sub {
  font-size: 10px !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  margin: 0 0 2px 0 !important;
  line-height: 1 !important;
}

.msn-astro-footer .msn-email-label {
  word-break: break-all !important;
  font-size: 12.5px !important;
}

.msn-astro-footer .msn-contact-list {
  margin-bottom: 20px !important;
}

/* WhatsApp button */
.msn-astro-footer .msn-whatsapp-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: #25D366 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  padding: 10px 18px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-top: 16px !important;
  width: 100% !important;
}

.msn-astro-footer .msn-whatsapp-btn:hover {
  background: #1da851 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.45) !important;
  color: #ffffff !important;
}

.msn-astro-footer .msn-wa-svg {
  width: 16px !important;
  height: 16px !important;
  fill: currentColor !important;
  flex-shrink: 0 !important;
}

/* Bottom Bar */
.msn-astro-footer .msn-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
  padding-top: 24px !important;
  margin-top: 36px !important;
  text-align: center !important;
}

.msn-astro-footer .msn-copyright {
  color: #64748b !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.5px !important;
  margin: 0 !important;
  text-align: center !important;
}

/* Botón flotante Volver Arriba (Scroll to Top) idéntico a Astro */
#scroll-to-top.msn-scroll-to-top,
.msn-scroll-to-top {
  position: fixed !important;
  z-index: 999 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  background: #eab308 !important; /* brand-yellow */
  color: #0f172a !important; /* slate-900 */
  border: none !important;
  outline: none !important;
  cursor: pointer !important;
  box-shadow: 0 10px 20px -3px rgba(234, 179, 8, 0.35) !important;
  bottom: 16px !important;
  right: 16px !important;
  opacity: 0 !important;
  transform: translateY(16px) !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease, scale 0.3s ease !important;
  -webkit-tap-highlight-color: transparent !important;
}

@media (min-width: 640px) {
  #scroll-to-top.msn-scroll-to-top,
  .msn-scroll-to-top {
    bottom: 24px !important;
    right: 24px !important;
  }
}

#scroll-to-top.msn-scroll-to-top.msn-scroll-visible,
.msn-scroll-to-top.msn-scroll-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

#scroll-to-top.msn-scroll-to-top:hover,
.msn-scroll-to-top:hover {
  transform: translateY(0) scale(1.08) !important;
  box-shadow: 0 12px 25px -2px rgba(234, 179, 8, 0.45) !important;
}

#scroll-to-top.msn-scroll-to-top .msn-scroll-icon,
.msn-scroll-to-top .msn-scroll-icon {
  width: 20px !important;
  height: 20px !important;
  stroke: #0f172a !important;
  stroke-width: 2.5 !important;
  fill: none !important;
  display: block !important;
}

/* ============================================================
   14. ADAPTACIÓN MÓVIL (< 768px) Y TABLET
   ============================================================ */
@media (max-width: 1024px) and (min-width: 768px) {
  .msn-astro-footer .msn-footer-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 28px !important;
  }
  .msn-astro-footer .msn-footer-brand {
    grid-column: span 6 !important;
  }
  .msn-astro-footer .msn-footer-col {
    grid-column: span 2 !important;
  }
  .msn-astro-footer .msn-footer-contact {
    grid-column: span 6 !important;
    margin-top: 10px !important;
  }
}

@media (max-width: 767px) {
  body.page-customer-account #content.page-content,
  body.msn-customer-dark #content.page-content,
  body#password #content.page-content,
  body#authentication #content.page-content,
  body.page-customer-account .card.card-block,
  body.msn-customer-dark .card.card-block,
  body#password .card.card-block,
  body#authentication .card.card-block {
    padding: 20px 16px !important;
    border-radius: 12px !important;
  }

  body.page-customer-account .page-header h1,
  body.msn-customer-dark .page-header h1,
  body#password .page-header h1,
  body#authentication .page-header h1 {
    font-size: 22px !important;
  }

  body#my-account .links {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  body#my-account .links .link-item {
    padding: 22px 16px !important;
    min-height: 120px !important;
  }

  .msn-astro-footer {
    padding: 48px 16px 32px !important;
    margin-top: 50px !important;
  }
  .msn-astro-footer .msn-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    margin-bottom: 40px !important;
  }
  .msn-astro-footer .msn-footer-brand,
  .msn-astro-footer .msn-footer-col,
  .msn-astro-footer .msn-footer-contact {
    grid-column: span 1 !important;
  }
  .msn-astro-footer .msn-whatsapp-btn {
    width: 100% !important;
  }
}

/* ============================================================
   15. MÓDULO OFICIAL RGPD / DATOS PERSONALES (/tienda/module/psgdpr/gdpr)
   ============================================================ */
body#module-psgdpr-gdpr,
body#module-psgdpr-gdpr #wrapper,
body#module-psgdpr-gdpr #content-wrapper,
body#module-psgdpr-gdpr #main,
body#module-psgdpr-gdpr .page-content,
body#module-psgdpr-gdpr section.page_content,
body#module-psgdpr-gdpr .container,
.page-gdpr {
  background: var(--ms-bg-deep) !important; /* #020b24 */
  background-color: var(--ms-bg-deep) !important;
  color: #e8edf7 !important;
  font-family: var(--ms-font-sans) !important;
  -webkit-font-smoothing: antialiased !important;
}

body#module-psgdpr-gdpr h1,
body#module-psgdpr-gdpr h2,
body#module-psgdpr-gdpr h3,
body#module-psgdpr-gdpr h4,
body#module-psgdpr-gdpr .psgdprinfo17 h2,
body#module-psgdpr-gdpr .psgdprinfo17 h3,
body#module-psgdpr-gdpr [class*="psgdprinfo"] h2,
body#module-psgdpr-gdpr [class*="psgdprinfo"] h3 {
  font-family: var(--ms-font-heading) !important;
  color: var(--ms-gold) !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em !important;
}

body#module-psgdpr-gdpr p,
body#module-psgdpr-gdpr span,
body#module-psgdpr-gdpr li,
body#module-psgdpr-gdpr .psgdprinfo17 p,
body#module-psgdpr-gdpr [class*="psgdprinfo"] p {
  font-family: var(--ms-font-sans) !important;
  color: #cbd5e1 !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  -webkit-font-smoothing: antialiased !important;
}

/* Tarjetas de acceso a datos y rectificación */
body#module-psgdpr-gdpr .psgdprinfo17,
body#module-psgdpr-gdpr [class*="psgdprinfo"],
body#module-psgdpr-gdpr section.page_content > div,
body#module-psgdpr-gdpr section.page-content > div,
body#module-psgdpr-gdpr .page_content .col-xs-12,
body#module-psgdpr-gdpr .card,
body#module-psgdpr-gdpr .card-block,
body#module-psgdpr-gdpr .box,
.page-gdpr .psgdprinfo17,
.page-gdpr [class*="psgdprinfo"],
.page-gdpr section.page_content > div,
.page-gdpr .card,
.page-gdpr .card-block {
  background: var(--ms-bg-card) !important; /* #081530 */
  background-color: var(--ms-bg-card) !important;
  border: 1px solid var(--ms-border) !important;
  border-radius: var(--ms-radius-md) !important;
  padding: 26px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
  font-family: var(--ms-font-sans) !important;
}

body#module-psgdpr-gdpr .psgdprinfo17 *,
body#module-psgdpr-gdpr [class*="psgdprinfo"] *,
body#module-psgdpr-gdpr section.page_content > div *:not(.btn):not(button):not(a.btn),
body#module-psgdpr-gdpr .card *,
body#module-psgdpr-gdpr .card-block *,
.page-gdpr .psgdprinfo17 *,
.page-gdpr .card * {
  background-color: transparent !important;
}

/* Títulos dentro de las tarjetas RGPD */
body#module-psgdpr-gdpr .card h2,
body#module-psgdpr-gdpr .card h3,
body#module-psgdpr-gdpr .card-block h2,
body#module-psgdpr-gdpr .card-block h3,
body#module-psgdpr-gdpr .psgdprinfo17 h2,
body#module-psgdpr-gdpr .psgdprinfo17 h3,
body#module-psgdpr-gdpr [class*="psgdprinfo"] h2,
body#module-psgdpr-gdpr [class*="psgdprinfo"] h3,
.page-gdpr h2,
.page-gdpr h3 {
  font-family: var(--ms-font-heading) !important;
  color: var(--ms-gold) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.01em !important;
}

/* Botones de acción RGPD (GET MY DATA TO CSV / PDF) */
body#module-psgdpr-gdpr .btn,
body#module-psgdpr-gdpr .btn-primary,
body#module-psgdpr-gdpr a.btn,
body#module-psgdpr-gdpr button.btn,
.page-gdpr .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: var(--ms-gold) !important;
  color: #020b24 !important;
  font-family: var(--ms-font-sans) !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  letter-spacing: 0.5px !important;
  border: 1px solid var(--ms-gold) !important;
  border-radius: var(--ms-radius-sm) !important;
  padding: 12px 22px !important;
  margin: 8px 10px 8px 0 !important;
  text-decoration: none !important;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
  cursor: pointer !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

body#module-psgdpr-gdpr .btn:hover,
body#module-psgdpr-gdpr .btn-primary:hover,
body#module-psgdpr-gdpr a.btn:hover,
body#module-psgdpr-gdpr button.btn:hover,
.page-gdpr .btn:hover {
  background: #facc15 !important;
  border-color: #facc15 !important;
  color: #020b24 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.4) !important;
}

/* Enlaces de contenido en RGPD (sin subrayado por defecto, estilo limpio Astro) */
body#module-psgdpr-gdpr #content a:not(.btn),
body#module-psgdpr-gdpr .page-content a:not(.btn),
body#module-psgdpr-gdpr .psgdprinfo17 a:not(.btn),
body#module-psgdpr-gdpr section.page_content a:not(.btn) {
  font-family: var(--ms-font-sans) !important;
  color: var(--ms-gold) !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

body#module-psgdpr-gdpr #content a:not(.btn):hover,
body#module-psgdpr-gdpr .page-content a:not(.btn):hover,
body#module-psgdpr-gdpr .psgdprinfo17 a:not(.btn):hover,
body#module-psgdpr-gdpr section.page_content a:not(.btn):hover {
  color: var(--ms-gold-light) !important;
  text-decoration: none !important;
}

/* Enlaces del pie de página de la vista (Volver a su cuenta / Volver a la tienda) */
body#module-psgdpr-gdpr .page-footer a,
body#module-psgdpr-gdpr .page-footer a *,
body#module-psgdpr-gdpr .account-link,
body#module-psgdpr-gdpr .account-link *,
body#module-psgdpr-gdpr a.account-link,
body#module-psgdpr-gdpr a.account-link *,
.page-gdpr .page-footer a,
.page-gdpr .page-footer a * {
  font-family: var(--ms-font-sans) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

body#module-psgdpr-gdpr .page-footer a:hover,
body#module-psgdpr-gdpr .page-footer a:focus,
body#module-psgdpr-gdpr .page-footer a:active,
body#module-psgdpr-gdpr .account-link:hover,
body#module-psgdpr-gdpr .account-link:focus,
body#module-psgdpr-gdpr .account-link:active,
body#module-psgdpr-gdpr a.account-link:hover,
body#module-psgdpr-gdpr a.account-link:focus,
body#module-psgdpr-gdpr a.account-link:active,
.page-gdpr .page-footer a:hover,
.page-gdpr .page-footer a:focus,
.page-gdpr .page-footer a:active {
  background: #facc15 !important;
  background-color: #facc15 !important;
  border-color: #facc15 !important;
  color: #020b24 !important;
  -webkit-text-fill-color: #020b24 !important;
  box-shadow: 0 6px 18px rgba(250, 204, 21, 0.45) !important;
}

body#module-psgdpr-gdpr .page-footer a:hover *,
body#module-psgdpr-gdpr .page-footer a:focus *,
body#module-psgdpr-gdpr .page-footer a:active *,
body#module-psgdpr-gdpr .account-link:hover *,
body#module-psgdpr-gdpr .account-link:focus *,
body#module-psgdpr-gdpr .account-link:active *,
body#module-psgdpr-gdpr a.account-link:hover *,
body#module-psgdpr-gdpr a.account-link:focus *,
body#module-psgdpr-gdpr a.account-link:active *,
.page-gdpr .page-footer a:hover *,
.page-gdpr .page-footer a:focus *,
.page-gdpr .page-footer a:active * {
  color: #020b24 !important;
  -webkit-text-fill-color: #020b24 !important;
}

/* Blindaje absoluto: la cabecera y el pie de página oficiales de Astro NUNCA tienen subrayados */
.msn-astro-header a,
.msn-astro-header a:hover,
.msn-astro-header a:focus,
.msn-astro-header a:active,
.msn-astro-header a *,
.msn-astro-footer a,
.msn-astro-footer a:hover,
.msn-astro-footer a:focus,
.msn-astro-footer a:active,
.msn-astro-footer a *,
body#module-psgdpr-gdpr .msn-astro-header a,
body#module-psgdpr-gdpr .msn-astro-header a:hover,
body#module-psgdpr-gdpr .msn-astro-header a:focus,
body#module-psgdpr-gdpr .msn-astro-header a *,
body#module-psgdpr-gdpr .msn-astro-footer a,
body#module-psgdpr-gdpr .msn-astro-footer a:hover,
body#module-psgdpr-gdpr .msn-astro-footer a:focus,
body#module-psgdpr-gdpr .msn-astro-footer a *,
body.page-customer-account .msn-astro-header a,
body.page-customer-account .msn-astro-header a *,
body.page-customer-account .msn-astro-footer a,
body.page-customer-account .msn-astro-footer a *,
body.msn-customer-dark .msn-astro-header a,
body.msn-customer-dark .msn-astro-header a *,
body.msn-customer-dark .msn-astro-footer a,
body.msn-customer-dark .msn-astro-footer a * {
  text-decoration: none !important;
}

/* ============================================================
   15. PIE DE PÁGINA SIEMPRE AL FINAL (STICKY FOOTER UNIVERSAL)
   ============================================================ */
html {
  height: 100% !important;
  min-height: 100vh !important;
}

body,
body.msn-customer-dark,
body.page-customer-account,
body.msn-supercheckout-page,
body#module-supercheckout-supercheckout {
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
}

#page,
main#page,
div#page,
body #page,
body main#page {
  min-height: 100vh !important;
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

#wrapper,
#main,
.columns-container,
#columns,
#content-wrapper,
#content {
  flex: 1 0 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

#msn-astro-footer,
footer#msn-astro-footer,
body #msn-astro-footer,
body #footer,
footer#footer {
  margin-top: auto !important;
  width: 100% !important;
  flex-shrink: 0 !important;
}

/* ============================================================
   16. CONTENEDOR CESTA VACÍA Y BOTÓN «VOLVER A LA TIENDA»
   ============================================================ */
#supercheckout-empty-page-content,
.supercheckout-empty-page-content {
  max-width: 1240px !important;
  margin: 40px auto 30px auto !important;
  padding: 0 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* Salto de línea generoso (36px de margen superior) para no quedar pegado al mensaje */
.ms-empty-cart-return-wrapper {
  max-width: 1240px !important;
  margin: 36px auto 48px auto !important;
  padding: 0 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

.supercheckout-empty-page-content .ms-empty-cart-return-wrapper {
  margin: 36px 0 48px 0 !important;
  padding: 0 !important;
}

.ms-empty-cart-return-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 14px 28px !important;
  background: #eab308 !important;
  color: #020b24 !important;
  font-family: 'Inter', -apple-system, sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  border-radius: 12px !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(234, 179, 8, 0.25) !important;
  transition: all 0.25s ease !important;
  cursor: pointer !important;
}

.ms-empty-cart-return-btn:hover,
.ms-empty-cart-return-btn:focus {
  background: #facc15 !important;
  color: #020b24 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(234, 179, 8, 0.35) !important;
  text-decoration: none !important;
}

.ms-empty-cart-return-btn:active {
  transform: translateY(0) !important;
}

