/* Container */
.account-overview.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
  }

/* ===== Tabs ===== */
.account-tabs {
  display: flex;
  border-bottom: 2px solid #ddd;
  
}
.tab-button {
  flex:1;
  padding:.75rem;
  background:none;
  border:1px solid #ddd;
  border-bottom:2px solid transparent;
  font-weight:600;
  cursor:pointer;
  transition:border-color .2s;
  border-radius: 3px 3px 0 0;
  font-size: 1rem;
}
.tab-button.active {
  border-bottom-color:#004974;
  color:white;
  background-color:#004974;

}

/* ===== Panels ===== */
.tab-content {
  border:1px solid #ddd;
  border-top:none;
  border-radius:0 0 4px 4px;
  background:#fff;
  padding:1.5rem 2rem;
}
.tab-panel { display:none; }
.tab-panel.active { display:block; }

/* Damit auch wirklich in beiden Tabs der Inhalt bündig beginnt: */
.tab-panel .form-row {
  /*max-width: 600px;  /* Optional: begrenzt die Formularbreite */
  margin: 0 auto;    /* zentriert auf großen Bildschirmen */
}

/* ===== Forms ===== */
.account-page .form-row {
  margin-bottom:1rem;
}
.account-page label {
  display:block;
  margin-bottom:.25rem;
  font-weight:500;
}
.account-page label:not(.radio-inline) {
  display: block;
}
.account-page input[type="text"],
.account-page input[type="email"],
.account-page input[type="password"],
.account-page select,
.address-card select {
  width:100%;
  padding:.5rem;
  border:1px solid #ccc;
  border-radius:3px;
  font-size:1rem;
}
.account-card {
  flex: 1;
  min-width: 300px;
  background: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.account-card h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

/* 2FA Überschrift Styling - gleich wie Account-Seiten */
.tab-panel h2 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #004974;
  border-bottom: 2px solid #004974;
  padding-bottom: 0.25rem;
  position: relative;
}

.tab-panel h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #004974;
}

.street-row {
  display:flex;
  gap:2rem;
}
.zip-city-row {
  display:flex;
  gap:2rem;
}
/* .radio-inline darf inline bleiben */
.account-page .radio-inline {
  display: inline-block;      /* nebeneinander */
  margin-right: 1.5rem;        /* Abstand zwischen den Optionen */
  font-weight: 450;            /* etwas leichter als Überschriften */
  cursor: pointer;
}

/* Abstand zwischen Kreis und Text */
.account-page .radio-inline input[type="radio"] {
  vertical-align: middle;
  margin-right: 0.3rem;
  margin-top: 0rem;         /* damit der Text nicht so hoch steht */
}

.btn-primary {
  background:#004974;
  color:#fff;
  padding:.6rem 1.2rem;
  border:none;
  border-radius:3px;
  font-size:1rem;
  cursor:pointer;
}
.btn-primary:hover {
  background:#003354;
}

/* ===== Alerts ===== */
.alert-error {
  background:#fdecea;
  color:#611a15;
  border:1px solid #611a15;
  padding:.75rem;
  margin-bottom:1rem;
  border-radius:3px;
}
.alert-error ul {
  margin:0;
  padding-left:1.2rem;
}

.alert-success {
  background:#e6ffed;
  color:#34c759;
  border:1px solid #34c759;
  padding:.75rem;
  margin-bottom:1rem;
  border-radius:3px;
}

/* ===== Forgot Link ===== */
.forgot-link {
  margin-top:.5rem;
}
.forgot-link a {
  color:#004974;
  font-size:.9rem;
}

/* ------------------------------------------
   Account Overview Seite
------------------------------------------- */
/* Container & Grid */
.account-overview {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 2rem;
  margin: 2rem 0;
  max-width: 100%; /* Nutze volle verfügbare Breite */
  width: 100%;
}
@media (max-width: 800px) {
  .account-overview {
    grid-template-columns: 1fr;
  }
}

