/*
Theme Name: Nexaflux Astra Child
Theme URI: https://nexaflux.local
Description: Theme enfant Astra pour Nexaflux : landing page SaaS/trading, design sombre neon, compatibilite WooCommerce et personnalisation visuelle basee sur la charte Nexaflux.
Author: Nexaflux
Author URI: https://nexaflux.local
Template: astra
Version: 1.0.5
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.8
Text Domain: nexaflux-astra-child
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: astra-child, woocommerce, dark, custom-logo, e-commerce
*/

:root {
  --nx-navy-950: #020817;
  --nx-navy-925: #041022;
  --nx-navy-900: #07111f;
  --nx-navy-850: #0a1528;
  --nx-card: rgba(11, 23, 40, 0.82);
  --nx-card-strong: rgba(8, 17, 32, 0.96);
  --nx-border: #1e3148;
  --nx-border-soft: rgba(91, 133, 173, 0.22);
  --nx-cyan: #00ddfb;
  --nx-blue: #1688ff;
  --nx-green: #28ff7a;
  --nx-red: #ff4d5d;
  --nx-text: #e6f3ff;
  --nx-muted: #8fa3b8;
  --nx-silver: #f6fbff;
  --nx-shadow: 0 24px 80px rgba(0, 221, 251, 0.12);
  --nx-radius-xl: 28px;
  --nx-radius-lg: 20px;
  --nx-radius-md: 14px;
  --nx-max: 1180px;
}

body.nexaflux-child-theme {
  color: var(--nx-text);
  background:
    radial-gradient(circle at 82% 4%, rgba(0, 221, 251, 0.16), transparent 34rem),
    radial-gradient(circle at 12% 12%, rgba(22, 136, 255, 0.16), transparent 28rem),
    linear-gradient(135deg, var(--nx-navy-950) 0%, var(--nx-navy-900) 52%, #01040b 100%);
}

body.nexaflux-child-theme a {
  color: var(--nx-cyan);
}

body.nexaflux-child-theme .site,
body.nexaflux-child-theme .site-content,
body.nexaflux-child-theme #content {
  background: transparent;
}

