html {
  transform: none !important;
}

body {
  transform: none !important;
}

/* ================= FIX GUIDAP FINAL ================= */

/* 🔥 désactive l'overlay vide Guidap */
body > .gdp-scoped-ui:empty {
    display: none !important;
    pointer-events: none !important;
}

/* 🔥 empêche blocage global */
body > .gdp-scoped-ui {
    pointer-events: none;
}

/* 🔥 réactive seulement les vrais popups */
#guidap-popups {
    pointer-events: auto;
}

.gdp-scoped-ui .g-button.button.style-primary{
  color: white;
}


/* empêche Guidap de créer un nouveau contexte */
.gdp-scoped-ui {
  transform: none !important;
  inset: 0;
  z-index: 999998 !important;
}

/* 🔥 FIX FINAL GUIDAP NAVBAR */
.nav-connexion .guidap-button-root.gdp-scoped-ui {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;

    display: block !important;
    width: 100% !important;
}

/* 🔥 bouton interne */
.nav-connexion .guidap-button-root button {
    width: 100% !important;
    position: relative !important;
}

/* ================= VARIABLES ================= */
:root {
    --bg: #f5f7fa;
    --surface: #ffffff;
    --primary: #2b2f38;
    --accent: #4f6bed;
    --text: #333;
    --muted: #777;
    --border: #e0e0e0;
}

/* ================= RESET ================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ================= LAYOUT ================= */
.main {
  margin-left: 240px;
  padding: 2.5rem;
}

h1, h2, h3 {
    color: var(--primary);
}

h2 {
    margin-bottom: 1.5rem;
}

/* ================= SIDEBAR NAV ================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 240px;
    height: 100vh;

    background-color: #BDD5EA;
    background: var(--surface);
    border-right: 1px solid var(--border);

    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 2.5rem;

    /* 🔥 FIX PRINCIPAL */
    z-index: 999999 !important;

    /* 🔥 protège contre les bugs de transform (Guidap) */
    transform: translateZ(0);
    will-change: transform;

    /* 🔥 évite certains bugs de rendu */
    backface-visibility: hidden;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo img {
	width: 190px;
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary);
    padding: 0.6rem 0.8rem;
    border-radius: 6px;
    font-weight: 500;
    transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
    background: var(--bg);
    color: var(--accent);
}

/* ================= CONNEXION NAVBAR ================= */
.nav-connexion {
    margin-top: auto;          /* 🔑 pousse le bloc en bas */
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);

    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.nav-connexion button {
    width: 100%;
}

.nav-user-name {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 0.2rem;
    word-break: break-word;
}

/* état caché */
.hidden {
    display: none;
}


/* ================= HAMBURGER ================= */
#nav-toggle {
    display: none;
}

.hamburger {
    position: fixed;
    top: 1.2rem;
    left: 1.2rem;
    width: 32px;
    height: 24px;

    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;

    z-index: 1100;
}

.hamburger span {
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* ================= HERO ================= */
.hero {
    margin-left: 240px;
    padding: 3rem 2.5rem 2rem;
}

.hero h1 {
    font-size: 2.5rem;
}

.hero p {
    color: var(--muted);
    margin: 0.5rem 0 1.5rem;
}

/* ================= BUTTONS ================= */
.btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.btn.primary {
    background: var(--accent);
    color: white;
}

.btn.secondary {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--primary);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ================= GRID / FLEX ================= */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.flex {
    display: flex;
    gap: 1rem;
}

.box {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
}

/* ================= CARDS ================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
	background-color: #FFF;
    border-radius: 10px;
    overflow: hidden;

    display: flex;
    flex-direction: column;

    transition: box-shadow 0.25s, transform 0.25s;
}

.card-badges {
    display: flex;             /* mettre les badges sur une ligne */
    justify-content: flex-start; /* alignement à gauche, tu peux mettre center si tu veux centrer */
}


.card:hover {
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    padding: 1rem 1.2rem 0.3rem;
}

.card p {
    padding: 0 1.2rem;
    color: var(--muted);
    flex-grow: 1;
}

.card .btn {
    margin: 1.2rem;
    align-self: flex-start;
}

/* ================= TABLE ================= */
table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border: 1px solid var(--border);
}

th, td {
    padding: 0.8rem;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    background: #fafafa;
}

/* ================= FORM ================= */
form {
    max-width: 500px;
    display: grid;
    gap: 1rem;
}

label {
    display: flex;
    flex-direction: column;
    font-size: 0.9rem;
    gap: 0.3rem;
}

