/*
 * Custom style goes here.
 * GPA Double Clear - custom account + authentication pages
 */


/* ===============================
   MON COMPTE - STRUCTURE GENERALE
================================= */

.page-my-account #content,
.page-customer-account #content {
  max-width: 1380px;
  margin: 0 auto;
  padding: 20px 0 70px;
}

.page-my-account .breadcrumbs,
.page-customer-account .breadcrumbs {
  margin-bottom: 30px;
}

.account-dashboard {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}

.account-dashboard__sidebar {
  width: 260px;
  flex: 0 0 260px;
}

.account-dashboard__sidebar-title {
  margin: 0 0 28px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #6f6f6f;
}

.account-dashboard__menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.account-dashboard__menu li {
  margin-bottom: 18px;
}

.account-dashboard__menu a {
  color: #222;
  text-decoration: none;
  font-size: 15px;
  line-height: 1.45;
  transition: opacity 0.2s ease;
}

.account-dashboard__menu a:hover {
  opacity: 0.7;
  text-decoration: none;
}

.account-dashboard__logout {
  margin-top: 26px;
}

.account-dashboard__logout a {
  color: #d22b2b;
}

.account-dashboard__content {
  flex: 1 1 auto;
}

.account-dashboard__welcome {
  margin: 0 0 34px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: #6f6f6f;
}

.account-dashboard__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 24px;
}

.account-card {
  min-height: 150px;
  border: 1px solid #7a7a7a;
  background: #fff;
  text-decoration: none;
  color: #222;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 26px 22px;
  text-align: center;
  transition: all 0.25s ease;
}

.account-card:hover {
  color: #222;
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.account-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.account-card__icon svg,
.account-card__icon i {
  width: 34px;
  height: 34px;
}

.account-card__label {
  display: block;
  font-size: 14px;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  max-width: 220px;
  margin: 0 auto;
}


/* ===============================
   MON COMPTE - RESPONSIVE
================================= */

@media (max-width: 1199px) {
  .account-dashboard {
    gap: 40px;
  }

  .account-dashboard__welcome {
    font-size: 34px;
  }

  .account-dashboard__cards {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 767px) {
  .account-dashboard {
    display: block;
  }

  .account-dashboard__sidebar {
    width: 100%;
    margin-bottom: 35px;
  }

  .account-dashboard__sidebar-title {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .account-dashboard__welcome {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .account-dashboard__cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .account-card {
    min-height: 130px;
  }
}


/* ===============================
   PAGE CONNEXION - STRUCTURE GENERALE
================================= */

.page-authentication #content {
  max-width: 1380px;
  margin: 0 auto;
  padding: 30px 0 90px;
}

.gpa-auth-page {
  display: flex;
  justify-content: center;
}

.gpa-auth-page__inner {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}


/* ===============================
   PAGE CONNEXION - TITRE ET INTRO
================================= */

.gpa-auth-header {
  text-align: left;
  margin-bottom: 34px;
}

.gpa-auth-title {
  margin: 0 0 16px;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 400;
  color: #5e5e5e;
}

.gpa-auth-intro {
  margin: 0;
  max-width: 620px;
  font-size: 15px;
  line-height: 1.7;
  color: #6b6b6b;
}


/* ===============================
   PAGE CONNEXION - CHAMPS FORMULAIRE
================================= */

.gpa-login-form {
  margin-top: 18px;
}

.gpa-login-form__group {
  margin-bottom: 16px;
}

.gpa-login-form__group label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #2c2c2c;
}

.gpa-login-form .form-control {
  width: 100%;
  height: 54px;
  border: 1px solid #d4d4d4;
  border-radius: 0;
  background: #eef3fb;
  padding: 0 16px;
  font-size: 15px;
  color: #222;
  box-shadow: none;
}

.gpa-login-form .form-control:focus {
  border-color: #999;
  outline: none;
  box-shadow: none;
}


/* ===============================
   PAGE CONNEXION - MOT DE PASSE / OEIL
================================= */

.gpa-login-form__password {
  position: relative;
}

.gpa-login-form__password .form-control {
  padding-right: 52px;
}

.gpa-password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  padding: 0;
  line-height: 1;
}

.gpa-password-toggle:hover {
  color: #000;
}


/* ===============================
   PAGE CONNEXION - ACTIONS FORMULAIRE
================================= */

.gpa-login-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 18px;
}

.gpa-login-form__forgot {
  font-size: 14px;
  color: #8a8a8a;
  text-decoration: none;
}