/* Sidebar */
.account-sidebar {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.5rem;
}
.sidebar-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  color: #004974;
}
.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-nav li + li {
  margin-top: 0.5rem;
}
.sidebar-nav a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  display: block;
  padding: 0.25rem 0;
}
.sidebar-nav a.active,
.sidebar-nav a:hover {
  color: #004974;
  font-weight: 600;
}

/* Main-Content Wrapper */
.account-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.account-main h2 {
  padding:0;
  margin:0;
  margin-bottom: 1rem; /* Reduzierter Abstand zum nachfolgenden Inhalt */
}

/* Spezifischer Abstand für Listen-Container */
.account-main h2 + .wishlist-items,
.account-main h2 + .orders-list,
.account-main h2 + .empty-state {
  margin-top: -0.5rem; /* Reduziert den Abstand zwischen Titel und Inhalt */
}

/* Zusätzliche Anpassung speziell für Wunschliste */
.account-main.wishlist-content h2 + .wishlist-items {
  margin-top: -1rem; /* Noch weniger Abstand in der Wunschliste */
}

/* Spezifisch für Wunschliste Container */
.account-main h2 + .wishlist-list,
.account-main h2 + .wl-empty {
  margin-top: -1rem; /* Reduzierter Abstand in Wunschliste */
}

/* Welcome- / Recent Orders Card */
.welcome-card,
.empty-box {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.5rem;
}
.welcome-card h2 {
  margin-top: 0;
  color: #004974;
}
.section-title {
  margin: 1rem 0 0.5rem;
  font-size: 1.1rem;
  color: #333;
}
.empty-box {
  background: #f0f0f0;
  color: #666;
}
.orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.orders-table th,
.orders-table td {
  border: 1px solid #eee;
  padding: 0.75rem;
}
.orders-table th {
  background: #f5f5f5;
  text-align: left;
}

/* Button */
.btn-primary {
  background: #004974;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
}
.btn-primary:hover {
  background: #003354;
}
.btn-primary.small {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
}

/* Grid für Adressen und Newsletter */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

/* Adress-Karten */
.address-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.5rem;
}
.address-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.address-card .card-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #004974;
}
.address-card .card-header i {
  color: #004974;
  font-size: 1.4rem;
}
.address-card .empty-box {
  background: #f9f9f9;
  color: #999;
  padding: 0.75rem;
  border-radius: 3px;
}
.address-card p {
  margin: 1rem 0;
  line-height: 1.4;
}
.address-card .card-link {
  color: #004974;
  text-decoration: none;
  font-weight: 500;
}

/* Newsletter-Karte */
.newsletter-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.5rem;
}
.newsletter-card h4 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #004974;
}
/* Newsletter-Formular untereinander statt nebeneinander */
.newsletter-card form {
  display: block;
  margin: 1rem 0;
}

.newsletter-card form label {
  display: block;
  margin-bottom: 0.5rem;
}