input, select, textarea {
    padding: 0.6rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* ================= ALERTS ================= */
.alert {
    padding: 0.8rem 1rem;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.alert.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.alert.error {
    background: #ffebee;
    color: #c62828;
}

.alert.warning {
    background: #fff8e1;
    color: #f57f17;
}

.badge {
    display: inline-block;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background: #82d173ff;
    color: white;
    font-size: 0.75rem;
	margin-top: 5px;
	margin-left: 5px;
}

/* ================= CODE ================= */
pre {
    background: #111;
    color: #eee;
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
}

/* ================= MODAL ================= */
.modal {
    border: 1px dashed var(--border);
    padding: 2rem;
    border-radius: 8px;
}

/* ================= FOOTER ================= */
.site-footer {
    margin-left: 240px;
    background: #1b4965ff;
    padding: 2.5rem 2.5rem 1.5rem;
    font-size: 0.9rem;
    color: #E7D8C9;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #82d173ff;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.footer-section a {
    text-decoration: none;
    color: #E7D8C9;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #82d173ff;
}

/* Paiements */
/* ================= PAIEMENTS LOGOS ================= */
.payment-methods.logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.payment-methods.logos img {
    height: 28px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.8;
    transition: all 0.25s ease;
}

.payment-methods.logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: translateY(-2px);
}

.payment {
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    background: #fafafa;
    color: #E7D8C9;
    font-weight: 500;
}

.stripe-note {
    font-size: 0.75rem;
    color: #E7D8C9;
}

/* Footer bottom */
.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid #82d173ff;
    font-size: 0.75rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {

    footer,
    .hero {
        margin-left: 0;
        padding-top: 5rem;
    }

    .navbar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 99999;
    }
	
    .hamburger {
        display: flex;
    }

    #nav-toggle:checked ~ .navbar {
        transform: translateX(0);
    }

    #nav-toggle:checked + .hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    #nav-toggle:checked + .hamburger span:nth-child(2) {
        opacity: 0;
    }

    #nav-toggle:checked + .hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
	
	.payment-methods.logos img {
        height: 24px;
    }
    .main {
      margin-left: 0px;
      padding: 2.5rem;
    }
}

/* ================= SLIDER ================= */
.slider {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  height: 900px;
}

.slide-img-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.75;
}

.slide-img-1 img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
  display: block;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fadeAnimation 45s infinite;
}

.slide img {
  width: 100%;
  height: 100%; 
  object-fit: cover;
  display: block;
  opacity: 0.75;
}

.slide-text {
  position: absolute;
  top: 20%;
  left: 10%;
  color: #E7D8C9;

}

.slide-text h2 {
  color: #82d173ff;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.slide-text h3 {
  color: #82d173ff;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

.slide-text p {
  font-size: 1.1rem;
  -webkit-text-stroke: 1px #afa294;
}

/* ================= FADE ANIMATION ================= */
/* Chaque slide dure 15s, fade sur 2s */
.slide:nth-child(1) {
  animation-delay: 0s;
}

.slide:nth-child(2) {
  animation-delay: 15s;
}

.slide:nth-child(3) {
  animation-delay: 30s;
}

@keyframes fadeAnimation {
  0% { opacity: 0; }
  4% { opacity: 1; }
  30% { opacity: 1; }
  34% { opacity: 0; }
  100% { opacity: 0; }
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .slide-text h2 {
    font-size: 1.5rem;
  }
  .slide-text p {
    font-size: 0.9rem;
  }
}

.contact {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: white;
    font-weight: 500;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    gap: 1rem;
}

.contact-main-color {
    background: rgba(27, 73, 101, 0.85);
}

.contact-beige-color {
    background: rgba(231, 216, 201, 0.85);
}

.contact-orange-color {
    background: rgba(191, 139, 103, 0.85);
}

.contact-bleu-clair-color {
    background: rgba(185, 214, 242, 0.85);
}

/* ================= Desktop >=1024px : tenir compte de la navbar ================= */
@media (min-width: 1024px) {
    .contact {
        left: 240px; /* décalage pour la navbar */
        width: calc(100% - 240px);
    }
}

.contact a { color: white; text-decoration: underline; }
.contact a:hover { color: #82d173ff; }

/* Texte contact */
.contact-text { margin: 0; font-size: 0.9rem; }

/* ================= SELECT LANGUE ================= */
.lang-select {
    padding: 0.3rem 2rem 0.3rem 2.5rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.3);
    background-color: rgba(255,255,255,0.1);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 20px 14px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    margin-right: 1rem;
    position: relative;
}

/* Flèche custom */
.lang-select::after {
    content: "▼";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: white;
}

/* ================= SOCIAL ICONS ================= */
.contact-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 0.5rem;
}

