@charset "UTF-8";
body {
  font-family: "Source Sans 3", sans-serif;
}

body h1, body h2, body h3, body h4, body h5, body btn {
  font-family: "Bowlby One", sans-serif;
}

.bowlby-one-regular {
  font-family: "Bowlby One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.source-sans-3 {
  font-family: "Source Sans 3", sans-serif;
  font-style: normal;
}

.btn-primary {
  border: 1px solid black;
  background-color: #fde279;
  color: black;
  font-weight: 900;
  border-radius: 32px;
  padding: 15px;
  text-transform: uppercase;
}

.btn-primary:hover {
  background-color: black;
  color: #fde279;
  border: 1px solid #fde279;
}

.btn-primary:disabled, .btn-primary.disabled {
  opacity: 0.5;
}

.btn-white {
  border: 1px solid black;
  background-color: white;
  color: black;
  font-weight: 900;
  border-radius: 32px;
  padding: 15px;
  text-transform: uppercase;
}

.btn-white:hover {
  background-color: #fde279;
  color: black;
  border: 1px solid black;
}

.mdi-pencil {
  color: #89411d;
}

a {
  color: black;
}

a:hover {
  color: #89411d;
}

.text-marron {
  color: #89411d;
}

.hr-marron {
  border-bottom: 2px solid #976c39;
  opacity: 0.8;
}

.separateur-dashed {
  border-bottom: 2px dashed #976c39;
  opacity: 0.8;
}

.bg-info-client {
  background-color: #f2f0e7;
}

.bg-type-client {
  background-color: #fde27a;
}

.bg-identifiant {
  border: 1px solid #cbb562;
  background-color: white;
}

.bg-adresse {
  background-color: #f9eed2;
}

.border-color-grey {
  border-color: #cbb562 !important;
}

.zone-newsletter {
  background-color: #fde27a;
  padding: 3px;
}

.zone-newsletter .btn-newsletter-action {
  background-color: white;
  border: 1px solid black;
  padding: 10px 5px 10px 5px;
  text-decoration: none;
}

.zone-newsletter .btn-newsletter-action:hover {
  background-color: black;
  border: 1px solid #fde27a;
  color: #fde27a;
}

header {
  position: relative;
  background-color: #fde279;
  width: 100%;
  min-height: 100px;
}

header .logo {
  font-weight: 900;
  font-size: 22px;
  font-family: "Bowlby One", sans-serif;
  text-transform: uppercase;
}

header .return-site {
  font-weight: bold;
  font-size: 14px;
}

header .return-site img {
  height: 20px;
}

@media only screen and (max-width: 575px) {
  header {
    min-height: auto;
    padding: 15px 0;
  }
  header .logo {
    font-size: 16px;
    justify-content: center !important;
    margin: 0 0 8px 0 !important;
  }
  header .return-site {
    justify-content: center !important;
    margin: 0 !important;
    font-size: 12px;
  }
}
main {
  position: relative;
  background-color: #f9edd1;
}

main .zone-droite {
  background-color: white;
}

main .zone-droite .bg-contrat-cmd {
  background-color: #fffcf5;
}

main .zone-droite .menu-contrat-cmd ul li.nav-item {
  background-color: #f9eed2;
}

main .zone-droite .menu-contrat-cmd ul li.nav-item .nav-link {
  border: 1px solid #a09988;
  color: black;
}

main .zone-droite .menu-contrat-cmd ul li.nav-item .active {
  border: 1px solid black;
  background-color: #fde27a;
}

main .zone-droite .menu-contrat-cmd ul li.nav-item:hover {
  background-color: #fde27a;
}

main .zone-droite .bg-alert-marron {
  background-color: #f2ebe8;
}

main .zone-droite .img-produits img {
  max-height: 150px;
}

main .zone-droite .montant-ttc {
  background-color: #fef2c4;
  padding: 10px 20px 10px 20px;
  border-radius: 32px;
  border: 1px solid black;
  display: inline-flex;
  align-items: center;
  font-weight: bold;
}

main .zone-droite .btn-date {
  display: inline-block;
  border-radius: 10px;
  padding: 6px 10px;
  margin: 5px;
  border: 1px solid #976C39;
  color: #976C39;
}

main .zone-droite .icone-menu {
  max-height: 30px;
  max-width: 30px;
}

main .zone-droite .table-historique thead tr th {
  background-color: #f2ebe8;
}

main .zone-droite #tablehistorique tr:nth-child(2n+1) {
  background-color: #00ff00 !important;
}

main .zone-droite #tablehistorique tr:nth-child(2n) {
  background-color: #ff0000 !important;
}

main .zone-droite .search-container {
  position: relative;
}

main .zone-droite .search-input {
  height: 50px;
  border-radius: 30px;
  padding-left: 35px;
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

main .zone-droite .search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  color: #888;
}

main .zone-droite .bg-cagnotte-solde {
  background-color: #fef2c4;
  border: 1px solid #cbb562;
}

main .zone-droite .solde-montant {
  font-family: "Bowlby One", sans-serif;
  font-size: 42px;
  color: #89411d;
  line-height: 1;
}