.newsletter-card form input[type="email"] {
  display: block;
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.newsletter-card form .btn-primary.small {
  display: inline-block;
  margin-top: 0;
}


.newsletter-card input[type="email"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.newsletter-card .btn-primary.small {
  margin-left: auto;
}
.newsletter-card .card-link {
  font-size: 0.9rem;
  color: #004974;
  text-decoration: none;
}

/* Inline-Alert unter dem E-Mail-Feld */
.email-check-msg {
  display: none;              /* erst anzeigen, wenn sichtbar */
  border: 1px solid #f5c6cb;
  background: #fdecea;
  color: #611a15;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border-radius: 3px;
  font-size: 0.9rem;
}
.email-check-msg.ok {
  border-color: #c6f5da;
  background: #e6ffed;
  color: #216e30;
}

/* Fieldset/Legend */
.account-page fieldset {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 4px;
}
.account-page legend {
  font-weight: 600;
  padding: 0 .5rem;
}

/* damit auf der Settings-Seite das gleiche Styling wie bei account-page greift */
.account-overview .form-row {
  margin-bottom: 1rem;
}
.account-overview label {
  display: block;
  margin-bottom: .25rem;
  font-weight: 500;
}
.account-overview input[type="text"],
.account-overview input[type="email"],
.account-overview input[type="password"] {
  width: 100%;
  padding: .5rem;
  border: 1px solid #ccc;
  border-radius: 3px;
  font-size: 1rem;
}
.account-overview fieldset {
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
.account-overview legend {
  font-weight: 600;
  padding: 0 .5rem;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
  gap: 1.5rem;
}

.address-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.5rem;
}
.address-card .card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.address-card .card-header h4 {
  margin: 0;
  font-size: 1.1rem;
  color: #004974;
}
.address-card .card-header i {
  color: #004974;
  font-size: 1.4rem;
}
.address-card p {
  margin: 1rem 0;
  line-height: 1.4;
}
.address-card .empty-box {
  background: #f9f9f9;
  color: #999;
  padding: 0.75rem;
  border-radius: 3px;
}
.address-card .card-link {
  color: #004974;
  text-decoration: none;
  font-weight: 500;
}


.secret-container {
  position: relative;
}

.secret-container input {
  padding-right: 2.5rem;   /* Platz für den Button */
  width: 100%;
  box-sizing: border-box;
}

.secret-container .copy-btn {
  position: absolute;
  top: 70%;
  right: 0.5rem;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 4px;
  transition: background .2s ease;
}

.secret-container .copy-btn:hover {
  background: rgba(0,0,0,0.05);
}

.secret-container .copy-btn svg {
  width: 1.25em;
  height: 1.25em;
  color: #555;
}


/* ===== Wunschliste Design ===== */

/* Page Header (falls noch verwendet) */
.page-header {
  margin-bottom: 2rem;
  text-align: center;
}

.page-header h1 {
  color: #005580;
  margin-bottom: 0.5rem;
}

.wishlist-count {
  color: #6c757d;
  font-size: 1rem;
  margin: 0;
}

/* 1) Wenn nicht eingeloggt: füllt der Content die volle Breite */
.wishlist-fullwidth {
  width: 100%;
}

/* 1b) Gleiches für Warenkorb */
.cart-fullwidth {
  width: 100%;
}

/* Hauptbereich in der Sidebar-Ansicht */
.account-main.wishlist-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%; /* Nutze vollen verfügbaren Platz */
  min-width: 0; /* Verhindert Überlauf */
}

/* Empty State Styling */
.wl-empty {
  text-align: center;
  padding: 3rem 2rem;
  background: #f8f9fa;
  border-radius: 8px;
  color: #666;
  font-size: 1.1rem;
}

/* Wishlist Container */
.wishlist-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Wishlist Item Card */
.wl-item-row {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.5rem;
  align-items: start;
  max-width: 100%; /* Verhindert Überbreite */
  position: relative;
  z-index: 1; /* Niedrigerer z-index als Navigation (1000) */
}

.wl-item-row:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  z-index: 2; /* Auch beim Hover unter der Navigation bleiben */
}

/* Schmaler für Sidebar-Layout */
.account-main.wishlist-content .wl-item-row {
  grid-template-columns: 150px 1fr; /* Kleinere Bildbreite */
  padding: 1rem; /* Weniger Padding */
  gap: 1rem; /* Kleinerer Gap */
}

/* Product Image Column */
.product-col {
  width: 100%;
  min-width: 180px;
}

/* Schmaler für Sidebar-Layout */
.account-main.wishlist-content .product-col {
  min-width: 120px;
}

/* Details Column */
.details-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Item Header */
.item-header {
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #e9ecef; /* Dezenter Strich */
  box-shadow: none; /* Explizit Box-Shadow entfernen */
}

/* Product Name Link */
.wl-name {
  margin: 0;
  font-size: 1.1rem; /* Etwas kleiner */
  font-weight: 600;
}

