/**
 * ============================================================================
 * LOVWARE FRONTEND STYLES — FALLBACK ONLY
 * These styles provide defaults for runtime-injected components.
 * Component styles from the editor take precedence via CSS cascade.
 * ============================================================================
 */

/* === LOW-PRIORITY FALLBACKS via :where() === */
/* :where() has zero specificity, so any component style wins */

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

/*
 * All visual styles below use :where() for zero specificity.
 * Component styles from the editor ALWAYS take precedence.
 * Only structural/layout defaults and truly unique runtime elements
 * (notifications, skeletons) keep normal specificity.
 */

/* Navigation Links — fallback only */
:where(nav a), :where(.nav-link), :where([data-nav-link]) {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.2s;
}

:where(nav a:hover), :where(.nav-link:hover), :where([data-nav-link]:hover) {
  color: #0ea5e9;
}

:where(nav ul) {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  align-items: center;
}

:where(nav li) {
  margin: 0;
}

/* Product Grid — fallback */
:where(.product-grid),
:where(.products-grid) {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 1rem 0;
}

:where(.product-card) {
  background: white;
  color: #111;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

:where(.product-card:hover) {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

:where(.product-link) {
  text-decoration: none;
  color: inherit;
  display: block;
}

:where(.product-image) {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #f5f5f5;
}

:where(.product-image img) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

:where(.product-card:hover .product-image img) {
  transform: scale(1.05);
}

:where(.product-info) {
  padding: 1rem;
}

:where(.product-name) {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.25rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

:where(.product-manufacturer) {
  font-size: 0.75rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  margin-bottom: 0.25rem;
  display: block;
}

:where(.product-teaser) {
  font-size: 0.8125rem;
  color: #666;
  margin: 0.5rem 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

:where(.product-number) {
  font-size: 0.75rem;
  color: #666;
  margin: 0 0 0.5rem;
}

:where(.product-price) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

:where(.current-price) {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0ea5e9;
}

:where(.list-price) {
  font-size: 0.875rem;
  color: #999;
  text-decoration: line-through;
}

/* Stock Status — fallback */
:where(.product-stock) {
  display: block;
  font-size: 0.8125rem;
  margin-top: 0.5rem;
  color: #10b981;
  font-weight: 500;
}

:where(.product-stock--empty) {
  color: #ef4444;
}

/* Badges — fallback */
:where(.badge) {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 4px;
  text-transform: uppercase;
}

:where(.badge.out-of-stock) {
  background: #ef4444;
  color: white;
}

/* Buttons — fallback */
:where(.add-to-cart-btn),
:where(.notify-btn) {
  width: 100%;
  padding: 0.75rem;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

:where(.add-to-cart-btn) {
  background: #0ea5e9;
  color: white;
}

:where(.add-to-cart-btn:hover) {
  background: #0284c7;
}

:where(.notify-btn) {
  background: #f1f5f9;
  color: #475569;
}

:where(.notify-btn:hover) {
  background: #e2e8f0;
}

:where(.btn) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

:where(.btn-primary) {
  background: #0ea5e9;
  color: white;
}

:where(.btn-primary:hover) {
  background: #0284c7;
}

:where(.btn-block) {
  width: 100%;
}

:where(.btn-lg) {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

:where(.btn-sm) {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* Pagination — fallback */
:where(.pagination) {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0;
}

:where(.pagination-btn) {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  background: white;
  color: #111;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

:where(.pagination-btn:hover:not(:disabled)) {
  border-color: #0ea5e9;
  color: #0ea5e9;
}

:where(.pagination-btn.active) {
  background: #0ea5e9;
  color: white;
  border-color: #0ea5e9;
}

:where(.pagination-btn:disabled) {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Cart — fallback */
:where(.cart-items) {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

:where(.cart-item) {
  display: grid;
  grid-template-columns: 100px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: white;
  color: #111;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

:where(.item-image img) {
  width: 100%;
  border-radius: 8px;
}

:where(.item-details h3) {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

:where(.item-number) {
  font-size: 0.75rem;
  color: #666;
  margin: 0 0 0.5rem;
}

:where(.item-quantity) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

:where(.qty-btn) {
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  background: white;
  color: #111;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

:where(.qty-btn:hover) {
  background: #f1f5f9;
}

:where(.qty-input) {
  width: 60px;
  text-align: center;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.5rem;
  color: #111;
  background: white;
}

:where(.item-price) {
  text-align: right;
}

:where(.unit-price) {
  font-size: 0.875rem;
  color: #666;
  margin: 0;
}

:where(.total-price) {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

:where(.remove-btn) {
  width: 36px;
  height: 36px;
  border: none;
  background: #fee2e2;
  color: #ef4444;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

:where(.remove-btn:hover) {
  background: #fecaca;
}

/* Cart Summary — fallback */
:where(.cart-summary) {
  background: white;
  color: #111;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-top: 1.5rem;
}

:where(.summary-row) {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

:where(.summary-row:last-of-type) {
  border-bottom: none;
}

:where(.summary-total) {
  font-size: 1.25rem;
  font-weight: 700;
  padding-top: 1rem;
  margin-top: 0.5rem;
  border-top: 2px solid #e2e8f0;
}

/* Order Confirmation — fallback */
:where(.order-confirmation-card) {
  max-width: 700px;
  margin: 2rem auto;
  background: white;
  color: #111;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

:where(.order-success-icon) {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 1rem;
}

:where(.order-confirmation-card h1) {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

:where(.order-confirmation-card > p) {
  text-align: center;
  color: #666;
  margin: 0 0 1.5rem;
}

:where(.order-meta) {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

:where(.order-meta-row) {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  font-size: 0.9375rem;
}

:where(.order-meta-row + .order-meta-row) {
  border-top: 1px solid #f1f5f9;
}

:where(.order-items) {
  margin-bottom: 1.5rem;
}

:where(.order-items h3) {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e7eb;
}

:where(.order-item) {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.625rem 0;
  border-bottom: 1px solid #f1f5f9;
}

:where(.order-item-info) {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

:where(.order-item-info .text-muted) {
  font-size: 0.8125rem;
  color: #888;
}

:where(.order-item-total) {
  font-weight: 600;
  white-space: nowrap;
}

:where(.order-totals) {
  background: #f9fafb;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

:where(.order-total) {
  font-size: 1.125rem;
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  border-top: 2px solid #e2e8f0;
}

:where(.order-address) {
  margin-bottom: 1.5rem;
}

:where(.order-address h3) {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

:where(.order-address p) {
  margin: 0;
  line-height: 1.6;
  color: #444;
}

:where(.order-actions) {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* Empty & Error States — fallback */
:where(.empty-state),
:where(.error-state),
:where(.empty-cart) {
  text-align: center;
  padding: 4rem 2rem;
}

:where(.empty-state h2),
:where(.error-state h2),
:where(.empty-cart h2) {
  margin: 0 0 0.5rem;
}

:where(.empty-state p),
:where(.error-state p),
:where(.empty-cart p) {
  color: #666;
  margin: 0 0 1.5rem;
}

/* Notifications — keep normal specificity (runtime-only) */
.notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  background: #1e293b;
  color: white;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s;
  z-index: 1000;
}

.notification.show {
  transform: translateY(0);
  opacity: 1;
}

.notification-success {
  background: #10b981;
}

.notification-error {
  background: #ef4444;
}

.notification-info {
  background: #0ea5e9;
}

/* Refresh Indicator */
#refresh-indicator {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  z-index: 100;
}

:where(.refresh-info) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.95);
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  font-size: 0.75rem;
}

:where(.refresh-icon) {
  font-size: 1rem;
}

:where(.refresh-text) {
  color: #666;
}

:where(.refresh-btn) {
  padding: 0.25rem 0.75rem;
  background: #0ea5e9;
  color: white;
  border: none;
  border-radius: 9999px;
  font-size: 0.75rem;
  cursor: pointer;
}

:where(.refresh-btn:hover) {
  background: #0284c7;
}

/* Cart Count Animation */
#cart-count.updated,
.cart-count.updated {
  animation: pulse 0.5s ease;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.3); }
}

/* Loading State */
:where(.loading) {
  opacity: 0.5;
  pointer-events: none;
}

:where(.loading-spinner) {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  color: #666;
}

/* Product Detail — fallback */
:where(.product-detail) {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  :where(.product-detail) {
    grid-template-columns: 1fr;
  }
  
  :where(.cart-item) {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto;
  }
  
  :where(.item-price) {
    grid-column: 2;
  }
  
  :where(.remove-btn) {
    grid-column: 2;
    justify-self: end;
  }
}

:where(.product-gallery img) {
  width: 100%;
  border-radius: 12px;
}

:where(.product-detail .product-info h1) {
  font-size: 2rem;
  margin: 0 0 0.5rem;
}

:where(.product-detail .product-price) {
  font-size: 2rem;
  margin: 1rem 0;
}

:where(.product-detail .price) {
  font-weight: 700;
  color: #0ea5e9;
}

:where(.product-description) {
  line-height: 1.7;
  color: #475569;
  margin: 1.5rem 0;
}

:where(.product-actions) {
  margin-top: 2rem;
}

/* Mini Cart — fallback */
:where(.mini-cart-item) {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
}

:where(.mini-cart-item img) {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 6px;
}

:where(.mini-cart-item p) {
  margin: 0;
  font-size: 0.875rem;
}

:where(.mini-cart-total) {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  padding: 0.75rem 0;
  margin-top: 0.5rem;
}

/* Update Notification (Service Worker) — keep normal specificity */
.update-notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(14, 165, 233, 0.3);
  z-index: 10000;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.update-notification button {
  padding: 0.25rem 0.75rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s;
}

.update-notification button:first-of-type {
  background: white;
  color: #0ea5e9;
}

.update-notification button:first-of-type:hover {
  background: #f0f9ff;
}

.update-notification button:last-of-type {
  background: transparent;
  color: white;
  font-size: 1.25rem;
  padding: 0 0.5rem;
}

.update-notification button:last-of-type:hover {
  opacity: 0.7;
}

/* Offline Indicator */
.offline-indicator {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem;
  background: #ef4444;
  color: white;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 10000;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

:where(.skeleton-text) {
  height: 1rem;
  margin-bottom: 0.5rem;
}

:where(.skeleton-image) {
  aspect-ratio: 1;
}

:where(.skeleton-button) {
  height: 2.5rem;
}

/* Live-Data Skeletons (used by export sanitizer to mask demo strings until
   the navigation manager loads real Shopware Store API data) */
.lw-skel-wrap {
  position: relative;
  display: inline-block;
}
.lw-skel-wrap[data-live-loaded="false"] > select,
.lw-skel-wrap[data-live-loaded="false"] > input {
  visibility: hidden;
}
.lw-skel-wrap[data-live-loaded="true"] > .lw-skel {
  display: none;
}
.lw-skel {
  display: inline-block;
  background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
  vertical-align: middle;
}
.lw-skel-wrap > .lw-skel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.lw-skel-input { min-width: 8rem; min-height: 2.25rem; }
.lw-skel-chip  { width: 5rem; height: 0.9rem; }
[data-live-link] .lw-skel-chip { display: inline-block; }
[data-live-link][data-live-loaded="true"] .lw-skel-chip { display: none; }


/* ============================================================================
   PRODUCT SEARCH STYLES
   ============================================================================ */
.search-container {
  position: relative;
}

.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--search-bg, white);
  border: 1px solid var(--search-border, #e5e5e5);
  border-radius: 8px;
  margin-top: 8px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
}

.search-results.active {
  display: block;
}

.search-results.hidden {
  display: none;
}

.search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-result-item {
  transition: background 0.15s;
}

.search-result-item.selected,
.search-result-item:hover {
  background: var(--search-hover-bg, #f5f5f5);
}

.search-result-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--search-border, #eee);
}

.search-result-item:last-child .search-result-link {
  border-bottom: none;
}

.search-result-image {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: var(--search-img-bg, #f0f0f0);
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-result-name {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--search-text, #333);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-number {
  font-size: 0.75rem;
  color: var(--search-muted, #888);
}

.search-result-price {
  font-weight: 600;
  color: var(--search-price, #333);
  font-size: 0.875rem;
}

/* Loading State */
.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  color: var(--search-muted, #666);
}

.search-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid var(--search-border, #e5e5e5);
  border-top-color: var(--search-accent, #3b82f6);
  border-radius: 50%;
  animation: search-spin 0.6s linear infinite;
}

@keyframes search-spin {
  to { transform: rotate(360deg); }
}

/* Empty State */
.search-empty,
.search-error {
  padding: 24px;
  text-align: center;
  color: var(--search-muted, #666);
}

.search-empty strong {
  color: var(--search-text, #333);
}

/* Mobile Search Results */
.mobile-search-results {
  margin-top: 8px;
  max-height: 60vh;
  overflow-y: auto;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .search-results,
  .mobile-search-results {
    --search-bg: #1e1e1e;
    --search-border: #333;
    --search-hover-bg: #2a2a2a;
    --search-text: #fff;
    --search-muted: #888;
    --search-price: #fff;
    --search-img-bg: #2a2a2a;
  }
}

/* Keyboard Shortcut Hint */
.search-input::placeholder::after {
  content: ' (⌘K)';
}


/* === Styles from src/components/Footer.astro === */
/* FOOTER - Dark Space Theme */
.footer {
  background: #0a0a1a;
  color: #e2e8f0;
}

.footer-main {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

/* BRAND COLUMN */
.footer-brand {
  padding-right: 2rem;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 1rem;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.5px;
}

.footer-logo .logo-a { color: #e53935; }
.footer-logo .logo-s { color: #fb8c00; }
.footer-logo .logo-t { color: #fdd835; }
.footer-logo .logo-r { color: #43a047; }
.footer-logo .logo-o { color: #1e88e5; }
.footer-logo .logo-n { color: #1e88e5; }
.footer-logo .logo-o2 { color: #5e35b1; }
.footer-logo .logo-m { color: #d81b60; }
.footer-logo .logo-i { color: #d81b60; }
.footer-logo .logo-o3 { color: #d81b60; }

.footer-tagline {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

/* ACCORDION WRAPPER - Desktop shows as columns */
.footer-accordion-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-accordion-trigger {
  display: none; /* Hidden on desktop */
}

.footer-accordion-content {
  display: block; /* Always visible on desktop */
}

.footer-accordion-item::before {
  content: attr(data-title);
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-accordion-item:nth-child(1)::before { content: "Shop"; }
.footer-accordion-item:nth-child(2)::before { content: "Infos"; }
.footer-accordion-item:nth-child(3)::before { content: "Service"; }

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: all 0.3s;
}

.footer-links a:hover {
  color: #a78bfa;
  transform: translateX(4px);
}

/* TRUST BAR - All in one row, no boxes */
.footer-trust {
  padding: 1.5rem 0;
  background: #0a0a1a;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.trust-item i {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.7);
}

.trust-item.social-item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s ease;
}

.trust-item.social-item i {
  font-size: 1.125rem;
}

.trust-item.social-item:hover {
  background: rgba(167,139,250,0.2);
  transform: translateY(-3px);
}

.trust-item.social-item:hover i {
  color: #a78bfa;
}

/* FOOTER BOTTOM */
.footer-bottom {
  padding: 1.5rem 0;
  background: #070714;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright, .made-with {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

.made-with {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.heart {
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* MOBILE: Accordion Layout */
@media (max-width: 768px) {
  .footer-main { padding: 2rem 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-brand { padding-right: 0; }

  .footer-accordion-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-accordion-item::before { display: none; }

  .footer-accordion-trigger {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
  }

  .footer-accordion-icon {
    transition: transform 0.3s ease;
    color: rgba(255,255,255,0.6);
  }

  .footer-accordion-item.active .footer-accordion-icon {
    transform: rotate(180deg);
  }

  .footer-accordion-content {
    display: none;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .footer-accordion-item.active .footer-accordion-content {
    display: block;
  }

  .trust-bar {
    gap: 1.5rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* === Styles from src/components/Header.astro === */
/* STICKY HEADER WRAPPER */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
}

/* TOP BAR */
.top-bar {
  background: #f5f5f5;
  color: #333;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e5e5e5;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.usp-item {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  color: #333;
  font-weight: 500;
}

.top-bar-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  cursor: pointer;
  color: #333;
}

.flag { font-size: 0.875rem; }
.dropdown-arrow { width: 8px; height: 5px; }

.service-link {
  color: #333;
  text-decoration: none;
}

.service-link:hover { text-decoration: underline; }

/* Dark Mode Toggle */
.dark-mode-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  cursor: pointer;
  color: #333;
  transition: all 0.2s;
}

.dark-mode-toggle:hover {
  background: #f0f0f0;
  border-color: #ccc;
}

/* MAIN HEADER */
.main-header {
  background: white;
  padding: 1rem 0;
}

.main-header-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem;
  align-items: center;
}

/* Rainbow Logo */
.logo {
  text-decoration: none;
  font-size: 1.75rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -0.5px;
}

.logo-a { color: #e53935; }
.logo-s { color: #fb8c00; }
.logo-t { color: #fdd835; }
.logo-r { color: #43a047; }
.logo-o { color: #1e88e5; }
.logo-n { color: #1e88e5; }
.logo-o2 { color: #5e35b1; }
.logo-m { color: #d81b60; }
.logo-i { color: #d81b60; }
.logo-o3 { color: #d81b60; }

/* SEARCH */
.search-bar {
  position: relative;
  flex: 1;
  max-width: 900px;
}

.search-input {
  width: 100%;
  padding: 0.875rem 3.5rem 0.875rem 1.25rem;
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  background: #f0f0f0;
  color: #666;
}

.search-input::placeholder { color: #888; }

.search-input:focus {
  outline: none;
  background: #e8e8e8;
}

.search-button {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: #666;
}

.search-button:hover { color: #333; }

/* SEARCH RESULTS DROPDOWN */
.search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  margin-top: 8px;
  max-height: 400px;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 1000;
  display: none;
}

.search-results.active { display: block; }
.search-results.hidden { display: none; }

.search-results-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-result-item {
  transition: background 0.15s;
}

.search-result-item.selected,
.search-result-item:hover {
  background: #f5f5f5;
}

.search-result-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #eee;
}

.search-result-item:last-child .search-result-link {
  border-bottom: none;
}

.search-result-image {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #f0f0f0;
}

.search-result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-result-name {
  font-weight: 500;
  font-size: 0.9375rem;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-number {
  font-size: 0.75rem;
  color: #888;
}

.search-result-price {
  font-weight: 600;
  color: #333;
  font-size: 0.875rem;
}

.search-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  color: #666;
}

.search-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #e5e5e5;
  border-top-color: #3b82f6;
  border-radius: 50%;
  animation: search-spin 0.6s linear infinite;
}

@keyframes search-spin {
  to { transform: rotate(360deg); }
}

.search-empty,
.search-error {
  padding: 24px;
  text-align: center;
  color: #666;
}

.search-empty strong { color: #333; }

.mobile-search-results {
  margin-top: 8px;
  max-height: 60vh;
  overflow-y: auto;
  background: white;
  border-radius: 8px;
}

/* HEADER ACTIONS */
.header-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.action-btn:hover { color: #000; }

.cart-btn { position: relative; }

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: #3b82f6;
  color: white;
  font-size: 0.6875rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile buttons - hidden on desktop */
.mobile-search-btn,
.mobile-menu-btn {
  display: none;
}

/* NAVIGATION */
.nav-bar {
  background: white;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.nav-menu {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  justify-content: flex-start;
}

.nav-link {
  display: block;
  padding: 0.875rem 1rem;
  color: #333;
  text-decoration: none;
  font-weight: 400;
  font-size: 0.875rem;
  white-space: nowrap;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #000;
  text-decoration: underline;
}

/* Loading placeholder für dynamische Navigation */
.nav-placeholder {
  padding: 0.875rem 1rem;
  color: #888;
  font-size: 0.875rem;
}

.loading-dots::after {
  content: '';
  animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
  0% { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}

/* CONTAINER */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================================================
   MOBILE SEARCH OVERLAY
   ============================================================================ */
.mobile-search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 200;
  padding: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.mobile-search-overlay.active { display: block; }

.mobile-search-container {
  display: flex;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-search-input {
  flex: 1;
  padding: 0.875rem 1rem;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  font-size: 1rem;
}

.mobile-search-close {
  padding: 0.875rem 1rem;
  background: #f5f5f5;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
}

/* ============================================================================
   MOBILE OFF-CANVAS MENU
   ============================================================================ */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background: white;
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e5e5;
}

.mobile-menu-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.mobile-menu-close {
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: #333;
}

.mobile-menu-nav {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav-list li a {
  display: block;
  padding: 1rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.2s;
}

.mobile-nav-list li a:hover {
  background: #f9fafb;
}

.mobile-menu-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  color: #6b7280;
  text-decoration: none;
  font-size: 0.9375rem;
}

.mobile-menu-link:hover { color: #111; }

/* ============================================================================
   TABLET STYLES (769px - 1024px)
   ============================================================================ */
@media (max-width: 1024px) {
  .top-bar-left { display: none; }
  
  .main-header-content {
    gap: 1rem;
  }
  
  .search-bar {
    max-width: 280px;
  }
  
  .mobile-search-btn {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-bar { display: none; }
  
  .header-actions {
    gap: 0.25rem;
  }
}

/* ============================================================================
   MOBILE STYLES (bis 768px)
   ============================================================================ */
@media (max-width: 768px) {
  .top-bar { display: none; }
  
  .main-header-content {
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
  }
  
  .search-bar { display: none; }
  
  .header-actions {
    justify-content: flex-end;
  }
  
  .mobile-search-btn,
  .mobile-menu-btn {
    display: flex;
  }
  
  .nav-bar { display: none; }
  
  .logo { font-size: 1.25rem; }
}

/* === Styles from src/pages/index.astro === */
/* Astronomio Dark Space Theme */
    :root {
      --color-bg: #0a0a1a;
      --color-bg-card: #12122a;
      --color-bg-elevated: #1a1a3a;
      --color-primary: #6366f1;
      --color-primary-glow: #818cf8;
      --color-accent: #a855f7;
      --color-text: #f8fafc;
      --color-text-muted: #94a3b8;
      --color-border: rgba(255,255,255,0.1);
      --radius: 16px;
      --container: 1280px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    
    body.astro-dark {
      font-family: 'Inter', system-ui, sans-serif;
      background: var(--color-bg);
      color: var(--color-text);
      line-height: 1.6;
    }
    
    .container {
      max-width: var(--container);
      margin: 0 auto;
      padding: 0 1.5rem;
    }

    /* Hero with Animated Stars */
    .hero {
      position: relative;
      min-height: 60vh;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
    }
    
    .hero-bg {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, #0a0a1a 0%, #1a1040 50%, #0a0a1a 100%);
    }
    
    .stars-layer {
      position: absolute;
      inset: 0;
      background-repeat: repeat;
    }
    
    .stars-small {
      background-image: radial-gradient(1px 1px at 20px 30px, white, transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 50px 160px, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 160px 120px, white, transparent);
      background-size: 200px 200px;
      animation: twinkle 4s ease-in-out infinite;
    }
    
    .stars-medium {
      background-image: radial-gradient(2px 2px at 100px 50px, white, transparent),
        radial-gradient(2px 2px at 200px 150px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 300px 250px, white, transparent);
      background-size: 400px 400px;
      animation: twinkle 6s ease-in-out infinite reverse;
    }
    
    .stars-large {
      background-image: radial-gradient(3px 3px at 150px 100px, #818cf8, transparent),
        radial-gradient(3px 3px at 350px 300px, #a855f7, transparent);
      background-size: 500px 500px;
      animation: twinkle 8s ease-in-out infinite;
    }
    
    @keyframes twinkle {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.5; }
    }
    
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, transparent 0%, rgba(10,10,26,0.8) 100%);
    }
    
    .hero-content {
      position: relative;
      z-index: 10;
      max-width: 800px;
      padding: 3rem 1.5rem;
    }
    
    .hero-badge {
      display: inline-block;
      padding: 0.5rem 1.25rem;
      background: rgba(99,102,241,0.2);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(99,102,241,0.3);
      border-radius: 50px;
      font-size: 0.875rem;
      font-weight: 500;
      color: var(--color-primary-glow);
      margin-bottom: 1rem;
    }
    
    .hero-title {
      font-size: clamp(2.5rem, 6vw, 4rem);
      font-weight: 800;
      line-height: 1.1;
      margin-bottom: 1rem;
      background: linear-gradient(135deg, #ffffff 0%, #a855f7 50%, #6366f1 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }
    
    .hero-subtitle {
      font-size: clamp(0.95rem, 2vw, 1.125rem);
      color: var(--color-text-muted);
      margin-bottom: 1.5rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .hero-cta {
      display: flex;
      gap: 1rem;
      justify-content: center;
      flex-wrap: wrap;
    }
    
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.75rem 1.5rem;
      font-size: 1rem;
      font-weight: 600;
      border-radius: var(--radius);
      text-decoration: none;
      transition: all 0.3s ease;
      cursor: pointer;
      border: none;
    }
    
    .btn-primary {
      background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
      color: white;
      box-shadow: 0 4px 20px rgba(99,102,241,0.4);
    }
    
    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 30px rgba(99,102,241,0.5);
    }
    
    .btn-secondary {
      background: rgba(255,255,255,0.05);
      backdrop-filter: blur(10px);
      color: white;
      border: 1px solid var(--color-border);
    }
    
    .btn-secondary:hover {
      background: rgba(255,255,255,0.1);
      border-color: rgba(255,255,255,0.2);
    }
    
    /* Trust Badges */
    .trust-section {
      background: var(--color-bg-card);
      border-top: 1px solid var(--color-border);
      border-bottom: 1px solid var(--color-border);
      padding: 2rem 0;
    }
    
    .trust-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 2rem;
    }
    
    .trust-item {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    
    .trust-icon {
      font-size: 1.25rem;
      width: 2.75rem;
      height: 2.75rem;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(99,102,241,0.15);
      border-radius: 12px;
      color: var(--color-primary-glow);
    }
    
    .trust-text strong {
      display: block;
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--color-text);
    }
    
    .trust-text span {
      font-size: 0.8125rem;
      color: var(--color-text-muted);
    }

    /* Section Header */
    .section-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      margin-bottom: 2.5rem;
      gap: 1rem;
    }
    
    .section-title {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 0.25rem;
    }
    
    .section-subtitle {
      font-size: 1rem;
      color: var(--color-text-muted);
    }
    
    .section-link {
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--color-primary-glow);
      text-decoration: none;
      transition: color 0.2s;
    }
    
    .section-link:hover {
      color: var(--color-accent);
    }
    
    .section-header-centered {
      flex-direction: column;
      align-items: center;
      text-align: center;
      justify-content: center;
    }
    
    .section-header-centered .section-title {
      margin-bottom: 0.5rem;
    }
    
    .section-header-centered .section-subtitle {
      max-width: 500px;
    }

    /* Categories */
    .categories-section {
      padding: 5rem 0;
    }
    
    .categories-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }
    
    .category-card {
      position: relative;
      border-radius: var(--radius);
      overflow: hidden;
      text-decoration: none;
      aspect-ratio: 3/4;
      display: block;
    }
    
    .category-card.category-featured {
      grid-column: span 2;
      grid-row: span 2;
    }
    
    .category-image {
      position: absolute;
      inset: 0;
    }
    
    .category-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .category-card:hover .category-image img {
      transform: scale(1.1);
    }
    
    .category-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
    }
    
    .category-content {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 1.5rem;
      z-index: 10;
    }
    
    .category-name {
      font-size: 1.5rem;
      font-weight: 700;
      color: white;
      margin-bottom: 0.25rem;
    }
    
    .category-cta {
      font-size: 0.875rem;
      color: var(--color-primary-glow);
      transition: color 0.2s;
    }
    
    .category-card:hover .category-cta {
      color: white;
    }

    /* Products */
    .products-section {
      padding: 5rem 0;
      background: var(--color-bg-card);
    }
    
    .products-section.products-alt {
      background: var(--color-bg);
    }
    
    .products-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1.5rem;
    }
    
    .product-card {
      background: var(--color-bg-elevated);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      overflow: hidden;
      text-decoration: none;
      display: block;
      transition: all 0.3s ease;
    }
    
    .product-card:hover {
      border-color: var(--color-primary);
      transform: translateY(-4px);
      box-shadow: 0 10px 40px rgba(99,102,241,0.2);
    }
    
    .product-image {
      position: relative;
      aspect-ratio: 1;
      background: var(--color-bg);
    }
    
    .product-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease;
    }
    
    .product-card:hover .product-image img {
      transform: scale(1.1);
    }
    
    .product-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10,10,26,0.9) 0%, rgba(10,10,26,0.3) 50%, transparent 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .product-card:hover .product-overlay {
      opacity: 1;
    }
    
    .quick-view-btn {
      padding: 0.75rem 1.5rem;
      background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
      color: white;
      font-size: 0.875rem;
      font-weight: 600;
      border-radius: 50px;
      transform: translateY(20px);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-shadow: 0 4px 20px rgba(99,102,241,0.4);
    }
    
    .product-card:hover .quick-view-btn {
      transform: translateY(0);
    }
    
    .product-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-text-muted);
    }
    
    .product-badge {
      position: absolute;
      top: 0.75rem;
      left: 0.75rem;
      padding: 0.25rem 0.75rem;
      background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
      color: white;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: 50px;
      z-index: 10;
    }
    
    .product-info {
      padding: 1.25rem;
    }
    
    .product-brand {
      font-size: 0.75rem;
      font-weight: 500;
      color: var(--color-primary-glow);
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }
    
    .product-name {
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--color-text);
      margin: 0.5rem 0;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    
    .product-price {
      font-size: 1.125rem;
      font-weight: 700;
      color: var(--color-accent);
    }

    /* Newsletter */
    .newsletter-section {
      padding: 5rem 0;
    }
    
    .newsletter-card {
      background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg-card) 100%);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      padding: 4rem;
      text-align: center;
    }
    
    .newsletter-icon {
      font-size: 3rem;
      margin-bottom: 1rem;
    }
    
    .newsletter-card h2 {
      font-size: 2rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }
    
    .newsletter-card p {
      color: var(--color-text-muted);
      margin-bottom: 2rem;
    }
    
    .newsletter-form {
      display: flex;
      gap: 0.75rem;
      max-width: 500px;
      margin: 0 auto;
    }
    
    .newsletter-form input {
      flex: 1;
      padding: 1rem 1.25rem;
      font-size: 1rem;
      background: var(--color-bg);
      border: 1px solid var(--color-border);
      border-radius: var(--radius);
      color: var(--color-text);
      outline: none;
    }
    
    .newsletter-form input:focus {
      border-color: var(--color-primary);
    }
    
    .newsletter-form button {
      padding: 1rem 2rem;
      background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
      color: white;
      border: none;
      border-radius: var(--radius);
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
    }
    
    .newsletter-form button:hover {
      transform: translateY(-2px);
      box-shadow: 0 4px 20px rgba(99,102,241,0.4);
    }

    /* Responsive */
    @media (max-width: 1024px) {
      .trust-grid { grid-template-columns: repeat(2, 1fr); }
      .categories-grid { grid-template-columns: repeat(2, 1fr); }
      .category-card.category-featured { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
      .products-grid { grid-template-columns: repeat(2, 1fr); }
    }
    
    @media (max-width: 768px) {
      .hero { min-height: 50vh; }
      .trust-grid { grid-template-columns: 1fr; gap: 1rem; }
      .categories-grid { grid-template-columns: 1fr; }
      .category-card.category-featured { grid-column: span 1; }
      .category-card { aspect-ratio: 16/9; }
      .section-header { flex-direction: column; align-items: flex-start; }
      .newsletter-form { flex-direction: column; }
      .newsletter-card { padding: 2rem; }
    }
    
    @media (max-width: 480px) {
      .products-grid { grid-template-columns: 1fr; }
      .hero-cta { flex-direction: column; }
      .btn { width: 100%; justify-content: center; }
    }

/* === Styles from src/components/ProductListing.astro === */
.ln-wrapper{background:#fff;padding:3rem 0;min-height:100vh}
.ln-container{max-width:1400px;margin:0 auto;padding:0 2rem}
.ln-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:2rem;padding-bottom:2rem;border-bottom:1px solid #e5e7eb}
.ln-title{font-size:2rem;font-weight:700;color:#111;margin:0}
.ln-count{color:#6b7280}
.ln-toolbar{display:flex;justify-content:space-between;gap:1rem;margin-bottom:2rem;flex-wrap:wrap}
.ln-filters{display:flex;gap:1rem;flex:1;flex-wrap:wrap}
.ln-select{flex:1;min-width:160px;padding:0.75rem 2.5rem 0.75rem 1rem;border:1px solid #e5e7eb;border-radius:8px;font-size:0.9375rem;appearance:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 1rem center #fff}
.ln-sort{flex:0 0 200px}
.ln-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem 1.5rem;margin-bottom:3rem}
.ln-card{display:flex;flex-direction:column;gap:1rem}
.ln-card a{text-decoration:none;color:inherit}
.ln-card img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:8px;background:#f3f4f6}
.ln-info{display:flex;flex-direction:column;gap:0.25rem}
.ln-info h3{font-size:0.9375rem;font-weight:700;text-transform:uppercase;margin:0;color:#111}
.ln-info p{font-size:0.875rem;color:#6b7280;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ln-price{font-size:1.25rem;font-weight:700;color:#111;margin-top:0.25rem}
.ln-cart-btn{padding:0.875rem;background:#111;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer}
.ln-cart-btn:hover{background:#1f2937}
.ln-pagination{display:flex;justify-content:center;gap:0.5rem}
.ln-pagination button{min-width:44px;height:44px;border:1px solid #e5e7eb;background:#fff;border-radius:8px;font-weight:500;cursor:pointer}
.ln-pagination button.active{background:#111;color:#fff;border-color:#111}
.ln-pagination button:disabled{opacity:0.4;cursor:not-allowed}
@media(max-width:1024px){.ln-grid-4{grid-template-columns:repeat(3,1fr)}}
@media(max-width:768px){.ln-toolbar{flex-direction:column}.ln-filters{flex-direction:column}.ln-sort{flex:1}.ln-grid-4{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.ln-grid-4{grid-template-columns:1fr}}

/* === Styles from src/pages/login.astro === */
/* ============================================================================
   LOGIN PAGE STYLES - Two-Column E-Commerce Layout
   ============================================================================ */

/* CSS Variables for easy customization */
:root {
  --login-primary: #0099cc;
  --login-primary-hover: #007aa3;
  --login-text: #1a1a1a;
  --login-text-light: #666;
  --login-text-muted: #888;
  --login-border: #ddd;
  --login-bg: #f8f9fa;
  --login-card-bg: #ffffff;
  --login-input-bg: #ffffff;
  --login-input-border: #ddd;
  --login-error-bg: #fef2f2;
  --login-error-border: #fecaca;
  --login-error-text: #dc2626;
  /* Spacing Variables */
  --login-spacing-sm: 8px;
  --login-spacing-md: 16px;
  --login-spacing-lg: 20px;
  --login-spacing-xl: 32px;
}

.login-wrapper {
  background: var(--login-bg);
  min-height: 80vh;
  padding: 3rem 1.5rem;
}

.login-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
}

@media (max-width: 900px) {
  .login-container {
    grid-template-columns: 1fr;
  }
}

/* Sections */
.login-section,
.register-section {
  background: var(--login-card-bg);
  padding: var(--login-spacing-xl);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Headings */
h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--login-text);
}

.subtitle {
  color: var(--login-text-light);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

.section-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 1.5rem 0 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--login-border);
  color: var(--login-text);
}

/* Form Groups */
.form-group {
  margin-bottom: var(--login-spacing-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--login-spacing-md);
  margin-bottom: var(--login-spacing-lg);
}

/* Form-Groups innerhalb von Rows brauchen kein eigenes margin-bottom */
.form-row .form-group {
  margin-bottom: 0;
}

/* 3-Spalten für Adresse (Straße | PLZ | Stadt) */
.form-row-address-3col {
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.form-row-address-3col .form-group {
  margin-bottom: 0;
}

/* Schmale Form-Groups */
.form-group-narrow {
  max-width: 250px;
}

.form-group-narrow-md {
  max-width: 300px;
}

/* Login-Button NICHT volle Breite */
.login-form .btn-primary {
  width: auto;
  padding: 10px 24px;
}

/* Continue-Button rechts */
.form-actions {
  text-align: right;
  margin-top: 24px;
}

.register-form .btn-primary {
  width: auto;
  padding: 10px 32px;
}

/* Privacy Notice */
.privacy-notice {
  margin: 24px 0;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 4px;
}

.privacy-notice h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--login-text);
}

.privacy-notice p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

.privacy-notice a {
  color: var(--login-primary);
  text-decoration: underline;
}

.privacy-notice a:hover {
  text-decoration: none;
}

/* Mobile: 3-Spalten zu 1-Spalte */
@media (max-width: 640px) {
  .form-row-address-3col {
    grid-template-columns: 1fr;
  }
  
  .form-group-narrow,
  .form-group-narrow-md {
    max-width: 100%;
  }
}

.form-group label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333333 !important;
}

/* Inputs & Selects */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--login-input-border);
  border-radius: 6px;
  font-size: 1rem;
  background: var(--login-input-bg);
  color: var(--login-text);
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Select-Element spezifische Styles */
select {
  cursor: pointer;
  -webkit-appearance: menulist;
  -moz-appearance: menulist;
  appearance: menulist;
  position: relative;
  z-index: 10;
}

select option {
  background: #ffffff;
  color: #333333;
  padding: 8px 12px;
}

input:focus,
select:focus {
  outline: none;
  border-color: var(--login-primary);
  box-shadow: 0 0 0 3px rgba(0,153,204,0.1);
}

input::placeholder {
  color: var(--login-text-muted);
}

/* FORCE Light Mode - überschreibt System Dark Mode */
.login-wrapper input[type="text"],
.login-wrapper input[type="email"],
.login-wrapper input[type="password"],
.login-wrapper input[type="tel"],
.login-wrapper select,
.login-wrapper .form-group input,
.login-wrapper .form-group select {
  background-color: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #cccccc !important;
}

.login-wrapper input::placeholder,
.login-wrapper .form-group input::placeholder {
  color: #999999 !important;
}

.login-wrapper input:focus,
.login-wrapper select:focus,
.login-wrapper .form-group input:focus,
.login-wrapper .form-group select:focus {
  border-color: #00BCD4 !important;
  box-shadow: 0 0 0 2px rgba(0, 188, 212, 0.2) !important;
  outline: none !important;
}

.hint {
  display: block;
  font-size: 0.75rem;
  color: var(--login-text-muted);
  margin-top: 0.25rem;
}

/* Checkbox */
.checkbox-group {
  margin: 1.25rem 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
  font-size: 0.9375rem;
  font-weight: normal;
  color: var(--login-text);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

/* Rechtliche Checkboxen (DSGVO + AGB) */
.legal-checkboxes {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.legal-checkboxes .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
  cursor: pointer;
}

.legal-checkboxes input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  flex-shrink: 0;
}

.legal-checkboxes a {
  color: var(--login-primary);
  text-decoration: underline;
}

.legal-checkboxes a:hover {
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary {
  background: var(--login-primary);
  color: white;
}

.btn-primary:hover {
  background: var(--login-primary-hover);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-full {
  width: 100%;
}

/* Forgot Password Link */
.forgot-password {
  display: inline-block;
  color: var(--login-primary);
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  text-decoration: none;
}

.forgot-password:hover {
  text-decoration: underline;
}

/* Login Benefits */
.login-benefits {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--login-border);
}

.login-benefits h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--login-text);
}

.login-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.login-benefits li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  color: var(--login-text-light);
}

.login-benefits li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--login-primary);
  font-weight: bold;
}

/* Privacy Notice - dezent ohne Hintergrund */
.privacy-notice {
  margin: 1.5rem 0 1rem;
  padding: 0;
  background: none;
}

.privacy-notice h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--login-text);
}

.privacy-notice p {
  font-size: 0.8125rem;
  color: var(--login-text-light);
  line-height: 1.5;
  margin: 0;
}

.privacy-notice a {
  color: var(--login-primary);
  text-decoration: none;
}

.privacy-notice a:hover {
  text-decoration: underline;
}

.required-hint {
  font-size: 0.8125rem;
  color: var(--login-text-muted);
  margin-bottom: 1rem;
}

/* Form Error */
.form-error {
  padding: 0.75rem 1rem;
  background: var(--login-error-bg);
  border: 1px solid var(--login-error-border);
  color: var(--login-error-text);
  font-size: 0.875rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Hidden */
.hidden {
  display: none;
}

/* Guest Checkout Section */
.guest-checkout-section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--login-border);
  text-align: center;
}

.divider-text {
  position: relative;
  margin-bottom: 16px;
}

.divider-text::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--login-border);
}

.divider-text span {
  position: relative;
  background: var(--login-card-bg);
  padding: 0 12px;
  color: var(--login-text-muted);
  font-size: 0.875rem;
}

.guest-hint {
  margin-top: 8px;
  font-size: 0.8125rem;
  color: var(--login-text-muted);
}

.btn-secondary {
  background: transparent;
  color: var(--login-primary);
  border: 2px solid var(--login-primary);
}

.btn-secondary:hover {
  background: var(--login-primary);
  color: white;
}

/* Password Reset Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
}

.modal-content {
  position: relative;
  background: #ffffff;
  padding: 32px;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 1;
}

.modal-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--login-text);
}

.modal-description {
  font-size: 0.9375rem;
  color: var(--login-text-light);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
}

.modal-close:hover {
  background: #f3f4f6;
}

.form-success {
  padding: 0.75rem 1rem;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
  font-size: 0.875rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

/* Mobile Responsive */
@media (max-width: 640px) {
  .login-wrapper {
    padding: 1rem;
  }
  
  .login-section,
  .register-section {
    padding: var(--login-spacing-lg);
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  /* Auf Mobile brauchen form-groups wieder margin-bottom */
  .form-row .form-group {
    margin-bottom: var(--login-spacing-lg);
  }
  
  /* Letztes Element in Row braucht kein margin */
  .form-row .form-group:last-child {
    margin-bottom: 0;
  }
  
  .form-row-plz {
    grid-template-columns: 100px 1fr;
    gap: var(--login-spacing-md);
  }
  
  .form-row-plz .form-group {
    margin-bottom: 0;
  }
}

/* 
 * Dark Mode DISABLED for shop preview consistency
 * Login page always uses light mode to ensure readable inputs
 * If dark mode is needed, use explicit .dark-mode class instead of system preference
 */