body.nexaflux-child-theme .ast-primary-header-bar,
body.nexaflux-child-theme .main-header-bar {
  background: rgba(2, 8, 23, 0.84);
  border-bottom: 1px solid rgba(30, 49, 72, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

body.nexaflux-child-theme .site-title a,
body.nexaflux-child-theme .main-header-menu .menu-link,
body.nexaflux-child-theme .ast-builder-menu-1 .menu-item > .menu-link {
  color: var(--nx-text);
}

body.nexaflux-child-theme .site-title a {
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.nexaflux-child-theme .main-header-menu .menu-link:hover,
body.nexaflux-child-theme .ast-builder-menu-1 .menu-item:hover > .menu-link,
body.nexaflux-child-theme .current-menu-item > .menu-link {
  color: var(--nx-cyan);
}

body.nexaflux-child-theme .ast-mobile-popup-drawer .ast-mobile-popup-inner {
  background: var(--nx-navy-900);
}

body.nexaflux-child-theme .site-footer,
body.nexaflux-child-theme .ast-footer-copyright {
  color: var(--nx-muted);
  background: rgba(2, 8, 23, 0.96);
  border-top: 1px solid rgba(30, 49, 72, 0.72);
}

.nx-site {
  overflow: hidden;
  min-height: 80vh;
  position: relative;
}

.nx-site::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(0, 221, 251, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 221, 251, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.nx-container {
  width: min(calc(100% - 40px), var(--nx-max));
  margin: 0 auto;
}

.nx-section {
  padding: 88px 0;
}

.nx-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 8px 13px;
  color: var(--nx-cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid rgba(0, 221, 251, 0.25);
  border-radius: 999px;
  background: rgba(0, 221, 251, 0.06);
  box-shadow: 0 0 34px rgba(0, 221, 251, 0.07);
}

.nx-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--nx-green);
  box-shadow: 0 0 18px rgba(40, 255, 122, 0.95);
}

.nx-hero {
  position: relative;
  padding: 82px 0 84px;
}

.nx-hero::after {
  content: "";
  position: absolute;
  width: 46rem;
  height: 46rem;
  right: -22rem;
  top: 1rem;
  background: radial-gradient(circle, rgba(40, 255, 122, 0.12), transparent 58%);
  pointer-events: none;
}

.nx-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  gap: 56px;
  align-items: center;
}

.nx-hero-copy {
  position: relative;
  z-index: 2;
}

.nx-hero h1 {
  margin: 0 0 20px;
  max-width: 820px;
  color: var(--nx-silver);
  font-size: clamp(2.4rem, 6vw, 5.8rem);
  line-height: 0.94;
  font-weight: 950;
  letter-spacing: -0.065em;
  text-transform: uppercase;
}

.nx-gradient-text {
  display: inline-block;
  background: linear-gradient(120deg, var(--nx-blue), var(--nx-cyan), var(--nx-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nx-hero-lead {
  max-width: 700px;
  margin: 0 0 34px;
  color: #c8d8e8;
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.7;
}

.nx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0 0 34px;
}

.nx-button,
body.nexaflux-child-theme .woocommerce a.button,
body.nexaflux-child-theme .woocommerce button.button,
body.nexaflux-child-theme .woocommerce input.button,
body.nexaflux-child-theme .woocommerce #respond input#submit,
body.nexaflux-child-theme .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  color: #fff !important;
  font-weight: 850;
  line-height: 1;
  text-decoration: none !important;
  border: 1px solid rgba(0, 221, 251, 0.35) !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, var(--nx-blue), var(--nx-cyan) 52%, #24c66a) !important;
  box-shadow: 0 16px 42px rgba(22, 136, 255, 0.25), 0 0 0 1px rgba(255,255,255,0.06) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.nx-button:hover,
body.nexaflux-child-theme .woocommerce a.button:hover,
body.nexaflux-child-theme .woocommerce button.button:hover,
body.nexaflux-child-theme .woocommerce input.button:hover,
body.nexaflux-child-theme .wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 54px rgba(0, 221, 251, 0.28), 0 0 0 1px rgba(255,255,255,0.08) inset;
}

.nx-button--ghost {
  color: var(--nx-text) !important;
  background: rgba(8, 17, 32, 0.72) !important;
  border-color: rgba(143, 163, 184, 0.28) !important;
  box-shadow: none;
}

.nx-button--ghost:hover {
  border-color: rgba(0, 221, 251, 0.45) !important;
  box-shadow: 0 18px 52px rgba(0, 221, 251, 0.1);
}

.nx-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.nx-proof-item {
  padding: 14px;
  border: 1px solid var(--nx-border-soft);
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.54);
}

.nx-proof-kpi {
  display: block;
  color: var(--nx-silver);
  font-weight: 950;
  font-size: 1.2rem;
}

.nx-proof-label {
  color: var(--nx-muted);
  font-size: 0.88rem;
}

.nx-hero-art {
  position: relative;
  z-index: 1;
}

.nx-art-panel {
  position: relative;
  min-height: 500px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid rgba(0, 221, 251, 0.18);
  border-radius: 38px;
  background:
    radial-gradient(circle at 70% 14%, rgba(0, 221, 251, 0.22), transparent 30%),
    radial-gradient(circle at 22% 84%, rgba(22, 136, 255, 0.24), transparent 34%),
    linear-gradient(145deg, rgba(7, 17, 31, 0.92), rgba(2, 8, 23, 0.96));
  box-shadow: var(--nx-shadow), inset 0 0 0 1px rgba(255,255,255,0.04);
}

.nx-art-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(0, 221, 251, 0.16), transparent 42%, rgba(40, 255, 122, 0.12));
  pointer-events: none;
}

.nx-logo-card {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  border: 1px solid rgba(143, 163, 184, 0.18);
  border-radius: 30px;
  background: rgba(2, 8, 23, 0.54);
}

.nx-logo-card img {
  display: block;
  max-width: min(100%, 430px);
  height: auto;
  filter: drop-shadow(0 0 30px rgba(0, 221, 251, 0.20));
}

.nx-widget-stack {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 14px;
  margin-top: -22px;
}

.nx-mini-widget {
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(92%, 390px);
  margin-left: auto;
  padding: 14px;
  border: 1px solid rgba(0, 221, 251, 0.16);
  border-radius: 18px;
  background: rgba(4, 16, 34, 0.82);
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}

.nx-mini-widget:nth-child(2) {
  margin-right: auto;
  margin-left: 0;
}

.nx-widget-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 221, 251, 0.09);
  box-shadow: 0 0 24px rgba(0, 221, 251, 0.14);
}

.nx-widget-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nx-widget-title {
  display: block;
  color: var(--nx-text);
  font-weight: 850;
}

.nx-widget-subtitle {
  color: var(--nx-muted);
  font-size: 0.9rem;
}

.nx-section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.nx-section-head--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.nx-section-title {
  margin: 0 0 14px;
  color: var(--nx-silver);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.nx-section-desc {
  margin: 0;
  color: #b6c7da;
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.nx-card {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--nx-border-soft);
  border-radius: var(--nx-radius-lg);
  background:
    linear-gradient(160deg, rgba(11, 23, 40, 0.88), rgba(5, 12, 26, 0.78)),
    radial-gradient(circle at 86% 0%, rgba(0, 221, 251, 0.13), transparent 32%);
  box-shadow: 0 16px 54px rgba(0,0,0,0.18);
}

.nx-card::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(0, 221, 251, 0.16), transparent 62%);
  pointer-events: none;
}