.wl-name a {
  color: #333; /* Normale Textfarbe statt blau */
  text-decoration: none;
  transition: color 0.3s ease;
}

.wl-name a:hover {
  color: #005580; /* Blau nur beim Hover */
  text-decoration: underline;
}

/* Meta Information Section */
.item-meta {
  padding: 0.5rem 0;
}

/* Meta Information List */
.wl-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.wl-meta li {
  font-size: 0.95rem;
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wl-meta li i {
  color: #6c757d;
  width: 16px;
  flex-shrink: 0;
}

.wl-meta .variant-name {
  color: #666;
  font-size: 0.85rem;
  margin-left: 0.25rem;
}

/* Price Change Styling */
.wl-price-changed {
  align-items: center;
  gap: 0.75rem;
}

.was-price {
  text-decoration: line-through;
  color: #dc3545;
  font-size: 0.9rem;
}

.now-price {
  color: #28a745;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Status Dots */
.status-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 0.5rem;
  flex-shrink: 0;
}

.status-dot.green { 
  background: #28a745; 
}

.status-dot.red { 
  background: #dc3545; 
}

/* Notes Section */
.wl-notes {
  background: #f8f9fa;
  border-radius: 6px;
  padding: 0.75rem;
  margin-top: 0.75rem;
}

.wl-notes label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #495057;
  font-size: 0.9rem;
}

.wl-notes label i {
  color: #6c757d;
}

