/* ============================================================
   Interface publique
   Remplace le CSS cassé de l'ancienne template.
   Chargé par tous les layouts publics ; les règles ciblent
   donc toutes les pages via "body". S'adapteront ensuite
   aux spécificités de chaque page.
   ============================================================ */
/* ------------------------------------------------------------
   Barre supérieure
   ------------------------------------------------------------ */
/* Les en-têtes et pieds conservent leurs fonds pleine largeur,
   seul leur contenu est centré (max-width + margin auto). */
body .top-bar {
  background: #14523f;
  border-bottom: 0;
  padding: 6px 0;
  font-size: 0.9rem;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  width: 100%;
}

#main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

body #content .container {
  margin: 0 auto 16px auto;
}

/* Les deux menus sur une seule ligne : gauche à gauche, droite à droite. */
body .top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Chaque menu est une ligne d'éléments côte à côte.
   float: none neutralise .pull-left/.pull-right de FontAwesome. */
body .top-bar .nav-inline {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

body .top-bar .nav-inline .menu-item {
  color: rgba(255, 255, 255, 0.75);
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

body .top-bar .nav-inline .menu-item a {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

body .top-bar .nav-inline .menu-item a:hover {
  color: #ffffff;
}

body .top-bar .nav-inline .menu-item + .menu-item:before {
  color: rgba(255, 255, 255, 0.35);
}

/* ------------------------------------------------------------
   En-tête : logo, recherche, menu
   ------------------------------------------------------------ */
body #masthead {
  background: #ffffff;
  border-bottom: 1px solid #e3e8ea;
  padding: 10px 0 0;
}

/* Première rangée : logo + recherche */
body #masthead .container > .row:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 14px 0;
}

body #masthead .header-logo {
  float: none;
  width: auto;
  margin: 0;
}

body #masthead .header-logo a {
  display: inline-block;
  line-height: 0;
}

body #masthead .header-logo img {
  max-height: 52px;
  width: auto;
}

body #masthead .trolo.navbar-search {
  flex: 1 1 auto;
  max-width: 430px;
  margin: 0;
  padding: 0;
}

body #masthead .navbar-search .input-group {
  display: flex;
}

body #masthead .navbar-search .form-control {
  flex: 1 1 auto;
  min-width: 0;
  height: 38px;
  border: 1px solid #cfd8dc;
  border-radius: 6px 0 0 6px;
  padding: 6px 12px;
  font-size: 0.95rem;
}

body #masthead .navbar-search .form-control:focus {
  outline: none;
  border-color: #1f6f5c;
  box-shadow: 0 0 0 2px rgba(31, 111, 92, 0.15);
}

body #masthead .navbar-search .input-group-btn {
  display: flex;
}

body #masthead .navbar-search .btn {
  border: 1px solid #cfd8dc;
  border-left: 0;
  border-radius: 0 6px 6px 0;
  height: 38px;
  padding: 6px 14px;
  background: #1f6f5c;
  color: #ffffff;
}

body #masthead .navbar-search .btn:hover {
  background: #175a49;
  color: #ffffff;
}

/* Deuxième rangée : menu à gauche, message à droite */
body #masthead .container > .row:nth-child(2) {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

/* Le menu ne prend que la gauche */
body #masthead .container > .row:nth-child(2) > .col-lg-3 {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0;
}

body #masthead .container > .row:nth-child(2) > .col-lg-3 nav {
  display: block;
  width: auto;
  float: none;
  clear: none;
}

/* Message d'en-tête à droite */
body #masthead .container > .row:nth-child(2) > .col-lg-9 {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  margin: 0;
  text-align: right;
}

body #masthead .header_message {
  float: none;
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 500;
  color: #5b6b76;
  margin: 0;
}

/* ------------------------------------------------------------
   Menu vertical (colonne gauche)
   ------------------------------------------------------------ */
body .vertical-menu {
  position: static;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
}

/* Le libellé "Tout les produits" sert de titre de section */
.vertical-menu > li.list-group-item {
  margin-bottom: 6px;
}

.vertical-menu > li.list-group-item span {
  font-size: 0.93rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a99a3;
  padding: 0 14px;
}

.vertical-menu > li.list-group-item span i {
  margin-right: 6px;
}

