@charset "UTF-8";
/* === BEST SELLERS === */
.best-sellers {
  padding: 80px 20px;
  background-color: #fdfaf7;
  text-align: center; }
  .best-sellers h2 {
    font-size: 2.2rem;
    margin-bottom: 4rem; }
  .best-sellers .best-sellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto; }
  .best-sellers .product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease;
    text-decoration: none;
    color: inherit; }
    .best-sellers .product-item:hover {
      transform: translateY(-4px);
      text-decoration: none; }
    .best-sellers .product-item .macaron-img {
      width: 130px;
      height: 130px;
      object-fit: cover;
      border-radius: 50%;
      border: 3px solid #e3dcd7;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08); }
    .best-sellers .product-item .product-name {
      margin-top: 0.75rem;
      font-weight: 600;
      font-size: 1rem;
      color: #6e5c44;
      font-family: 'Georgia', serif;
      text-align: center; }

/* === SECTION ABOUT === */
.about {
  padding: 60px 20px;
  background-color: #a7b59c;
  color: #2f2f2f;
  /* === Carte principale cliquable === */ }
  .about .section-title, .about .best-sellers h2, .best-sellers .about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #EFE2C1;
    font-family: 'Cinzel Decorative', serif; }
  .about .about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto; }
  .about .about-card {
    position: relative;
    z-index: 0;
    background-color: #fdfaf7;
    border-radius: 30px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    overflow: hidden;
    /* 🌸 Halo lumineux rosé */
    /* === Image circulaire === */
    /* === Contenu texte === */ }
    .about .about-card::before {
      content: "";
      position: absolute;
      inset: -10px;
      border-radius: 35px;
      background: radial-gradient(circle, rgba(255, 192, 203, 0.35) 0%, transparent 70%);
      opacity: 0;
      transition: opacity 0.4s ease, transform 0.4s ease;
      z-index: -1; }
    .about .about-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 8px 25px rgba(185, 107, 117, 0.25);
      filter: brightness(1.03); }
      .about .about-card:hover::before {
        opacity: 1;
        transform: scale(1.05); }
      .about .about-card:hover .card-image {
        transform: scale(1.08);
        box-shadow: 0 0 25px rgba(255, 192, 203, 0.45); }
    .about .about-card .card-image {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      overflow: hidden;
      margin-bottom: 1rem;
      background-color: #fdfaf7;
      /* fond doux derrière PNG transparent */
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 0.3s ease, box-shadow 0.4s ease; }
      .about .about-card .card-image .icon-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        /* garde l’intégralité du PNG */
        object-position: center;
        display: block; }
    .about .about-card h3 {
      font-size: 1.4rem;
      color: #4b2e2e;
      margin-bottom: 20px;
      font-weight: 700; }
    .about .about-card p {
      margin: 0 0 10px;
      line-height: 1.6;
      font-size: 1rem; }
    .about .about-card .about-list {
      list-style: none;
      padding: 0;
      margin: 0;
      font-size: 0.95rem; }
      .about .about-card .about-list li {
        margin: 5px 0;
        padding-left: 1.2em;
        position: relative;
        text-align: left; }
        .about .about-card .about-list li::before {
          content: "•";
          color: #a7b59c;
          font-weight: bold;
          position: absolute;
          left: 0; }
    .about .about-card .card-logo {
      margin-top: 1.5rem;
      display: flex;
      justify-content: center; }
      .about .about-card .card-logo .logo-image {
        max-width: 140px;
        width: 100%;
        height: auto;
        border-radius: 10px; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .about {
    padding: 40px 15px; }
    .about .about-card {
      padding: 25px 20px; }
    .about .card-image {
      width: 110px;
      height: 110px; }
  .hero .hero-image {
    height: 70vh; }
  .about-card .card-logo .logo-image {
    max-width: 120px; } }

/* === TITRES GÉNÉRAUX === */
.section-title, .best-sellers h2 {
  text-align: center;
  color: #6e5c44;
  font-family: 'Cinzel Decorative', serif; }

/* === BOUTONS === */
.btn {
  background-color: #d3a5a0;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease; }
  .btn.btn-primary {
    background-color: #b96b75; }
    .btn.btn-primary:hover {
      background-color: #a05260; }
  .btn.btn-secondary {
    background-color: #cfaeaa; }
    .btn.btn-secondary:hover {
      background-color: #ba9a96; }

/* === SECTION HERO === */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden; }
  .hero .hero-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    display: block; }
  .hero .slideshow-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px; }
    .hero .slideshow-dots span {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.9);
      cursor: pointer;
      transition: background 0.3s, transform 0.3s; }
      .hero .slideshow-dots span:hover {
        transform: scale(1.2); }
      .hero .slideshow-dots span.active {
        background: #fff; }

/* === ANIMATION D’APPARITION === */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1); }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0); }

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .about {
    padding: 40px 15px; }
    .about .about-card {
      padding: 25px 20px; }
  .hero .hero-image {
    height: 70vh; }
  .about-card .card-logo .logo-image {
    max-width: 120px; } }

/* === ANIMATION D’APPARITION FLUIDE (fade + zoom + décalage) === */
@keyframes fadeZoomIn {
  0% {
    opacity: 0;
    transform: scale(0.95) translateY(20px); }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0); } }

.fade-zoom {
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  animation-fill-mode: forwards;
  /* ✨ Délai progressif selon la position */ }
  .fade-zoom.visible {
    animation: fadeZoomIn 1s ease forwards; }
  .fade-zoom:nth-child(1) {
    animation-delay: 0.1s; }
  .fade-zoom:nth-child(2) {
    animation-delay: 0.35s; }
  .fade-zoom:nth-child(3) {
    animation-delay: 0.6s; }

/* === About Page === */
.about-page {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  /* Texte */
  /* Responsive */ }
  .about-page .about-container {
    display: flex;
    align-items: center;
    /* centre verticalement tous les éléments */
    justify-content: center;
    /* centre horizontalement si besoin */
    gap: 3rem;
    flex-wrap: wrap; }
  .about-page .portrait-wrapper {
    flex: 1 1 300px;
    display: flex;
    justify-content: center;
    /* centre horizontalement */
    align-items: center;
    /* centre verticalement */
    margin-top: 1.5rem; }
    .about-page .portrait-wrapper .portrait-image {
      width: 280px;
      height: 380px;
      border-radius: 50%;
      object-fit: cover;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
      border: 4px solid #efe3c2; }
  .about-page .about-content {
    flex: 2 1 500px; }
    .about-page .about-content .section-title, .about-page .about-content .best-sellers h2, .best-sellers .about-page .about-content h2 {
      font-size: 2rem;
      margin-bottom: 1.5rem;
      color: #6E5C44;
      position: relative; }
      .about-page .about-content .section-title::after, .about-page .about-content .best-sellers h2::after, .best-sellers .about-page .about-content h2::after {
        content: "";
        display: block;
        width: 60px;
        height: 4px;
        background: #a7b59c;
        margin-top: 0.5rem; }
    .about-page .about-content p {
      font-size: 1.1rem;
      line-height: 1.8;
      margin-bottom: 1.2rem;
      color: #333; }
      .about-page .about-content p strong {
        color: #6E5C44; }
      .about-page .about-content p em {
        font-style: italic;
        color: #a5765a; }
    .about-page .about-content .signature {
      font-size: 1.2rem;
      font-weight: bold;
      margin-top: 2rem;
      color: #705c47;
      text-align: right; }
  @media (max-width: 768px) {
    .about-page .about-container {
      flex-direction: column;
      align-items: center;
      text-align: center; }
    .about-page .portrait-wrapper {
      justify-content: center;
      align-items: center;
      margin-top: 0; }
    .about-page .about-content .section-title::after, .about-page .about-content .best-sellers h2::after, .best-sellers .about-page .about-content h2::after {
      margin-left: auto;
      margin-right: auto; }
    .about-page .about-content .signature {
      text-align: center; } }
/* Animation fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.25, 0.1, 0.25, 1), transform 1s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity, transform;
  filter: blur(6px);
  /* léger flou avant apparition */ }
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0); }

@media (max-width: 768px) {
  .fade-in {
    transition-duration: 0.8s; } }

/* ===== Page Contact ===== */
.contact-page {
  padding: 60px 20px;
  background-color: #faf6f2;
  font-family: 'Playfair Display', serif; }

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem; }

.contact-form-column,
.contact-info-column {
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); }

/* Responsive : une seule colonne sur mobile */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr; } }

.contact-intro {
  font-size: 1.1rem;
  color: #4a3d36;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-align: center; }

/* ===== Formulaire ===== */
.contact-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 3rem;
  text-align: left; }

.contact-form .form-group {
  margin-bottom: 1.5rem; }

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #6e5c44; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d8cfc7;
  border-radius: 8px;
  font-size: 1rem; }

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b96b75;
  outline: none;
  box-shadow: 0 0 5px rgba(185, 107, 117, 0.3); }

.contact-form .btn {
  background-color: #b96b75;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  display: inline-block;
  cursor: pointer; }

.contact-form .btn:hover {
  background-color: #925554; }

/* ===== Coordonnées ===== */
.contact-info {
  margin-bottom: 2rem;
  font-size: 1.1rem;
  color: #4a3d36;
  margin-left: 1.5rem; }

.contact-info p {
  margin: 0.5rem 0; }

.contact-info i {
  margin-right: 8px;
  color: #b96b75; }

.contact-info a {
  color: #6e5c44;
  text-decoration: none;
  transition: color 0.3s ease; }

.contact-info a:hover {
  color: #b96b75; }

/* ===== Horaires ===== */
.opening-hours {
  margin: 2rem 0;
  text-align: left;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); }

.opening-hours h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  color: #6e5c44; }

.opening-hours ul {
  list-style: none;
  padding: 0; }

.opening-hours li {
  margin: 0.3rem 0;
  font-size: 1rem;
  color: #4a3d36; }

/* ===== Carte Google Maps ===== */
.map-container {
  margin: 2rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); }

/* ===== Réseaux sociaux ===== */
.social-links {
  margin-top: 2.5rem;
  text-align: center; }

.social-links h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #6e5c44; }

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #cfaeaa;
  /* ton rose poudré */
  color: white;
  font-size: 2rem;
  border-radius: 50%;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease; }

.social-links a:hover {
  background-color: #b96b75;
  /* variante plus soutenue */
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(185, 107, 117, 0.3); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .contact-form {
    padding: 1.5rem; }
  .opening-hours {
    padding: 1rem; }
  .social-links a {
    width: 50px;
    height: 50px;
    font-size: 1.8rem; } }

/* === MODAL OVERLAY === */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4);
  z-index: 9999;
  overflow: hidden;
  filter: none !important;
  backdrop-filter: none !important;
  isolation: isolate; }

