.elementor-17 .elementor-element.elementor-element-62ff0edc{--display:flex;--padding-top:80px;--padding-bottom:130px;--padding-left:0px;--padding-right:0px;}.elementor-17 .elementor-element.elementor-element-62ff0edc:not(.elementor-motion-effects-element-type-background), .elementor-17 .elementor-element.elementor-element-62ff0edc > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F6F6F8;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}@media(max-width:767px){.elementor-17 .elementor-element.elementor-element-62ff0edc{--padding-top:50px;--padding-bottom:130px;--padding-left:15px;--padding-right:15px;}}/* Start custom CSS for container, class: .elementor-element-62ff0edc *//* ==================================================
   PAGE MON COMPTE — SP PNEUS
================================================== */

.sp-my-account {
  --sp-green: #92c12a;
  --sp-green-dark: #7faa20;
  --sp-black: #111111;
  --sp-grey: #69717c;
  --sp-border: #e4e7eb;
  --sp-background: #f6f6f8;
}

/* Structure générale */
.sp-my-account .woocommerce {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  align-items: start;
  gap: 32px;
  width: 100%;
  font-family: "Montserrat", sans-serif;
}

/* ==================================================
   MENU LATÉRAL
================================================== */

.sp-my-account .woocommerce-MyAccount-navigation {
  width: 100%;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 35px rgba(20, 30, 40, 0.06);
}

.sp-my-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-my-account .woocommerce-MyAccount-navigation li {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Supprime les puces du thème */
.sp-my-account .woocommerce-MyAccount-navigation li::before {
  display: none !important;
}

/* Liens */
.sp-my-account .woocommerce-MyAccount-navigation li a {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: 0 15px 0 42px;
  border-radius: 10px;
  color: #3f4650;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  transition: 0.22s ease;
}

/* Petit repère à gauche */
.sp-my-account .woocommerce-MyAccount-navigation li a::before {
  content: "";
  position: absolute;
  left: 17px;
  width: 8px;
  height: 8px;
  border: 2px solid #aab0b7;
  border-radius: 50%;
  transition: 0.22s ease;
}

/* Survol */
.sp-my-account .woocommerce-MyAccount-navigation li a:hover {
  color: var(--sp-black);
  background: #f5f8ef;
  transform: translateX(3px);
}

.sp-my-account .woocommerce-MyAccount-navigation li a:hover::before {
  border-color: var(--sp-green);
  background: var(--sp-green);
}

/* Élément actif */
.sp-my-account .woocommerce-MyAccount-navigation li.is-active a {
  color: var(--sp-black);
  background: rgba(146, 193, 42, 0.12);
  font-weight: 600;
}

.sp-my-account .woocommerce-MyAccount-navigation li.is-active a::before {
  border-color: var(--sp-green);
  background: var(--sp-green);
  box-shadow: 0 0 0 5px rgba(146, 193, 42, 0.12);
}

/* Déconnexion */
.sp-my-account
  .woocommerce-MyAccount-navigation-link--customer-logout
  a {
  margin-top: 8px;
  border-top: 1px solid var(--sp-border);
  border-radius: 0 0 10px 10px;
  color: #b33939;
}

.sp-my-account
  .woocommerce-MyAccount-navigation-link--customer-logout
  a::before {
  border-color: #b33939;
}

/* ==================================================
   CONTENU PRINCIPAL
================================================== */

.sp-my-account .woocommerce-MyAccount-content {
  width: 100%;
  min-height: 360px;
  margin: 0;
  padding: 30px 32px;
  border: 1px solid var(--sp-border);
  border-radius: 16px;
  background: #fff;
  color: var(--sp-grey);
  box-shadow: 0 14px 35px rgba(20, 30, 40, 0.06);
}

/* Paragraphes */
.sp-my-account .woocommerce-MyAccount-content p {
  margin: 0 0 16px;
  color: var(--sp-grey);
  font-size: 15px;
  line-height: 1.75;
}

/* Liens dans le contenu */
.sp-my-account .woocommerce-MyAccount-content a {
  color: var(--sp-green-dark);
  font-weight: 600;
  text-decoration: none;
}

.sp-my-account .woocommerce-MyAccount-content a:hover {
  color: var(--sp-black);
}

/* Titres */
.sp-my-account .woocommerce-MyAccount-content h2,
.sp-my-account .woocommerce-MyAccount-content h3 {
  margin: 0 0 22px;
  color: var(--sp-black);
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

.sp-my-account .woocommerce-MyAccount-content h2 {
  font-size: 25px;
}

.sp-my-account .woocommerce-MyAccount-content h3 {
  font-size: 19px;
}

/* Message de bienvenue */
.sp-my-account .woocommerce-MyAccount-content > p:first-child {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sp-border);
  color: #3f4650;
}

/* ==================================================
   TABLEAUX COMMANDES
================================================== */

.sp-my-account table.shop_table {
  width: 100%;
  margin: 20px 0 0 !important;
  overflow: hidden;
  border: 1px solid var(--sp-border) !important;
  border-collapse: separate !important;
  border-spacing: 0;
  border-radius: 12px;
  background: #fff;
}

.sp-my-account table.shop_table th {
  padding: 15px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sp-border) !important;
  background: #f7f8fa;
  color: var(--sp-black);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
}