.nx-card-icon {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--nx-cyan);
  font-size: 1.25rem;
  font-weight: 950;
  border-radius: 15px;
  background: rgba(0, 221, 251, 0.1);
  border: 1px solid rgba(0, 221, 251, 0.18);
}

.nx-card h3,
.nx-price-card h3 {
  margin: 0 0 9px;
  color: var(--nx-text);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.nx-card p,
.nx-price-card p {
  margin: 0;
  color: var(--nx-muted);
  line-height: 1.68;
}

.nx-split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 38px;
  align-items: center;
}

.nx-terminal {
  position: relative;
  min-height: 350px;
  padding: 20px;
  border: 1px solid rgba(0, 221, 251, 0.18);
  border-radius: 28px;
  background: rgba(2, 8, 23, 0.82);
  box-shadow: var(--nx-shadow);
}

.nx-terminal-top {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.nx-terminal-top span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: var(--nx-border);
}

.nx-terminal-top span:nth-child(1) { background: var(--nx-red); }
.nx-terminal-top span:nth-child(2) { background: var(--nx-cyan); }
.nx-terminal-top span:nth-child(3) { background: var(--nx-green); }

.nx-chart {
  height: 210px;
  display: flex;
  align-items: end;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(10, 21, 40, 0.9), rgba(2, 8, 23, 0.82));
  border: 1px solid rgba(143, 163, 184, 0.12);
}

.nx-candle {
  width: 22px;
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(180deg, var(--nx-green), var(--nx-cyan), var(--nx-blue));
  box-shadow: 0 0 22px rgba(0, 221, 251, 0.18);
}

.nx-candle:nth-child(1) { height: 42%; }
.nx-candle:nth-child(2) { height: 58%; }
.nx-candle:nth-child(3) { height: 36%; }
.nx-candle:nth-child(4) { height: 70%; }
.nx-candle:nth-child(5) { height: 48%; }
.nx-candle:nth-child(6) { height: 82%; }
.nx-candle:nth-child(7) { height: 62%; }
.nx-candle:nth-child(8) { height: 92%; }
.nx-candle:nth-child(9) { height: 72%; }

.nx-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.nx-status-row div {
  padding: 12px;
  border: 1px solid rgba(143, 163, 184, 0.14);
  border-radius: 14px;
  background: rgba(7, 17, 31, 0.72);
}

.nx-status-row strong {
  display: block;
  color: var(--nx-silver);
}

.nx-status-row span {
  color: var(--nx-muted);
  font-size: 0.84rem;
}

.nx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.nx-price-card {
  display: flex;
  flex-direction: column;
  padding: 22px;
  min-height: 100%;
  border: 1px solid var(--nx-border-soft);
  border-radius: var(--nx-radius-lg);
  background: rgba(7, 17, 31, 0.72);
}

.nx-price-card--featured {
  border-color: rgba(0, 221, 251, 0.45);
  background:
    radial-gradient(circle at 80% 0%, rgba(40, 255, 122, 0.14), transparent 30%),
    rgba(7, 17, 31, 0.88);
  box-shadow: 0 28px 80px rgba(0, 221, 251, 0.14);
}

.nx-price {
  margin: 18px 0 16px;
  color: var(--nx-text);
  font-size: 2.2rem;
  font-weight: 950;
  letter-spacing: -0.055em;
}

.nx-price small {
  color: var(--nx-muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: normal;
}

.nx-list {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.nx-list li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 25px;
  color: #c8d8e8;
}

.nx-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nx-cyan), var(--nx-green));
  box-shadow: 0 0 14px rgba(0, 221, 251, 0.4);
}

.nx-price-card .nx-button {
  width: 100%;
  margin-top: auto;
}

.nx-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(34px, 7vw, 70px);
  border: 1px solid rgba(0, 221, 251, 0.2);
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 221, 251, 0.17), transparent 32%),
    radial-gradient(circle at 86% 22%, rgba(40, 255, 122, 0.11), transparent 34%),
    linear-gradient(135deg, rgba(7, 17, 31, 0.96), rgba(2, 8, 23, 0.9));
  box-shadow: var(--nx-shadow);
  text-align: center;
}

.nx-final-cta img {
  display: block;
  width: min(210px, 44vw);
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 36px rgba(0, 221, 251, 0.16));
}

.nx-final-cta h2 {
  margin: 0 0 13px;
  color: var(--nx-silver);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 950;
  letter-spacing: -0.06em;
}