.vertical-menu > li.list-group-item {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.vertical-menu > .menu-item.has-open,
.vertical-menu > .menu-item:hover {
  background: transparent;
}

.vertical-menu .menu-item > a {
  display: block;
  margin: 0 -16px;
  padding: 7px 30px;
  font-size: 1rem;
  color: #333e48;
  border-radius: 0;
  line-height: 1.3;
}

.vertical-menu .menu-item > a:hover {
  background: #eef5f2;
  color: #1f6f5c;
}

.vertical-menu .menu-item > a::after {
  content: "\203a";
  float: right;
  margin-left: 8px;
  color: #9aa7ae;
}

.vertical-menu .menu-item-has-children a[data-toggle="dropdown"]::after,
.vertical-menu .menu-item-has-children a.dropdown-toggle::after {
  content: "\203a";
  border: 0;
  font-family: inherit;
  width: auto;
  height: auto;
}

/* Boîte du sous-menu, permanente pour éviter tout décalage à l'hover */
.vertical-menu .dropdown-menu {
  margin: 2px 0 6px 0;
  padding: 4px 0 4px 12px;
  border: 0;
  border-radius: 0;
  background: #ffffff;
}

/* Menu déroulant ouvert (au survol et via Bootstrap/JS) */
.vertical-menu .menu-item-has-children:hover .dropdown-menu,
.vertical-menu .menu-item-has-children.open .dropdown-menu,
.vertical-menu .menu-item-has-children.show .dropdown-menu {
  display: block;
  position: static;
  float: none;
  width: 100%;
  min-width: 0;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.vertical-menu .menu-item-has-children:hover > a {
  color: #1f6f5c;
  background: #eef5f2;
}

.vertical-menu .dropdown-menu > .menu-item > a {
  margin: 0 -16px 0 -28px;
  padding: 6px 16px 6px 38px;
  border-bottom: 0;
  font-size: 0.96rem;
}

.vertical-menu .dropdown-menu > .menu-item > a:hover {
  background: #eef5f2;
}

/* ------------------------------------------------------------
   Diaporama (carousel du haut)
   ------------------------------------------------------------ */
/* Rangée : menu vertical à gauche, carrousel à droite */
body .home-v1-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 18px;
  margin: 35px 0 25px 0;
}

body .home-v1-menu {
  flex: 0 0 240px;
  width: 240px;
  max-width: none;
  margin: 0;
  padding: 14px 16px;
  background: #ffffff;
  border: 1px solid #e3e8ea;
  border-radius: 10px;
  align-self: flex-start;
}

body .home-v1-slider {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  margin: 0;
  left: auto;
  height: auto;
  background: #dfe6ea;
  border-radius: 10px;
  overflow: hidden;
}

body .home-v1-slider .item {
  height: auto;
  min-height: 280px;
  background-size: cover;
  background-position: center;
}

body .home-v1-slider .item .container {
  height: 100%;
}

body .home-v1-slider .item .row {
  display: flex;
  align-items: center;
  height: 280px;
  margin: 0;
}

body .home-v1-slider .item .caption {
  position: static;
  transform: none;
  display: block;
  padding: 0;
  text-align: left;
  vertical-align: baseline;
}

body .home-v1-slider .item .caption a {
  display: inline-block;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

body .home-v1-slider .item .caption .hero-2 {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

/* Navigation du carrousel : points en bas */
body .home-v1-slider #owl-main .owl-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  width: 100%;
  text-align: center;
}

body .home-v1-slider #owl-main .owl-dots .owl-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 0 4px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

body .home-v1-slider #owl-main .owl-dots .owl-dot.active {
  background: #ffffff;
}

/* ------------------------------------------------------------
   Bloc publicités (3 cartes familles)
   ------------------------------------------------------------ */
body .home-v1-ads-block {
  margin: 0 0 25px 0;
}

body .home-v1-ads-block .ads-block {
  display: flex;
  gap: 24px;
  margin: 0;
}

body .home-v1-ads-block .ad {
  flex-grow: 1;
  max-width: none;
  margin: 0;
}

body .home-v1-ads-block .ad .media {
  display: flex;
  align-items: center;
  height: 100%;
  background: #ffffff;
  border: 1px solid #e3e8ea;
  border-radius: 10px;
  padding: 14px 16px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body .home-v1-ads-block .ad .media:hover {
  border-color: #bcd8cf;
  box-shadow: 0 6px 18px rgba(33, 43, 51, 0.1);
}

body .home-v1-ads-block .media-left {
  float: none;
  flex: 0 0 auto;
  width: auto;
  margin-right: 14px;
}

body .home-v1-ads-block .media-left img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

body .home-v1-ads-block .media-body {
  flex: 1 1 auto;
  width: auto;
  overflow: hidden;
}

body .home-v1-ads-block .ad-text {
  color: #212b33;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 4px;
}

body .home-v1-ads-block .ad-text p {
  margin: 0;
}

body .home-v1-ads-block .ad-action a {
  display: inline-block;
  font-size: 0.96rem;
  font-weight: 500;
  color: #1f6f5c;
}

body .home-v1-ads-block .ad-action a::after {
  content: "\203a";
  margin-left: 6px;
}

body .home-v1-ads-block .ad-action a:hover {
  color: #14523f;
}

/* ------------------------------------------------------------
   Rangée offre spéciale + grille produits
   ------------------------------------------------------------ */
body .home-v1-deals-and-tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px 25px -12px;
}

body .home-v1-deals-and-tabs .deals-block {
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  width: 33.3333%;
  padding: 0 12px;
  margin: 0;
}

body .home-v1-deals-and-tabs .tabs-block {
  flex: 0 0 66.6667%;
  max-width: 66.6667%;
  width: 66.6667%;
  padding: 0 12px;
  margin: 0;
}

/* Sans offre spéciale : le bloc gauche disparaît, la grille prend toute la largeur */
body .home-v1-deals-and-tabs .deals-block:empty {
  flex: 0 0 0;
  width: 0;
  max-width: 0;
  padding: 0;
  overflow: hidden;
}

body .home-v1-deals-and-tabs .deals-block:empty + .tabs-block {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

/* Offre spéciale */
body .home-v1-deals-and-tabs .section-onsale-product {
  background: #ffffff;
  border: 1px solid #e3e8ea;
  border-radius: 10px;
  padding: 18px 18px 20px;
  margin: 0;
}

body .home-v1-deals-and-tabs .section-onsale-product > header {
  margin: 0 0 12px;
  padding: 0 0 10px;
  border-bottom: 1px solid #eef1f2;
}

body .home-v1-deals-and-tabs .section-onsale-product > header .h1 {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0;
  color: #212b33;
}

body .home-v1-deals-and-tabs .section-onsale-product .savings {
  font-size: 0.93rem;
  color: #1f6f5c;
  font-weight: 600;
}

body .home-v1-deals-and-tabs .onsale-products {
  text-align: left;
}

body .home-v1-deals-and-tabs .onsale-product {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f2f3;
}

body .home-v1-deals-and-tabs .onsale-product:last-child {
  border-bottom: 0;
}

body .home-v1-deals-and-tabs .onsale-product a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #333e48;
  flex: 1 1 auto;
  min-width: 0;
}

body .home-v1-deals-and-tabs .onsale-product a:hover h3 {
  color: #1f6f5c;
}

body .home-v1-deals-and-tabs .onsale-product h3 {
  font-size: 1.04rem;
  font-weight: 500;
  margin: 0;
  color: #212b33;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body .home-v1-deals-and-tabs .onsale-product .product-thumbnail {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  background: #f5f7f8;
  border: 1px solid #e3e8ea;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body .home-v1-deals-and-tabs .onsale-product .product-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body .home-v1-deals-and-tabs .section-onsale-product .price {
  flex: 0 0 auto;
  text-align: right;
}

body .home-v1-deals-and-tabs .electro-price {
  font-size: 1rem;
  color: #212b33;
  font-weight: 600;
}

body .home-v1-deals-and-tabs .electro-price del {
  color: #9aa7ae;
  font-weight: normal;
  margin-right: 4px;
}

body .home-v1-deals-and-tabs .electro-price ins {
  color: #d5372c;
  font-weight: 700;
}

body .home-v1-deals-and-tabs .deal-countdown-timer {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #5b6b76;
}

body .home-v1-deals-and-tabs .countdown span {
  display: inline-block;
  margin-right: 8px;
}

body .home-v1-deals-and-tabs .countdown .value {
  display: inline-block;
  min-width: 22px;
  padding: 3px 6px;
  margin-right: 3px;
  background: #212b33;
  color: #ffffff;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
}

body .home-v1-deals-and-tabs .countdown b {
  font-weight: 500;
  color: #5b6b76;
}

/* Grille de produits */
body .home-v1-deals-and-tabs .products-carousel-tabs {
  background: #ffffff;
  border: 1px solid #e3e8ea;
  border-radius: 10px;
  padding: 16px 18px 20px;
}

body .home-v1-deals-and-tabs .products-carousel-tabs .nav-inline {
  text-align: left;
  border-bottom: 1px solid #eef1f2;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}

body .home-v1-deals-and-tabs .products-carousel-tabs .nav-inline .nav-item + .nav-item {
  margin-left: 20px;
}

body .home-v1-deals-and-tabs .products-carousel-tabs .nav-link {
  font-size: 1.07rem;
  line-height: 34px;
  padding-bottom: 0;
  color: #333e48;
  position: relative;
}

body .home-v1-deals-and-tabs .products-carousel-tabs .nav-link.active {
  color: #1f6f5c;
  font-weight: 600;
}

body .home-v1-deals-and-tabs .products-carousel-tabs .nav-link.active::before {
  width: 100%;
  left: 0;
  background: #1f6f5c;
}

body .home-v1-deals-and-tabs .products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body .home-v1-deals-and-tabs .product {
  display: flex;
  margin: 0;
}

body .home-v1-deals-and-tabs .product-outer {
  flex: 1 1 auto;
  height: auto !important;
  min-height: 0;
  position: relative;
}

body .home-v1-deals-and-tabs .product-inner {
  position: static;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  height: 100%;
  min-height: 0;
  width: 100%;
  padding: 12px;
  background: #ffffff;
  border: 1px solid #e3e8ea;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(33, 43, 51, 0.05);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

body .home-v1-deals-and-tabs .product:hover .product-inner {
  border-color: #bcd8cf;
  box-shadow: 0 8px 20px rgba(33, 43, 51, 0.12);
}

body .home-v1-deals-and-tabs .loop-product-categories {
  display: block;
  margin-bottom: 4px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #8a99a3;
}

body .home-v1-deals-and-tabs .loop-product-categories a {
  color: #8a99a3;
}

body .home-v1-deals-and-tabs .loop-product-categories a:hover {
  color: #1f6f5c;
}

body .home-v1-deals-and-tabs .product h3 {
  font-size: 1.07px;
  font-weight: 600;
  margin: 0 0 8px;
  min-height: 38px;
  color: #212b33;
  line-height: 19px;
}

body .home-v1-deals-and-tabs .product-thumbnail {
  height: 150px;
  background: #f5f7f8;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

body .home-v1-deals-and-tabs .product-thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

body .home-v1-deals-and-tabs .price-add-to-cart {
  height: auto;
  margin-top: 10px;
  clear: both;
}

body .home-v1-deals-and-tabs .price-add-to-cart .price {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

body .home-v1-deals-and-tabs .price-add-to-cart .electro-price {
  float: none;
  width: auto;
  white-space: nowrap;
}

body .home-v1-deals-and-tabs .price-add-to-cart .electro-price del {
  color: #9aa7ae;
  font-weight: normal;
}

body .home-v1-deals-and-tabs .per_month {
  font-size: 0.7rem;
  margin-left: 0;
  color: #8a99a3;
}

/* ------------------------------------------------------------
   Pied de page
   ------------------------------------------------------------ */
body #colophon .footer-bottom-widgets {
  background: #232f3a;
  color: #c6d2da;
  padding: 28px 0 24px;
}

body #colophon .footer-bottom-widgets .widget-title {
  color: #ffffff;
  font-size: 1.07rem;
  font-weight: 600;
  margin: 0 0 12px;
}

body #colophon .footer-bottom-widgets .menu-footer-menu-1 {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
}

body #colophon .footer-bottom-widgets .menu-footer-menu-1 li {
  margin-bottom: 7px;
}

body #colophon .footer-bottom-widgets .menu-footer-menu-1 a {
  color: #aebbc4;
  font-size: 0.96rem;
}

