body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  line-height: 1.6rem;
  color:#1E293B;
}

.no-scroll {
  overflow: hidden;
}

hr.separator {
  height: 1px;
  background: RGBA(0,0,0,0.2);
}

a {
  color: #F10375;
  text-decoration: none;
}
a:hover, a:focus {
  text-decoration: none;
  color: #0B0149;
}
a.button:hover {
  text-decoration: none;
}

figure img {
  /*border: 1px solid RGBA(0,0,0,0.2);*/
}

.card-image {
  height: 300px; /* Hauteur fixe uniforme pour toutes les cartes */
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 🔥 C’est ça qui évite la déformation */
  object-position: center; /* Centrage du crop */
  display: block;
}

.pre-footer figure img {
  border-radius: 16px;
  border: 0;
}

table {
  border-radius: 16px;
}

.tabs li a {
  color: #F10375;
  font-weight: normal;
}

.tabs li.is-active a {
  color: #1E293B;
  font-weight: bold;
}

.tabs li a:hover {
  text-decoration: none;
}

.pagination-link.is-current {
  background-color: #F10375;
  border-color: #F10375;
}

.switch {
  display: inline-block;
  position: relative;
  width: 56px;
  height: 28px;
}
.switch input {
  display: none;
}
.switch .check {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ccc;
  border-radius: 30px;
  width: 100%;
  height: 100%;
  position: relative;
  transition: background-color 0.3s ease;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
}
.switch .check::before {
  content: "";
  position: absolute;
  height: 22px;
  width: 22px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  z-index: 2;
}
.switch input:checked + .check {
  background-color: #F10375;
}
.switch input:checked + .check::before {
  transform: translateX(28px);
}
.switch .switch-label {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ON aligné à gauche */
  padding-left: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  transition: all 0.3s ease;
}

.switch input:not(:checked) + .check .switch-label {
  justify-content: flex-end; /* OFF aligné à droite */
  padding-left: 0;
  padding-right: 8px;
  content: "OFF";
}

.switch.disabled input:checked + .check {
  background-color: #2D1158 !important;
  cursor: not-allowed;
}

.switch.disabled .check {
  cursor: not-allowed;
}

#cookieConsentModal .modal-card {
  max-width: 360px;
  border-radius: 12px;
  overflow: hidden;
  background: white;
  margin: auto;
}
#cookieConsentModal .modal-background {
  background-color: rgba(0,0,0,0.4);
}

.top_header {
  background-color: #2D1158;
  color: #fff;
  text-align: right;
  padding:0;
}
.language-switcher {
  display: inline-block;
  position: relative;
  cursor: pointer;
  font-weight: 600;
  color: white;
  padding: 10px 15px;
  z-index: 10;
}

.current-lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.current-lang i {
  color: #F10375;
  transition: transform 0.3s ease;
}

/* Rotation fluide de la flèche */
.language-switcher:hover .current-lang i {
  transform: rotate(180deg);
}