.nx-final-cta p {
  max-width: 700px;
  margin: 0 auto 26px;
  color: #c8d8e8;
  line-height: 1.75;
}

/* WooCommerce dark mode */
body.nexaflux-child-theme.woocommerce,
body.nexaflux-child-theme.woocommerce-page {
  color: var(--nx-text);
}

body.nexaflux-child-theme .woocommerce ul.products li.product,
body.nexaflux-child-theme .woocommerce-page ul.products li.product,
body.nexaflux-child-theme .woocommerce div.product,
body.nexaflux-child-theme .woocommerce-cart .cart-collaterals .cart_totals,
body.nexaflux-child-theme .woocommerce-checkout #payment,
body.nexaflux-child-theme .woocommerce table.shop_table,
body.nexaflux-child-theme .woocommerce form.checkout_coupon,
body.nexaflux-child-theme .woocommerce form.login,
body.nexaflux-child-theme .woocommerce form.register,
body.nexaflux-child-theme .woocommerce-MyAccount-navigation,
body.nexaflux-child-theme .woocommerce-MyAccount-content {
  color: var(--nx-text);
  border: 1px solid var(--nx-border-soft);
  border-radius: 22px;
  background: rgba(7, 17, 31, 0.76);
  box-shadow: 0 18px 64px rgba(0,0,0,0.18);
}

body.nexaflux-child-theme .woocommerce ul.products li.product {
  padding: 16px;
  overflow: hidden;
}

body.nexaflux-child-theme .woocommerce ul.products li.product .woocommerce-loop-product__title,
body.nexaflux-child-theme .woocommerce div.product .product_title,
body.nexaflux-child-theme .woocommerce h2,
body.nexaflux-child-theme .woocommerce h3,
body.nexaflux-child-theme .woocommerce-account h2,
body.nexaflux-child-theme .woocommerce-checkout h3 {
  color: var(--nx-silver);
}

body.nexaflux-child-theme .woocommerce .price,
body.nexaflux-child-theme .woocommerce div.product p.price,
body.nexaflux-child-theme .woocommerce div.product span.price {
  color: var(--nx-cyan);
  font-weight: 900;
}

body.nexaflux-child-theme .woocommerce-message,
body.nexaflux-child-theme .woocommerce-info,
body.nexaflux-child-theme .woocommerce-error {
  color: var(--nx-text);
  border-top-color: var(--nx-cyan);
  border-radius: 16px;
  background: rgba(7, 17, 31, 0.92);
}

body.nexaflux-child-theme input[type="text"],
body.nexaflux-child-theme input[type="email"],
body.nexaflux-child-theme input[type="password"],
body.nexaflux-child-theme input[type="tel"],
body.nexaflux-child-theme input[type="url"],
body.nexaflux-child-theme input[type="number"],
body.nexaflux-child-theme textarea,
body.nexaflux-child-theme select,
body.nexaflux-child-theme .select2-container--default .select2-selection--single {
  color: var(--nx-text);
  border: 1px solid rgba(143, 163, 184, 0.25);
  border-radius: 14px;
  background: rgba(2, 8, 23, 0.82);
}

body.nexaflux-child-theme input:focus,
body.nexaflux-child-theme textarea:focus,
body.nexaflux-child-theme select:focus {
  border-color: var(--nx-cyan);
  box-shadow: 0 0 0 3px rgba(0, 221, 251, 0.12);
}

body.nexaflux-child-theme .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 12px;
  list-style: none;
}

body.nexaflux-child-theme .woocommerce-MyAccount-navigation-link a {
  display: block;
  padding: 12px 14px;
  color: var(--nx-text);
  border-radius: 12px;
  text-decoration: none;
}

body.nexaflux-child-theme .woocommerce-MyAccount-navigation-link.is-active a,
body.nexaflux-child-theme .woocommerce-MyAccount-navigation-link a:hover {
  color: var(--nx-cyan);
  background: rgba(0, 221, 251, 0.08);
}

@media (max-width: 1024px) {
  .nx-hero-grid,
  .nx-split {
    grid-template-columns: 1fr;
  }

  .nx-hero-art {
    max-width: 620px;
  }

  .nx-feature-grid,
  .nx-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nx-container {
    width: min(calc(100% - 28px), var(--nx-max));
  }

  .nx-section {
    padding: 58px 0;
  }

  .nx-hero {
    padding-top: 54px;
  }

  .nx-proof,
  .nx-feature-grid,
  .nx-pricing-grid,
  .nx-status-row {
    grid-template-columns: 1fr;
  }

  .nx-art-panel {
    min-height: auto;
    border-radius: 26px;
  }

  .nx-mini-widget,
  .nx-mini-widget:nth-child(2) {
    width: 100%;
    margin: 0;
  }

  .nx-actions .nx-button {
    width: 100%;
  }
}