.sp-my-account table.shop_table td {
  padding: 15px 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #eef0f2 !important;
  color: var(--sp-grey);
  font-size: 13px;
  vertical-align: middle;
}

.sp-my-account table.shop_table tr:last-child td {
  border-bottom: 0 !important;
}

/* ==================================================
   BOUTONS
================================================== */

.sp-my-account .woocommerce-button,
.sp-my-account button.button,
.sp-my-account input.button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 9px !important;
  background: var(--sp-green) !important;
  color: #fff !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: 0.22s ease;
  box-shadow: 0 9px 20px rgba(146, 193, 42, 0.18);
}

.sp-my-account .woocommerce-button:hover,
.sp-my-account button.button:hover,
.sp-my-account input.button:hover {
  background: var(--sp-green-dark) !important;
  transform: translateY(-2px);
}

/* ==================================================
   FORMULAIRES
================================================== */

.sp-my-account form .form-row {
  margin-bottom: 18px;
}

.sp-my-account form label {
  display: block;
  margin-bottom: 8px;
  color: #343a42;
  font-size: 13px;
  font-weight: 600;
}

.sp-my-account form input.input-text,
.sp-my-account form input[type="email"],
.sp-my-account form input[type="password"],
.sp-my-account form input[type="text"],
.sp-my-account form select,
.sp-my-account form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  border: 1px solid #dce0e5;
  border-radius: 9px;
  background: #fff;
  color: var(--sp-black);
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  outline: none;
  transition: 0.2s ease;
}

.sp-my-account form textarea {
  min-height: 120px;
  padding-top: 13px;
}

.sp-my-account form input:focus,
.sp-my-account form select:focus,
.sp-my-account form textarea:focus {
  border-color: var(--sp-green);
  box-shadow: 0 0 0 3px rgba(146, 193, 42, 0.12);
}

/* Fieldset changement de mot de passe */
.sp-my-account fieldset {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
}

.sp-my-account fieldset legend {
  padding: 0 10px;
  color: var(--sp-black);
  font-weight: 600;
}

/* ==================================================
   ADRESSES
================================================== */

.sp-my-account .woocommerce-Addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.sp-my-account .woocommerce-Address {
  width: 100% !important;
  padding: 22px;
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  background: #fff;
}

.sp-my-account .woocommerce-Address-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}

.sp-my-account .woocommerce-Address-title h3 {
  margin: 0;
}

.sp-my-account address {
  color: var(--sp-grey);
  font-size: 14px;
  font-style: normal;
  line-height: 1.7;
}

/* ==================================================
   MESSAGES WOOCOMMERCE
================================================== */

.sp-my-account .woocommerce-message,
.sp-my-account .woocommerce-info,
.sp-my-account .woocommerce-error {
  margin: 0 0 22px !important;
  padding: 17px 20px 17px 54px !important;
  border: 1px solid var(--sp-border);
  border-top: 3px solid var(--sp-green);
  border-radius: 10px;
  background: #f8faf5;
  color: #434a52;
  font-size: 14px;
  line-height: 1.55;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 900px) {
  .sp-my-account .woocommerce {
    grid-template-columns: 1fr;
  }

  .sp-my-account .woocommerce-MyAccount-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sp-my-account .woocommerce-Addresses {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .sp-my-account .woocommerce-MyAccount-navigation {
    padding: 12px;
  }

  .sp-my-account .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  .sp-my-account .woocommerce-MyAccount-content {
    padding: 22px 17px;
  }

  .sp-my-account table.shop_table {
    display: block;
    overflow-x: auto;
  }
}
/* ==================================================
   CORRECTIF LAYOUT PAGE MON COMPTE
================================================== */

/* Le bloc global */
.sp-my-account .woocommerce {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 32px !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
}

/* On neutralise les vieux floats WooCommerce */
.sp-my-account .woocommerce::before,
.sp-my-account .woocommerce::after,
.sp-my-account .woocommerce-MyAccount-navigation::before,
.sp-my-account .woocommerce-MyAccount-navigation::after,
.sp-my-account .woocommerce-MyAccount-content::before,
.sp-my-account .woocommerce-MyAccount-content::after {
  content: none !important;
  display: none !important;
}

/* MENU À GAUCHE */
.sp-my-account .woocommerce-MyAccount-navigation {
  flex: 0 0 280px !important;
  width: 280px !important;
  max-width: 280px !important;
  min-width: 280px !important;
  float: none !important;
  margin: 0 !important;
  align-self: flex-start !important;
}

/* CONTENU À DROITE */
.sp-my-account .woocommerce-MyAccount-content {
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  align-self: flex-start !important;
}

/* ==================================================
   BLOC ADRESSES
================================================== */

.sp-my-account .woocommerce-Addresses,
.sp-my-account .woocommerce .addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
  width: 100% !important;
  margin-top: 20px !important;
}