main .zone-droite .cagnotte-tip {
  background-color: #fde27a;
  border-radius: 20px;
  padding: 14px 18px;
  font-size: 14px;
}

main .zone-droite .cagnotte-tip .mdi {
  font-size: 20px;
  vertical-align: middle;
}

main .zone-droite .cagnotte-image {
  min-height: 180px;
  background: linear-gradient(160deg, #fde27a 0%, #f9eed2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

main .zone-droite .cagnotte-image .mdi {
  font-size: 90px;
  color: #89411d;
  opacity: 0.7;
}

main .zone-droite .pay-badges {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

main .zone-droite .pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 22px;
  padding: 0 6px;
  border: 1px solid #cbb562;
  border-radius: 5px;
  background-color: white;
  font-size: 10px;
  font-weight: 900;
  color: #89411d;
}

main .zone-droite .payment-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
}

main .zone-droite .payment-line .mdi {
  color: #976c39;
}

main .zone-droite .history-list {
  background-color: #fffcf5;
  border: 1px solid #f2ebe8;
}

main .zone-droite .history-day {
  font-weight: 900;
  color: #89411d;
  text-transform: uppercase;
  font-size: 14px;
}

main .zone-droite .history-row {
  border-bottom: 1px solid #f2ebe8;
  padding: 12px 0;
}

main .zone-droite .history-row .mdi {
  font-size: 22px;
  color: #976c39;
}

main .zone-droite .history-row:last-child {
  border-bottom: none;
}

main .zone-droite .history-label {
  font-weight: bold;
}

main .zone-droite .history-detail {
  font-size: 13px;
  text-decoration: underline;
  white-space: nowrap;
}

main .zone-droite .history-amount {
  font-weight: 900;
  white-space: nowrap;
}

main .zone-droite .history-amount.positive {
  color: #2e7d32;
}

main .zone-droite .history-amount.negative {
  color: #a3392b;
}

main .zone-droite .see-all-link {
  font-weight: bold;
  text-decoration: none;
}

@media only screen and (max-width: 575px) {
  main .zone-droite .solde-montant {
    font-size: 32px;
  }
  main .zone-droite .history-row {
    flex-direction: column;
    align-items: flex-start !important;
  }
  main .zone-droite .history-row .history-amount {
    margin-top: 6px;
  }
  main .zone-droite .history-row .history-detail {
    margin: 4px 0;
  }
}
main .zone-menu-gauche {
  background-color: #f9eed2;
}

main .zone-menu-gauche ul.list-menu {
  margin-bottom: 100px;
}

main .zone-menu-gauche ul.list-menu a {
  color: black;
  text-decoration: none;
}

main .zone-menu-gauche ul.list-menu a:hover {
  color: #89411d;
  border-bottom: 1px solid #89411d;
}

main .zone-menu-gauche ul.list-menu a.selected {
  color: #89411d;
  border-bottom: 1px solid #89411d;
}

@media only screen and (max-width: 991px) {
  main .zone-menu-gauche ul.list-menu {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 25px;
  }
  main .zone-menu-gauche ul.list-menu li {
    margin-bottom: 0 !important;
  }
}
main .zone-content-droite {
  padding: 0px;
}

main .zone-content-droite img {
  max-inline-size: 100%;
  block-size: auto;
  object-fit: cover;
  object-position: center;
  min-height: 700px;
}

main #tab_1 {
  color: black;
  border-bottom: 2px solid rgb(253, 226, 121);
}

main #tab_2 {
  color: #8d8b88;
  border-bottom: 2px solid #8d8b88;
}