/* --------------------------------------------------------------
   WooCommerce Boutique - boutons façon Nexaflux panier + prix rouges
   Ajout v1.0.1
-------------------------------------------------------------- */

/* Corrige la boutique /boutique lorsque le style Astra ou WooCommerce repasse par-dessus le bouton Nexaflux. */
body.nexaflux-child-theme.woocommerce-js ul.products li.product .button,
body.nexaflux-child-theme.woocommerce ul.products li.product .button,
body.nexaflux-child-theme.woocommerce-page ul.products li.product .button,
body.nexaflux-child-theme .woocommerce ul.products li.product a.button,
body.nexaflux-child-theme .woocommerce ul.products li.product a.add_to_cart_button,
body.nexaflux-child-theme .woocommerce ul.products li.product a.product_type_simple,
body.nexaflux-child-theme .woocommerce ul.products li.product a.product_type_subscription,
body.nexaflux-child-theme .woocommerce ul.products li.product a.product_type_variable {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 138px !important;
  min-height: 44px !important;
  margin-top: 10px !important;
  padding: 13px 24px !important;
  color: #ffffff !important;
  font-size: 0.86rem !important;
  font-weight: 850 !important;
  line-height: 1 !important;
  text-align: center !important;
  text-decoration: none !important;
  border: 1px solid rgba(0, 221, 251, 0.38) !important;
  border-radius: 12px !important;
  background: linear-gradient(135deg, var(--nx-blue) 0%, var(--nx-cyan) 54%, #24c66a 100%) !important;
  box-shadow:
    0 14px 36px rgba(0, 221, 251, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset !important;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    filter 180ms ease !important;
}

body.nexaflux-child-theme.woocommerce-js ul.products li.product .button:hover,
body.nexaflux-child-theme.woocommerce ul.products li.product .button:hover,
body.nexaflux-child-theme.woocommerce-page ul.products li.product .button:hover,
body.nexaflux-child-theme .woocommerce ul.products li.product a.button:hover,
body.nexaflux-child-theme .woocommerce ul.products li.product a.add_to_cart_button:hover,
body.nexaflux-child-theme .woocommerce ul.products li.product a.product_type_simple:hover,
body.nexaflux-child-theme .woocommerce ul.products li.product a.product_type_subscription:hover,
body.nexaflux-child-theme .woocommerce ul.products li.product a.product_type_variable:hover {
  color: #ffffff !important;
  border-color: rgba(40, 255, 122, 0.58) !important;
  filter: saturate(1.08) brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 20px 50px rgba(0, 221, 251, 0.30),
    0 0 22px rgba(40, 255, 122, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset !important;
}

/* Alignement propre du bouton sous les produits de la boutique. */
body.nexaflux-child-theme .woocommerce ul.products li.product .button.added {
  display: none !important;
}

body.nexaflux-child-theme .woocommerce ul.products li.product a.added_to_cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  margin-left: 10px !important;
  padding: 10px 14px !important;
  color: var(--nx-cyan) !important;
  font-weight: 850 !important;
  text-decoration: none !important;
  border: 1px solid rgba(0, 221, 251, 0.24) !important;
  border-radius: 12px !important;
  background: rgba(0, 221, 251, 0.08) !important;
}

/* Prix rouges sur la boutique et les recommandations WooCommerce. */
body.nexaflux-child-theme .woocommerce ul.products li.product .price,
body.nexaflux-child-theme .woocommerce ul.products li.product .price .amount,
body.nexaflux-child-theme .woocommerce ul.products li.product .price ins,
body.nexaflux-child-theme .woocommerce ul.products li.product .price del,
body.nexaflux-child-theme .woocommerce .price,
body.nexaflux-child-theme .woocommerce .price .amount,
body.nexaflux-child-theme .woocommerce div.product p.price,
body.nexaflux-child-theme .woocommerce div.product p.price .amount,
body.nexaflux-child-theme .woocommerce div.product span.price,
body.nexaflux-child-theme .woocommerce div.product span.price .amount {
  color: var(--nx-red) !important;
  font-weight: 950 !important;
  text-shadow: 0 0 16px rgba(255, 77, 93, 0.18);
}

/* Petits ajustements visuels pour rapprocher la boutique du rendu du panier. */
body.nexaflux-child-theme .woocommerce ul.products li.product {
  padding-bottom: 18px !important;
}

body.nexaflux-child-theme .woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin-top: 10px !important;
  margin-bottom: 8px !important;
}

body.nexaflux-child-theme .woocommerce ul.products li.product .price {
  display: block;
  margin-bottom: 10px !important;
}



/* --------------------------------------------------------------
   WooCommerce Panier - prix rouges
   Ajout v1.0.2
-------------------------------------------------------------- */

/* Force aussi le rouge sur tous les montants du panier, totaux et mini-panier. */
body.nexaflux-child-theme .woocommerce-cart table.cart .product-price,
body.nexaflux-child-theme .woocommerce-cart table.cart .product-price .amount,
body.nexaflux-child-theme .woocommerce-cart table.cart .product-subtotal,
body.nexaflux-child-theme .woocommerce-cart table.cart .product-subtotal .amount,
body.nexaflux-child-theme .woocommerce-cart .cart_totals .cart-subtotal td,
body.nexaflux-child-theme .woocommerce-cart .cart_totals .cart-subtotal .amount,
body.nexaflux-child-theme .woocommerce-cart .cart_totals .order-total td,
body.nexaflux-child-theme .woocommerce-cart .cart_totals .order-total .amount,
body.nexaflux-child-theme .woocommerce-cart .cart_totals .order-total strong,
body.nexaflux-child-theme .woocommerce-cart .cart_totals .order-total strong .amount,
body.nexaflux-child-theme .woocommerce-cart .shop_table td.product-price,
body.nexaflux-child-theme .woocommerce-cart .shop_table td.product-price .amount,
body.nexaflux-child-theme .woocommerce-cart .shop_table td.product-subtotal,
body.nexaflux-child-theme .woocommerce-cart .shop_table td.product-subtotal .amount,
body.nexaflux-child-theme .woocommerce-mini-cart__total,
body.nexaflux-child-theme .woocommerce-mini-cart__total .amount,
body.nexaflux-child-theme .widget_shopping_cart_content .total,
body.nexaflux-child-theme .widget_shopping_cart_content .total .amount,
body.nexaflux-child-theme .woocommerce .cart_totals .amount,
body.nexaflux-child-theme .woocommerce .shop_table .amount,
body.nexaflux-child-theme .woocommerce .order-total .amount {
  color: var(--nx-red) !important;
  font-weight: 950 !important;
  text-shadow: 0 0 16px rgba(255, 77, 93, 0.22);
}

/* Garde les libelles du panier lisibles en blanc, mais les montants restent rouges. */
body.nexaflux-child-theme .woocommerce-cart .cart_totals th,
body.nexaflux-child-theme .woocommerce-cart table.cart th,
body.nexaflux-child-theme .woocommerce-cart table.cart td.product-name,
body.nexaflux-child-theme .woocommerce-cart table.cart td.product-name a {
  color: var(--nx-text) !important;
}

/* --------------------------------------------------------------
   WooCommerce Badge panier Nexaflux
   Ajout v1.0.3
-------------------------------------------------------------- */

body.nexaflux-child-theme .nexaflux-menu-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 14px !important;
}