/* Colonnes WooCommerce par défaut */
.sp-my-account .woocommerce .addresses .col-1,
.sp-my-account .woocommerce .addresses .col-2,
.sp-my-account .woocommerce-Addresses .col-1,
.sp-my-account .woocommerce-Addresses .col-2,
.sp-my-account .woocommerce-Addresses .u-column1,
.sp-my-account .woocommerce-Addresses .u-column2,
.sp-my-account .woocommerce-Addresses .woocommerce-Address {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Carte adresse */
.sp-my-account .woocommerce-Address,
.sp-my-account .woocommerce .addresses address {
  width: 100%;
}

.sp-my-account .woocommerce-Address {
  padding: 24px !important;
  border: 1px solid #e4e7eb !important;
  border-radius: 16px !important;
  background: #fff !important;
  box-shadow: 0 14px 35px rgba(20, 30, 40, 0.06);
}

/* Titre + lien modifier/ajouter */
.sp-my-account .woocommerce-Address-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-bottom: 18px !important;
}

.sp-my-account .woocommerce-Address-title h3 {
  margin: 0 !important;
  color: #111111 !important;
  font-size: 24px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.sp-my-account .woocommerce-Address-title .edit,
.sp-my-account .woocommerce-Address-title a {
  color: #92c12a !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.sp-my-account .woocommerce-Address-title .edit:hover,
.sp-my-account .woocommerce-Address-title a:hover {
  color: #111111 !important;
}

/* Texte d’intro adresses */
.sp-my-account .woocommerce-MyAccount-content > p {
  color: #69717c !important;
  line-height: 1.75 !important;
}

/* Adresse vide / texte */
.sp-my-account .woocommerce-address-fields,
.sp-my-account .woocommerce-address-fields__field-wrapper,
.sp-my-account address {
  color: #69717c !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 980px) {
  .sp-my-account .woocommerce {
    flex-direction: column !important;
    gap: 24px !important;
  }

  .sp-my-account .woocommerce-MyAccount-navigation,
  .sp-my-account .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
  }

  .sp-my-account .woocommerce-Addresses,
  .sp-my-account .woocommerce .addresses {
    grid-template-columns: 1fr !important;
  }
}
/* ==================================================
   CORRECTIF ALIGNEMENT DES CARTES ADRESSES
================================================== */

/* Supprime les éléments invisibles qui occupent des cases dans la grille */
.sp-my-account .woocommerce-Addresses::before,
.sp-my-account .woocommerce-Addresses::after,
.sp-my-account .woocommerce .addresses::before,
.sp-my-account .woocommerce .addresses::after {
  content: none !important;
  display: none !important;
}

/* Force les deux adresses sur la même ligne */
.sp-my-account .woocommerce-Addresses,
.sp-my-account .woocommerce .addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 24px !important;
}

/* Neutralise totalement les anciennes positions WooCommerce */
.sp-my-account .woocommerce-Addresses .woocommerce-Address,
.sp-my-account .woocommerce-Addresses .u-column1,
.sp-my-account .woocommerce-Addresses .u-column2,
.sp-my-account .woocommerce-Addresses .col-1,
.sp-my-account .woocommerce-Addresses .col-2 {
  position: static !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  grid-column: auto !important;
  grid-row: auto !important;
}

/* Les deux cartes ont la même hauteur */
.sp-my-account .woocommerce-Address {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

/* Le texte de l’adresse reste sous le titre */
.sp-my-account .woocommerce-Address address {
  margin-top: auto !important;
}

/* Tablette et mobile */
@media (max-width: 800px) {
  .sp-my-account .woocommerce-Addresses,
  .sp-my-account .woocommerce .addresses {
    grid-template-columns: 1fr !important;
  }
}/* End custom CSS */