.wl-notes textarea {
  width: 100%;
  max-width: 100%; /* Verhindert Überlauf */
  min-height: 80px;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.9rem;
  resize: vertical;
  box-sizing: border-box; /* Padding wird in Breite eingerechnet */
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.wl-notes textarea:focus {
  outline: none;
  border-color: #005580;
  box-shadow: 0 0 0 2px rgba(0, 85, 128, 0.25);
}

.btn-save-note {
  margin-top: 0.5rem;
  background: #6c757d;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-save-note:hover {
  background: #5a6268;
}

/* Actions Section */
.wl-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.add-to-cart-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wl-qty {
  width: 60px;
  padding: 0.4rem 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 4px;
  text-align: center;
  font-size: 0.9rem;
}

.btn-remove {
  background: #6c757d;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-remove:hover {
  background: #5a6268;
}

.btn-addcart {
  background: #005580;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-addcart:hover {
  background: #003d5a;
}

.btn-addcart:disabled {
  background: #6c757d;
  cursor: not-allowed;
}

.btn-addcart {
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-addcart:hover {
  background: #003055;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .wl-item-row {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .product-col {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .wl-actions {
    justify-content: flex-start;
  }
  
  .add-to-cart-group {
    width: 100%;
    justify-content: space-between;
  }
  
  .wl-qty {
    flex: 0 0 80px;
  }
  
  .btn-addcart {
    flex: 1;
    justify-content: center;
    margin-left: 0.5rem;
  }
}

/* ===== Wishlist Sections (Zuletzt angesehen / Zufällige Produkte) ===== */

.wl-recently-section,
.wl-random-section {
  margin-top: 3rem;
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.wl-section-title {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #005580;
  font-weight: 600;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
}

/* Slider Container */
.wl-slider {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding: 1rem 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.wl-slider::-webkit-scrollbar {
  height: 6px;
}

.wl-slider::-webkit-scrollbar-thumb {
  background: rgba(0, 85, 128, 0.3);
  border-radius: 3px;
}

.wl-slider::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.05);
  border-radius: 3px;
}

/* Slider Items */
.wl-slider-item {
  flex: 0 0 200px;
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.wl-slider-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Für die renderProductItemNew Komponenten anpassen */
.wl-slider-item .product-item-small {
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 1rem;
  background: transparent;
}

.wl-slider-item .product-item-small:hover {
  transform: none;
  box-shadow: none;
}

/* Mobile Anpassung für Slider */
@media (max-width: 768px) {
  .wl-slider-item {
    flex: 0 0 160px;
  }
  
  .wl-recently-section,
  .wl-random-section {
    padding: 1.5rem;
  }
  
  .wl-section-title {
    font-size: 1.25rem;
  }
}

/* Empty State Styling */
.empty-state {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: #fafbfc;
  border-radius: 8px;
  border: 1px solid #e9ecef;
  width: 100%;
  margin: 1.5rem 0;
}

.empty-icon {
  font-size: 3rem;
  color: #adb5bd;
  margin-bottom: 1.2rem;
}

.empty-state h3 {
  color: #495057;
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  font-weight: 500;
}

.empty-description {
  color: #6c757d;
  margin-bottom: 1.8rem;
  font-size: 1rem;
  line-height: 1.5;
}

.empty-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.empty-actions .btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 140px;
  justify-content: center;
  font-size: 0.95rem;
}

.empty-actions .btn-primary {
  background-color: #005580;
  color: white;
  border: 1px solid #005580;
}

.empty-actions .btn-primary:hover {
  background-color: #004466;
  border-color: #004466;
}

.empty-actions .btn-secondary {
  background-color: white;
  color: #005580;
  border: 1px solid #dee2e6;
}

.empty-actions .btn-secondary:hover {
  background-color: #f8f9fa;
  border-color: #005580;
}

/* Mobile: Buttons untereinander */
@media (max-width: 600px) {
  .empty-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .empty-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

/* Mobile: Sidebar und Content übereinander */
@media (max-width: 800px) {
  .account-overview {
    grid-template-columns: 1fr;
  }
  
  /* Mobile Sidebar als Horizontal Tabs */
  .account-sidebar {
    background: white;
    border: none;
    border-bottom: 1px solid #e9ecef;
    border-radius: 0;
    padding: 0;
    margin-bottom: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 10;
  }
  
  .account-sidebar nav {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
  }
  
  .account-sidebar nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
  }
  
  .account-sidebar nav a {
    flex: 0 0 auto;
    padding: 1rem 1.2rem;
    margin: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    font-size: 0.9rem;
    text-align: center;
    min-width: 120px;
    transition: all 0.2s ease;
  }
  
  .account-sidebar nav a:hover,
  .account-sidebar nav a.active {
    background: transparent;
    color: #005580;
    border-bottom-color: #005580;
  }
  
  .account-sidebar nav a i {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
  }
}

/* Extra kleine Bildschirme: Dropdown Navigation */
@media (max-width: 500px) {
  .account-sidebar {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    position: relative;
  }
  
  .sidebar-title {
    display: block;
    padding: 0.8rem 1rem;
    margin: 0;
    font-size: 1rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 6px 6px 0 0;
    cursor: pointer;
    position: relative;
  }
  
  .sidebar-title:after {
    content: '▼';
    position: absolute;
    right: 1rem;
    font-size: 0.8rem;
    color: #6c757d;
    transition: transform 0.2s ease;
  }
  
  .account-sidebar.expanded .sidebar-title:after {
    transform: rotate(180deg);
  }
  
  .account-sidebar nav {
    display: none;
    flex-direction: column;
    overflow: visible;
  }
  
  .account-sidebar.expanded nav {
    display: flex;
  }
  
  .account-sidebar nav a {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #f1f3f4;
    border-radius: 0;
    min-width: auto;
    text-align: left;
    flex: none;
  }
  
  .account-sidebar nav a:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
  }
  
  .account-sidebar nav a i {
    display: inline;
    margin-right: 0.5rem;
    margin-bottom: 0;
    font-size: 1rem;
  }
}


/* ===== WARENKORB STYLES ===== */

/* Cart Content Layout */
.cart-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 2rem;
  align-items: start;
}

/* Quick-Checkout über beide Spalten */
.cart-content .cart-quick-checkout {
  grid-column: 1 / -1;
}

@media (max-width: 992px) {
  .cart-content {
    grid-template-columns: 1fr;
  }
}