body.nexaflux-child-theme .nexaflux-cart-badge-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  line-height: 1;
}

body.nexaflux-child-theme .nexaflux-cart-link {
  position: relative;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px;
  height: 44px;
  min-width: 44px;
  color: #ffffff !important;
  text-decoration: none !important;
  border: 1px solid rgba(0, 221, 251, 0.44);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--nx-blue) 0%, var(--nx-cyan) 54%, #24c66a 100%) !important;
  box-shadow:
    0 14px 36px rgba(0, 221, 251, 0.24),
    0 0 18px rgba(40, 255, 122, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

body.nexaflux-child-theme .nexaflux-cart-link:hover,
body.nexaflux-child-theme .nexaflux-cart-link:focus-visible {
  color: #ffffff !important;
  filter: saturate(1.08) brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 20px 50px rgba(0, 221, 251, 0.32),
    0 0 26px rgba(40, 255, 122, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.10) inset;
}

body.nexaflux-child-theme .nexaflux-cart-icon,
body.nexaflux-child-theme .nexaflux-cart-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

body.nexaflux-child-theme .nexaflux-cart-icon svg {
  fill: currentColor;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.26));
}

body.nexaflux-child-theme .nexaflux-cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.02em;
  border: 2px solid var(--nx-navy-950);
  border-radius: 999px;
  background: #ff1744 !important;
  box-shadow:
    0 0 16px rgba(255, 23, 68, 0.76),
    0 0 0 1px rgba(255, 255, 255, 0.16) inset;
  text-shadow: none !important;
  z-index: 3;
}

body.nexaflux-child-theme .nexaflux-cart-badge.is-empty {
  display: none !important;
}

body.nexaflux-child-theme .nexaflux-floating-cart {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9999;
}

body.nexaflux-child-theme.woocommerce-cart .nexaflux-floating-cart,
body.nexaflux-child-theme.woocommerce-checkout .nexaflux-floating-cart {
  display: none !important;
}