@media only screen and (min-width: 300px) and (max-width: 991px) {
  main .zone-content-gauche {
    padding: 40px 10px;
    width: 100% !important;
  }
  main div.text-center-content {
    width: 100% !important;
  }
  main .zone-content-droite img {
    min-height: initial;
    max-height: 250px;
    width: 100%;
  }
  main .content-popup {
    position: relative !important;
    right: auto !important;
    padding: 10px !important;
  }
}
@media only screen and (min-width: 992px) and (max-width: 1280px) {
  main .zone-content-droite img {
    height: 350px;
    min-height: 350px !important;
    max-height: 350px !important;
    width: 100%;
  }
  main .card-body {
    margin-top: 25px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  main .content-popup {
    position: relative !important;
    right: auto !important;
    width: 70vh !important;
    padding: 10px !important;
  }
}
@media only screen and (min-width: 1281px) and (max-width: 1600px) {
  main .zone-content-droite {
    min-height: 450px;
  }
  main .zone-content-droite img {
    height: 100%;
    max-height: 350px;
    width: 100%;
  }
  main .card-body {
    margin-top: 25px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  main .content-popup {
    width: 70vh !important;
    padding: 10px !important;
  }
}
main .zone-content-gauche .bienvenue {
  display: block;
  font-size: 25px;
  clear: both;
  text-transform: uppercase;
  font-weight: 900;
}

main .zone-content-gauche div.text-center-content {
  width: 450px;
}

main .card {
  background-color: #fffcf5;
}

main .content-popup {
  position: absolute;
  z-index: 100;
  padding: 40px;
  width: 100vh;
  max-width: 80vh;
  right: 5%;
}

footer {
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

footer .footer-top {
  padding: 44px 0;
  background-color: #fde279;
}

footer .footer-top .col-12 {
  margin-bottom: 15px;
}

footer .footer-top img {
  margin-right: 10px;
}

footer .footer-main .logo-gauche {
  height: 50px;
}

footer .logo-bas-droite {
  position: absolute;
  bottom: 0;
  right: 50px;
  width: 83px !important;
  height: 90px !important;
}

@media only screen and (max-width: 991px) {
  footer .logo-bas-droite {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 20px auto 0 auto;
    display: block;
  }
}
/* =========================================================
   MODALES CAGNOTTE (Recharger / Paiement)
   ========================================================= */
.modal-content.app-modal {
  border-radius: 24px;
  border: 1px solid black;
}

.modal-content.app-modal .modal-title-custom {
  font-family: "Bowlby One", sans-serif;
  text-transform: uppercase;
  font-size: 22px;
}

.modal-content.app-modal .modal-rule {
  border-top: 2px solid #976c39;
  opacity: 0.8;
}

.modal-content.app-modal .modal-line {
  font-size: 15px;
}

.modal-content.app-modal .modal-subtitle {
  font-weight: bold;
  margin-bottom: 12px;
}

.modal-content.app-modal .amount-highlight {
  color: #89411d;
}

.amount-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.amount-pill {
  border: 1px solid #cbb562;
  background-color: white;
  border-radius: 32px;
  padding: 8px 18px;
  font-weight: bold;
}

.amount-pill:hover {
  background-color: #f9eed2;
}

.amount-pill.is-selected {
  background-color: #fde27a;
  border: 1px solid black;
}

.ou-separator {
  text-align: center;
  color: #8d8b88;
  margin-bottom: 18px;
}

.ou-separator span {
  background-color: white;
  padding: 0 10px;
}

.free-amount-wrap {
  position: relative;
  margin-bottom: 8px;
}

.free-amount-wrap .free-amount-input {
  border-radius: 32px;
  border: 1px solid #cbb562;
  padding: 10px 40px 10px 20px;
}

.free-amount-wrap .free-amount-suffix {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: bold;
  color: #89411d;
}

.btn-continue {
  border: 1px solid black;
  background-color: #fde279;
  color: black;
  font-weight: 900;
  border-radius: 32px;
  padding: 14px;
  text-transform: uppercase;
  margin-top: 10px;
}

.btn-continue:hover {
  background-color: black;
  color: #fde279;
}

.payment-methods {
  margin: 15px 0;
}

.payment-methods .payment-method {
  display: block;
  border: 1px solid #cbb562;
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 10px;
  cursor: pointer;
}

.payment-methods .payment-method.is-selected {
  border: 1px solid black;
  background-color: #f9eed2;
}

.payment-methods .payment-method-head {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: bold;
}

.payment-methods .payment-method--row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
}

.payment-methods .payment-method--row .chevron {
  color: #976c39;
}

.payment-methods .card-fields {
  margin-top: 14px;
}

.payment-methods .card-fields .card-number-wrap {
  position: relative;
}

.payment-methods .card-fields .card-number-wrap input {
  border-radius: 10px;
  padding-left: 38px;
  border: 1px solid #cbb562;
}

.payment-methods .card-fields .card-number-wrap svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #976c39;
}

.payment-methods .card-fields input.form-control {
  border-radius: 10px;
  border: 1px solid #cbb562;
}

.payment-methods .card-fields .field-label {
  font-size: 12px;
  color: #8d8b88;
}

@media only screen and (max-width: 575px) {
  .modal-content.app-modal .modal-title-custom {
    font-size: 18px;
  }
  .amount-pill {
    padding: 8px 14px;
    font-size: 14px;
  }
}
:root {
  --color-cream: #fbf3dc;
  --color-cream-soft: #fdf9ec;
  --color-yellow: #f6de95;
  --color-gold: #f2cc47;
  --color-gold-dark: #e0b825;
  --color-brown-dark: #3a3123;
  --color-brown-mid: #6b5f45;
  --color-text: #2c2416;
  --color-orange: #d9722c;
  --color-green: #4f7a3b;
  --color-border: #e7dcbb;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  margin: 0;
}

a {
  color: inherit;
}

/* ===== HEADER ===== */
.top-header {
  height: 72px;
  background: var(--color-yellow);
  border-bottom: 1px solid var(--color-border);
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== LAYOUT SHELL ===== */
.page-shell {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0;
}

.sidebar {
  padding: 2.5rem 2rem;
  min-height: 100%;
}

.sidebar-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1.75rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 3rem;
}

.sidebar-nav a {
  text-decoration: none;
  color: var(--color-brown-mid);
  font-weight: 600;
  font-size: 0.95rem;
  width: fit-content;
}

.sidebar-nav a.active {
  color: var(--color-text);
  font-weight: 800;
  border-bottom: 2px solid var(--color-orange);
  padding-bottom: 2px;
}

.logout-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-brown-mid);
}