/* Cart Items */
.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  background: #fff;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 80px 1fr auto auto auto;
  gap: 1rem;
  align-items: center;
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 1rem;
  }
  
  .cart-item-image {
    grid-row: 1 / 3;
  }
  
  .cart-item-details {
    grid-column: 2;
    grid-row: 1;
  }
  
  .cart-item-quantity {
    grid-column: 1 / 3;
    grid-row: 3;
  }
  
  .cart-item-total {
    grid-column: 1 / 3;
    grid-row: 4;
    text-align: center;
  }
  
  .cart-item-remove {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

/* Cart Item Components */
.cart-item-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .cart-item-image img {
    width: 60px;
    height: 60px;
  }
}

.cart-item-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.cart-item-name a {
  color: #333;
  text-decoration: none;
}

.cart-item-name a:hover {
  color: #005580;
  text-decoration: underline;
}

.cart-item-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.cart-item-variant {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.25rem;
}

.cart-item-variant .variant-name {
  font-weight: 500;
  color: #495057;
  font-size: 0.85rem;
}

.cart-item-variant .variant-sku {
  font-size: 0.8rem;
  color: #6c757d;
  font-style: italic;
}

.cart-item-price {
  font-weight: 600;
  color: #005580;
  font-size: 1rem;
}

/* Quantity Controls */
.cart-item-quantity label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  background: #f8f9fa;
  border: none;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 1rem;
  color: #005580;
  transition: background-color 0.2s ease;
}

.qty-btn:hover {
  background: #e9ecef;
}

.qty-input {
  border: none;
  padding: 0.5rem;
  width: 60px;
  text-align: center;
  font-size: 1rem;
}

.qty-input:focus {
  outline: none;
  box-shadow: inset 0 0 0 2px #005580;
}

/* Cart Item Total */
.cart-item-total {
  text-align: right;
}

.item-total-price {
  font-weight: 600;
  font-size: 1.1rem;
  color: #005580;
}