/* Dropdown masqué par défaut */
.language-switcher .lang-dropdown {
  position: absolute;
  right: 0;
  top: 100%; /* ✅ directement sous le bloc parent */
  background-color: #2D1158;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 99;
  min-width: 140px;
  overflow: hidden;

  /* Animation d'apparition */
  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

/* ✅ Le dropdown reste ouvert tant qu'on le survole */
.language-switcher:hover .lang-dropdown,
.language-switcher .lang-dropdown:hover {
  max-height: 300px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Liens internes */
.language-switcher .lang-dropdown a {
  display: block;
  padding: 10px 16px;
  color: white;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease;
  font-weight: 400;
}

.language-switcher .lang-dropdown a:hover {
  background-color: #ff1ead;
  color: white;
}

.main_navigation {
  background-color: #0B0149;
  color: white;
  height: 110px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.main_navigation.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 110px;
  transition: all 0.5s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}


.navbar,
.navbar-menu {
  background: none !important;
}

.navbar-item:HOVER{
  background: none !important;
}

.top_header.hidden {
  display: none;
}

.navigation_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 50px;
}

.user_loggedin_box {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 0.75rem;
}

.user_loggedin_box a{
  color:#ff1ead;
}

.avatar_circle {
  background-color: #ff1ead;
  color: white;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.user_info p {
  margin: 0;
  font-size: 14px;
}

.dashboard_link {
  font-size: 13px;
  color: #3273dc;
  text-decoration: underline;
}

.navbar a {
  text-decoration: none;
}

.navbar_left {
  display: flex;
  gap: 24px;
  align-items: center;
}

.navbar_left a {
  display: flex;
  align-items: center;
  height: 100%;
  color: white;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  padding: 0 10px;
}

.navbar_left a:hover,
.connect_button:hover,
.basket_button:hover,
.navbar_left a.is-active {
  color: #ff1ead;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.connect_button,
.basket_button {
  color: white;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  transition: color 0.3s ease;
}

.connect_button i,
.basket_button i {
  color: #ff1ead;
  font-size: 16px;
}

.basket_button {
  padding-left: 24px;
}

.basket_button .badge {
  position: absolute;
  top: -6px;
  left: 30px;
  font-size: 12px;
  background: white;
  color: #ff1ead;
  border-radius: 50%;
  padding: 2px 4px;
  font-weight: 700;
  line-height: 1;
}

.navbar-burger {
  display: none;
}

.hero_banner_container {
  background-image: url('../images/hero_banner_background.png');
  background-attachment: fixed;
  background-position: center;
  position: relative;
  z-index: 0;
}

.hero_banner_container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 270px;
  background: linear-gradient(to bottom, rgba(11, 7, 73, 1) 0%, rgba(11, 7, 73, 0) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero_banner_container .big_picture_container {
  width: 1344px;
  height: auto;
  padding-bottom: 48px;
  margin: 0 auto;
}

.hero_banner_container .big_picture_container img {
  border-radius: 0 0 24px 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
}

.hero_slider {
  position: relative;
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

.slide_content {
  position: absolute;
  top: 150px;
  left: 80px;
  z-index: 2;
  color: white;
  width: 400px;
}

.slide_content h2 {
  font-size: 50px;
  line-height: 50px;
  font-weight: bold;
}

.slide_content p {
  font-size: 24px;
  line-height: 30px;
  padding: 24px 0;
}

.hero_controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.carousel_controller {
  display: flex;
  align-items: center;
  background-color: #1a1454;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  position: absolute;
  bottom: 140px;
}

.carousel_controller a {
  color: #fff;
}
.carousel_controller a:HOVER {
  color: #F10375;
}

.hero_dots {
  display: flex;
  gap: 0.5rem;
  margin-left: 1rem;
}

/* Dots container */
.dot {
  width: 12px;
  height: 12px;
  background-color: white;
  border-radius: 9999px;
  transition: all 0.4s ease-in-out;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Dot actif étendu */
.dot.active {
  width: 48px;
  background-color: white;
}

/* Barre de progression interne */
.dot .progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background-color: #F10375;
  width: 0%;
  border-radius: 9999px;
  transition: width linear;
  z-index: 0;
}

.hero_thumbnails_wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: absolute;
  bottom: 24px;
}

.hero_thumbnails {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
}

.hero_thumbnails img {
  height: 100px !important;
  border-radius: 12px !important;
  opacity: 0.5;
  cursor: pointer;
  transition: 0.3s;
}

.hero_thumbnails img.active {
  opacity: 1;
  border: 3px solid #FFF;
}

.arrow {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
}
.arrow i {
  font-size:40px;
}

.desktop_banner {
  display: block;
}

.mobile_banner {
  display: none;
}

.sgg-tabs {
  padding-top: 32px;
}

.sgg-tabs ul li.is-active a {
  border-top: 4px solid rgba(241,3,17,1) !important;
  box-shadow: 0 -2px 10px rgba(241,3,17,0.2);
  background: #fff;
}

.sgg-tabs ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #000;
  width:180px;
  background: none;
  height: 50px;
}

.sgg-tabs ul li a img {
  height: 40px;
  max-width: 110px;
}

.sgg-tabs ul li a span {
  display: none;
}

.sgg-tabs ul li:first-child a span {
  display: inline;
}


.breadcrumb_container {
  margin:0px 0 32px 0;
}
.breadcrumb_container a {
  color: #F10375;
}
.breadcrumb_container i {
  color: hsl(0, 0%, 71%)
}
.breadcrumb li+li::before {
  content:'';
}

.content-hero {
  position: relative;
  margin-bottom: 2rem;
}

.content-hero--image {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.content-hero--overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(30, 0, 60, 0.75), rgba(30, 0, 60, 0.2));
}

.content-hero--content {
  position: relative;
  margin-top: -80px;
  z-index: 2;
  border-radius: 2rem 2rem 0 0;
  background: white;
  padding: 2rem 1.5rem 2rem 1.5rem;
  box-shadow: none;
}

.map-responsive {
  position: relative;
  overflow: hidden;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 16px;
  border: 1px solid RGBA(0,0,0,0.2);
}
.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.has-text-sgg {
  color: #f20074; /* Rose SGG */
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card .card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

figure.image {
  border: 0;
}

/* FOOTER */
/**********/

.custom-box {
  border: 1px solid #E5E5E5;
  border-radius: 8px;
  box-shadow: none !important;
  padding: 8px 16px;
  height: 100%;
}

.custom-box img {
  width: 100px;
  height: 100px;
  margin-right: 10px;
  min-width: 100px !important;
}



.footer {
  margin: 32px 0 0 0;
  padding: 0;
  background-color:#0B0149;
  color:#fff;
  font-size: 0.9rem;
}

.footer .newsletter_bg {
  background-color: #10127D;
  font-size: 1rem;
}

.footer .bottom_footer_bg  {
    background-color: #2D1158;
    color: #9688AB;
    font-size:14px;
}

.newsletter_title{
      font-size: 1.8rem;
      font-weight: 400;
      margin:0;
      padding: 0;
}

.footer_logo {
  margin-top: -60px;
  max-width: 200px;
}

.footer .tag {
    font-size: 0.8rem;
    margin-top: 0.25rem;
}

.footer .title.is-4 {
    color: white;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.footer ul li{
  margin-bottom: 12px;
}

.footer li a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.footer li a:hover {
    color: #F10375 !important;
    transform: translateX(3px);
}

.footer li a.footer_logo:hover {
    color: none;
    transform: none;
}

.table td, .table th {
  vertical-align: middle;
  text-align: center;
}
.table th:first-child, .table td:first-child {
  text-align: left;
}


aside.menu {
  background-color: #f5f5f7;
  border-radius: 16px;
  padding: 16px 8px;
  border:1px solid #dcdce0;
}

.menu-list a.is-active {
  background:none;
  color:#f20074;
  font-weight:bold;
}
.menu-list a:HOVER {
  background:none;
  color:#f20074;
}

.logo-console {
  width: 60px;
  max-height: 20px;
  vertical-align: middle;
  display: inline-block;
}

.nav_main_logo img {
  width: 200px;
  height: auto;
  position: absolute;
  top: 50%;
  left: 24px;
  transform: translateY(-50%); /* Pour le centrer verticalement */
  z-index: 100 !important;
}


.nav_main_logo {
  position: relative;
  display: inline-block;
  z-index: 10;
}
.nav_main_logo::after {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 100%;
  height: 100%;
  background-image: url('/public/assets/images/super_gaby_games_logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 9;
  filter: drop-shadow(0 0 4px #ff007f)
          drop-shadow(0 0 8px #ff007f)
          drop-shadow(0 0 12px #ff007f);
  opacity: 0.3;
  animation: flickerNeon 5s infinite;
}


.nav_main_logo img {
  position: relative;
  z-index: 10;
  width: 200px;
  height: auto;
  top: 50%;
  left: 24px;
  transform: translateY(-50%);
}

/* Animation clignotement */
@keyframes flickerNeon {
  0%, 18%, 22%, 25%, 32%, 40%, 20% {
    opacity: 0.2;
    filter: drop-shadow(0 0 4px #ff007f)
            drop-shadow(0 0 8px #ff007f)
            drop-shadow(0 0 12px #ff007f);
  }

  19%, 23%, 26%, 28%, 30%, 20% {
    opacity: 0.5;
    filter: drop-shadow(0 0 2px #ff007f);
  }

  20%, 24%, 31%, 15% {
    opacity: 0.15;
    filter: none;
  }
}

.product_title {
  line-height: 36px;
  margin: 0;
  padding: 16px 0 0 0;
}

.product_title small {
  font-weight: 400;
}

.product_cat_logo {
  max-height:30px;
  max-width:150px;
  vertical-align:middle;
  margin-bottom: 16px;
}


/* === Modale de recherche === */
/* Wrapper flou en fond */
.sgg-search-wrapper {
  position: absolute;
  top: auto;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 5;
}

.sgg-search-wrapper.open {
  pointer-events: all;
}

/* Overlay animé */
.sgg-search-overlay {
  background: rgb(11, 1, 73);
  overflow: hidden;
  height: 0;
  transition: height 0.4s ease-in-out;
}

/* Hauteur visible quand ouvert */
.sgg-search-wrapper.open .sgg-search-overlay {
  height: 350px;
}

/* Contenu interne */
.sgg-search-container {
  padding: 30px 0 0 0;
  display: flex;
  flex-direction: column;
  max-width: 600px;
  width: 100%;
}

/* Champ de recherche */
.sgg-search-input-wrapper {
  position: relative;
  width: 100%;
}

.sgg-search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  pointer-events: none;
}

.sgg-search-input {
  width: 100%;
  padding: 14px 18px 14px 40px; /* padding-left pour laisser la place à la loupe */
  background-color: rgb(11, 1, 73);
  border: 0;
  font-size: 24px;
  color: white;
  outline: none;
  border-radius: 8px;
}

.sgg-search-input::placeholder {
  color: rgba(255,255,255,0.3);
}

/* Quick links */
.sgg-quick-links {
  margin-top: 30px;
}

.sgg-quick-links > span {
  display: block;
  color: #ccc;
  margin-bottom: 8px;
  font-size: 14px;
}

.sgg-quick-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sgg-quick-links li {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 10px; /* espace entre flèche et texte */
}

.sgg-quick-links .left_arrow i {
  color: #ff006f; /* Rose Super Gaby */
  font-size: 14px;
}

.sgg-quick-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  display: inline-block;
}

.sgg-quick-links a:hover {
  text-decoration: underline;
}

#sggMainContent {
  transition: filter 0.3s ease;
}

#sggMainContent.blurred {
  filter: blur(8px);
}

.sgg-search-wrapper {
  z-index: 5;
}

.nav_main_logo,
.nav_main_logo img {
  z-index: 100;
  position: relative;
}

.input.is-medium {
  height: 48px;
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.icon.is-clickable:hover {
  cursor: pointer;
  color: #ff3860; /* rouge bulma */
}

.main-image-container img { object-fit: cover; width: 100%; aspect-ratio: 4/3; border-radius: 8px; }
.gallery-thumbnail img { object-fit: cover; width: 100%; aspect-ratio: 1/1; border-radius: 6px; transition: opacity .2s; }
.gallery-thumbnail:hover img { opacity: .8; }
.status-badge { display: inline-flex; align-items: center; gap: .5rem; }
.map-responsive { position: relative; padding-bottom: 75%; height: 0; overflow: hidden; }
.map-responsive iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hours-table .is-today { background-color: #f0f8ff; font-weight: 600; }

th {
  background-color: #0B0149;
  color:#fff !important;
  border-bottom: 0 !important;
}
th:first-of-type {
  border-top-left-radius: 10px;
}
th:last-of-type {
  border-top-right-radius: 10px;
}
tr:last-of-type td:first-of-type {
  border-bottom-left-radius: 10px;
}
tr:last-of-type td:last-of-type {
  border-bottom-right-radius: 10px;
}

.game-price-box {
    transition: all 0.2s ease-in-out;
    border-radius: 12px;
}
.price-highlight {
    font-size: 2rem;
    font-weight: 700;
}

.columns.equal-height .column {
  display: flex;
  flex-direction: column;
  align-items: stretch; /* garantit que toutes les .box ont la même largeur */
}

.columns.equal-height .box {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* aligne le contenu en haut */
}

.basket-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100%;
  background: white;
  box-shadow: -4px 0 12px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: right 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
}
.basket-drawer.open {
  right: 0;
}
.basket-drawer__header {
  padding: 1rem;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.basket-drawer__content {
  padding: 1rem;
  overflow-y: auto;
  flex-grow: 1;
}
.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.basket-list {
  list-style: none;
  padding-left: 0;
}


@media (max-width: 768px) {
  .desktop_banner {
    display: none;
  }

  .mobile_banner {
    display: block;
  }

  .content-hero--content {
    padding: 2rem 2rem 3rem;
  }
}