/* Renforce aussi le badge natif Astra/WooCommerce si le panier header du thème parent est activé. */
body.nexaflux-child-theme .ast-site-header-cart .ast-cart-menu-wrap .count,
body.nexaflux-child-theme .ast-cart-menu-wrap .count,
body.nexaflux-child-theme .ast-header-woo-cart .ast-cart-menu-wrap .count,
body.nexaflux-child-theme .site-header-cart .count,
body.nexaflux-child-theme .wc-block-mini-cart__badge,
body.nexaflux-child-theme .wc-block-mini-cart__quantity-badge,
body.nexaflux-child-theme .header-cart-total .count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 22px !important;
  height: 22px !important;
  padding: 0 6px !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  border: 2px solid var(--nx-navy-950) !important;
  border-radius: 999px !important;
  background: #ff1744 !important;
  box-shadow: 0 0 16px rgba(255, 23, 68, 0.76) !important;
  text-shadow: none !important;
}

@media (max-width: 768px) {
  body.nexaflux-child-theme .nexaflux-menu-cart {
    margin-left: 8px !important;
  }

  body.nexaflux-child-theme .nexaflux-cart-link {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }

  body.nexaflux-child-theme .nexaflux-floating-cart {
    right: 14px;
    bottom: 14px;
  }
}



/* --------------------------------------------------------------
   WooCommerce Boutique + Panier - rouge force sur prix/categories
   Ajout v1.0.4
-------------------------------------------------------------- */

/* Boutique classique Astra/WooCommerce : prix + categories/pack produit. */
body.nexaflux-child-theme .woocommerce ul.products li.product .price,
body.nexaflux-child-theme .woocommerce ul.products li.product .price *,
body.nexaflux-child-theme .woocommerce-page ul.products li.product .price,
body.nexaflux-child-theme .woocommerce-page ul.products li.product .price *,
body.nexaflux-child-theme ul.products li.product .price,
body.nexaflux-child-theme ul.products li.product .price *,
body.nexaflux-child-theme ul.products li.product .amount,
body.nexaflux-child-theme .ast-woo-product-category,
body.nexaflux-child-theme .ast-woo-product-category *,
body.nexaflux-child-theme .ast-loop-product__category,
body.nexaflux-child-theme .ast-loop-product__category *,
body.nexaflux-child-theme ul.products li.product .posted_in,
body.nexaflux-child-theme ul.products li.product .posted_in *,
body.nexaflux-child-theme .woocommerce-loop-category__title,
body.nexaflux-child-theme .woocommerce-loop-category__title mark,
body.nexaflux-child-theme .product_meta .posted_in,
body.nexaflux-child-theme .product_meta .posted_in a,
body.nexaflux-child-theme .product_meta a[rel="tag"] {
  color: var(--nx-red) !important;
  -webkit-text-fill-color: var(--nx-red) !important;
  font-weight: 950 !important;
}

/* Boutique rendue avec les blocs WooCommerce : prix + categories. */
body.nexaflux-child-theme .wc-block-grid__product-price,
body.nexaflux-child-theme .wc-block-grid__product-price *,
body.nexaflux-child-theme .wc-block-grid__product .amount,
body.nexaflux-child-theme .wc-block-components-product-price,
body.nexaflux-child-theme .wc-block-components-product-price *,
body.nexaflux-child-theme .wp-block-woocommerce-product-price,
body.nexaflux-child-theme .wp-block-woocommerce-product-price *,
body.nexaflux-child-theme .wc-block-grid__product-category,
body.nexaflux-child-theme .wc-block-grid__product-category *,
body.nexaflux-child-theme .wc-block-grid__product-categories,
body.nexaflux-child-theme .wc-block-grid__product-categories *,
body.nexaflux-child-theme .wp-block-post-terms.taxonomy-product_cat,
body.nexaflux-child-theme .wp-block-post-terms.taxonomy-product_cat a,
body.nexaflux-child-theme .taxonomy-product_cat,
body.nexaflux-child-theme .taxonomy-product_cat a,
body.nexaflux-child-theme .wc-block-product-categories-list,
body.nexaflux-child-theme .wc-block-product-categories-list a {
  color: var(--nx-red) !important;
  -webkit-text-fill-color: var(--nx-red) !important;
  font-weight: 950 !important;
}