.gpa-login-form__forgot:hover {
  color: #1f1f1f;
  text-decoration: underline;
}


/* ===============================
   PAGE CONNEXION - BOUTON CONNEXION
================================= */

.gpa-login-form__submit {
  min-width: 170px;
  height: 48px;
  border: 1px solid #1f1f1f;
  background: #1f1f1f;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  transition: all 0.25s ease;
  border-radius: 0;
  margin: 0;
}

.gpa-login-form__submit:hover {
  background: #fff;
  color: #1f1f1f;
}


/* ===============================
   PAGE CONNEXION - CREER UN COMPTE
================================= */

.gpa-auth-register {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid #dddddd;
  text-align: left;
}

.gpa-auth-register__title {
  margin: 0 0 14px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2d2d2d;
}

.gpa-auth-register__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 48px;
  padding: 0 28px;
  border: 1px solid #2d2d2d;
  background: #fff;
  color: #2d2d2d;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  transition: all 0.25s ease;
}

.gpa-auth-register__button:hover {
  background: #2d2d2d;
  color: #fff;
  text-decoration: none;
}


/* ===============================
   PAGE CONNEXION - BLOC AVANTAGES
================================= */

.gpa-auth-benefits {
  margin-top: 36px;
  background: #111;
  color: #fff;
  padding: 28px 28px 24px;
}

.gpa-auth-benefits__title {
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 400;
  color: #fff;
}

.gpa-auth-benefits__list {
  margin: 0;
  padding-left: 18px;
}

.gpa-auth-benefits__list li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.6;
}


/* ===============================
   PAGE CONNEXION - NETTOYAGE PRESTASHOP
================================= */

.page-authentication .login-form .form-footer,
.page-authentication .login-form footer,
.page-authentication .forgot-password,
.page-authentication .no-account,
.page-authentication .register-form,
.page-authentication .page-footer {
  display: none !important;
}


/* ===============================
   PAGE CONNEXION - RESPONSIVE
================================= */

@media (max-width: 767px) {
  .page-authentication #content {
    padding: 20px 0 60px;
  }

  .gpa-auth-page__inner {
    max-width: 100%;
  }

  .gpa-auth-title {
    font-size: 28px;
  }

  .gpa-auth-intro {
    font-size: 14px;
  }

  .gpa-login-form__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .gpa-login-form__forgot {
    text-align: center;
  }

  .gpa-login-form__submit {
    width: 100%;
  }

  .gpa-auth-register {
    text-align: center;
  }

  .gpa-auth-register__button {
    width: 100%;
  }

  .gpa-auth-benefits {
    padding: 22px 20px;
  }

  .gpa-auth-benefits__title {
    font-size: 24px;
  }
}

/* ===============================
   PAGE CONNEXION - PICTOS NATIFS + OEIL
================================= */

.page-authentication .gpa-login-form .form-group {
  position: relative;
}

.page-authentication .gpa-login-form .input-group {
  position: relative;
  display: block !important;
  width: 100%;
}

.page-authentication .gpa-login-form .input-group .form-control {
  width: 100% !important;
}

/* espace texte dans les champs */
.page-authentication .gpa-login-form input[name="email"] {
  padding-left: 64px !important;
}

.page-authentication .gpa-login-form input[name="password"] {
  padding-left: 64px !important;
  padding-right: 64px !important;
}

/* zone du picto à gauche */
.page-authentication .gpa-login-form .input-group-addon,
.page-authentication .gpa-login-form .input-group-text {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 52px !important;
  height: 54px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  z-index: 3 !important;
  pointer-events: none;
}

/* le vrai picto */
.page-authentication .gpa-login-form .input-group-addon i,
.page-authentication .gpa-login-form .input-group-addon svg,
.page-authentication .gpa-login-form .input-group-addon .material-icons,
.page-authentication .gpa-login-form .input-group-text i,
.page-authentication .gpa-login-form .input-group-text svg,
.page-authentication .gpa-login-form .input-group-text .material-icons {
  font-size: 18px !important;
  width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  color: #8a8a8a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* bouton oeil à droite */
.gpa-password-toggle-native {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  color: #666;
  padding: 0;
  line-height: 1;
  z-index: 4;
}

.gpa-password-toggle-native:hover {
  color: #000;
}

/*Miniatures produits*/

.slider-vertical-thumbnails img,
.thumb-carousel img,
.slick-slide img {
  cursor: pointer !important;
}
.js-qv-mask img,
.product-images img {
  cursor: pointer !important;
}