/* ===== MAIN CONTENT ===== */
.main-content {
  background: var(--color-cream-soft);
  padding: 2.5rem 3rem 3.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.balance-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.balance-info {
  padding: 2rem 2.25rem;
}

.balance-label {
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.balance-amount {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.balance-last {
  color: var(--color-brown-mid);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.balance-last strong {
  color: var(--color-orange);
  font-weight: 800;
}

.balance-tip {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--color-brown-mid);
}

.balance-image {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='300'%3E%3Crect width='400' height='300' fill='%23c98a52'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
  min-height: 220px;
}

.btn-recharge {
  display: block;
  width: 100%;
  background: var(--color-gold);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  transition: background 0.15s ease;
}

.btn-recharge:hover {
  background: var(--color-gold-dark);
}

.info-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.25rem 1.75rem;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.info-box a {
  font-weight: 700;
  text-decoration: underline;
}

.payment-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--color-brown-mid);
  margin: 0;
}

.lock-icon {
  flex-shrink: 0;
}

.pay-badges {
  display: inline-flex;
  gap: 0.35rem;
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  border-radius: 4px;
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--color-border);
  background: var(--color-cream-soft);
  color: var(--color-brown-mid);
}

/* ===== HISTORY ===== */
.history-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.history-list {
  border: 1px solid var(--color-border);
  border-radius: 14px;
  overflow: hidden;
}

.history-day {
  background: var(--color-yellow);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 1.25rem;
}

.history-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: #fff;
  font-size: 0.9rem;
}

.history-icon {
  color: var(--color-brown-mid);
  flex-shrink: 0;
}

.history-label {
  flex: 1 1 auto;
}

.history-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  color: var(--color-brown-mid);
  text-decoration: underline;
  white-space: nowrap;
}

.history-amount {
  font-weight: 800;
  min-width: 80px;
  text-align: right;
}

.history-amount.positive {
  color: var(--color-green);
}

.history-amount.negative {
  color: var(--color-orange);
}

.see-all-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--color-text);
}

/* ===== FEATURES BAND ===== */
.features-band {
  background: var(--color-yellow);
  padding: 2.25rem 0;
  margin-top: 2rem;
}

.features-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.feature-title {
  font-weight: 800;
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
}

.feature-text {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-brown-mid);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--color-brown-dark);
  color: #f1e9d2;
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr) auto;
  gap: 2rem;
  align-items: start;
}

.footer-heading {
  font-family: var(--font-display);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-col p, .footer-col address {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #d8cba9;
  font-style: normal;
  margin-bottom: 0.4rem;
}

.footer-col a {
  text-decoration: none;
  color: #d8cba9;
}

.footer-col a:hover {
  color: #fff;
}

.footer-logo {
  color: #f1e9d2;
  justify-self: end;
}

/* ===== MODALS ===== */
.app-modal {
  border-radius: 18px;
  border: none;
  padding: 0.5rem 0.5rem 1.5rem;
}

.modal-title-custom {
  font-family: var(--font-display);
  font-weight: 900;
  text-align: center;
  font-size: 1.4rem;
  margin-bottom: 0;
}

.modal-rule {
  border-top: 1px solid var(--color-border);
  margin: 1.25rem 0;
}

.modal-body {
  padding: 0 1.75rem 0.5rem;
}

.modal-line {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.modal-line strong {
  font-weight: 800;
}

.modal-subtitle {
  font-weight: 800;
  margin: 1.25rem 0 0.75rem;
}

.amount-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
}

.amount-pill {
  border: 1px solid var(--color-border);
  background: var(--color-cream-soft);
  border-radius: 50px;
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s ease;
}

.amount-pill.is-selected {
  background: var(--color-gold);
  border-color: var(--color-text);
}

.ou-separator {
  text-align: center;
  font-weight: 700;
  color: var(--color-brown-mid);
  margin: 0.5rem 0 1rem;
}

.free-amount-wrap {
  position: relative;
  margin-bottom: 0.5rem;
}

.free-amount-input {
  border-radius: 50px;
  padding: 0.75rem 2.5rem 0.75rem 1.25rem;
  border: 1px solid var(--color-border);
}

.free-amount-suffix {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--color-brown-mid);
}

.btn-continue {
  background: var(--color-gold);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  margin-top: 1.5rem;
}

.btn-continue:hover {
  background: var(--color-gold-dark);
}

.amount-highlight {
  color: var(--color-orange);
  font-size: 1.1rem;
}

.payment-methods {
  border: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.payment-method {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  display: block;
  cursor: pointer;
}

.payment-method--row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.payment-method-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.payment-method.is-selected {
  border-color: var(--color-text);
  background: var(--color-cream-soft);
}

.paypal-badge {
  font-weight: 800;
  color: #253b80;
  font-size: 0.85rem;
}

.chevron {
  color: var(--color-brown-mid);
}

.card-fields {
  margin-top: 0.9rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--color-border);
}

.card-number-wrap {
  position: relative;
}

.card-number-wrap svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-brown-mid);
}

.card-number-wrap input {
  padding-left: 2.5rem;
}

.field-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brown-mid);
  margin-bottom: 0.25rem;
  display: block;
}