.social-icons img {
    width: 24px;
    height: 24px;
    filter: none; /* couleurs originales */
    transition: transform 0.2s;
	filter: brightness(0) invert(1);
}

.social-icons a:hover img { transform: scale(1.2); }

/* ================= AREA ICONS ================= */
.area-icons {
    width: 100%;
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;     /* centre verticalement si nécessaire */
    gap: 0.5rem;
}


.area-icons img {
    width: 48px;
    height: 48px;
    filter: none; /* couleurs originales */
    transition: transform 0.2s;
}

.area-icons h1 {
    color: #E7D8C9;
}

.area-icons h2 {
    color: #82d173ff;
	text-align: center;
}

.area-icons a:hover img { transform: scale(1.2); }

/* ================= activities ICONS ================= */
.activities-icons {
    width: 100%;
    display: flex;
    justify-content: center; /* centre horizontalement */
    align-items: center;     /* centre verticalement si nécessaire */
    gap: 0.5rem;
}


.activities-icons img {
    width: 48px;
    height: 48px;
    filter: none; /* couleurs originales */
    transition: transform 0.2s;
}

.activities-icons h1 {
    color: #1b4965ff;
}

.activities-icons h2 {
    color: #82d173ff;
	text-align: center;
}

.activities-icons a:hover img { transform: scale(1.2); }

/* ================= RESPONSIVE <1024px ================= */
@media (max-width: 1023px) {
    .contact {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0.5rem;
        gap: 0.4rem;
        left: 0;
    }
    .lang-select { font-size: 0.8rem; padding: 0.2rem 1.5rem 0.2rem 2rem; background-size: 16px 12px; }
    .social-icons img { width: 20px; height: 20px; }
    .contact-right { width: 100%; justify-content: flex-start; gap: 0.5rem; }
    .site-footer {margin-left: 0px;}
}

.custom-select {
  position: relative;
  width: 150px;
  font-family: Arial, sans-serif;
  cursor: pointer;
}

.select-selected {
  border-bottom: 1px solid #ccc;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.select-selected img {
  width: 16px;
  height: 12px;
}

.select-items {
  position: absolute;
  width: 100%;
  z-index: 99;
  border-top: none; /* garde le top si besoin */
}

.select-items div {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #ccc; /* <-- bordure sur chaque item */
}

.select-items div:last-child {
  border-bottom: none; /* enlève la bordure du dernier pour éviter double bordure */
}

.select-items div:hover {
  background-color: #f1f1f1;
}

.select-hide {
  display: none;
}

.div {
    min-height: 500px;
    position: relative;
}

.back-bleu {
    background-color: #1b4965ff;
}

.back-beige {
    background-color: #E7D8C9;
}

.back-orange {
    background-color: #BF8B67;
}

.back-bleu-clair {
    background-color: #B9D6F2;
}

.wave {
  position: absolute;
  bottom: 0;      /* coller en bas du parent (.slider) */
  left: 0;
  width: 100%;
  height: 320px;  /* hauteur du SVG */
  overflow: hidden;
  pointer-events: none;
}

.wave svg {
    position: absolute;
    bottom: 0;
    left: 50%;           /* centre horizontal */
    width: 100%;          /* largeur doublée pour couvrir tout l’écran */
    height: 100%;
    transform: translateX(-50%); /* recentre la vague */
    display: block;
}