body #colophon .footer-bottom-widgets .menu-footer-menu-1 a:hover {
  color: #ffffff;
}

body #colophon .footer-contact address {
  color: #aebbc4;
  font-size: 0.96rem;
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 8px;
}

body #colophon .footer-contact .footer-address-title {
  color: #ffffff;
  font-size: 1.07rem;
  display: block;
  margin-bottom: 10px;
}

body #colophon .footer-logo img {
  max-height: 56px;
  width: auto;
}

body .copyright-bar {
  background: #1b242c;
  color: #7d8b95;
  font-size: 0.85rem;
  padding: 12px 0;
}

body .copyright-bar .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
}

body .copyright-bar .copyright {
  display: inline-flex;
  align-items: center;
  color: #7d8b95;
  float: none; /* neutralise .pull-left de FontAwesome */
}

body .copyright-bar .copyright img {
  max-height: 2.5rem;
  width: auto;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 991px) {
  body .home-v1-menu {
    flex: 0 0 100%;
    width: 100%;
  }

  body .home-v1-deals-and-tabs .deals-block,
  body .home-v1-deals-and-tabs .tabs-block {
    flex: 0 0 100%;
    width: 100%;
  }
}

@media (max-width: 767px) {
  body #masthead .container > .row:first-child {
    flex-direction: column;
    align-items: stretch;
  }

  body #masthead .trolo.navbar-search {
    max-width: none;
  }

  body #masthead .container > .row:nth-child(2) {
    flex-direction: column;
    align-items: flex-start;
  }

  body #masthead .container > .row:nth-child(2) > .col-lg-9 {
    text-align: left;
  }

  body .home-v1-ads-block .ad {
    width: 100%;
  }

  body .home-v1-deals-and-tabs .products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  body .home-v1-deals-and-tabs .products {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------
   Page de connexion (devise/sessions) :
   deux colonnes côte à côte et formulaires propres,
   alignés sur la charte de la page d'accueil.
   ------------------------------------------------------------ */
#customer_login {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
  max-width: 880px;
  margin: 2rem auto 3rem;
}