/* ===== FOCUS VISIBLE (accessibilité clavier) ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
.amount-pill:focus-visible,
.payment-method:focus-visible {
  outline: 3px solid #1a5fb4;
  outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .sidebar {
    padding: 1.5rem 1.5rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
  }
  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .main-content {
    padding: 1.75rem 1.25rem 2.5rem;
  }
  .balance-image {
    min-height: 160px;
  }
  .features-inner {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .footer-logo {
    grid-column: span 2;
    justify-self: start;
  }
}
@media (max-width: 575.98px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-logo {
    grid-column: span 1;
  }
  .history-row {
    flex-wrap: wrap;
  }
  .history-detail {
    order: 3;
    width: 100%;
  }
}
/* ===== ACCOUNT TABS (Nouvelle commande / Mon contrat / Historique) ===== */
.account-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.account-tab {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-cream);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-brown-mid);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.account-tab:hover {
  background: var(--color-cream-soft);
  color: var(--color-text);
}

.account-tab.is-active {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-text);
  font-weight: 800;
}

/* ===== ORDERS PANEL ===== */
.orders-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.btn-new-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--color-gold);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: 1.75rem;
  transition: background 0.15s ease;
}

.btn-new-order:hover {
  background: var(--color-gold-dark);
  color: var(--color-text);
}

/* ===== TOOLBAR: filters + search ===== */
.orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.orders-filters {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.filter-dropdown {
  background: transparent;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
  padding: 0;
}

.filter-dropdown:hover,
.filter-dropdown:focus {
  color: var(--color-orange);
}

.orders-search {
  position: relative;
  min-width: 260px;
}

.orders-search input {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 0.55rem 2.5rem 0.55rem 1.1rem;
  font-size: 0.85rem;
  background: var(--color-cream-soft);
}

.orders-search input:focus {
  outline: none;
  border-color: var(--color-gold-dark);
  background: #fff;
}

.orders-search .search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-brown-mid);
  pointer-events: none;
}

/* ===== ORDERS TABLE ===== */
.orders-table-wrap {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
}

.orders-table-head {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.6fr 1fr 0.9fr;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--color-cream-soft);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-brown-mid);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.order-row {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.6fr 1fr 0.9fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--color-border);
  background: #fff;
  transition: background 0.15s ease;
}

.order-row:hover {
  background: var(--color-yellow);
}

.order-ref {
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.order-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
}

.order-actions a {
  text-decoration: underline;
  font-weight: 600;
  color: var(--color-brown-mid);
}

.order-actions .order-reorder {
  color: var(--color-orange);
}

.order-actions a:hover {
  color: var(--color-text);
}

.order-pickup-date {
  margin-bottom: 0.15rem;
}

.order-pickup-place {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--color-brown-mid);
}

.order-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.88rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.status-done {
  background: var(--color-green);
}

.status-dot.status-pending {
  background: #a8461f;
}

.order-status.status-done {
  color: var(--color-green);
}

.order-status.status-pending {
  color: #a8461f;
}

.order-amount {
  font-weight: 800;
  text-align: right;
  font-size: 0.95rem;
}

