
/* Grey background of product page */
.finserieswitch-end-of-series #main:not(.finserieswitch-box) {
  filter: grayscale(100%) brightness(70%);
  opacity: 0.5;
  pointer-events: none; /* évite les clics sur le fond */
}

.finserieswitch-box {
  opacity: 1 !important;
  filter: none !important;
  pointer-events: auto;
}

/* Semi-transparent red overlay with blur */
.finserieswitch-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Center card */
.finserieswitch-box {
  background: white;
  border-radius: 16px;
  padding: 30px 40px;
  text-align: center;
  color: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.4);
  max-width: 540px;
}

.finserieswitch-title { font-size: 1.6rem; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; }
.finserieswitch-image img { max-width: 200px; border-radius: 8px; background:#fff; padding: 5px; margin-bottom: 10px; }
.finserieswitch-name { font-size: 1.2rem; font-weight: 500; margin-bottom: 15px;color:#0f213a;}
.finserieswitch-btn { background-color: #c91c1c; color: white !important; border: none; font-weight: 700; }
.finserieswitch-btn:hover { background-color: #0f213a; color: #fff !important; }