/* Panier classique WooCommerce : force tous les montants en rouge. */
body.nexaflux-child-theme.woocommerce-cart .woocommerce-cart-form .shop_table .amount,
body.nexaflux-child-theme.woocommerce-cart .woocommerce-cart-form .shop_table .amount *,
body.nexaflux-child-theme.woocommerce-cart .woocommerce-cart-form .product-price,
body.nexaflux-child-theme.woocommerce-cart .woocommerce-cart-form .product-price *,
body.nexaflux-child-theme.woocommerce-cart .woocommerce-cart-form .product-subtotal,
body.nexaflux-child-theme.woocommerce-cart .woocommerce-cart-form .product-subtotal *,
body.nexaflux-child-theme.woocommerce-cart .cart_totals .amount,
body.nexaflux-child-theme.woocommerce-cart .cart_totals .amount *,
body.nexaflux-child-theme.woocommerce-cart .cart_totals .cart-subtotal td,
body.nexaflux-child-theme.woocommerce-cart .cart_totals .order-total td,
body.nexaflux-child-theme.woocommerce-cart .cart_totals .order-total strong,
body.nexaflux-child-theme .woocommerce-cart-form .shop_table .amount,
body.nexaflux-child-theme .woocommerce-cart-form .shop_table .amount *,
body.nexaflux-child-theme .woocommerce-cart-form .product-price,
body.nexaflux-child-theme .woocommerce-cart-form .product-price *,
body.nexaflux-child-theme .woocommerce-cart-form .product-subtotal,
body.nexaflux-child-theme .woocommerce-cart-form .product-subtotal *,
body.nexaflux-child-theme .cart_totals .amount,
body.nexaflux-child-theme .cart_totals .amount * {
  color: var(--nx-red) !important;
  -webkit-text-fill-color: var(--nx-red) !important;
  font-weight: 950 !important;
  text-shadow: 0 0 16px rgba(255, 77, 93, 0.24);
}

/* Panier WooCommerce Blocks : prix, sous-totaux et total en rouge. */
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-components-product-price,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-components-product-price *,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-components-product-price__value,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-formatted-money-amount,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-components-formatted-money-amount,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-components-totals-item__value,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-cart-item__prices,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-cart-item__prices *,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-cart-item__total,
body.nexaflux-child-theme .wp-block-woocommerce-cart .wc-block-cart-item__total *,
body.nexaflux-child-theme .wc-block-cart .wc-block-components-product-price,
body.nexaflux-child-theme .wc-block-cart .wc-block-components-product-price *,
body.nexaflux-child-theme .wc-block-cart .wc-block-formatted-money-amount,
body.nexaflux-child-theme .wc-block-cart .wc-block-components-formatted-money-amount,
body.nexaflux-child-theme .wc-block-cart .wc-block-components-totals-item__value,
body.nexaflux-child-theme .wc-block-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.nexaflux-child-theme .wc-block-cart .wc-block-cart-item__prices,
body.nexaflux-child-theme .wc-block-cart .wc-block-cart-item__prices *,
body.nexaflux-child-theme .wc-block-cart .wc-block-cart-item__total,
body.nexaflux-child-theme .wc-block-cart .wc-block-cart-item__total * {
  color: var(--nx-red) !important;
  -webkit-text-fill-color: var(--nx-red) !important;
  font-weight: 950 !important;
  text-shadow: 0 0 16px rgba(255, 77, 93, 0.24);
}


/* --------------------------------------------------------------
   WooCommerce Page produit - prix rouge force
   Ajout v1.0.5
-------------------------------------------------------------- */
body.nexaflux-child-theme.single-product .summary .price,
body.nexaflux-child-theme.single-product .summary .price *,
body.nexaflux-child-theme.single-product .entry-summary .price,
body.nexaflux-child-theme.single-product .entry-summary .price *,
body.nexaflux-child-theme.single-product div.product p.price,
body.nexaflux-child-theme.single-product div.product p.price *,
body.nexaflux-child-theme.single-product div.product span.price,
body.nexaflux-child-theme.single-product div.product span.price *,
body.nexaflux-child-theme.single-product div.product .woocommerce-Price-amount,
body.nexaflux-child-theme.single-product div.product .woocommerce-Price-amount *,
body.nexaflux-child-theme.single-product div.product .woocommerce-Price-currencySymbol,
body.nexaflux-child-theme.woocommerce.single-product div.product p.price,
body.nexaflux-child-theme.woocommerce.single-product div.product p.price *,
body.nexaflux-child-theme.woocommerce.single-product div.product span.price,
body.nexaflux-child-theme.woocommerce.single-product div.product span.price *,
body.nexaflux-child-theme .woocommerce div.product .summary p.price,
body.nexaflux-child-theme .woocommerce div.product .summary p.price *,
body.nexaflux-child-theme .woocommerce div.product .summary span.price,
body.nexaflux-child-theme .woocommerce div.product .summary span.price * {
  color: var(--nx-red) !important;
  -webkit-text-fill-color: var(--nx-red) !important;
  font-weight: 950 !important;
  text-shadow: 0 0 16px rgba(255, 77, 93, 0.24);
}
