/* Mein Kunden Bereich ab Hier */
.sf-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: center; /* horizontal mittig */
  align-items: center;
}

.sf-nav a {
  background: #66CDAA;
  color: #fff;
  padding: 12px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
}

.sf-nav a:hover {
  background: #2f6f67;
}


.sf-account-wrapper {
  background:#f3faf8;
  max-width: 1300px;
  margin:5px auto;   /* 👈 zentriert das Ganze */
  min-height: 350px;
  padding: 5px 5px 5px 5px;

}

.sf-account-container {
  gap:30px;
  max-width:950px;
  margin:0 auto;
}


/* Navigation links */
.sf-account-nav {
  flex:1 1 260px;
}

/* Content rechts */
.sf-account-content {
  flex:1;
  min-width:0; /* 🔥 EXTREM WICHTIG gegen Overflow */
  overflow-wrap:anywhere;
}

/* Tabelle schöner machen */
.woocommerce table.shop_table {
  border-radius:16px;
  overflow:hidden;
  border:none;
  box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

/* Kopfzeile */
.woocommerce table.shop_table th {
  background:#f3faf8;
  font-weight:600;
}

/* Inhalte */
.woocommerce table.shop_table td {
  padding:14px;
  vertical-align:middle;
}

/* Produktname */
.woocommerce table.shop_table td a {
  color:#2f6f67;
  font-weight:500;
  text-decoration:none;
}

/* Summen hervorheben */
.woocommerce table.shop_table tfoot td {
  font-weight:600;
}

/* Rechnung Button */
.woocommerce .button {
  background:#66CDAA;
  color:#fff;
  border-radius:10px;
  padding:8px 16px;
}

.woocommerce .button:hover {
  background:#2f6f67;
}


.woocommerce-columns--addresses .woocommerce-column {
  background:#ffffff;
  padding:20px;
  border-radius:16px;
  box-shadow:0 8px 20px rgba(0,0,0,0.05);
  height:100%; /* 👈 gleiche Höhe */
	max-width: 250px;
}


@media (max-width:768px){

  /* Container */

	.sf-account-container {
    display: block !important;
    gap: 30px;
    max-width: 950px;
    margin: 0 auto;
	}

  .sf-account-nav {
    width:100%;
  }
	.woocommerce-notices-wrapper{
		max-width: 310px !important;
		margin: 0px 10px 0px 10px !important;
	}


  }
}

/* =========================
   ADDRESSES – FIXED & CLEAN
   ========================= */


.woocommerce .woocommerce-Addresses {
  display: block; /* ❗ verhindert Layout-Konflikte */
  margin-top: 20px;
}

/* Container der einzelnen Adressen */
.woocommerce .woocommerce-Addresses .woocommerce-Address {
  width: 100%;
  margin-bottom: 20px;
}

/* Karte */
.woocommerce .woocommerce-column {
  background: #ffffff;
  padding: 16px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Titel */
.woocommerce .woocommerce-column__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #2f6f67;
}

/* Adresse Text */
.woocommerce .woocommerce-column address {
  font-style: normal;
  line-height: 1.5;
  margin-bottom: 10px;
}

/* =========================
   BUTTON – DIREKT DRAN
   ========================= */

.woocommerce .woocommerce-Address .edit {
  display: inline-block;
  margin-top: 8px; /* ❗ näher ran */
  background: #66CDAA;
  color: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
}

/* Hover */
.woocommerce .woocommerce-Address .edit:hover {
  background: #2f6f67;
}


.woocommerce-account .addresses .title .edit{
    float: auto;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 768px) {

  .woocommerce .woocommerce-Addresses {
    display: block;
  }

  .woocommerce .woocommerce-Address {
    width: 100%;
    margin-bottom: 15px;
  }
}