/* Chaque panneau (connexion / inscription) est une carte nette. */
#customer_login .customer-login-form,
#customer_login .customer-register-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 2rem;
}

/* Neutralise la liste par défaut des <li> des rangées de formulaire. */
#customer_login .form-row {
  margin: 0 0 1rem;
}

#customer_login .form-row:last-child {
  margin-bottom: 0;
}

#customer_login li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Titres de chaque panneau. */
#customer_login h2 {
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}

/* Sous-titre des panneaux : même hauteur des deux côtés pour aligner les champs. */
#customer_login .col-subtitle {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--muted);
  min-height: 1.5em;
}

/* Textes d'intro. */
#customer_login .before-login-text,
#customer_login .before-register-text {
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

/* Libellés des champs. */
#customer_login label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

/* Champs de saisie. */
#customer_login input[type="email"],
#customer_login input[type="password"],
#customer_login input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#customer_login input[type="email"]:focus,
#customer_login input[type="password"]:focus,
#customer_login input[type="text"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(17, 85, 68, 0.14);
}

#customer_login input::placeholder {
  color: #9aa8a4;
}

/* Case "Se souvenir de moi" : libellé et case sur la même ligne. */
#customer_login .form-row:has(input[type="checkbox"]) li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

#customer_login .form-row:has(input[type="checkbox"]) label {
  margin-bottom: 0;
}

#customer_login input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--brand);
}

/* Liens (mot de passe oublié / inscription). */
#customer_login a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}

#customer_login a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* Boutons d'action. */
#customer_login .form-actions {
  margin-top: 1.25rem;
}

#customer_login .button_form {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

#customer_login .button_form:hover,
#customer_login .button_form:focus {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  color: #ffffff;
  outline: none;
}

/* Passe les deux colonnes en pile sur petit écran. */
@media (max-width: 760px) {
  #customer_login {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 1.5rem auto 2.5rem;
  }

  #customer_login .customer-login-form,
  #customer_login .customer-register-form {
    padding: 1.5rem;
  }
}