.wave-svg {
    width: 4000px;        /* largeur fixe = viewBox */
    height: 320px;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.wave-space {      /* largeur fixe = viewBox */
    height: 250px;
}

.accordion {
  max-width: 900px;
  margin: 40px auto 0;

}

.accordion-item {
  border-bottom: 1px solid #ccc;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 20px;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: #1b4965ff;
}

.accordion-header::after {
  content: "+";
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.accordion-header.active::after {
  content: "−";
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  color: #1b4965ff;
}

.accordion-content p {
  padding: 15px 0;
  margin: 0;
}

.hour-btn {
  margin: 5px;
  padding: 10px 15px;
  border: 1px solid #4c6ef5;
  background: white;
  border-radius: 6px;
  cursor: pointer;
}

.hour-btn.selected {
  background: #4c6ef5;
  color: white;
}







.login-slider-container {
    color: #82d173ff;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    position: relative;
    margin-left: 50%;       /* pousse le conteneur au milieu */
    transform: translateX(-50%); /* décale pour centrer */
    justify-content: center;     /* centre les colonnes à l’intérieur */
    align-items: flex-start;
}

.login-classic, .login-google {
    flex: 1 1 300px;
    background: #fff; /* couleur claire pour slider */
    padding: 20px;
    border-radius: 8px;
}

.login-classic h4, .login-google h4 {
    text-align: center;
    margin-bottom: 15px;
}

.login-classic input {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.btn.primary {
    width: 100%;
    background-color: #4c6ef5;
    color: white;
    border-radius: 5px;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn.primary:hover {
    background-color: #364fc7;
}

#google-login-button {
    display: flex;
    justify-content: center;
}

/* ===== CARD OVERLAY STYLE (INTERRA-LIKE) ===== */
.card--overlay {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    padding: 0;
    height: 420px;
    background: #000;
}

/* image full card */
.card--overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s ease;
}

/* overlay */
.card--overlay .card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.6rem;
    gap: 0.6rem;

    background: linear-gradient(
        to top,
        rgba(27, 73, 101, 0.9),
        rgba(27, 73, 101, 0.4),
        transparent
    );

    color: #E7D8C9;
}

/* badges */
.card--overlay .card-badges {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

.card--overlay .badge {
    background: #82d173ff;
    color: #1b4965ff;
    font-weight: 600;
    font-size: 0.7rem;
}

/* title */
.card--overlay h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #82d173ff;
    margin: 0;
}

/* description */
.card--overlay p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #E7D8C9;
    max-width: 95%;
}

/* hover */
.card--overlay:hover img {
    transform: scale(1.1);
}

/* léger zoom + shadow */
.card--overlay:hover {
    box-shadow: 0 18px 40px rgba(0,0,0,0.25);
}

.card.card--overlay img {
    height: 100%;
}

@media (max-width: 768px) {
    .card--overlay {
        height: 320px;
    }

    .card--overlay h3 {
        font-size: 1.1rem;
    }

    .card--overlay p {
        font-size: 0.85rem;
    }
}

.board {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.day {
  background: #1e293b;
  border-radius: 12px;
  min-height: 200px;
  padding: 10px;
}

.day h3 {
  font-size: 14px;
  opacity: 0.6;
}

.note {
  padding: 8px;
  border-radius: 8px;
  margin-top: 8px;
  color: #111;
  font-weight: 600;
  cursor: grab;
  user-select: none;
}

.modal {
  position: fixed;
  margin-left: 240px;
  bottom: 20px;
  left: 50%;
  background: #1e293b;
  padding: 15px;
  border-radius: 12px;
}

.hidden {
  display: none;
}

textarea {
  width: 250px;
  height: 80px;
}

.colors span {
  width: 20px;
  height: 20px;
  display: inline-block;
  border-radius: 50%;
  cursor: pointer;
}

.login-slider-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; ❌
}

/* ================= LOGIN CENTERING ================= */

.content-area {
    margin-left: 240px;
    width: calc(100% - 240px);
    height: 100%;
    position: relative;
}

@media (max-width: 1024px) {
    .content-area {
        margin-left: 0;
        width: 100%;
    }
}

/* centre réel du login */
.login-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: 0 1rem;
}

/* ================= LOGIN / REGISTER SLIDER ================= */

.auth-slider {
    overflow: hidden;
    width: 760px;
    max-width: 100%;
}

.auth-track {
    display: flex;
    width: 200%;
    transition: transform 0.5s ease;
}

.auth-track.is-register {
    transform: translateX(-50%);
}

.auth-panel {
    width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

/* switch buttons */
.auth-switch {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    gap: 10px;
}

.auth-switch button {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #4c6ef5;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
}

.auth-switch button.active {
    background: #4c6ef5;
    color: #fff;
}

/* ================= FIX PAIEMENT UNIQUEMENT ================= */

.payment-center {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 90%;
    max-width: 520px;
}

.payment-page .slide-text {
  position: relative;
  top: auto;
  left: auto;
}

.payment-page .slide-img-1 {
  position: relative;
}

.payment-page .slider {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= NAVBAR THEMES ================= */

.nav-theme {
    position: relative;
}

.nav-theme-title::after {
    content: "▾";
    float: right;
    font-size: 0.7rem;
    opacity: 0.6;
}

/* sous menu */
.nav-submenu {
    list-style: none;
    display: none;
    margin-left: 10px;
    margin-top: 4px;
    border-left: 2px solid var(--border);
}

.nav-submenu li a {
    font-size: 0.9rem;
    padding-left: 12px;
    color: var(--muted);
}

/* ouverture */
.nav-submenu {
    display: none;
}

.nav-theme.open .nav-submenu {
    display: block;
}

.cart-wrapper {
    margin-bottom: 10px; /* garde l'espace comme avant */
}

.cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;

    background: #e63946;
    color: white;

    font-size: 0.7rem;
    font-weight: 600;

    padding: 2px 6px;
    border-radius: 999px;

    min-width: 16px;
    text-align: center;
    line-height: 1.2;
}

/* ================= PAGE PANIER UNIQUEMENT ================= */

.cart-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

/* ===== ITEMS ===== */

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px;

  display: flex;
  gap: 18px;
  align-items: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

.cart-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.1);
}