/* === MODAL CONTENT === */
.modal-content {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  background: #fff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  animation: modalFadeIn 0.35s ease; }
  .modal-content::-webkit-scrollbar {
    width: 8px; }
  .modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 8px; }
  .modal-content::-webkit-scrollbar-thumb {
    background: #b96b75;
    border-radius: 8px; }
  .modal-content::-webkit-scrollbar-thumb:hover {
    background: #925554; }

/* === CLOSE BUTTON === */
.close-modal {
  position: sticky;
  top: 0;
  float: right;
  margin-left: auto;
  margin-top: -0.5rem;
  font-size: 1.5rem;
  color: #6e4b3e;
  text-decoration: none;
  z-index: 2; }
  .close-modal:hover {
    color: #b96b75; }

/* === LAYOUT === */
.product-show {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start; }

/* LEFT COLUMN */
.left-col {
  text-align: center; }
  .left-col .modal-product-image {
    width: 100%;
    max-width: 520px;
    height: auto;
    max-height: 350px;
    object-fit: cover;
    border-radius: 1rem;
    margin-inline: auto;
    margin-bottom: 1rem;
    transition: opacity 0.25s ease; }
  .left-col .product-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: #4a3d36;
    margin: 0.75rem 0 0.25rem; }
  .left-col .product-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #b96b75;
    margin: 0.25rem 0 0.5rem; }

/* RIGHT COLUMN */
.form-col form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem; }
  .form-col form label {
    font-weight: 600;
    color: #4a3d36;
    font-size: 1rem; }
  .form-col form .form-control {
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1px solid #d3d3d3;
    font-size: 1rem;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff; }
  .form-col form .fixed-button {
    position: sticky;
    bottom: 10px;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 60%); }
    .form-col form .fixed-button .btn-primary {
      display: block;
      width: 100%;
      background-color: #b96b75;
      padding: 0.9rem 1.25rem;
      border-radius: 999px;
      font-size: 1rem;
      font-weight: 700;
      color: #fff;
      box-shadow: 0 6px 14px rgba(185, 107, 117, 0.25); }
      .form-col form .fixed-button .btn-primary:hover {
        background-color: #925554; }

.form-col .modal-actions {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center; }
  .form-col .modal-actions .btn {
    flex: 1 1 45%;
    min-width: 160px;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    text-align: center; }
  .form-col .modal-actions .btn-secondary {
    background: #8cbf9f;
    color: #fff; }
    .form-col .modal-actions .btn-secondary:hover {
      background: #6aa37f; }
  .form-col .modal-actions .btn-outline {
    border: 1px solid #b96b75;
    color: #b96b75;
    background: transparent; }
    .form-col .modal-actions .btn-outline:hover {
      background: #f7e8e8; }

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease; }
  .fade-in:not(.hidden) {
    opacity: 1;
    transform: translateY(0); }

@keyframes modalFadeIn {
  from {
    opacity: 0.85;
    transform: scale(0.985); }
  to {
    opacity: 1;
    transform: scale(1); } }

/* === TABLETTE (768–1024) === */
@media (max-width: 1024px) and (min-width: 768px) {
  .modal-content {
    max-width: 700px;
    padding: 1.5rem; }
  .product-show {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem; }
  .left-col .modal-product-image {
    max-width: 440px;
    max-height: 300px; }
  .left-col .product-title {
    font-size: 1.5rem; }
  .left-col .product-price {
    font-size: 1.3rem; }
  .form-col form .form-control {
    font-size: 0.95rem;
    padding: 0.7rem 0.9rem; }
  .form-col form .btn-primary {
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem; } }

/* === MOBILE (≤ 900) === */
@media (max-width: 900px) {
  .product-show {
    grid-template-columns: 1fr;
    gap: 1.5rem; }
  .left-col .modal-product-image {
    width: 100%;
    max-height: 300px; } }

/* === PETITS ÉCRANS (≤ 576) === */
@media (max-width: 576px) {
  .modal-content {
    padding: 1rem;
    max-height: 85vh;
    border-radius: 1rem; }
  .product-show {
    gap: 1rem; }
  .left-col .modal-product-image {
    max-height: 250px; }
  label {
    font-size: 0.9rem; }
  .form-control {
    font-size: 0.95rem;
    padding: 0.7rem; }
  .modal-actions {
    flex-direction: column; }
    .modal-actions .btn {
      width: 100%;
      min-width: 0; } }

/* === VIEWPORTS BAS (hauteur < 540px) === */
@media (max-height: 540px) {
  .modal-content {
    max-height: 92vh; }
  .left-col .modal-product-image {
    max-height: 200px; } }

/* === ACCESSIBILITÉ : sans mouvement === */
@media (prefers-reduced-motion: reduce) {
  .modal-content, .fade-in, .left-col .modal-product-image {
    animation: none !important;
    transition: none !important; } }

/* === CLARTÉ VISUELLE === */
.modal-overlay,
.modal-overlay *,
.modal-content,
.modal-content * {
  filter: none !important;
  backdrop-filter: none !important; }

body.modal-open {
  filter: none !important;
  backdrop-filter: none !important; }

/* === UTILITAIRES === */
.hidden {
  display: none !important; }

.char-counter {
  font-size: 0.85rem;
  color: #8c7b75;
  text-align: right;
  margin-top: 4px;
  transition: color 0.2s ease; }

.char-counter.limit-reached {
  color: #b96b75;
  font-weight: 600; }

/* Centrage robuste PC + fallback quand le contenu dépasse la hauteur */
body.modal-open {
  overflow: hidden;
  /* empêche le body de scroller derrière */ }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  /* ✅ vrai centrage */
  display: flex;
  align-items: center;
  justify-content: center;
  /* ✅ tient compte des barres d’UI et permet de scroller si contenu trop grand */
  height: 100dvh;
  padding: 24px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.4);
  isolation: isolate;
  filter: none !important;
  backdrop-filter: none !important; }

/* Le modal se centre et peut prendre de la marge si trop haut */
.modal-content {
  margin: auto;
  /* ✅ centre l’élément même si overlay scroll */
  width: 100%;
  max-width: 900px;
  max-height: 90vh;
  overflow: auto;
  /* le contenu interne peut scroller */
  border-radius: 1.5rem;
  background: #fff;
  padding: 2rem;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  animation: modalFadeIn 0.35s ease; }

/* Évite que le bouton “✕” casse la largeur et le centrage */
.close-modal {
  position: absolute;
  /* plutôt que sticky/float */
  top: 16px;
  right: 16px;
  font-size: 1.5rem;
  color: #6e4b3e;
  text-decoration: none; }
  .close-modal:hover {
    color: #b96b75; }

/* Sur écrans très bas, on réduit un peu pour garder le centrage visuel */
@media (max-height: 700px) {
  .modal-content {
    max-height: 85vh;
    padding: 1.25rem; } }

/* Si le contenu est vraiment plus grand que l’écran, on cale en haut (meilleur UX) */
@media (max-height: 560px) {
  .modal-overlay {
    align-items: flex-start;
    /* ancre en haut */ }
  .modal-content {
    margin-top: 24px; } }

.cart-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  margin-bottom: 20px;
  color: #6e4b3e;
  text-align: center; }

.cart-items-container {
  display: flex;
  flex-direction: column;
  gap: 15px; }

.cart-item-card {
  display: flex;
  gap: 15px;
  padding: 15px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); }

