/* --------------------------------------------------------------------------
   HAUSHALTSGERÄTE GERMANY - APPLE LIGHT THEME (WHITE BACKGROUND DESIGN SYSTEM)
   -------------------------------------------------------------------------- */

:root {
  --bg-dark: #ffffff;
  --bg-surface: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: #ffffff;
  --border-light: rgba(0, 0, 0, 0.08);
  --border-active: rgba(212, 175, 55, 0.5);
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-gold: #d97706;
  --text-amber: #ea580c;

  --glass-blur: blur(20px);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #ffffff;
  color: var(--text-main);
  font-family: var(--font-sans);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.glass-nav {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.energy-badge {
  position: absolute;
  background: #10b981;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 10;
}

.quality-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  z-index: 10;
}

.btn-360 {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-active);
  color: var(--text-gold);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  z-index: 10;
}
.btn-360:hover {
  background: var(--text-gold);
  color: #ffffff;
}

.btn-primary {
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: #ffffff;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 99px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(234, 88, 12, 0.4);
}

.btn-secondary {
  background: #f1f5f9;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0f172a;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 99px;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-secondary:hover {
  background: #e2e8f0;
  border-color: rgba(0, 0, 0, 0.15);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(8px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}
.cart-overlay.open .cart-drawer {
  transform: translateX(0);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.open {
  display: flex;
}
.modal-box {
  background: #ffffff;
  border: 1px solid var(--border-active);
  border-radius: 24px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}
.btn-close {
  background: #f1f5f9;
  color: #0f172a;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}
.btn-close:hover {
  background: #e2e8f0;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 500px;
  background: #ffffff;
  border: 1px solid var(--border-active);
  border-radius: 20px;
  padding: 20px 24px;
  z-index: 150;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  display: none;
}
.cookie-banner.show {
  display: block;
}

/* Category Navigation Subbar */
.cat-bar {
  border-top: 1px solid rgba(0,0,0,0.06);
  background: rgba(248, 250, 252, 0.9);
  padding: 10px 24px;
}
.cat-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
}
.cat-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  padding: 6px 14px;
  border-radius: 99px;
  transition: all 0.2s ease;
}
.cat-link:hover, .cat-link.active {
  color: #0f172a;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.3);
}

/* Section Header */
.section-header {
  max-width: 1280px;
  margin: 0 auto 32px;
  padding: 0 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
}
.section-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin-top: 4px;
}

/* Products Grid */
.products-grid {
  max-width: 1280px;
  margin: 0 auto 80px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.product-card:hover {
  border-color: rgba(217, 119, 6, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0,0,0,0.08);
}

.product-image-box {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #f8fafc;
}
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img {
  transform: scale(1.05);
}

.product-brand {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #d97706;
  margin-bottom: 4px;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  color: #0f172a;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 16px;
}
.stars {
  color: #f59e0b;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 4px;
}
.product-price {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  color: #0f172a;
}
.compare-price {
  font-size: 0.95rem;
  color: #94a3b8;
  text-decoration: line-through;
}
.pangv-note {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 18px;
}

.product-card-actions {
  display: flex;
  gap: 10px;
}
.btn-add-cart {
  flex: 1;
  background: linear-gradient(135deg, #d97706, #ea580c);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
}
.btn-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.35);
}