/* ===== EMPTY STATE ===== */
.orders-empty {
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.orders-empty p {
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.orders-empty .empty-hint {
  color: var(--color-brown-mid);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* ===== WARNING NOTICE ===== */
.pickup-warning {
  background: #fbeee7;
  border: 1px solid #f0d3c2;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.pickup-warning .warning-strong {
  color: var(--color-orange);
  font-weight: 700;
}

/* ===== VIEW TOGGLE (demo helper, not part of the original UI) ===== */
.view-toggle {
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 0.35rem;
  background: var(--color-cream);
  border-radius: 50px;
  border: 1px solid var(--color-border);
}

.view-toggle button {
  border: none;
  background: transparent;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-brown-mid);
}

.view-toggle button.is-active {
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* ===== RESPONSIVE: ORDERS ===== */
@media (max-width: 767.98px) {
  .orders-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .orders-search {
    min-width: 0;
  }
  .orders-table-head {
    display: none;
  }
  .order-row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    position: relative;
  }
  .order-row > div {
    width: 100%;
  }
  .order-amount {
    text-align: left;
    position: absolute;
    top: 1rem;
    right: 1.25rem;
  }
}
/* ===== CONTRACT / ORDER SUMMARY CARD (Nouvelle commande) ===== */
.summary-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.summary-contract-ref {
  font-size: 0.85rem;
  color: var(--color-brown-mid);
  margin-bottom: 1.25rem;
}

.summary-contract-ref strong {
  color: var(--color-text);
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.summary-block-title {
  font-weight: 800;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.pickup-info {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.9rem;
  line-height: 1.5;
}

.pickup-info .info-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.pickup-info .pickup-when {
  color: var(--color-green);
  font-weight: 700;
}

.pickup-info .pickup-addr {
  color: var(--color-green);
}

.deadline-notice {
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.deadline-notice .deadline-countdown {
  color: var(--color-orange);
  font-weight: 800;
}

.deadline-notice .deadline-date {
  font-weight: 700;
}

.deadline-limit {
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.deadline-limit .deadline-limit-date {
  color: var(--color-orange);
  font-weight: 700;
}

.btn-outline-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  color: var(--color-text);
  width: 100%;
  transition: background 0.15s ease;
}

.btn-outline-order:hover {
  background: var(--color-gold-dark);
  color: var(--color-text);
}

.btn-outline-order.is-outline {
  background: #fff;
  border: 1px solid var(--color-text);
}

.btn-outline-order.is-outline:hover {
  background: var(--color-cream-soft);
}

.summary-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1.5rem 0 1.25rem;
}

.included-products {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-brown-mid);
}

.included-products li {
  margin-bottom: 0.35rem;
}

.order-with-image {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.order-with-image .order-info {
  flex: 1 1 auto;
}

.order-with-image .order-thumb {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-border);
}

.order-supplement-ref {
  color: var(--color-orange);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.order-view-detail {
  font-size: 0.8rem;
  color: var(--color-brown-mid);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* ===== OFF-CONTRACT BOX ===== */
.offcontract-box {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.offcontract-box .summary-block-title {
  margin-bottom: 1rem;
}

.offcontract-box .pickup-info {
  margin-bottom: 1.25rem;
}

.btn-white-pill {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--color-text);
  border-radius: 50px;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  color: var(--color-text);
  width: 100%;
  text-align: center;
  transition: background 0.15s ease;
}

.btn-white-pill:hover {
  background: var(--color-cream-soft);
  color: var(--color-text);
}

/* ===== CONTRACT DETAILS TAB ===== */
.contract-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.contract-meta-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.contract-ref-line {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.contract-ref-line .info-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-green);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

.contract-ref-line strong {
  color: var(--color-orange);
}

.contract-sub {
  color: var(--color-green);
  font-size: 0.85rem;
  line-height: 1.5;
}

.contract-freq {
  font-size: 0.85rem;
  color: var(--color-green);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contract-remaining {
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.date-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.date-chip {
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-brown-mid);
  background: var(--color-cream-soft);
}

.date-chip-more {
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: underline;
  color: var(--color-text);
}

/* ===== CONTRACT PRODUCTS PANEL ===== */
.contract-products-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
}

.contract-product-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--color-border);
}

.contract-product-row:first-of-type {
  padding-top: 0;
}

.contract-product-info {
  flex: 1 1 auto;
}

.contract-product-name {
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.contract-product-freq {
  color: var(--color-brown-mid);
  font-size: 0.85rem;
}

.contract-product-price {
  font-size: 0.9rem;
  white-space: nowrap;
}

.contract-product-price strong {
  font-weight: 800;
}

.contract-product-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--color-border);
  flex-shrink: 0;
}

.contract-totals {
  padding-top: 1rem;
  font-size: 0.9rem;
}

.contract-totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.contract-total-highlight {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--color-yellow);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
  font-weight: 800;
}

.contract-total-highlight .contract-total-amount {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--color-orange);
}

.contract-note {
  margin-top: 1.5rem;
  background: #fbeee7;
  border: 1px solid #f0d3c2;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.contract-note .warning-strong {
  color: var(--color-orange);
  font-weight: 700;
}

/* ===== FOUR-ONLY: NO ORDER / IN PROGRESS ===== */
.no-order-notice p {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.no-order-notice .empty-hint {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.current-order-block {
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
}

.current-order-status {
  font-size: 0.85rem;
  color: var(--color-brown-mid);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.available-pickups-panel {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.75rem;
  margin-top: 1.25rem;
}

.closure-notice {
  font-size: 0.85rem;
  margin: 1rem 0 1.25rem;
}

.closure-notice .closure-dates {
  color: var(--color-orange);
  font-weight: 700;
}

/* ===== SCENARIO SWITCHER (demo helper) ===== */
.scenario-switcher {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.35rem;
  background: var(--color-cream);
  border-radius: 14px;
  border: 1px solid var(--color-border);
}

.scenario-switcher button {
  border: none;
  background: transparent;
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-brown-mid);
}

.scenario-switcher button.is-active {
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* ===== RESPONSIVE: CONTRACT / SUMMARY ===== */
@media (max-width: 767.98px) {
  .summary-grid {
    grid-template-columns: 1fr;
  }
  .contract-meta-grid {
    grid-template-columns: 1fr;
  }
  .order-with-image {
    flex-direction: column;
  }
  .order-with-image .order-thumb {
    width: 100%;
    height: 140px;
  }
  .contract-product-row {
    flex-wrap: wrap;
  }
  .contract-total-highlight {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
}
/* ===== MON COMPTE ===== */
.account-info-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.info-card {
  background: #efece4;
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
}

.info-card-title {
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
}

.info-card p {
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
}

.edit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
  margin-top: 0.75rem;
}

.edit-link:hover {
  color: var(--color-orange);
}

.client-type-card {
  background: var(--color-gold);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.client-type-card > div:first-child {
  border-right: 1px solid rgba(58, 49, 35, 0.18);
  padding-right: 1.5rem;
}

.client-type-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.client-type-note {
  font-size: 0.8rem;
  color: var(--color-brown-mid);
  margin-top: 0.6rem;
}

.identifiants-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.identifiants-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
}

.identifiants-card .info-card-title {
  margin-bottom: 0.6rem;
}

.address-card {
  background: var(--color-cream);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
}

.newsletter-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: var(--color-gold);
  border-radius: 50px;
  padding: 0.9rem 0.9rem 0.9rem 1.75rem;
  margin-top: 1.75rem;
}

.newsletter-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-newsletter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
  color: var(--color-text);
  white-space: nowrap;
}

.btn-newsletter:hover {
  background: var(--color-cream-soft);
}

@media (max-width: 767.98px) {
  .account-info-grid {
    grid-template-columns: 1fr;
  }
  .client-type-card {
    grid-template-columns: 1fr;
  }
  .client-type-card > div:first-child {
    border-right: none;
    padding-right: 0;
    border-bottom: 1px solid rgba(58, 49, 35, 0.18);
    padding-bottom: 1rem;
  }
  .identifiants-grid {
    grid-template-columns: 1fr;
  }
  .identifiants-card {
    grid-template-columns: 1fr;
  }
  .newsletter-banner {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 20px;
  }
  .btn-newsletter {
    width: 100%;
    justify-content: center;
  }
}
/* ===== ORDER-FLOW (composer ma commande) — DARK VARIANT ===== */
:root {
  --color-olive-dark: #5a5228;
  --color-olive-mid: #6b6330;
}

.top-header--dark {
  background: var(--color-olive-dark);
  border-bottom: none;
}

.top-header--dark .brand-logo,
.top-header--dark .back-link {
  color: #f6f1e1;
}

.step-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}