/* Remove Button */
.cart-item-remove .btn-remove {
  background: #dc3545;
  color: white;
  border: none;
  padding: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-item-remove .btn-remove:hover {
  background: #c82333;
}

/* Cart Summary */
.cart-summary {
  position: sticky;
  top: 2rem;
  min-width: 0;
  max-width: 100%;
}

.cart-summary .account-card,
.cart-summary .overview-card {
  padding: 1.5rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.cart-summary h3 {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #005580;
  font-size: 1.25rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.summary-row:last-of-type {
  border-bottom: none;
}

.summary-total {
  border-top: 2px solid #005580;
  margin-top: 1rem;
  padding-top: 1rem;
  font-size: 1.1rem;
}

.summary-total-price {
  color: #005580;
  font-size: 1.2rem;
}

.summary-note {
  text-align: center;
  padding: 0.5rem 0;
  color: #6c757d;
  font-style: italic;
}

/* Cart Actions */
.cart-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-actions .btn {
  padding: 0.75rem 1.5rem;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.cart-actions .btn-primary {
  background: #005580;
  color: white;
  border: none;
}

.cart-actions .btn-primary:hover {
  background: #004466;
}

.cart-actions .btn-secondary {
  background: #6c757d;
  color: white;
  border: none;
}

.cart-actions .btn-secondary:hover {
  background: #5a6268;
}

/* Zusätzliche Warenkorb-Styles */
.cart-fullwidth {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.cart-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 2rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 80px 1fr 120px 100px 40px;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.cart-item-image img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

.cart-item-name {
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.cart-item-name a {
  color: #005580;
  text-decoration: none;
}

.cart-item-name a:hover {
  text-decoration: underline;
}

.cart-item-meta {
  color: #666;
  font-size: 0.9rem;
}

.cart-item-price {
  font-weight: bold;
  color: #005580;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  background: #f8f9fa;
  border: 1px solid #ced4da;
  color: #495057;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

.qty-btn:hover {
  background: #e9ecef;
}

.qty-input {
  width: 60px;
  text-align: center;
  border: 1px solid #ced4da;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.9rem;
}

.cart-item-total {
  text-align: right;
  font-weight: bold;
  color: #005580;
}

.cart-item-remove {
  text-align: center;
}

/* Mobile Responsiveness für Warenkorb */
@media (max-width: 768px) {
  .cart-content {
    grid-template-columns: 1fr;
  }
  
  .cart-item {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.5rem;
  }
  
  .cart-item-image {
    grid-row: 1 / 3;
  }
  
  .cart-item-details {
    grid-column: 2;
  }
  
  .cart-item-quantity,
  .cart-item-total,
  .cart-item-remove {
    grid-column: 1 / 3;
    justify-self: start;
  }
  
  .cart-item-remove {
    justify-self: end;
  }
}

/* ===== Wishlist Print/PDF Button ===== */
.wishlist-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
  gap: 0.5rem;
}

.btn-print-wishlist {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: #004974;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}

.btn-print-wishlist:hover {
  background: #003557;
  transform: translateY(-1px);
}

.btn-print-wishlist:active {
  transform: translateY(0);
}

.btn-print-wishlist i {
  font-size: 1rem;
}

/* ===== Print Styles für Wishlist ===== */
@media print {
  /* Alles ausblenden außer Wishlist Print View */
  body > *:not(.wishlist-print-view) {
    display: none !important;
  }
  
  /* Header, Footer, Navigation ausblenden */
  header, footer, nav, .sidebar, .account-sidebar, 
  .btn-print-wishlist, .wishlist-actions,
  .wl-item-row, .wishlist-list, .wishlist-content,
  .account-main, .account-overview {
    display: none !important;
  }
  
  .wishlist-print-view,
  .wishlist-print-view * {
    visibility: visible !important;
    display: block;
  }
  
  .wishlist-print-view {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    background: white;
    padding: 15px;
    z-index: 999999;
  }
  
  .wishlist-print-view table,
  .wishlist-print-view thead,
  .wishlist-print-view tbody,
  .wishlist-print-view tr,
  .wishlist-print-view th,
  .wishlist-print-view td {
    display: revert !important;
  }
  
  /* Header für Print */
  .print-header {
    text-align: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #004974;
    padding-bottom: 15px;
  }
  
  .print-header h1 {
    color: #004974;
    margin: 0 0 5px 0;
    font-size: 24px;
  }
  
  .print-header .print-date {
    color: #666;
    font-size: 12px;
  }
  
  .print-header .print-logo {
    max-height: 50px;
    margin-bottom: 10px;
  }
  
  /* Tabelle für Print */
  .print-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
    display: table !important;
  }
  
  .print-table th {
    background: #004974 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    color: white !important;
    padding: 8px 6px;
    text-align: left;
    font-weight: 600;
  }
  
  .print-table td {
    padding: 8px 6px;
    border-bottom: 1px solid #ddd;
    vertical-align: top;
  }
  
  .print-table tr:nth-child(even) {
    background: #f5f5f5 !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  
  .print-table .product-image {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }
  
  .print-table td img {
    width: 50px;
    height: 50px;
    object-fit: contain;
  }
  
  .print-table .product-name {
    font-weight: 600;
    color: #333;
  }
  
  .print-table .product-variant-info {
    color: #555;
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
  }
  
  .print-table .product-article-no {
    color: #004974;
    font-size: 10px;
    font-weight: 500;
    margin-top: 2px;
  }
  
  .print-table .product-brand {
    color: #666;
    font-size: 10px;
  }
  
  .print-table .product-note {
    font-style: italic;
    color: #555;
    font-size: 10px;
    margin-top: 4px;
    padding: 4px;
    background: #f5f5f5;
    border-left: 2px solid #004974;
  }
  
  .print-table .price {
    font-weight: 600;
    color: #004974;
    white-space: nowrap;
  }
  
  .print-table .price .was-price {
    text-decoration: line-through;
    color: #dc3545;
    font-size: 10px;
    font-weight: 400;
  }
  
  .print-table .price .now-price {
    color: #28a745;
    font-weight: 600;
  }
  
  .print-table .availability-yes {
    color: #28a745;
  }
  
  .print-table .availability-no {
    color: #dc3545;
  }
  
  /* Footer für Print */
  .print-footer {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
    font-size: 9px;
    color: #666;
    text-align: center;
  }
  
  .print-footer p {
    margin: 3px 0;
  }
  
  /* Page-Einstellungen */
  @page {
    size: A4;
    margin: 10mm;
  }
  
  /* Keine Buttons drucken */
  .btn-print-wishlist,
  .wishlist-actions,
  .btn-save-note,
  .btn-remove,
  .btn-addcart,
  .add-to-cart-group,
  .wl-qty,
  header,
  footer,
  nav,
  .account-sidebar,
  .wl-recently-section,
  .wl-random-section,
  .container:not(.wishlist-print-view),
  main:not(.wishlist-print-view) {
    display: none !important;
  }
}

/* =====================================================
   GUTSCHEIN/COUPON STYLES (Warenkorb)
   ===================================================== */

.cart-coupon-section {
  margin: 1.25rem 0;
  border: 1px dashed #ddd;
  border-radius: 8px;
  background: #fafbfc;
  overflow: hidden;
}

.coupon-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #004974;
  transition: background-color 0.2s;
}

.coupon-toggle:hover {
  background-color: #f0f4f8;
}

.coupon-toggle i.fa-ticket-alt {
  font-size: 1rem;
  color: #004974;
}

.coupon-toggle-icon {
  margin-left: auto;
  font-size: 0.75rem;
  transition: transform 0.3s ease;
  color: #666;
}

.coupon-form-wrapper {
  display: none;
  padding: 0 1rem 1rem 1rem;
  border-top: 1px solid #e9ecef;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.coupon-input-group {
  display: flex;
  gap: 0.5rem;
}

.coupon-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.9rem;
  text-transform: uppercase;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.coupon-input:focus {
  outline: none;
  border-color: #004974;
  box-shadow: 0 0 0 3px rgba(0, 73, 116, 0.1);
}

.coupon-input::placeholder {
  text-transform: none;
  color: #999;
}

.btn-coupon {
  padding: 0.625rem 1.25rem;
  background: #004974;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-coupon:hover:not(:disabled) {
  background: #003a5c;
}

.btn-coupon:disabled {
  background: #7a9bb8;
  cursor: wait;
}

/* Angewendeter Gutschein */
.applied-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #e8f5e9;
  border-radius: 6px;
  border: 1px solid #c8e6c9;
}

.applied-coupon-info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.coupon-code-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.625rem;
  background: #004974;
  color: white;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.coupon-code-badge i {
  font-size: 0.7rem;
}

.coupon-name {
  font-size: 0.85rem;
  color: #333;
}

.coupon-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2e7d32;
}

.btn-remove-coupon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid #c8e6c9;
  border-radius: 50%;
  color: #666;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-remove-coupon:hover {
  background: #ffebee;
  border-color: #ef9a9a;
  color: #c62828;
}

/* Gutschein-Nachrichten */
.coupon-message {
  margin-top: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.coupon-message.coupon-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.coupon-message.coupon-error {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ef9a9a;
}

/* Rabatt-Zeile in der Zusammenfassung */
.summary-row.summary-discount {
  color: #2e7d32;
  background: #f1f8e9;
  margin: 0 -1rem;
  padding: 0.625rem 1rem;
}

.summary-row.summary-discount span:first-child {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.summary-row.summary-discount i {
  font-size: 0.9rem;
}

.discount-amount {
  font-weight: 600;
}

/* Mobile-Anpassungen */
@media (max-width: 480px) {
  .coupon-input-group {
    flex-direction: column;
  }
  
  .btn-coupon {
    width: 100%;
    justify-content: center;
  }
  
  .applied-coupon {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
  
  .applied-coupon-info {
    justify-content: center;
  }
}