/* IMAGE */
.cart-item img {
  width: 120px;
  height: 120px;
  min-width: 120px;

  object-fit: cover;
  border-radius: 14px;
}

/* INFOS */
.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1b4965;
  margin-bottom: 6px;
}

.cart-item-meta {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 2px;
}

/* PRIX */
.cart-item-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #82d173;
  margin-top: 6px;
}

/* SUPPRIMER */
.cart-remove {
  margin-top: 10px;
  padding: 6px 12px;
  border-radius: 8px;

  border: 1px solid #e63946;
  background: #fff;
  color: #e63946;

  cursor: pointer;
  transition: 0.2s;
}

.cart-remove:hover {
  background: #e63946;
  color: white;
}

/* ===== SUMMARY ===== */

.cart-summary {
  background: #ffffff;
  border-radius: 18px;
  padding: 25px;

  height: fit-content;

  box-shadow: 0 10px 25px rgba(0,0,0,0.06);

  position: sticky;
  top: 30px;
}

.cart-summary h3 {
  color: #1b4965;
  margin-bottom: 10px;
}

/* TOTAL */
.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  font-size: 1.1rem;
}

.cart-total strong {
  font-size: 1.4rem;
  color: #1b4965;
}

/* BOUTON */
.cart-checkout {
  width: 100%;
  padding: 14px;
  border-radius: 12px;

  font-weight: 600;
  font-size: 1rem;

  background: linear-gradient(135deg, #4c6ef5, #364fc7);
  color: white;

  border: none;
  cursor: pointer;

  transition: 0.2s;
}

.cart-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(76,110,245,0.4);
}

/* ===== RESPONSIVE ===== */

@media(max-width:900px){
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

/* ===== DESCRIPTION LONGUE ===== */

.description-long-box {
  margin-top: 2rem;
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}

.title-desc {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #fff;
}

/* 👉 TEXTE EN VERT */
.description-long-text {
  color: #2ecc71; /* vert propre */
  line-height: 1.7;
  font-size: 1.05rem;
}

/* effet plus clean */
.description-long-text br {
  margin-bottom: 8px;
  display: block;
}
/* ================= GUIDAP CLEAN FIX ================= */

/* cache icône */
.gd-trolley {
  display: none;
}

/* supprime texte guidap UNE SEULE FOIS */
guidap-cart-button button span {
  display: none !important;
}

/* bouton full width */
guidap-cart-button {
  display: block;
  width: 100%;
}

/* style bouton */
guidap-cart-button button {
  width: 100% !important;

  padding: 0.6rem 1.2rem !important;
  border-radius: 6px !important;

  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--primary) !important;

  font-weight: 500 !important;
  font-size: 14px !important;
  font-family: inherit !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: relative; /* 🔥 important pour centrage */

  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

/* texte custom parfaitement centré */
guidap-cart-button button::before {
  content: "Panier";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

/* hover */
guidap-cart-button button:hover {
  background: var(--bg) !important;
  color: var(--accent) !important;
}

/* force le composant */
guidap-cart-button {
  display: block;
  width: 100%;
}

/* force le bouton interne */
guidap-cart-button button {
  width: 100% !important;
  display: block !important;
}

.guidap-button-root {
  width: 100% !important;
}

/* même largeur */
guidap-cart-button {
  display: block;
  width: 100%;
}

/* bouton interne */
guidap-cart-button button {
  width: 100% !important;

  /* 🔥 même police */
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;

  /* 🔥 supprime effets hover */
  transition: none !important;
}

/* supprime hover */
guidap-cart-button button:hover {
  background: inherit !important;
  color: inherit !important;
  box-shadow: none !important;
  transform: none !important;
  filter: none !important;
}