.btn-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-gold);
  border: none;
  border-radius: 50px;
  padding: 0.65rem 1.1rem 0.65rem 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--color-text);
}

.cart-badge {
  background: var(--color-olive-dark);
  color: #fff;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.compose-intro {
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* ===== PRODUCT TABLE ===== */
.product-table-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.product-table-head {
  display: grid;
  grid-template-columns: 80px 1.2fr 1.1fr 0.7fr 0.7fr 0.9fr 0.6fr;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  background: var(--color-cream-soft);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--color-brown-mid);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.category-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--color-olive-dark);
  color: #f6f1e1;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.25rem;
  cursor: pointer;
  border: none;
  width: 100%;
  text-align: left;
}

.category-count {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
}

.category-row .chevron-toggle {
  margin-left: auto;
  transition: transform 0.2s ease;
}

.category-row[aria-expanded=false] .chevron-toggle {
  transform: rotate(-90deg);
}

.product-row {
  display: grid;
  grid-template-columns: 80px 1.2fr 1.1fr 0.7fr 0.7fr 0.9fr 0.6fr;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1.25rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.product-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  background: var(--color-border);
}

.product-name {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.product-detail-link {
  font-size: 0.78rem;
  color: var(--color-brown-mid);
  text-decoration: underline;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.product-weight {
  font-size: 0.88rem;
  color: var(--color-brown-mid);
}

.product-price {
  font-weight: 800;
  color: var(--color-orange);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 0.35rem 0.7rem;
  background: var(--color-cream-soft);
}

.qty-stepper button {
  border: none;
  background: transparent;
  color: var(--color-brown-mid);
  display: flex;
  align-items: center;
  padding: 0;
}

.qty-stepper .qty-value {
  font-weight: 800;
  min-width: 1.3rem;
  text-align: center;
}

.btn-add-cart {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-gold);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.btn-add-cart:hover {
  background: var(--color-gold-dark);
}

.category-collapsed-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #fff;
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.7rem 1.25rem;
  border-top: 1px solid var(--color-border);
}

@media (max-width: 767.98px) {
  .product-table-head {
    display: none;
  }
  .product-row {
    grid-template-columns: 60px 1fr;
    grid-template-areas: "thumb name" "thumb weight" "qty qty" "cart cart";
    row-gap: 0.5rem;
  }
  .product-row img {
    grid-area: thumb;
  }
  .product-row .product-name-cell {
    grid-area: name;
  }
  .product-price {
    display: none;
  }
}
/* ===== PRODUCT DETAIL MODAL ===== */
.product-modal .modal-content {
  border-radius: 20px;
  border: none;
  padding: 0.5rem;
}

.product-modal .modal-header {
  border: none;
  justify-content: center;
  position: relative;
  padding-bottom: 0;
}

.product-modal .modal-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-align: center;
  width: 100%;
}

.product-modal .btn-close-custom {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--color-text);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-modal .modal-rule {
  border-top: 1px solid var(--color-border);
  margin: 1rem 0 1.25rem;
}

.product-modal .modal-body {
  padding: 0 1.5rem 1.5rem;
}

.product-modal-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.25rem;
}

.product-modal-section-title {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.product-modal-desc {
  font-size: 0.92rem;
  color: var(--color-brown-mid);
  margin-bottom: 1.5rem;
}

.product-info-table {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.product-info-col {
  padding: 0.9rem 1rem;
  font-size: 0.82rem;
  border-right: 1px solid var(--color-border);
}

.product-info-col:last-child {
  border-right: none;
}

.product-info-col-title {
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.product-info-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-info-col li {
  margin-bottom: 0.3rem;
  color: var(--color-brown-mid);
}

.btn-add-to-order {
  display: block;
  width: 100%;
  background: var(--color-gold);
  border: none;
  border-radius: 50px;
  padding: 0.9rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.85rem;
  color: var(--color-text);
}

.btn-add-to-order:hover {
  background: var(--color-gold-dark);
  color: var(--color-text);
}

@media (max-width: 575.98px) {
  .product-info-table {
    grid-template-columns: 1fr;
  }
  .product-info-col {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
  }
  .product-info-col:last-child {
    border-bottom: none;
  }
}
/* ===== MINIMAL "MENU" HEADER (panier / checkout flow) ===== */
.top-header--menu {
  background: var(--color-brown-dark);
  justify-content: center;
}

.top-header--menu .menu-label {
  color: #f6f1e1;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  margin: 0;
}

/* ===== CART / PANIER PAGE ===== */
.cart-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.cart-count-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-brown-mid);
}

.cart-subtitle {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-brown-mid);
  margin-bottom: 1rem;
}