.cart-item-info {
  flex: 1; }
  .cart-item-info p {
    margin: 3px 0;
    color: #555; }
  .cart-item-info .cart-item-name {
    font-size: 1.2rem;
    color: #6e4b3e; }
  .cart-item-info .cart-item-subtotal {
    margin-top: 5px;
    color: #b07c6a;
    font-weight: bold; }

.cart-summary {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  text-align: center; }
  .cart-summary p {
    font-size: 1.2rem;
    margin-bottom: 10px; }
  .cart-summary .btn {
    background-color: #b07c6a;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold; }
    .cart-summary .btn:hover {
      background-color: #6e4b3e; }

.cart-empty {
  text-align: center;
  color: #888;
  font-size: 1.1rem; }

.cgv-container {
  max-width: 900px;
  margin: 60px auto;
  /* centre verticalement */
  padding: 30px 30px 30px 60px;
  /* padding avec plus à gauche */
  background: #FCFAF6;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  color: #333;
  line-height: 1.8;
  font-family: 'Helvetica', sans-serif; }

h1 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2.5rem;
  color: #6E5C44; }

.cgv-nav {
  text-align: left;
  /* menu aligné à gauche */
  margin-bottom: 2rem; }

.cgv-nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px; }

.cgv-nav a {
  text-decoration: none;
  /* supprime le trait sous les liens */
  color: #b7794f;
  font-weight: bold; }

.cgv-nav a:hover {
  color: #6E5C44; }

h2 {
  margin-top: 2.5rem;
  font-size: 1.6rem;
  color: #4b2e2e; }

p, li {
  font-size: 1rem;
  margin-bottom: 0.8rem; }

ul {
  padding-left: 1.5rem;
  list-style: disc; }

em {
  color: #888; }

.back-to-top {
  display: block;
  text-align: center;
  margin-top: 3rem;
  text-decoration: none;
  color: #b7794f;
  font-weight: bold; }

/* Responsive */
@media (max-width: 768px) {
  .cgv-container {
    padding: 20px 20px 20px 30px;
    /* ajustement padding mobile */
    margin: 40px 10px; }
  h1 {
    font-size: 2rem; }
  h2 {
    font-size: 1.4rem; }
  .cgv-nav ul {
    flex-direction: column;
    gap: 10px; } }

.orders-page {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
  background: #fdfaf7;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
  .orders-page .section-title, .orders-page .best-sellers h2, .best-sellers .orders-page h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: #6E5C44; }
  .orders-page .orders-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem; }
    .orders-page .orders-table th, .orders-page .orders-table td {
      padding: 12px 16px;
      border-bottom: 1px solid #ddd;
      text-align: left; }
    .orders-page .orders-table th {
      background: #A7B59C;
      color: #fff;
      font-weight: 600; }
    .orders-page .orders-table tr:hover {
      background: #f5f5f5; }
    .orders-page .orders-table .btn {
      padding: 6px 12px;
      border-radius: 6px;
      font-size: 0.9rem;
      text-decoration: none; }
    .orders-page .orders-table .btn-primary {
      background: #8cbf9f;
      color: #fff; }
      .orders-page .orders-table .btn-primary:hover {
        background: #76aa89; }

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
  background: #f9f9f7; }

.auth-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  max-width: 400px;
  width: 100%;
  text-align: center; }

.auth-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.8rem;
  color: #6E5C44;
  margin-bottom: 1.5rem; }

/* Formulaire */
.auth-form .form-group {
  margin-bottom: 1.2rem;
  text-align: left;
  /* meilleur alignement que center */ }

.auth-form label {
  display: block;
  font-weight: 600;
  color: #4a3d36;
  margin-bottom: 0.3rem; }

.auth-form .form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
  box-sizing: border-box; }

.auth-form .form-input:focus {
  outline: none;
  border-color: #b96b75;
  box-shadow: 0 0 0 3px rgba(185, 107, 117, 0.2); }

.auth-form .actions {
  margin-top: 1.5rem; }
  .auth-form .actions .btn {
    width: 100%;
    /* ✅ bouton prend toute la largeur */ }

/* Boutons */
.btn.btn-primary {
  background-color: #b96b75;
  color: white;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s; }

.btn.btn-primary:hover {
  background-color: #925554; }

/* Liens et hints */
.auth-links {
  margin-top: 1rem;
  font-size: 0.9rem; }
  .auth-links a {
    color: #6E5C44;
    text-decoration: none; }
    .auth-links a:hover {
      text-decoration: underline; }

.auth-hint {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.8rem;
  color: #8e7a5c; }

/* ====== Styles généraux pour Devise ====== */
.devise-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 2rem;
  background: #fdfaf7;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  /* Liens secondaires (mot de passe oublié, inscription, etc.) */ }
  .devise-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #6E5C44;
    font-weight: 700; }
  .devise-container .field {
    margin-bottom: 1rem;
    text-align: left; }
    .devise-container .field label {
      font-weight: 600;
      color: #6E5C44;
      margin-bottom: 0.3rem;
      display: block; }
    .devise-container .field input {
      width: 100%;
      padding: 0.6rem 0.8rem;
      border: 1px solid #ccc;
      border-radius: 6px;
      font-size: 1rem;
      transition: border 0.2s; }
      .devise-container .field input:focus {
        border-color: #a7b59c;
        outline: none; }
  .devise-container .actions {
    margin-top: 1.5rem; }
    .devise-container .actions .btn {
      display: inline-block;
      background-color: #8cbf9f;
      color: #fff;
      padding: 0.7rem 1.5rem;
      border-radius: 6px;
      font-size: 1rem;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      transition: background 0.3s ease; }
      .devise-container .actions .btn:hover {
        background-color: #76aa89; }
  .devise-container .devise-links {
    margin-top: 1.5rem;
    font-size: 0.95rem; }
    .devise-container .devise-links a {
      color: #6E5C44;
      text-decoration: none;
      font-weight: 500; }
      .devise-container .devise-links a:hover {
        text-decoration: underline;
        color: #d3a5a0; }

.delivery-form-container {
  max-width: 720px;
  margin: 3rem auto;
  padding: 2.5rem;
  background: #fffdfb;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  font-family: "Open Sans", sans-serif;
  color: #4a3d36;
  transition: all 0.3s ease;
  /* === TITRES === */
  /* === NOTICE INFO === */
  /* === SECTIONS === */
  /* === FORMULAIRES === */
  /* === BLOC DEUIL === */
  /* === ACTIONS === */
  /* === FLATPICKR === */
  /* === SUPPRESSION DU FLOU + ACCORDÉON === */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* === RESPONSIVE === */ }
  .delivery-form-container h2 {
    font-family: "Cinzel Decorative", serif;
    font-size: 2rem;
    color: #6E5C44;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: 0.5px; }
  .delivery-form-container h3, .delivery-form-container h4 {
    font-size: 1.25rem;
    margin: 1.8rem 0 1rem;
    color: #4b2e2e;
    border-bottom: 1px solid #e5d7cf;
    padding-bottom: 0.3rem;
    font-weight: 600; }
  .delivery-form-container .delivery-notice {
    background: #fdf8f4;
    border: 1px solid #e5d7cf;
    border-radius: 12px;
    padding: 1.3rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem; }
    .delivery-form-container .delivery-notice ul {
      list-style: none;
      margin: 0;
      padding: 0; }
      .delivery-form-container .delivery-notice ul li {
        margin-bottom: 0.6rem; }
        .delivery-form-container .delivery-notice ul li strong {
          color: #b96b75; }
  .delivery-form-container .delivery-section,
  .delivery-form-container .pickup-section {
    background: #fdfaf8;
    border: 1px solid #ebdfd9;
    border-radius: 14px;
    padding: 1.5rem;
    margin-top: 1.2rem;
    transition: all 0.3s ease; }
  .delivery-form-container .form-group {
    margin-bottom: 1.4rem; }
    .delivery-form-container .form-group label {
      display: block;
      font-weight: 600;
      margin-bottom: 0.4rem;
      color: #4a3d36; }
    .delivery-form-container .form-group input,
    .delivery-form-container .form-group select,
    .delivery-form-container .form-group textarea {
      width: 100%;
      padding: 0.8rem 1rem;
      border: 1px solid #e5d7cf;
      border-radius: 12px;
      font-size: 1rem;
      background: #fdf8f4;
      box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.04);
      transition: border-color 0.25s ease, box-shadow 0.25s ease; }
      .delivery-form-container .form-group input:focus,
      .delivery-form-container .form-group select:focus,
      .delivery-form-container .form-group textarea:focus {
        border-color: #b96b75;
        box-shadow: 0 0 0 4px rgba(185, 107, 117, 0.25);
        outline: none; }
    .delivery-form-container .form-group textarea {
      min-height: 90px;
      resize: vertical; }
    .delivery-form-container .form-group small.form-hint {
      display: block;
      margin-top: 0.3rem;
      font-size: 0.85rem;
      color: #a17570; }
  .delivery-form-container [data-delivery-target="funeralFields"] {
    background: #fff7f8;
    border: 1px solid #eed8dc;
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-top: 1.8rem;
    position: relative;
    transition: all 0.3s ease; }
    .delivery-form-container [data-delivery-target="funeralFields"] h4 {
      color: #b96b75;
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 1.15rem;
      border: none;
      margin-bottom: 1rem; }
      .delivery-form-container [data-delivery-target="funeralFields"] h4::before {
        content: "🕊️";
        font-size: 1.3rem; }
  .delivery-form-container .form-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap; }
    .delivery-form-container .form-actions .btn {
      padding: 0.9rem 1.8rem;
      border-radius: 999px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.6px;
      transition: all 0.25s ease;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
      .delivery-form-container .form-actions .btn:hover {
        transform: translateY(-1px); }
    .delivery-form-container .form-actions .btn-primary {
      background-color: #b96b75;
      color: #fff;
      border: none; }
      .delivery-form-container .form-actions .btn-primary:hover {
        background-color: #925554; }
    .delivery-form-container .form-actions .btn-secondary {
      background: #ebe7e4;
      color: #4a3d36;
      border: 1px solid #d8cfc9; }
      .delivery-form-container .form-actions .btn-secondary:hover {
        background: #dfd8d3; }
  .delivery-form-container .flatpickr-calendar {
    border: 1px solid #e5d7cf;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    font-family: "Open Sans", sans-serif; }
  .delivery-form-container .flatpickr-months {
    background: #b96b75;
    color: #fff;
    border-radius: 12px 12px 0 0; }
  .delivery-form-container .flatpickr-day.selected {
    background: #b96b75;
    color: #fff; }
  .delivery-form-container .flatpickr-day.today {
    border-color: #b96b75;
    color: #b96b75;
    font-weight: bold; }
  .delivery-form-container *,
  .delivery-form-container *::before,
  .delivery-form-container *::after {
    filter: none !important;
    backdrop-filter: none !important; }
  .delivery-form-container .delivery-section,
  .delivery-form-container .pickup-section,
  .delivery-form-container [data-delivery-target="funeralFields"] {
    overflow: hidden;
    max-height: 1200px;
    opacity: 1;
    visibility: visible;
    transition: max-height 280ms ease, opacity 220ms ease, visibility 0s linear 0s; }
  .delivery-form-container .delivery-section.hidden,
  .delivery-form-container .pickup-section.hidden,
  .delivery-form-container .hidden[data-delivery-target="funeralFields"] {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    transition: max-height 260ms ease, opacity 180ms ease, visibility 0s linear 260ms; }
  @media (max-width: 768px) {
    .delivery-form-container {
      padding: 1.8rem; }
      .delivery-form-container h2 {
        font-size: 1.6rem; }
      .delivery-form-container h3, .delivery-form-container h4 {
        font-size: 1.1rem; }
      .delivery-form-container .form-actions {
        flex-direction: column; }
        .delivery-form-container .form-actions .btn {
          width: 100%; }
      .delivery-form-container [data-delivery-target="funeralFields"] {
        padding: 1rem;
        margin-top: 1.2rem; } }
/* === 💎 Patch anti-flou global (toutes sections dynamiques, y compris modals) === */
/* Empêche tout compositing GPU (origine du flou) */
* {
  backface-visibility: hidden !important;
  transform-style: flat !important;
  perspective: none !important; }

/* Force le rendu net sur tout texte */
body, .delivery-form-container, .modal-content, .modal-overlay {
  filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  will-change: auto !important;
  contain: none !important;
  isolation: isolate !important;
  image-rendering: auto !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important; }

/* Cible spécifiquement les blocs concernés */
.delivery-section,
.pickup-section,
[data-delivery-target="funeralFields"] {
  filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  will-change: auto !important; }

/* Neutralise tous les effets visuels sur le modal parent */
.modal-content,
.modal-overlay,
body.modal-open {
  filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  will-change: auto !important;
  isolation: isolate !important; }

/* === Page Mariage === */
.mariage-page {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  /* Responsive */
  /* Plaquette Tarifs */ }
  .mariage-page .section-title, .mariage-page .best-sellers h2, .best-sellers .mariage-page h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.2rem;
    text-align: center;
    color: #6E5C44;
    margin-bottom: 1.5rem; }
  .mariage-page .intro-text {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: #4a3d36; }
  .mariage-page .catalogues {
    margin-bottom: 3rem; }
    .mariage-page .catalogues h2 {
      font-size: 1.6rem;
      color: #6E5C44;
      margin-bottom: 1.5rem;
      text-align: center; }
    .mariage-page .catalogues .catalogue-grid {
      display: flex;
      justify-content: center; }
      .mariage-page .catalogues .catalogue-grid .catalogue-item {
        flex: 1;
        max-width: 900px;
        /* 🔹 Augmenté (avant 700px) */
        text-align: center; }
        .mariage-page .catalogues .catalogue-grid .catalogue-item iframe {
          width: 100%;
          height: 700px;
          /* 🔹 Plus haut (avant 500px) */
          border: none;
          border-radius: 8px;
          box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
          margin-bottom: 0.8rem; }
        .mariage-page .catalogues .catalogue-grid .catalogue-item p {
          font-size: 1rem;
          color: #6E5C44;
          font-style: italic; }
  @media (max-width: 768px) {
    .mariage-page .catalogue-item iframe {
      height: 450px !important;
      /* 🔹 plus petit mais lisible sur mobile */ } }
  .mariage-page .price-lists h2 {
    font-size: 1.6rem;
    color: #6E5C44;
    margin-bottom: 1.5rem;
    text-align: center; }
  .mariage-page .price-lists .price-grid {
    display: flex;
    justify-content: center; }
    .mariage-page .price-lists .price-grid .price-item {
      max-width: 400px;
      text-align: center; }
      .mariage-page .price-lists .price-grid .price-item .price-image {
        width: 100%;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        margin-bottom: 1rem; }
      .mariage-page .price-lists .price-grid .price-item .btn {
        background: #b96b75;
        color: white;
        padding: 0.7rem 1.4rem;
        border-radius: 8px;
        font-weight: 600;
        text-decoration: none; }
        .mariage-page .price-lists .price-grid .price-item .btn:hover {
          background: #925554; }

.catalogue-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000; }
  .catalogue-modal.hidden {
    display: none; }
  .catalogue-modal .catalogue-modal-content {
    position: relative;
    width: 90%;
    height: 90%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden; }
    .catalogue-modal .catalogue-modal-content iframe {
      width: 100%;
      height: 100%;
      border: none; }
    .catalogue-modal .catalogue-modal-content .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 1.5rem;
      background: transparent;
      border: none;
      color: #6E5C44;
      cursor: pointer; }
      .catalogue-modal .catalogue-modal-content .close-btn:hover {
        color: #b96b75; }

/* Responsive */
@media (max-width: 768px) {
  .mariage-page {
    padding: 1.5rem; }
    .mariage-page .catalogue-grid,
    .mariage-page .price-grid {
      flex-direction: column;
      align-items: center; }
    .mariage-page iframe {
      height: 400px !important; } }

.catalogues {
  text-align: center;
  padding: 60px 20px;
  background: #fdfaf7; }
  .catalogues h2 {
    font-family: 'Cinzel Decorative', serif;
    color: #6e5c44;
    font-size: 2rem;
    margin-bottom: 2rem; }
  .catalogues .catalogue-grid {
    display: flex;
    justify-content: center; }
  .catalogues .catalogue-item {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
  .catalogues #flipbook-container {
    margin: 0 auto 1.5rem auto;
    border-radius: 10px;
    overflow: hidden; }

.flipbook-wrapper {
  max-width: 1000px;
  margin: 2rem auto;
  aspect-ratio: 3 / 2;
  /* espace réservé */
  background: #fdfaf7;
  border: 1px solid #e8dfd8;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 12px; }

.flipbook-wrapper .pageflip-wrapper,
.flipbook-wrapper .pageflip-canvas {
  width: 100% !important;
  height: 100% !important; }

.flip-page {
  width: 100%;
  height: 100%; }

.flip-page img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* plein cadre, sans bordure blanche */
  display: block;
  user-select: none;
  -webkit-user-drag: none; }

.wedding-hero {
  padding: 80px 20px 30px;
  background: #faf6f2;
  text-align: center; }
  .wedding-hero h1 {
    font-family: "Cinzel Decorative", serif;
    color: #6e5c44;
    font-size: 2.2rem;
    margin-bottom: .6rem; }
  .wedding-hero p {
    max-width: 820px;
    margin: 0 auto;
    color: #4a3d36;
    line-height: 1.6; }

.wedding-block {
  max-width: 980px;
  margin: 30px auto;
  padding: 0 20px; }
  .wedding-block h2, .wedding-block h3 {
    font-family: "Cinzel Decorative", serif;
    color: #4b2e2e;
    margin: 20px 0 12px; }
  .wedding-block .brown-bullets {
    list-style: none;
    padding: 0;
    margin: 0; }
    .wedding-block .brown-bullets li {
      position: relative;
      padding-left: 28px;
      margin: 10px 0;
      color: #4a3d36; }
      .wedding-block .brown-bullets li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10px;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #6e5c44;
        /* pastille marron */ }

.wedding-gallery {
  max-width: 1100px;
  margin: 30px auto 50px;
  padding: 0 20px; }
  .wedding-gallery h2 {
    text-align: center;
    font-family: "Cinzel Decorative", serif;
    color: #4b2e2e;
    margin-bottom: 14px; }
  .wedding-gallery .grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px; }
    .wedding-gallery .grid-2x2 img {
      width: 100%;
      height: 340px;
      object-fit: cover;
      border-radius: 16px; }

.wedding-cta {
  text-align: center;
  margin: 40px auto 70px; }
  .wedding-cta .btn-primary {
    display: inline-block;
    background: #b96b75;
    color: #fff;
    padding: 12px 22px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600; }
    .wedding-cta .btn-primary:hover {
      background: #925554; }

/* PDF embarqué */
.pdf-embed {
  max-width: 980px;
  margin: 10px auto 30px;
  padding: 0 20px; }
  .pdf-embed object {
    width: 100%;
    height: 520px;
    border-radius: 12px;
    border: 1px solid #e5d7cf; }

/* Feuilletage horizontal (option B) */
.flip-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 80%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 20px 6px; }
  .flip-scroll img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 14px;
    scroll-snap-align: start; }

/* Responsive */
@media (max-width: 768px) {
  .wedding-hero h1 {
    font-size: 1.8rem; }
  .wedding-gallery .grid-2x2 {
    grid-template-columns: 1fr; }
  .pdf-embed object,
  .flip-scroll img {
    height: 360px; } }

/* === Page Détail Commande (admin) === */
.admin-order-details {
  max-width: 1000px;
  margin: 2rem auto;
  background: #fff;
  padding: 2rem 2.5rem;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  font-family: "Open Sans", sans-serif;
  color: #4a3d36;
  /* === Bandeau principal === */
  /* === Section titres === */
  /* === Liste d’articles === */
  /* === Totaux === */
  /* === Formulaire statut === */
  /* === Lien retour === */
  /* === Responsive === */ }
  .admin-order-details .order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fdf8f4;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem; }
    .admin-order-details .order-header h1 {
      font-family: "Cinzel Decorative", serif;
      font-size: 1.8rem;
      color: #6E5C44;
      margin: 0; }
    .admin-order-details .order-header .status-badge {
      padding: 0.4rem 0.8rem;
      border-radius: 8px;
      font-weight: bold;
      color: #fff;
      text-transform: capitalize;
      font-size: 0.9rem; }
      .admin-order-details .order-header .status-badge.en_attente {
        background: #e67e22; }
      .admin-order-details .order-header .status-badge.payée {
        background: #27ae60; }
      .admin-order-details .order-header .status-badge.annulée {
        background: #c0392b; }
      .admin-order-details .order-header .status-badge.expédiée {
        background: #2980b9; }
  .admin-order-details .order-section {
    margin-bottom: 2rem; }
    .admin-order-details .order-section h3 {
      font-size: 1.3rem;
      color: #6E5C44;
      margin-bottom: 0.8rem;
      display: flex;
      align-items: center;
      gap: 0.4rem; }
    .admin-order-details .order-section p {
      margin: 0.2rem 0;
      line-height: 1.5; }
  .admin-order-details .order-items {
    list-style: none;
    padding: 0; }
    .admin-order-details .order-items li {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 1rem;
      padding: 0.8rem 1rem;
      border: 1px solid #eee;
      border-radius: 10px;
      background: #faf9f7;
      margin-bottom: 0.8rem; }
      .admin-order-details .order-items li .product-thumb {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 6px;
        border: 1px solid #ddd; }
      .admin-order-details .order-items li .item-info {
        flex-grow: 1; }
      .admin-order-details .order-items li .item-price {
        font-weight: bold;
        color: #b96b75;
        min-width: 90px;
        text-align: right; }
  .admin-order-details .total-summary {
    border-top: 2px solid #eee;
    padding-top: 1rem; }
    .admin-order-details .total-summary p {
      font-size: 1rem;
      margin: 0.3rem 0; }
    .admin-order-details .total-summary .total {
      font-size: 1.3rem;
      font-weight: bold;
      color: #b96b75;
      margin-top: 0.6rem; }
  .admin-order-details form {
    margin-top: 1.5rem; }
    .admin-order-details form label {
      font-weight: 600;
      margin-bottom: 0.3rem;
      display: block;
      color: #4a3d36; }
    .admin-order-details form .form-control {
      width: 100%;
      padding: 0.5rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1rem;
      margin-bottom: 1rem; }
    .admin-order-details form .btn-secondary {
      background: #6E5C44;
      color: white;
      padding: 0.6rem 1.4rem;
      border-radius: 8px;
      border: none;
      font-weight: 600;
      cursor: pointer;
      transition: background 0.3s ease; }
      .admin-order-details form .btn-secondary:hover {
        background: #b96b75; }
  .admin-order-details .btn-outline {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.5rem 1.3rem;
    border: 1px solid #b96b75;
    color: #b96b75;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease; }
    .admin-order-details .btn-outline:hover {
      background: #f8eaea; }
  @media (max-width: 768px) {
    .admin-order-details {
      padding: 1.5rem; }
      .admin-order-details .order-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6rem; }
      .admin-order-details .order-items li {
        flex-direction: column;
        align-items: flex-start; }
        .admin-order-details .order-items li .item-price {
          align-self: flex-end;
          margin-top: 0.3rem; } }
.order-show-container {
  max-width: 950px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #4a3d36; }
  .order-show-container .order-title {
    font-family: 'Cinzel Decorative', serif;
    text-align: center;
    font-size: 2rem;
    color: #6E5C44;
    margin-bottom: 2rem; }
  .order-show-container .order-section {
    margin-bottom: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem; }
    .order-show-container .order-section h2 {
      font-size: 1.3rem;
      color: #6E5C44;
      margin-bottom: 0.8rem; }
      .order-show-container .order-section h2 i {
        color: #b96b75;
        margin-right: 0.5rem; }
    .order-show-container .order-section p {
      margin: 0.3rem 0; }
  .order-show-container .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem; }
  .order-show-container .order-items {
    list-style: none;
    padding: 0; }
    .order-show-container .order-items .order-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      border: 1px solid #eee;
      border-radius: 0.8rem;
      background: #faf9f7;
      margin-bottom: 1rem; }
      .order-show-container .order-items .order-item .product-thumb {
        width: 80px;
        height: 80px;
        border-radius: 0.5rem;
        object-fit: cover;
        flex-shrink: 0; }
      .order-show-container .order-items .order-item .item-info {
        flex-grow: 1;
        color: #4a3d36; }
  .order-show-container .summary .total {
    font-size: 1.3rem;
    color: #b96b75;
    font-weight: bold;
    margin-top: 1rem; }
  .order-show-container .admin-panel {
    background: #fdf8f4;
    border: 1px solid #e5d7cf;
    border-radius: 0.8rem;
    padding: 1rem 1.5rem; }
    .order-show-container .admin-panel .form-group {
      margin-bottom: 1rem; }
    .order-show-container .admin-panel .form-control {
      padding: 0.5rem;
      border-radius: 0.5rem;
      border: 1px solid #ccc;
      font-size: 1rem;
      width: 100%; }
  .order-show-container .btn-secondary {
    background: #6E5C44;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0.6rem;
    border: none;
    font-weight: bold; }
    .order-show-container .btn-secondary:hover {
      background: #b96b75; }
  .order-show-container .btn-outline {
    display: inline-block;
    margin-top: 2rem;
    border: 1px solid #6E5C44;
    color: #6E5C44;
    padding: 0.6rem 1.2rem;
    border-radius: 0.6rem;
    text-decoration: none;
    font-weight: bold; }
    .order-show-container .btn-outline:hover {
      background: #6E5C44;
      color: #fff; }
  @media (max-width: 768px) {
    .order-show-container {
      padding: 1rem; }
      .order-show-container .info-grid {
        grid-template-columns: 1fr; }
      .order-show-container .order-item {
        flex-direction: column;
        align-items: flex-start; } }
.order-show-container {
  max-width: 950px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  color: #4a3d36; }
  .order-show-container .order-title {
    font-family: 'Cinzel Decorative', serif;
    text-align: center;
    font-size: 2rem;
    color: #6E5C44;
    margin-bottom: 2rem; }
  .order-show-container .order-section {
    margin-bottom: 2rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem; }
    .order-show-container .order-section h2 {
      font-size: 1.3rem;
      color: #6E5C44;
      margin-bottom: 0.8rem; }
      .order-show-container .order-section h2 i {
        color: #b96b75;
        margin-right: 0.5rem; }
    .order-show-container .order-section p {
      margin: 0.3rem 0; }
  .order-show-container .info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem; }
  .order-show-container .order-items {
    list-style: none;
    padding: 0; }
    .order-show-container .order-items .order-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      border: 1px solid #eee;
      border-radius: 0.8rem;
      background: #faf9f7;
      margin-bottom: 1rem; }
      .order-show-container .order-items .order-item .product-thumb {
        width: 80px;
        height: 80px;
        border-radius: 0.5rem;
        object-fit: cover;
        flex-shrink: 0; }
      .order-show-container .order-items .order-item .item-info {
        flex-grow: 1;
        color: #4a3d36; }
  .order-show-container .summary .total {
    font-size: 1.3rem;
    color: #b96b75;
    font-weight: bold;
    margin-top: 1rem; }
  .order-show-container .admin-panel {
    background: #fdf8f4;
    border: 1px solid #e5d7cf;
    border-radius: 0.8rem;
    padding: 1rem 1.5rem; }
    .order-show-container .admin-panel .form-group {
      margin-bottom: 1rem; }
    .order-show-container .admin-panel .form-control {
      padding: 0.5rem;
      border-radius: 0.5rem;
      border: 1px solid #ccc;
      font-size: 1rem;
      width: 100%; }
  .order-show-container .btn-secondary {
    background: #6E5C44;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0.6rem;
    border: none;
    font-weight: bold; }
    .order-show-container .btn-secondary:hover {
      background: #b96b75; }
  .order-show-container .btn-outline {
    display: inline-block;
    margin-top: 2rem;
    border: 1px solid #6E5C44;
    color: #6E5C44;
    padding: 0.6rem 1.2rem;
    border-radius: 0.6rem;
    text-decoration: none;
    font-weight: bold; }
    .order-show-container .btn-outline:hover {
      background: #6E5C44;
      color: #fff; }
  @media (max-width: 768px) {
    .order-show-container {
      padding: 1rem; }
      .order-show-container .info-grid {
        grid-template-columns: 1fr; }
      .order-show-container .order-item {
        flex-direction: column;
        align-items: flex-start; } }
.order-show-container {
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Open Sans', sans-serif;
  color: #4a3d36;
  /* === Barre de progression === */
  /* === Livraison === */
  /* === Articles === */
  /* === Récapitulatif paiement === */
  /* === Actions === */ }
  .order-show-container h1 {
    font-family: 'Cinzel Decorative', serif;
    color: #6E5C44;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem; }
  .order-show-container h2 {
    font-family: 'Cinzel Decorative', serif;
    color: #6E5C44;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.4rem;
    border-bottom: 1px solid #e0d7d2;
    padding-bottom: 0.3rem; }
  .order-show-container p {
    margin: 0.3rem 0;
    line-height: 1.5; }
  .order-show-container strong {
    color: #6E5C44; }
  .order-show-container .warning {
    color: #b96b75;
    font-weight: 600;
    background: #f8eaea;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    display: inline-block; }
  .order-show-container .info {
    color: #4a3d36;
    background: #f7f3ef;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    display: inline-block; }
  .order-show-container .checkout-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: #faf9f7;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05); }
    .order-show-container .checkout-progress .step {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: #6E5C44;
      font-weight: 600;
      font-size: 0.95rem; }
      .order-show-container .checkout-progress .step .circle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background: #d8cfc7;
        color: white;
        font-weight: bold;
        font-size: 0.9rem;
        transition: all 0.3s ease; }
      .order-show-container .checkout-progress .step.active .circle {
        background: #b96b75;
        transform: scale(1.1);
        box-shadow: 0 0 6px rgba(185, 107, 117, 0.4); }
      .order-show-container .checkout-progress .step.active .label {
        color: #b96b75; }
    .order-show-container .checkout-progress .connector {
      flex: 0 0 35px;
      height: 3px;
      background: #d8cfc7;
      border-radius: 2px;
      position: relative;
      top: -2px; }
    @media (max-width: 600px) {
      .order-show-container .checkout-progress {
        flex-wrap: wrap;
        gap: 0.8rem; }
        .order-show-container .checkout-progress .connector {
          display: none; } }
  .order-show-container .delivery-section {
    background: #fdf8f4;
    border: 1px solid #eee2d8;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1rem; }
    .order-show-container .delivery-section .btn {
      display: inline-block;
      margin-top: 1rem;
      padding: 0.6rem 1.2rem;
      border-radius: 8px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease; }
    .order-show-container .delivery-section .btn-outline-primary {
      border: 1px solid #b96b75;
      color: #b96b75;
      background: transparent; }
      .order-show-container .delivery-section .btn-outline-primary:hover {
        background: #f4dadd; }
    .order-show-container .delivery-section .btn-secondary {
      background: #b96b75;
      color: white;
      border: none; }
      .order-show-container .delivery-section .btn-secondary:hover {
        background: #925554; }
  .order-show-container .order-items-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem; }
    .order-show-container .order-items-list .order-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      background: #faf9f7;
      border: 1px solid #eee;
      border-radius: 10px;
      padding: 1rem;
      margin-bottom: 1rem; }
      .order-show-container .order-items-list .order-item .product-thumb {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px; }
      .order-show-container .order-items-list .order-item .item-info {
        flex: 1; }
        .order-show-container .order-items-list .order-item .item-info .name {
          font-weight: bold;
          color: #6E5C44;
          font-size: 1rem; }
    @media (max-width: 768px) {
      .order-show-container .order-items-list .order-item {
        flex-direction: column;
        align-items: flex-start; }
        .order-show-container .order-items-list .order-item .product-thumb {
          width: 100%;
          max-width: 200px;
          margin-bottom: 0.5rem; } }
  .order-show-container .payment-summary {
    background: #f9f8f6;
    border: 1px solid #e6e0d9;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem; }
    .order-show-container .payment-summary .total {
      font-size: 1.3rem;
      font-weight: bold;
      color: #b96b75;
      margin-top: 1rem; }
  .order-show-container .checkout-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem; }
    .order-show-container .checkout-actions .btn {
      padding: 0.8rem 1.6rem;
      border-radius: 999px;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.3s ease;
      font-size: 1rem; }
    .order-show-container .checkout-actions .btn-primary {
      background: #b96b75;
      color: #fff;
      border: none; }
      .order-show-container .checkout-actions .btn-primary:hover {
        background: #925554; }
    .order-show-container .checkout-actions .btn-secondary {
      background: #d8cfc7;
      color: #4a3d36; }
      .order-show-container .checkout-actions .btn-secondary:hover {
        background: #c7bbb3; }

.checkout-container {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  /* === Bloc livraison === */
  /* === Liste des articles === */
  /* === Boutons de navigation === */
  /* === Responsive === */ }
  .checkout-container h2 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    color: #6E5C44;
    margin-bottom: 2rem;
    text-align: center; }
  .checkout-container h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #4b2e2e; }
  .checkout-container .delivery-summary {
    background: #fff9f6;
    border: 1px solid #e2cfc7;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    line-height: 1.6; }
    .checkout-container .delivery-summary .btn {
      display: inline-block;
      margin-top: 1rem;
      background-color: #f1e4dd;
      border: 1px solid #d4b6a8;
      padding: 0.6rem 1.2rem;
      border-radius: 8px;
      color: #4a3d36;
      font-weight: 600;
      text-decoration: none;
      transition: background-color 0.3s ease; }
      .checkout-container .delivery-summary .btn:hover {
        background-color: #e7cfc2; }
  .checkout-container .order-summary {
    margin-bottom: 2rem;
    /* === Total === */ }
    .checkout-container .order-summary .order-items-list {
      list-style: none;
      padding: 0;
      margin: 0; }
      .checkout-container .order-summary .order-items-list .order-item {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        border-bottom: 1px solid #eee;
        padding: 1rem 0; }
        .checkout-container .order-summary .order-items-list .order-item .product-thumb {
          width: 80px;
          height: 80px;
          object-fit: cover;
          border-radius: 10px;
          border: 1px solid #ddd;
          box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
          flex-shrink: 0; }
        .checkout-container .order-summary .order-items-list .order-item .item-details {
          flex-grow: 1; }
          .checkout-container .order-summary .order-items-list .order-item .item-details .item-name {
            font-weight: 600;
            font-size: 1.1rem;
            color: #4a3d36;
            margin-bottom: 0.3rem; }
          .checkout-container .order-summary .order-items-list .order-item .item-details .item-meta {
            font-size: 0.95rem;
            color: #6e5c44;
            line-height: 1.4;
            margin-bottom: 0.5rem; }
          .checkout-container .order-summary .order-items-list .order-item .item-details .quantity-form {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem; }
            .checkout-container .order-summary .order-items-list .order-item .item-details .quantity-form label {
              font-size: 0.9rem;
              color: #6e5c44; }
            .checkout-container .order-summary .order-items-list .order-item .item-details .quantity-form .quantity-input {
              width: 70px;
              text-align: center;
              padding: 0.4rem;
              border: 1px solid #ddd;
              border-radius: 6px;
              background: #fdf8f4; }
            .checkout-container .order-summary .order-items-list .order-item .item-details .quantity-form .btn-small {
              background-color: #e9d7cf;
              border: 1px solid #d4b6a8;
              padding: 0.4rem 0.8rem;
              border-radius: 6px;
              font-size: 0.9rem;
              color: #4a3d36;
              transition: all 0.2s ease;
              cursor: pointer; }
              .checkout-container .order-summary .order-items-list .order-item .item-details .quantity-form .btn-small:hover {
                background-color: #dcbeb1; }
        .checkout-container .order-summary .order-items-list .order-item .item-actions .btn-remove {
          background: transparent;
          color: #c44;
          border: 1px solid #c88;
          padding: 0.4rem 0.8rem;
          border-radius: 6px;
          font-size: 0.9rem;
          font-weight: 500;
          transition: all 0.2s ease;
          cursor: pointer; }
          .checkout-container .order-summary .order-items-list .order-item .item-actions .btn-remove:hover {
            background: #c44;
            color: #fff; }
          @media (max-width: 600px) {
            .checkout-container .order-summary .order-items-list .order-item .item-actions .btn-remove {
              width: 100%;
              text-align: center; } }
    .checkout-container .order-summary .order-prices {
      text-align: right;
      margin-top: 1.5rem;
      font-size: 1rem;
      color: #4a3d36; }
      .checkout-container .order-summary .order-prices p {
        margin: 0.3rem 0; }
      .checkout-container .order-summary .order-prices .order-total {
        font-size: 1.4rem;
        font-weight: bold;
        color: #b96b75;
        margin-top: 0.8rem; }
  .checkout-container .checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem; }
    .checkout-container .checkout-actions .btn {
      padding: 0.8rem 1.5rem;
      border-radius: 8px;
      font-weight: bold;
      transition: all 0.3s ease;
      text-align: center;
      cursor: pointer; }
    .checkout-container .checkout-actions .btn-primary {
      background-color: #b96b75;
      color: #fff; }
      .checkout-container .checkout-actions .btn-primary:hover {
        background-color: #925554;
        box-shadow: 0 4px 10px rgba(185, 107, 117, 0.3); }
    .checkout-container .checkout-actions .btn-secondary {
      background: #ddd;
      color: #333; }
      .checkout-container .checkout-actions .btn-secondary:hover {
        background: #bbb; }
  @media (max-width: 768px) {
    .checkout-container .order-item {
      flex-direction: column;
      align-items: flex-start; }
      .checkout-container .order-item .product-thumb {
        width: 100%;
        height: auto;
        max-height: 250px; }
      .checkout-container .order-item .item-actions {
        align-self: flex-end;
        margin-top: 0.5rem; }
    .checkout-container .checkout-actions {
      flex-direction: column;
      gap: 1rem; }
      .checkout-container .checkout-actions .btn {
        width: 100%; } }
/* === Message d’avertissement === */
.warning-text {
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center; }

/* === Message panier vide === */
.empty-cart-notice {
  text-align: center;
  background: #fff9f6;
  border: 1px solid #e2cfc7;
  border-radius: 12px;
  padding: 2rem;
  max-width: 600px;
  margin: 3rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  animation: fadeIn 0.8s ease-out; }
  .empty-cart-notice h3 {
    color: #6E5C44;
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem; }
  .empty-cart-notice p {
    color: #4b2e2e;
    font-size: 1rem;
    margin-bottom: 1.5rem; }
  .empty-cart-notice .btn-primary {
    background-color: #b96b75;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease; }
    .empty-cart-notice .btn-primary:hover {
      background-color: #925554;
      transform: translateY(-2px); }

/* === Animation d’apparition douce === */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease-out forwards; }

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

/* === Bouton de paiement Stripe === */
.payment-button-wrapper {
  position: relative;
  text-align: center;
  margin-top: 2rem; }
  .payment-button-wrapper .btn-primary {
    font-weight: bold;
    padding: 0.9rem 1.8rem;
    font-size: 1.1rem; }
  .payment-button-wrapper .loading-spinner {
    margin-top: 1rem;
    text-align: center;
    color: #6E5C44;
    font-size: 1rem;
    transition: opacity 0.3s ease; }
  .payment-button-wrapper .hidden {
    display: none; }
  .payment-button-wrapper .spinner {
    margin: 0 auto 0.8rem auto;
    width: 36px;
    height: 36px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #b96b75;
    border-radius: 50%;
    animation: spin 1s linear infinite; }

@keyframes spin {
  0% {
    transform: rotate(0deg); }
  100% {
    transform: rotate(360deg); } }

.delivery-summary {
  background: #fff9f6;
  border: 1px solid #e2cfc7;
  padding: 1.5rem;
  border-radius: 10px;
  margin: 2rem 0;
  line-height: 1.6;
  animation: fadeIn 0.5s ease-out; }
  .delivery-summary h3 {
    font-family: 'Cinzel Decorative', serif;
    color: #6E5C44;
    margin-bottom: 1rem; }
  .delivery-summary p {
    color: #4b2e2e;
    margin-bottom: 0.4rem; }
  .delivery-summary .btn {
    margin-top: 1rem;
    background-color: #f1e4dd;
    border: 1px solid #d4b6a8;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    color: #4a3d36;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease; }
    .delivery-summary .btn:hover {
      background-color: #e7cfc2; }

.back-to-shop {
  text-align: center;
  margin-top: 1.5rem; }
  .back-to-shop .btn-secondary {
    background-color: #f1e4dd;
    color: #4a3d36;
    border: 1px solid #d4b6a8;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.3s ease; }
    .back-to-shop .btn-secondary:hover {
      background-color: #e7cfc2; }

.addons-list {
  list-style: none;
  padding-left: 0.5rem;
  margin: 0.3rem 0; }
  .addons-list li {
    color: #4a3d36;
    font-size: 0.95rem; }

.gallery {
  padding: 100px 20px;
  background: #faf6f2; }
  .gallery .section-title, .gallery .best-sellers h2, .best-sellers .gallery h2 {
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.2rem;
    color: #6e5c44;
    margin-bottom: 28px; }

body {
  margin: 0;
  padding-top: 70px;
  font-family: 'Cinzel Decorative', serif;
  background-color: #f9f9f7; }

html {
  scroll-behavior: smooth; }

/* === Navbar === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #A7B59C;
  padding: 12px 0;
  border-bottom: 2px solid #705c47;
  z-index: 1000; }

.navbar.scrolled {
  background-color: #8f9e87;
  transition: background-color 0.3s ease; }

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center; }

.navbar-image {
  flex-shrink: 0; }

.navbar-image1 {
  height: 100px;
  width: auto;
  border-radius: 4px;
  object-fit: cover;
  margin-right: 1rem; }

.navbar-links {
  list-style: none;
  display: flex;
  gap: 25px; }

.navbar-links li a {
  text-decoration: none;
  font-weight: 700;
  color: #efe3c2;
  font-size: 18px;
  text-shadow: 1px 1px 0 #705c47;
  transition: color 0.3s ease; }

.navbar-links li a:hover {
  color: #ffffff; }

/* === Actions (panier + user + admin) === */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative; }
  .navbar-actions .user-container,
  .navbar-actions .cart-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative; }
  .navbar-actions .user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: #6E5C44;
    font-weight: 600;
    font-size: 0.95rem; }
    .navbar-actions .user-info i {
      font-size: 1.5rem;
      color: #6E5C44; }
    .navbar-actions .user-info:hover {
      color: #d3a5a0; }
      .navbar-actions .user-info:hover i {
        color: #d3a5a0; }
    .navbar-actions .user-info .caret {
      font-size: 0.8rem; }
  .navbar-actions .user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f5f0ec;
    color: #6E5C44;
    font-size: 1.2rem;
    transition: all 0.3s ease; }
    .navbar-actions .user-icon i {
      font-size: 1.3rem; }
    .navbar-actions .user-icon:hover {
      background: #e9ddd6;
      color: #b96b75; }
      .navbar-actions .user-icon:hover i {
        color: #b96b75; }
  .navbar-actions .user-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1000; }
    .navbar-actions .user-dropdown .dropdown-item {
      display: block;
      width: 100%;
      padding: 0.7rem 1rem;
      text-decoration: none;
      color: #6E5C44;
      font-size: 0.9rem;
      font-family: inherit;
      background: none;
      border: none;
      text-align: left;
      cursor: pointer; }
      .navbar-actions .user-dropdown .dropdown-item:hover {
        background: #f8f5f2;
        color: #b96b75; }
    .navbar-actions .user-dropdown .logout-btn {
      width: 100%;
      border: none;
      background: none;
      text-align: left;
      padding: 0.7rem 1rem;
      font-size: 0.9rem;
      cursor: pointer;
      color: #6E5C44; }
      .navbar-actions .user-dropdown .logout-btn:hover {
        background: #f8f5f2;
        color: #b96b75; }
  .navbar-actions .hidden {
    display: none; }

/* Icône panier */
.cart-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease; }
  .cart-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    fill: #6E5C44;
    transition: fill 0.3s ease; }
  .cart-icon:hover svg {
    fill: #d3a5a0; }
  .cart-icon .cart-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #d3a5a0;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    border-radius: 50%;
    padding: 0.2rem 0.5rem; }

/* === Burger menu === */
.navbar-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: #6E5C44;
  border: none;
  padding: 8px;
  border-radius: 6px; }

.bar {
  height: 3px;
  width: 25px;
  background-color: #efe3c2;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease; }

/* Animation quand actif */
.navbar-toggle.is-active .bar:nth-child(1) {
  transform: rotate(45deg) translateY(8px); }

.navbar-toggle.is-active .bar:nth-child(2) {
  opacity: 0; }

.navbar-toggle.is-active .bar:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px); }

/* === Responsive === */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
    flex-direction: column;
    text-align: center;
    background-color: #a5b29d;
    padding: 20px 0;
    width: 100%;
    position: absolute;
    top: 60px;
    right: 0; }
  .navbar-links.is-open {
    display: flex; }
  .navbar-actions {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    padding: 1rem;
    background-color: #a5b29d;
    position: absolute;
    top: calc(60px + 200px);
    right: 0;
    width: 100%;
    margin-bottom: 1rem; }
  .navbar-actions.is-open {
    display: flex; }
  .navbar-toggle {
    display: flex; } }

.btn-admin {
  background: #6E5C44;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.9rem; }
  .btn-admin:hover {
    background: #b96b75; }

/* Dropdown simple */
.nav-item.dropdown {
  position: relative; }
  .nav-item.dropdown .dropdown-toggle {
    cursor: pointer; }
  .nav-item.dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e9e2db;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    z-index: 999; }
  .nav-item.dropdown:hover .dropdown-menu {
    display: block; }
  .nav-item.dropdown .dropdown-item {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: #4a3d36;
    text-decoration: none; }
    .nav-item.dropdown .dropdown-item:hover {
      background: #faf6f2; }

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block; } }

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block; } }

/* Footer global */
.site-footer {
  background-color: #FCFAF6;
  color: #6E5C44;
  padding: 40px 0px;
  /* Bas du footer */ }
  .site-footer .footer-container {
    display: flex;
    justify-content: space-between;
    gap: 0rem;
    margin: 0 auto;
    flex-wrap: wrap;
    text-align: center;
    /* Logo */
    /* Liens utiles */
    /* Partenaire */
    /* Réseaux sociaux */
    /* Contact */ }
    .site-footer .footer-container .footer-column {
      flex: 1 1 250px; }
      .site-footer .footer-container .footer-column h3 {
        margin-bottom: 1rem;
        font-weight: 700;
        font-size: 1.2rem; }
      .site-footer .footer-container .footer-column p {
        margin: 0.4rem 0;
        font-size: 0.95rem;
        line-height: 1.5; }
    .site-footer .footer-container .footer-logo-img {
      width: 120px;
      height: auto;
      margin-bottom: 1rem; }
    .site-footer .footer-container .footer-links ul {
      list-style: none;
      padding: 0;
      margin: 0; }
      .site-footer .footer-container .footer-links ul li {
        margin-bottom: 0.5rem; }
        .site-footer .footer-container .footer-links ul li a {
          color: #6E5C44;
          text-decoration: none;
          font-weight: 500; }
          .site-footer .footer-container .footer-links ul li a:hover {
            text-decoration: underline; }
    .site-footer .footer-container .footer-partner .partner-logo {
      width: 300px;
      height: auto;
      margin: 0 auto;
      display: block;
      opacity: 0.9;
      transition: opacity 0.2s ease; }
      .site-footer .footer-container .footer-partner .partner-logo:hover {
        opacity: 1; }
    .site-footer .footer-container .footer-social {
      text-align: center; }
      .site-footer .footer-container .footer-social h3 {
        font-family: 'Cinzel Decorative', serif;
        color: #6e5c44;
        margin-bottom: 0.8rem; }
      .site-footer .footer-container .footer-social .social-link {
        margin: 0 0.6rem;
        font-size: 2rem;
        display: inline-block;
        color: #a7b59c;
        transition: transform 0.3s ease; }
        .site-footer .footer-container .footer-social .social-link i {
          transition: color 0.3s ease; }
        .site-footer .footer-container .footer-social .social-link:hover {
          transform: translateY(-2px); }
          .site-footer .footer-container .footer-social .social-link:hover i {
            color: #b96b75; }
    .site-footer .footer-container .footer-address p {
      margin: 0.4rem 0;
      line-height: 1.5; }
      .site-footer .footer-container .footer-address p i {
        margin-right: 0.5rem;
        color: #6E5C44; }
      .site-footer .footer-container .footer-address p a {
        color: #6E5C44;
        text-decoration: none;
        font-weight: 500; }
        .site-footer .footer-container .footer-address p a:hover {
          text-decoration: underline; }
  .site-footer .footer-bottom {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    color: #6e5c44; }
    .site-footer .footer-bottom .footer-credit {
      font-style: italic; }
      .site-footer .footer-bottom .footer-credit .footer-credit-link {
        color: #b96b75;
        text-decoration: none;
        font-weight: 600;
        margin-left: 4px;
        display: inline-flex;
        align-items: center;
        gap: 4px;
        transition: color 0.3s ease; }
        .site-footer .footer-bottom .footer-credit .footer-credit-link i {
          font-size: 1rem;
          color: #b96b75;
          transition: color 0.3s ease; }
        .site-footer .footer-bottom .footer-credit .footer-credit-link:hover {
          color: #8c555c; }
          .site-footer .footer-bottom .footer-credit .footer-credit-link:hover i {
            color: #8c555c; }

/* ←←← ferme .site-footer ici */
/* Responsive */
@media (max-width: 768px) {
  .site-footer .footer-container {
    flex-direction: column;
    align-items: center; }
    .site-footer .footer-container .footer-column {
      flex: none;
      width: 100%;
      max-width: 320px;
      margin-bottom: 2rem;
      text-align: center; }
    .site-footer .footer-container .footer-partner .partner-logo {
      width: 200px; }
    .site-footer .footer-container .footer-social .social-link {
      font-size: 1.8rem;
      margin: 0 0.3rem; } }

/* === 🌸 SECTION BOUTIQUE === */
.boutique {
  padding: 100px 20px;
  background-color: #faf6f2; }
  .boutique .section-title, .boutique .best-sellers h2, .best-sellers .boutique h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.5rem;
    color: #6e5c44;
    margin-bottom: 40px;
    text-align: center; }
    .boutique .section-title .title-icon, .boutique .best-sellers h2 .title-icon, .best-sellers .boutique h2 .title-icon {
      height: 90px;
      width: auto;
      opacity: 0.9;
      transform: translateY(2px); }
    .boutique .section-title span, .boutique .best-sellers h2 span, .best-sellers .boutique h2 span {
      line-height: 1; }
  .boutique .category-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px; }
    .boutique .category-filters .btn {
      background-color: #cfaeaa;
      color: white;
      padding: 10px 20px;
      border-radius: 8px;
      text-decoration: none;
      font-weight: 500;
      transition: background-color 0.3s ease; }
      .boutique .category-filters .btn:hover {
        background-color: #b96b75; }
      .boutique .category-filters .btn.btn-active {
        background-color: #b96b75; }
  .boutique .category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #4b2e2e;
    margin: 40px 0 20px;
    text-align: center; }

/* === 🌷 GRILLE PRODUITS === */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-inline: auto;
  max-width: calc(4 * 260px + 3 * 1.5rem); }

/* Variante compacte → pour catégories avec peu d’articles */
.products-grid.compact-two {
  max-width: calc(2 * 260px + 1 * 1.5rem); }

/* === 🪻 FICHE PRODUIT === */
.product-macaron {
  flex: 0 1 260px;
  max-width: 260px;
  width: 100%;
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem; }
  .product-macaron:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08); }
  .product-macaron .product-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 1.5rem;
    margin-bottom: 1rem; }
  .product-macaron .product-info {
    text-align: center; }
    .product-macaron .product-info .product-name {
      font-size: 1.1rem;
      font-weight: bold;
      margin-bottom: 0.5rem;
      color: #4a3d36; }
    .product-macaron .product-info .product-price {
      color: #8e5d52;
      font-weight: 600;
      margin-bottom: 1rem; }
    .product-macaron .product-info .btn {
      background-color: #d3a29d;
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 9999px;
      font-size: 0.9rem;
      transition: background-color 0.3s ease; }
      .product-macaron .product-info .btn:hover {
        background-color: #c08881; }

/* === 🌼 BOÎTE INFO FLORALE === */
.floral-info-box {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #fdf8f4;
  border: 1px solid #d8cfc7;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  max-width: 800px; }
  .floral-info-box .floral-icon {
    height: 58px;
    width: auto;
    flex-shrink: 0;
    /* Empêche l'image de se réduire */
    opacity: 0.9;
    margin-top: 10px;
    /* ajuste légèrement l’alignement vertical */ }
  .floral-info-box p {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: #4a3d36;
    line-height: 1.6; }
    .floral-info-box p strong {
      color: #b96b75; }

/* ✅ Responsive — empilement sur mobile */
@media (max-width: 575px) {
  .floral-info-box {
    flex-direction: column;
    align-items: center;
    text-align: center; }
    .floral-info-box .floral-icon {
      height: 40px;
      margin-bottom: 0.5rem; } }

/* === 🕊️ BOUTON FLOTTANT RETOUR === */
.floating-back-button {
  position: fixed;
  top: 35px;
  left: 40px;
  z-index: 999;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  /* Responsive */ }
  .floating-back-button:hover {
    background: white;
    box-shadow: 0 3px 14px rgba(0, 0, 0, 0.12); }
  .floating-back-button .back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #6e4b3e;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    font-size: 1rem; }
    .floating-back-button .back-link span {
      font-size: 1.4rem;
      line-height: 1; }
    .floating-back-button .back-link .logo-small {
      height: 40px;
      width: auto;
      transition: transform 0.3s ease; }
    .floating-back-button .back-link:hover {
      color: #b07c6a; }
      .floating-back-button .back-link:hover .logo-small {
        transform: scale(1.05); }
  @media (max-width: 768px) {
    .floating-back-button {
      top: 20px;
      left: 20px;
      padding: 6px 10px; }
      .floating-back-button .back-link {
        font-size: 0.9rem; }
        .floating-back-button .back-link .logo-small {
          height: 32px; } }
  @media (max-width: 480px) {
    .floating-back-button {
      top: 15px;
      left: 15px;
      /* logo seul sur mobile */ }
      .floating-back-button .back-link span {
        display: none; } }
.floating-cart-button {
  position: fixed;
  top: 20px;
  right: 40px;
  /* à droite */
  z-index: 999;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 100px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); }
  .floating-cart-button .cart-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #6e4b3e; }
    .floating-cart-button .cart-link .cart-svg {
      height: 28px;
      width: auto; }
    .floating-cart-button .cart-link .cart-count {
      background: #b07c6a;
      color: white;
      font-size: 0.8rem;
      font-weight: bold;
      border-radius: 50%;
      padding: 2px 6px;
      min-width: 18px;
      text-align: center; }
    .floating-cart-button .cart-link:hover {
      color: #b07c6a; }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e74c3c;
  color: white;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 50%; }

.cart-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  width: 300px;
  z-index: 1000;
  padding: 1rem; }
  .cart-dropdown .cart-header {
    background-color: #8cbf9f;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px 6px 0 0;
    font-weight: bold;
    font-size: 1.1rem; }
  .cart-dropdown .cart-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee; }
  .cart-dropdown .cart-total {
    font-weight: bold;
    margin-top: 0.8rem;
    text-align: right; }
  .cart-dropdown .btn-checkout {
    margin-top: 1rem;
    background-color: #8cbf9f;
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background 0.2s ease-in-out; }
    .cart-dropdown .btn-checkout:hover {
      background-color: #76aa89; }

.cart-dropdown.show {
  display: block; }

.cart-items {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem; }

.cart-items li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.3; }

.cart-total {
  font-weight: bold;
  margin-bottom: 0.8rem; }

.btn-cart-link {
  display: inline-block;
  background: #8cbf9f;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease; }

.btn-cart-link:hover {
  background: #76aa89; }

.empty-cart {
  font-style: italic;
  font-size: 0.9rem;
  color: #777; }

.btn-cart-link {
  display: inline-block;
  background: #b96b75;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease; }
  .btn-cart-link:hover {
    background: #925554; }
  .btn-cart-link.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none; }
  .btn-cart-link.active {
    background: #b96b75; }
    .btn-cart-link.active:hover {
      background: #925554; }

.btn-cart-link {
  display: inline-block;
  background: #b96b75;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease; }
  .btn-cart-link:hover {
    background: #925554; }
  .btn-cart-link.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none; }
  .btn-cart-link.active {
    background: #b96b75; }
    .btn-cart-link.active:hover {
      background: #925554; }

.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  max-width: 340px; }
  .custom-alert .flash {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: fadeInDown 0.5s ease, fadeOutUp 0.5s ease 5s forwards;
    backdrop-filter: blur(4px);
    cursor: default;
    /* Icône à gauche */ }
    .custom-alert .flash::before {
      content: "";
      font-family: "Font Awesome 6 Free";
      font-weight: 900;
      font-size: 1.2rem; }
    .custom-alert .flash.flash-notice {
      background-color: #8cbf9f;
      /* vert doux Étamine */
      /* ✅ icône check-circle */ }
      .custom-alert .flash.flash-notice::before {
        content: "\f058"; }
    .custom-alert .flash.flash-alert {
      background-color: #d86b6b;
      /* rouge rosé */
      /* ❌ icône times-circle */ }
      .custom-alert .flash.flash-alert::before {
        content: "\f057"; }
    .custom-alert .flash.flash-warning {
      background-color: #e9b96f;
      /* jaune doux */
      /* ⚠️ icône exclamation-triangle */ }
      .custom-alert .flash.flash-warning::before {
        content: "\f071"; }

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-15px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

@keyframes fadeOutUp {
  to {
    opacity: 0;
    transform: translateY(-15px); } }

/* === Delivery Form === */
h2 {
  text-align: center; }

.delivery-form {
  padding: 5rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  /* Blocs animés */
  /* Quand visibles */ }
  .delivery-form .form-group {
    margin-bottom: 1.2rem; }
    .delivery-form .form-group label {
      display: block;
      font-weight: 600;
      margin-bottom: 0.4rem;
      color: #4a3d36; }
    .delivery-form .form-group input, .delivery-form .form-group select, .delivery-form .form-group textarea {
      width: 100%;
      padding: 0.6rem 0.8rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      font-size: 1rem;
      transition: border-color 0.2s ease, box-shadow 0.2s ease; }
      .delivery-form .form-group input:focus, .delivery-form .form-group select:focus, .delivery-form .form-group textarea:focus {
        border-color: #b96b75;
        box-shadow: 0 0 6px rgba(185, 107, 117, 0.25);
        outline: none; }
  .delivery-form #delivery-fields,
  .delivery-form #pickup-fields {
    background: #fdfaf7;
    border: 2px solid #e3d7d2;
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    transition: all 0.4s ease; }
    .delivery-form #delivery-fields h3,
    .delivery-form #pickup-fields h3 {
      margin-top: 0;
      margin-bottom: 1rem;
      font-size: 1.2rem;
      color: #6e5c44; }
  .delivery-form #delivery-fields:not(.hidden),
  .delivery-form #pickup-fields:not(.hidden) {
    max-height: 1000px;
    /* assez pour tout contenir */
    opacity: 1;
    transform: translateY(0); }
  .delivery-form .form-actions {
    margin-top: 2rem;
    text-align: center; }
    .delivery-form .form-actions .btn {
      background-color: #b96b75;
      color: white;
      padding: 0.8rem 1.6rem;
      border-radius: 8px;
      font-size: 1rem;
      font-weight: bold;
      transition: background 0.3s ease; }
      .delivery-form .form-actions .btn:hover {
        background-color: #925554; }

.delivery-notice {
  background: #fdf8f4;
  border: 1px solid #e9ddd4;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  color: #4a3d36; }
  .delivery-notice ul {
    margin: 0;
    padding-left: 1.25rem; }
  .delivery-notice li {
    margin: 0.25rem 0; }

.checkout-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background: #faf9f7;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  font-family: 'Open Sans', sans-serif; }
  .checkout-progress .step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6E5C44;
    font-weight: 600;
    font-size: 0.95rem; }
    .checkout-progress .step .circle {
      display: inline-flex;
      justify-content: center;
      align-items: center;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: #d8cfc7;
      color: white;
      font-weight: bold;
      font-size: 0.9rem;
      transition: all 0.3s ease; }
    .checkout-progress .step.active .circle {
      background: #b96b75;
      transform: scale(1.1);
      box-shadow: 0 0 6px rgba(185, 107, 117, 0.4); }
    .checkout-progress .step.active .label {
      color: #b96b75; }
  .checkout-progress .connector {
    flex: 0 0 35px;
    height: 3px;
    background: #d8cfc7;
    border-radius: 2px;
    position: relative;
    top: -2px; }
  @media (max-width: 600px) {
    .checkout-progress {
      flex-wrap: wrap;
      gap: 0.8rem; }
      .checkout-progress .connector {
        display: none; } }
.order-confirmation-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 1rem; }

.confirmation-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  text-align: center;
  color: #4a3d36;
  font-family: 'Cinzel Decorative', serif; }

.confirmation-header {
  margin-bottom: 2rem; }
  .confirmation-header h1 {
    color: #6E5C44;
    font-size: 2rem;
    margin-bottom: 0.5rem; }
  .confirmation-header .success-note {
    color: #8cbf9f;
    font-weight: 600; }

.confirmation-section {
  margin-top: 2rem;
  text-align: left; }
  .confirmation-section h2 {
    color: #6E5C44;
    border-bottom: 1px solid #e5d7cf;
    padding-bottom: 0.3rem;
    font-size: 1.3rem;
    margin-bottom: 1rem; }
  .confirmation-section p {
    margin: 0.3rem 0; }
  .confirmation-section .order-items-list {
    list-style: none;
    padding: 0; }
    .confirmation-section .order-items-list .order-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      background: #fdf8f4;
      border-radius: 10px;
      padding: 1rem;
      margin-bottom: 0.8rem; }
      .confirmation-section .order-items-list .order-item .product-thumb {
        width: 70px;
        height: 70px;
        border-radius: 8px;
        object-fit: cover; }
      .confirmation-section .order-items-list .order-item .item-info {
        flex: 1; }
        .confirmation-section .order-items-list .order-item .item-info .item-name {
          font-weight: bold;
          color: #4a3d36; }
        .confirmation-section .order-items-list .order-item .item-info .addons {
          font-size: 0.9rem;
          color: #705c47; }

.total-box {
  background: #fdf8f4;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 2rem;
  font-size: 1.1rem; }
  .total-box .order-total {
    font-size: 1.3rem;
    color: #b96b75;
    font-weight: bold; }

.confirmation-actions {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem; }
  .confirmation-actions .btn {
    padding: 0.8rem 1.6rem;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease; }
  .confirmation-actions .btn-primary {
    background: #b96b75;
    color: white; }
    .confirmation-actions .btn-primary:hover {
      background: #925554; }
  .confirmation-actions .btn-secondary {
    background: #e5d7cf;
    color: #4a3d36; }
    .confirmation-actions .btn-secondary:hover {
      background: #d9cbc1; }

/* 🌿 Responsive */
@media (max-width: 768px) {
  .confirmation-card {
    padding: 1.5rem; }
  .order-item {
    flex-direction: column;
    align-items: flex-start; } }

/* === POP-UP DE BIENVENUE === */
.welcome-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease; }
  .welcome-modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none; }
  .welcome-modal .welcome-content {
    background: #fdfaf7;
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 550px;
    text-align: center;
    color: #6e5c44;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
    font-family: 'Cinzel Decorative', serif;
    position: relative;
    animation: fadeInUp 0.6s ease forwards; }
    .welcome-modal .welcome-content h2 {
      color: #b96b75;
      font-size: 1.8rem;
      margin-bottom: 1rem; }
    .welcome-modal .welcome-content p {
      font-size: 1rem;
      line-height: 1.6;
      font-family: 'Georgia', serif;
      color: #4b2e2e; }
    .welcome-modal .welcome-content .signature {
      margin-top: 1rem;
      font-style: italic;
      color: #a0786c; }
    .welcome-modal .welcome-content .close-btn {
      position: absolute;
      top: 12px;
      right: 16px;
      background: none;
      border: none;
      font-size: 1.2rem;
      cursor: pointer;
      color: #b96b75;
      transition: transform 0.2s; }
      .welcome-modal .welcome-content .close-btn:hover {
        transform: scale(1.2); }

.no-scroll {
  overflow: hidden; }

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px); }
  to {
    opacity: 1;
    transform: translateY(0); } }

/* === Flatpickr - Thème Etamine === */
.flatpickr-calendar {
  border: 1px solid #e3c5c8;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border-radius: 1rem;
  font-family: "Open Sans", sans-serif;
  overflow: hidden; }

/* En-tête du calendrier */
.flatpickr-months {
  background: #b96b75;
  color: #fff; }
  .flatpickr-months .flatpickr-month {
    font-weight: 600; }
  .flatpickr-months .flatpickr-prev-month,
  .flatpickr-months .flatpickr-next-month {
    color: #fff;
    transition: opacity 0.2s ease; }
    .flatpickr-months .flatpickr-prev-month:hover,
    .flatpickr-months .flatpickr-next-month:hover {
      opacity: 0.7; }

/* Jours */
.flatpickr-day {
  border-radius: 6px;
  transition: all 0.2s ease;
  color: #4a3d36; }
  .flatpickr-day.today {
    border: 1px solid #b96b75;
    color: #b96b75; }
  .flatpickr-day.selected {
    background: #b96b75;
    color: #fff; }
  .flatpickr-day:hover {
    background: #f7e8e8; }
  .flatpickr-day.disabled, .flatpickr-day.flatpickr-disabled {
    color: #ccc;
    cursor: not-allowed;
    background: #f8f8f8; }

/* Nom des jours de la semaine */
span.flatpickr-weekday {
  color: #b96b75;
  font-weight: 600; }

/* Bordures douces */
.flatpickr-innerContainer {
  border-top: 1px solid #f1d6d8; }

/* Responsive touch */
@media (max-width: 600px) {
  .flatpickr-calendar {
    font-size: 0.9rem; } }

.preview-banner {
  background-color: #f8e9df;
  /* beige rosé doux */
  color: #5a3d33;
  text-align: center;
  padding: 10px 0;
  font-family: 'Cinzel Decorative', serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 9999; }

.wedding-book .section-title, .wedding-book .best-sellers h2, .best-sellers .wedding-book h2 {
  text-align: center;
  font-family: 'Cinzel Decorative', serif;
  font-size: 2rem;
  color: #6e5c44;
  margin: 1rem 0 0.5rem; }

.wedding-book .flipbook-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 1rem; }

.wedding-book .flipbook-viewer {
  width: 100%;
  height: 100vh;
  /* grande hauteur par défaut */
  max-height: 1100px;
  display: block;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden; }

.wedding-book .flipbook-loader,
.wedding-book .flipbook-error {
  text-align: center;
  padding: 1.5rem 1rem;
  color: #6e5c44; }

.wedding-book .flipbook-actions {
  display: flex;
  justify-content: center;
  margin-top: .75rem; }
  .wedding-book .flipbook-actions .btn-download {
    background: #b96b75;
    color: #fff;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color .2s ease; }
    .wedding-book .flipbook-actions .btn-download:hover {
      background: #925554; }

@media (max-width: 768px) {
  .wedding-book .flipbook-viewer {
    height: 80vh; } }

/* ===== Mode immersif (plein écran “cinéma”) ===== */
/* AUCUNE opération Sass entre unités : on laisse CSS faire le calc(). */
.wedding-book.immersive {
  /* On réduit l’encombrement autour du viewer */
  padding: 0; }
  .wedding-book.immersive .section-title, .wedding-book.immersive .best-sellers h2, .best-sellers .wedding-book.immersive h2 {
    margin: 0.5rem 0;
    /* très compact au-dessus */ }
  .wedding-book.immersive .flipbook-container {
    max-width: 1400px;
    padding: 0;
    /* pas de padding vertical */ }
  .wedding-book.immersive .flipbook-viewer {
    /* Remplit presque l’écran, tout en laissant la place du titre et d’un petit respir */
    height: calc(100vh - 120px);
    /* 120px ≈ titre + marges. Ajuste si besoin */
    max-height: none;
    /* on lève la limite */
    border-radius: 10px; }
  .wedding-book.immersive .flipbook-actions {
    margin-top: 0.75rem; }
  @media (max-width: 1024px) {
    .wedding-book.immersive .flipbook-viewer {
      height: calc(100vh - 110px); } }
  @media (max-width: 768px) {
    .wedding-book.immersive .flipbook-viewer {
      height: calc(100vh - 100px); } }
/* === Soft Confirm Modal (popup de suppression élégante) === */
.sc-lock {
  overflow: hidden; }

/* Fond flouté et assombri */
.sc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 15, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10000;
  backdrop-filter: blur(1.5px); }

/* État visible */
.sc-backdrop.is-open {
  display: flex; }

/* Fenêtre modale principale */
.sc-dialog {
  /* ✅ remplacement de min(560px, 92vw) par une combinaison sûre */
  width: 92vw;
  max-width: 560px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  animation: sc-in 180ms ease-out forwards;
  font-family: "Open Sans", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #4a3d36; }

/* Animation d’apparition */
@keyframes sc-in {
  to {
    transform: translateY(0);
    opacity: 1; } }

/* En-tête */
.sc-header {
  background: #faf6f2;
  border-bottom: 1px solid #f0e6e0;
  padding: 16px 18px; }
  .sc-header h3 {
    margin: 0;
    font-family: "Cinzel Decorative", serif;
    font-size: 1.15rem;
    color: #6e5c44; }

/* Corps du message */
.sc-body {
  padding: 18px; }
  .sc-body p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5; }

/* Boutons d’action */
.sc-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 18px 18px; }

/* Boutons */
.sc-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.08s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06); }

.sc-btn:active {
  transform: translateY(1px); }

/* Bouton principal */
.sc-btn-primary {
  background-color: #b96b75;
  color: #fff; }
  .sc-btn-primary:hover {
    background-color: #925554; }

/* Bouton secondaire */
.sc-btn-secondary {
  background: #f2ece8;
  color: #4a3d36;
  border: 1px solid #e6d8d0; }
  .sc-btn-secondary:hover {
    background: #e9dfda; }

/* Responsive mobile */
@media (max-width: 520px) {
  .sc-dialog {
    width: 94vw;
    max-width: none; }
  .sc-actions {
    justify-content: stretch;
    flex-wrap: wrap; }
  .sc-btn {
    flex: 1 1 auto;
    text-align: center; } }