.card-orange-border {
  border: 1px solid var(--color-orange) !important;
}

.btn-dark-outline-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--color-text);
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
  color: var(--color-text);
  width: 100%;
}

.btn-dark-outline-pill:hover {
  background: var(--color-cream-soft);
  color: var(--color-text);
}

.cart-accordion-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  background: #fff;
  border: 1px solid var(--color-orange);
  border-radius: 12px;
  padding: 0.9rem 1.25rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 1.25rem 0 0;
}

.cart-accordion-toggle .cart-accordion-amount {
  color: var(--color-orange);
  font-weight: 800;
}

.cart-accordion-toggle .category-count {
  background: var(--color-orange);
  color: #fff;
}

.cart-accordion-toggle .chevron-toggle {
  color: var(--color-orange);
  margin-left: auto;
}

.cart-accordion-toggle[aria-expanded=false] .chevron-toggle {
  transform: rotate(-90deg);
}

.cart-items-wrap {
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 12px 12px;
  overflow: hidden;
  margin-top: -1px;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 70px 1.6fr 0.8fr 1fr 0.8fr;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1.25rem;
  background: #fff;
  border-top: 1px solid var(--color-border);
}

.cart-item-row .product-thumb {
  width: 56px;
  height: 56px;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-remove-item {
  border: none;
  background: transparent;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
}

.cart-item-price {
  font-weight: 800;
  text-align: right;
}

@media (max-width: 767.98px) {
  .cart-item-row {
    grid-template-columns: 56px 1fr;
    grid-template-areas: "thumb name" "qty qty" "price price";
    row-gap: 0.5rem;
  }
}
/* ===== CONFIRMATION MODALS ===== */
.confirm-info-box {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.confirm-info-box .summary-block-title {
  margin-bottom: 0.75rem;
}

.confirm-info-box .pickup-info {
  justify-content: center;
  text-align: left;
  display: inline-flex;
}

.confirm-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 1.25rem 0;
}

.confirm-amount-row {
  font-size: 0.95rem;
}

.confirm-amount-row strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-orange);
  margin-left: 0.4rem;
}

.modal-warning-text {
  text-align: center;
  font-size: 0.85rem;
  margin: 0 0 1.25rem;
}

.modal-actions {
  display: flex;
  gap: 0.75rem;
}

.modal-actions > * {
  flex: 1 1 0;
}

.success-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.success-check {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.success-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  margin: 0;
}

.confirm-contact-text {
  text-align: center;
  font-size: 0.88rem;
  margin-bottom: 1rem;
}

.confirm-contact-text a {
  text-decoration: underline;
  font-weight: 700;
}

.confirm-invoice-note {
  text-align: center;
  font-size: 0.88rem;
  font-weight: 700;
}

/* ===== DATE PICKER MODAL ===== */
.date-rules {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
}

.date-rules .rule-highlight {
  color: var(--color-orange);
  font-weight: 700;
}

.calendar-widget {
  background: var(--color-cream-soft);
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.25rem;
}

.calendar-card {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem;
  max-width: 320px;
  margin: 0 auto;
}

.calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-weight: 800;
}

.calendar-nav button {
  border: none;
  background: transparent;
  color: var(--color-brown-mid);
  display: inline-flex;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.35rem;
  text-align: center;
}

.calendar-grid .cal-weekday {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--color-brown-mid);
  text-transform: uppercase;
  padding-bottom: 0.4rem;
}

.calendar-grid .cal-day {
  border: none;
  background: transparent;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-grid .cal-day.is-disabled {
  color: #cabf9c;
}

.calendar-grid .cal-day.is-selected {
  background: var(--color-gold);
  color: var(--color-text);
}

.btn-choose-date {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 1.25rem auto 0;
  background: var(--color-gold);
  border: none;
  border-radius: 50px;
  padding: 0.85rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  color: var(--color-text);
}

.btn-choose-date:hover {
  background: var(--color-gold-dark);
}

.date-selected-confirm {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  margin: 1.5rem 0 1.25rem;
  text-align: center;
}

.date-selected-confirm .selected-date {
  color: var(--color-orange);
  font-weight: 800;
}

.date-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-validate-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: var(--color-text);
  border: none;
  border-radius: 50px;
  padding: 0.95rem 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.8rem;
  color: #fff;
}

.btn-validate-date:hover {
  background: #1a140c;
  color: #fff;
}

@media (max-width: 575.98px) {
  .modal-actions {
    flex-direction: column;
  }
}

/*# sourceMappingURL=styles.css.map */
