/**
 * Stuffle Product Page Complete CSS v6.0
 * Optimiert für Performance und alle Features
 */

/* ===== CRITICAL CSS (für Inline-Nutzung kopieren) ===== */
.stfl-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px 20px;
}

.stuffle-heart-loader {
  width: 60px !important;
  height: 60px !important;
  margin-bottom: 20px !important;
  color: #e6596e !important;
  filter: drop-shadow(0 0 8px rgba(230, 89, 110, 0.5)) !important;
  animation: stuffle-pulsing-heart 1s ease-in-out infinite !important;
}

@keyframes stuffle-pulsing-heart {
  0% { transform: scale(0.8); }
  20% { transform: scale(1.2); }
  40% { transform: scale(0.8); }
  60% { transform: scale(1.2); }
  80% { transform: scale(0.9); }
  100% { transform: scale(0.8); }
}

.stfl-gallery-section {
  min-height: 450px;
}

.stfl-product-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 2rem;
}

@media (max-width: 768px) {
  .stfl-product-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ENDE CRITICAL CSS ===== */

/* ===== BASE STYLES ===== */
:root {
  --stfl-primary: #e6596e;
  --stfl-primary-dark: #d44d61;
  --stfl-primary-light: #fda4af;
  --stfl-secondary: #3b82f6;
  --stfl-success: #10b981;
  --stfl-warning: #f59e0b;
  --stfl-error: #ef4444;
  --stfl-gray-50: #f9fafb;
  --stfl-gray-100: #f3f4f6;
  --stfl-gray-200: #e5e7eb;
  --stfl-gray-300: #d1d5db;
  --stfl-gray-400: #9ca3af;
  --stfl-gray-500: #6b7280;
  --stfl-gray-600: #4b5563;
  --stfl-gray-700: #374151;
  --stfl-gray-800: #1f2937;
  --stfl-gray-900: #111827;
  --stfl-border-radius: 12px;
  --stfl-transition: all 0.2s ease;
}

/* ===== LOADING STATES ===== */
.stfl-loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  padding: 40px 20px;
}

.stfl-loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--stfl-gray-200);
  border-radius: 50%;
  border-top: 3px solid var(--stfl-primary);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.stfl-loading-text {
  margin-top: 20px;
  font-size: 16px;
  color: var(--stfl-gray-600);
}

.stfl-error {
  text-align: center;
  padding: 40px 20px;
  color: var(--stfl-error);
  font-size: 16px;
}

.stfl-error svg {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
}

/* ===== LAYOUT ===== */
.stfl-product-wrapper {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.stfl-product-container {
  width: 100%;
  max-width: 1590px;
  margin: 2rem auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.stfl-product-grid {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 2rem;
  margin-bottom: 3rem;
}

/* ===== BREADCRUMB ===== */
.stfl-breadcrumb {
  margin-bottom: 1.5rem;
}

.stfl-breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stfl-breadcrumb-item {
  display: flex;
  align-items: center;
}

.stfl-breadcrumb-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--stfl-gray-600);
  text-decoration: none;
  font-size: 14px;
  transition: var(--stfl-transition);
}

.stfl-breadcrumb-link:hover {
  color: var(--stfl-primary);
}

.stfl-breadcrumb-home {
  width: 16px;
  height: 16px;
}

.stfl-breadcrumb-separator {
  color: var(--stfl-gray-400);
}

.stfl-breadcrumb-current {
  color: var(--stfl-gray-900);
  font-weight: 500;
}

/* ===== GALLERY ===== */
.stfl-gallery-wrapper {
  position: relative;
}

.stfl-gallery-desktop {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stfl-gallery-main {
  order: 1;
  width: 100%;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--stfl-gray-50);
  border-radius: var(--stfl-border-radius);
  overflow: hidden;
  position: relative;
}

.stfl-gallery-thumbs {
  order: 2;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  overflow-x: auto;
  padding: 0.5rem 0;
}

.stfl-gallery-thumbs:has(.stfl-thumb:only-child) {
  display: none;
}

.stfl-thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 6px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: var(--stfl-transition);
  position: relative;
}

.stfl-thumb:hover {
  border-color: var(--stfl-gray-300);
}

.stfl-thumb.active {
  border-color: var(--stfl-primary);
}

.stfl-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stfl-main-swiper,
.stfl-mobile-swiper {
  width: 100%;
  height: 100%;
}

.stfl-main-swiper img,
.stfl-mobile-swiper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: zoom-in;
}

/* Mobile Gallery */
.stfl-gallery-mobile {
  position: relative;
}

.stfl-mobile-swiper .swiper-pagination {
  bottom: 10px !important;
}

.stfl-mobile-swiper .swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
}

.stfl-mobile-swiper .swiper-pagination-bullet-active {
  opacity: 1;
}

.stfl-mobile-swiper .swiper-button-prev,
.stfl-mobile-swiper .swiper-button-next {
  color: white;
  background: rgba(0, 0, 0, 0.3);
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.stfl-mobile-swiper .swiper-button-prev:after,
.stfl-mobile-swiper .swiper-button-next:after {
  font-size: 16px;
}

/* Badges */
.stfl-community-badge,
.stfl-discount-badge {
  position: absolute;
  z-index: 10;
}

.stfl-community-badge {
  bottom: 15px;
  left: 15px;
  background: white;
  border-radius: 8px;
  padding: 8px 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: var(--stfl-transition);
}

.stfl-community-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stfl-community-badge-inner {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stfl-community-badge-icon {
  font-size: 20px;
}

.stfl-community-badge-text {
  font-size: 12px;
  font-weight: 600;
  color: var(--stfl-gray-700);
}

.stfl-discount-badge {
  top: 15px;
  right: 15px;
  background: var(--stfl-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 4px 12px rgba(230, 89, 110, 0.3);
}

/* ===== PRODUCT INFO ===== */
.stfl-info-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stfl-brand-section {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stfl-brand-link {
  color: var(--stfl-secondary);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--stfl-transition);
}

.stfl-brand-link:hover {
  color: var(--stfl-secondary);
  text-decoration: underline;
}

.stfl-product-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  margin: 0;
  line-height: 1.3;
}

/* Product Highlights */
.stfl-product-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stfl-highlight-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 6px 12px;
  background: var(--stfl-gray-100);
  border-radius: 20px;
  font-size: 14px;
  color: var(--stfl-gray-700);
}

.stfl-highlight-badge.stfl-badge-condition {
  background: #dcfce7;
  color: #166534;
}

.stfl-highlight-icon {
  font-size: 16px;
}

/* Social Proof */
.stfl-social-proof {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--stfl-gray-50);
  border-radius: var(--stfl-border-radius);
  border: 1px solid var(--stfl-gray-200);
}

.stfl-social-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 14px;
  color: var(--stfl-gray-600);
}

.stfl-social-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--stfl-gray-500);
}

.stfl-social-item strong {
  color: var(--stfl-gray-900);
  font-weight: 600;
}

/* Pricing */
.stfl-pricing-section {
  padding: 1.5rem;
  background: #fffaf0;
  border-radius: var(--stfl-border-radius);
  border: 1px solid #fde68a;
}

.stfl-price-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stfl-price-original {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--stfl-gray-500);
  text-decoration: line-through;
}

.stfl-price-label {
  font-size: 14px;
  color: var(--stfl-gray-600);
}

.stfl-price-label sup {
  font-size: 12px;
}

.stfl-price-stuffle {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  color: var(--stfl-gray-700);
}

.stfl-price-final {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.stfl-price-final.stfl-no-discount {
  margin-top: 0.5rem;
}

.stfl-price-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--stfl-gray-900);
}

.stfl-price-vat {
  font-size: 14px;
  color: var(--stfl-gray-600);
}

.stfl-price-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.stfl-badge-new {
  background: var(--stfl-primary);
  color: white;
}

.stfl-badge-voucher {
  background: var(--stfl-success);
  color: white;
}

.stfl-savings {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid #fde68a;
  font-size: 16px;
  color: var(--stfl-success);
  font-weight: 600;
}

.stfl-savings svg {
  width: 20px;
  height: 20px;
}

.stfl-savings-percent {
  color: var(--stfl-gray-600);
  font-weight: 400;
}

/* Voucher Box */
.stfl-voucher-box {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: white;
  border-radius: var(--stfl-border-radius);
  border: 2px solid var(--stfl-primary-light);
}

.stfl-voucher-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.stfl-voucher-content {
  flex: 1;
}

.stfl-voucher-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  margin-bottom: 0.25rem;
}

.stfl-voucher-desc {
  font-size: 14px;
  color: var(--stfl-gray-600);
  line-height: 1.5;
}

.stfl-voucher-code-display {
  margin-top: 0.75rem;
  padding: 8px 16px;
  background: var(--stfl-gray-100);
  border-radius: 8px;
  font-family: monospace;
  font-size: 18px;
  font-weight: 700;
  color: var(--stfl-primary);
  text-align: center;
  letter-spacing: 1px;
}

.stfl-discount-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: #dbeafe;
  border-radius: 8px;
  font-size: 14px;
  color: #1e40af;
}

.stfl-discount-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Action Buttons */
.stfl-action-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stfl-cart-button,
.stfl-wishlist-button {
  width: 100%;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: var(--stfl-transition);
  border: 2px solid transparent;
}

.stfl-cart-button {
  background: var(--stfl-primary);
  color: white;
  border-color: var(--stfl-primary);
}

.stfl-cart-button:hover:not(:disabled) {
  background: var(--stfl-primary-dark);
  border-color: var(--stfl-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 89, 110, 0.3);
}

.stfl-wishlist-button {
  background: white;
  color: var(--stfl-primary);
  border-color: var(--stfl-primary);
}

.stfl-wishlist-button:hover:not(:disabled) {
  background: #fef2f2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 89, 110, 0.2);
}

.stfl-button-icon svg {
  width: 20px;
  height: 20px;
}

/* Button States */
.stfl-button-disabled {
  opacity: 0.5;
  cursor: not-allowed !important;
  background-color: var(--stfl-gray-200) !important;
  color: var(--stfl-gray-400) !important;
  border-color: var(--stfl-gray-200) !important;
}

.stfl-button-disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

.stfl-button-loading {
  position: relative;
  color: transparent !important;
}

.stfl-button-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin-left: -10px;
  margin-top: -10px;
  border: 2px solid #f3f3f3;
  border-radius: 50%;
  border-top: 2px solid var(--stfl-secondary);
  animation: spin 1s linear infinite;
}

.stfl-button-success {
  background: var(--stfl-success) !important;
  border-color: var(--stfl-success) !important;
  color: white !important;
}

.stfl-button-error {
  background: #fee !important;
  border-color: var(--stfl-error) !important;
  color: var(--stfl-error) !important;
}

.stfl-in-cart {
  background: #dcfce7 !important;
  border-color: var(--stfl-success) !important;
  color: var(--stfl-success) !important;
}

.stfl-in-cart:hover {
  background: #f0fdf4 !important;
}

.stfl-on-wishlist {
  background: #e0f2fe !important;
  border-color: var(--stfl-secondary) !important;
  color: var(--stfl-secondary) !important;
}

.stfl-on-wishlist:hover {
  background: #f0f9ff !important;
}

.stfl-on-wishlist .stfl-button-icon svg {
  fill: var(--stfl-secondary);
  stroke: none;
}

/* Trust Banner */
.stfl-trust-banner {
  padding: 1.5rem;
  background: var(--stfl-gray-50);
  border-radius: var(--stfl-border-radius);
  border: 1px solid var(--stfl-gray-200);
}

.stfl-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stfl-trust-item {
  display: flex;
  gap: 0.75rem;
}

.stfl-trust-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 8px;
  color: var(--stfl-primary);
}

.stfl-trust-icon svg {
  width: 20px;
  height: 20px;
}

.stfl-trust-content {
  flex: 1;
}

.stfl-trust-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--stfl-gray-900);
  margin-bottom: 2px;
}

.stfl-trust-desc {
  font-size: 12px;
  color: var(--stfl-gray-600);
}

.stfl-trust-rating {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--stfl-gray-200);
}

.stfl-stars {
  font-size: 20px;
  color: #fbbf24;
  margin-bottom: 0.25rem;
}

.stfl-trust-rating span {
  font-size: 14px;
  color: var(--stfl-gray-600);
}

/* Family/Story Badge */
.stfl-family-badge,
.stfl-story-badge {
  background: white;
  border-radius: 16px;
  padding: 20px;
  cursor: pointer;
  transition: var(--stfl-transition);
  border: 1px solid var(--stfl-gray-200);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.stfl-story-badge {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-color: #bbf7d0;
}

.stfl-family-badge:hover,
.stfl-story-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.stfl-story-badge:hover {
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
  border-color: #86efac;
}

.stfl-family-badge-inner,
.stfl-story-badge-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.stfl-family-badge-icon,
.stfl-story-badge-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.stfl-family-badge-content,
.stfl-story-badge-content {
  flex: 1;
}

.stfl-family-badge-title,
.stfl-story-badge-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  margin-bottom: 4px;
}

.stfl-story-badge-title {
  color: #047857;
}

.stfl-family-badge-subtitle,
.stfl-story-badge-subtitle {
  font-size: 14px;
  color: var(--stfl-gray-600);
}

.stfl-story-badge-subtitle {
  color: #059669;
}

.stfl-family-badge-arrow,
.stfl-story-badge-arrow {
  color: var(--stfl-gray-400);
  flex-shrink: 0;
}

.stfl-story-badge-arrow {
  color: var(--stfl-success);
}

/* Lucky Wheel */
.stfl-lucky-wheel-container {
  margin-top: 1rem;
}

.stfl-lucky-wheel-teaser {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
  border-radius: var(--stfl-border-radius);
  border: 1px solid #fbbf24;
}

.stfl-lucky-wheel-icon {
  font-size: 48px;
  flex-shrink: 0;
}

.stfl-lucky-wheel-content {
  flex: 1;
}

.stfl-lucky-wheel-title {
  font-size: 20px;
  font-weight: 700;
  color: #92400e;
  margin: 0 0 0.25rem 0;
}

.stfl-lucky-wheel-desc {
  font-size: 14px;
  color: #78350f;
  margin: 0;
}

.stfl-lucky-wheel-btn {
  padding: 10px 20px;
  background: white;
  border: 2px solid #f59e0b;
  border-radius: 50px;
  color: #92400e;
  font-weight: 600;
  cursor: pointer;
  transition: var(--stfl-transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stfl-lucky-wheel-btn:hover {
  background: #f59e0b;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ===== SPECS SECTION ===== */
.stfl-specs-section {
  padding: 2rem 0;
}

.stfl-section-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  margin: 0 0 1.5rem 0;
}

.stfl-important-notice {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: #fef3c7;
  border-radius: var(--stfl-border-radius);
  margin-bottom: 1.5rem;
  border: 1px solid #fbbf24;
}

.stfl-important-notice svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #92400e;
}

.stfl-notice-content {
  flex: 1;
  font-size: 14px;
  color: #78350f;
  line-height: 1.5;
}

.stfl-specs-container {
  background: white;
  border-radius: var(--stfl-border-radius);
  border: 1px solid var(--stfl-gray-200);
  overflow: hidden;
}

.stfl-specs-table {
  width: 100%;
  border-collapse: collapse;
}

.stfl-specs-table th,
.stfl-specs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--stfl-gray-200);
}

.stfl-specs-table tbody:last-child tr:last-child th,
.stfl-specs-table tbody:last-child tr:last-child td {
  border-bottom: none;
}

.stfl-specs-table th {
  background: var(--stfl-gray-50);
  font-weight: 600;
  color: var(--stfl-gray-700);
  width: 35%;
}

.stfl-specs-table td {
  color: var(--stfl-gray-900);
}

.stfl-specs-toggle {
  width: 100%;
  padding: 12px;
  background: var(--stfl-gray-50);
  border: none;
  color: var(--stfl-secondary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--stfl-transition);
}

.stfl-specs-toggle:hover {
  background: var(--stfl-gray-100);
}

/* Spec Value Styles */
.stfl-spec-link {
  text-decoration: none;
  color: inherit;
  transition: var(--stfl-transition);
}

.stfl-spec-link:hover {
  color: var(--stfl-secondary);
  text-decoration: underline;
}

.stfl-spec-link svg {
  opacity: 0.6 !important;
  transition: var(--stfl-transition);
}

.stfl-spec-link:hover svg {
  opacity: 1 !important;
  transform: translateX(2px);
}

.stfl-condition-value {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.stfl-color-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid var(--stfl-gray-300);
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* Divider & Footer */
.stfl-smart-divider {
  margin: 2rem 0;
}

.stfl-divider-line-full {
  height: 1px;
  background: var(--stfl-gray-200);
}

.stfl-uvp-explanation {
  font-size: 12px;
  color: var(--stfl-gray-600);
  margin-bottom: 2rem;
}

.stfl-uvp-asterisk {
  color: var(--stfl-primary);
  font-weight: 700;
}

/* ===== MODALS ===== */

/* Base Modal Styles */
.stfl-community-modal,
.stfl-family-modal,
.stfl-lucky-wheel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.stfl-community-backdrop,
.stfl-family-backdrop,
.stfl-lucky-wheel-backdrop,
.stfl-artikel-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.stfl-community-content,
.stfl-family-content,
.stfl-lucky-wheel-content,
.stfl-artikel-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
}

.stfl-artikel-content {
  max-width: 650px;
}

.stfl-community-close,
.stfl-family-close,
.stfl-lucky-wheel-close,
.stfl-artikel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--stfl-transition);
  z-index: 10;
}

.stfl-community-close:hover,
.stfl-family-close:hover,
.stfl-lucky-wheel-close:hover,
.stfl-artikel-close:hover {
  background: var(--stfl-gray-100);
  color: var(--stfl-gray-900);
}

/* Community Modal */
.stfl-community-header {
  text-align: center;
  padding: 40px 40px 20px;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
  border-radius: 20px 20px 0 0;
}

.stfl-community-header-icon {
  font-size: 60px;
  margin-bottom: 15px;
}

.stfl-community-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  margin: 0;
}

.stfl-community-info {
  padding: 0 20px;
  margin-bottom: 25px;
}

.stfl-community-main {
  font-size: 16px;
  line-height: 1.6;
  color: var(--stfl-gray-700);
  margin-bottom: 20px;
  text-align: center;
}

.stfl-link {
  color: var(--stfl-secondary);
  font-weight: 600;
  text-decoration: none;
}

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

.stfl-community-quick-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding: 20px;
  background: var(--stfl-gray-50);
  border-radius: 12px;
}

.stfl-quick-fact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stfl-fact-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.stfl-fact-text {
  font-size: 14px;
  color: var(--stfl-gray-600);
  font-weight: 500;
}

.stfl-community-more {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 12px;
  padding: 20px;
  margin: 0 20px 25px;
  text-align: center;
}

.stfl-more-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.stfl-community-more p {
  font-size: 14px;
  color: #059669;
  margin-bottom: 15px;
  line-height: 1.5;
}

.stfl-story-button {
  background: white;
  color: #059669;
  border: 2px solid var(--stfl-success);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: var(--stfl-transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stfl-story-button:hover {
  background: var(--stfl-success);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.stfl-story-button svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}

.stfl-story-button:hover svg {
  transform: translateX(3px);
}

.stfl-community-cta {
  background: var(--stfl-secondary);
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--stfl-transition);
  margin: 0 auto 30px;
  display: block;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.stfl-community-cta:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

/* Family Modal */
.stfl-family-header {
  text-align: center;
  margin-bottom: 30px;
  padding: 40px 40px 0;
}

.stfl-family-header-icon {
  font-size: 60px;
  margin-bottom: 15px;
}

.stfl-family-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  margin: 0;
  line-height: 1.3;
}

.stfl-family-story {
  text-align: center;
  padding: 0 40px;
}

.stfl-highlight-box {
  background: var(--stfl-gray-50);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  transition: transform 0.2s;
}

.stfl-highlight-box:hover {
  transform: translateY(-2px);
}

.stfl-highlight-number {
  font-size: 32px;
  font-weight: 700;
  color: #5cb85c;
  margin-bottom: 8px;
}

.stfl-highlight-box p {
  margin: 0;
  color: var(--stfl-gray-600);
  font-size: 16px;
}

.stfl-highlight-main {
  background: linear-gradient(135deg, #5cb85c 0%, #4cae4c 100%);
  color: white;
  padding: 30px;
}

.stfl-highlight-main h3 {
  font-size: 20px;
  margin: 0 0 20px 0;
  color: white;
}

.stfl-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  text-align: left;
}

.stfl-benefit {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.stfl-tagline {
  font-size: 18px;
  color: var(--stfl-gray-800);
  margin: 25px 0;
}

.stfl-family-cta {
  background: #5cb85c;
  color: white;
  border: none;
  padding: 16px 40px;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--stfl-transition);
  margin: 20px auto 40px;
  display: block;
  box-shadow: 0 4px 15px rgba(92, 184, 92, 0.3);
  width: 80%;
  max-width: 300px;
}

.stfl-family-cta:hover {
  background: #4cae4c;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 184, 92, 0.4);
}

/* Image Modal */
.stfl-image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10001;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}

.stfl-image-modal.active {
  display: flex;
}

.stfl-image-modal.show {
  animation: fadeIn 0.3s ease-out;
}

.stfl-image-modal img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.stfl-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--stfl-transition);
}

.stfl-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Lucky Wheel Modal (zusätzliche Styles) */
.stfl-lucky-wheel-game {
  padding: 40px;
  text-align: center;
}

.stfl-wheel-container {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

#stfl-wheel-canvas {
  max-width: 100%;
  height: auto;
  transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}

.stfl-wheel-pointer {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 40px;
  color: var(--stfl-primary);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stfl-spin-button {
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--stfl-primary) 0%, var(--stfl-primary-dark) 100%);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--stfl-transition);
  box-shadow: 0 4px 15px rgba(230, 89, 110, 0.3);
}

.stfl-spin-button:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 89, 110, 0.4);
}

.stfl-spin-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.stfl-spin-button.spinning {
  animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.stfl-wheel-result {
  padding: 30px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 20px;
  margin: 20px;
}

.stfl-result-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--stfl-success);
  margin: 0 0 16px 0;
}

.stfl-result-text {
  font-size: 18px;
  color: var(--stfl-gray-700);
  margin: 0 0 16px 0;
}

.stfl-result-code {
  font-size: 16px;
  color: var(--stfl-gray-600);
  margin: 0 0 20px 0;
}

.stfl-result-code strong {
  display: block;
  font-size: 24px;
  color: var(--stfl-primary);
  margin-top: 8px;
  letter-spacing: 2px;
}

.stfl-result-copy {
  padding: 12px 32px;
  background: var(--stfl-success);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--stfl-transition);
}

.stfl-result-copy:hover {
  background: #059669;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ===== CAROUSEL STYLES ===== */
.stuffle-carousel-section {
  margin: 40px 0;
}

.stuffle-carousel-wrapper {
  position: relative;
}

.stuffle-carousel-track-container {
  overflow: hidden;
  margin: 0 -10px;
  padding: 0 10px;
}

.stuffle-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.3s ease;
}

.stuffle-carousel-card,
.stuffle-product-card,
.stuffle-collection-card {
  flex: 0 0 calc(25% - 15px);
  min-width: 200px;
  background: white;
  border-radius: var(--stfl-border-radius);
  border: 1px solid var(--stfl-gray-200);
  overflow: hidden;
  transition: var(--stfl-transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 320px;
}

.stuffle-carousel-card:hover,
.stuffle-product-card:hover,
.stuffle-collection-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--stfl-gray-300);
}

/* Image Container */
.stuffle-carousel-card .image-container,
.stuffle-product-card .image-container,
.stuffle-collection-image-container {
  flex: 1;
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--stfl-gray-50);
  padding: 10px;
  position: relative;
}

.stuffle-carousel-card img,
.stuffle-product-card img,
.stuffle-collection-image-container img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
}

/* Quickview Button */
.quickview-button {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  background: white;
  border: 1px solid var(--stfl-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: var(--stfl-transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stuffle-carousel-card:hover .quickview-button,
.stuffle-product-card:hover .quickview-button {
  opacity: 1;
  transform: scale(1);
}

.quickview-button:hover {
  background: var(--stfl-primary);
  border-color: var(--stfl-primary);
  color: white;
  transform: scale(1.1);
}

.quickview-button svg {
  width: 18px;
  height: 18px;
}

/* Card Body */
.stuffle-carousel-card .card-body,
.stuffle-product-card .card-body,
.stuffle-collection-card .collection-info {
  flex-shrink: 0;
  padding: 1rem;
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Discount Badge */
.stuffle-discount-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--stfl-primary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(230, 89, 110, 0.3);
  min-width: auto !important;
  width: auto !important;
  max-width: 80px !important;
  text-align: center;
  white-space: nowrap;
}
/* Spezifisch für Carousel Cards */
.stuffle-carousel-card .stuffle-discount-badge,
.stuffle-product-card .stuffle-discount-badge {
  max-width: 60px !important;
  font-size: 12px !important;
  padding: 2px 8px !important;
}


.catalog-item {
  overflow: visible !important;
}

.stfl-product-wrapper {
  overflow: visible !important;
}

.stfl-info-section {
  overflow: visible !important;
}


.stfl-gallery-desktop {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stfl-gallery-main {
  order: 1;
}

.stfl-gallery-thumbs {
  order: 2;
}


/* Carousel Navigation */
.stuffle-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid var(--stfl-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--stfl-transition);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.stuffle-carousel-prev {
  left: -20px;
}

.stuffle-carousel-next {
  right: -20px;
}

.stuffle-carousel-nav:hover:not(:disabled) {
  background: var(--stfl-primary);
  border-color: var(--stfl-primary);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.stuffle-carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.stuffle-carousel-nav svg {
  width: 20px;
  height: 20px;
}

/* Mobile Swipe Indicator */
.stuffle-swipe-indicator {
display: none !important;
}


/* Entferne oder überschreibe den alten Swipe Indicator */
.stuffle-swipe-indicator {
  display: none !important;
}

/* Neuer schmaler Swipe Button */
.stuffle-carousel-wrapper::after {
  content: "→ Mehr";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  pointer-events: none;
  z-index: 100;
  animation: swipeHint 2s ease-in-out infinite;
  display: none;
}

/* Zeige nur auf Mobile wenn scrollbar */
@media (max-width: 768px) {
  .stuffle-carousel-wrapper {
    position: relative;
  }
  
  .stuffle-carousel-wrapper:has(.stuffle-carousel-track-container:not(:hover))::after {
    display: block;
  }
  
  /* Verstecke wenn gescrollt wird */
  .stuffle-carousel-track-container::-webkit-scrollbar {
    display: none;
  }
  
  .stuffle-carousel-track-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Animation */
@keyframes swipeHint {
  0%, 100% { 
    transform: translateY(-50%) translateX(0);
    opacity: 0.7;
  }
  50% { 
    transform: translateY(-50%) translateX(-5px);
    opacity: 1;
  }
}

@keyframes swipeHint {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-10px); }
}

/* ===== EDITOR FEATURES ===== */
.stfl-editor-voice-panel {
  margin: 2rem 0;
  animation: fadeIn 0.5s ease-out;
}

.stfl-editor-voice-container {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid var(--stfl-secondary);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.1);
}

.stfl-editor-voice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stfl-editor-voice-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.stfl-editor-voice-title {
  font-size: 20px;
  font-weight: 600;
  color: #0c4a6e;
  margin: 0;
  flex: 1;
}

.stfl-editor-voice-badge {
  background: var(--stfl-secondary);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.stfl-editor-voice-input-area {
  background: white;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.stfl-voice-textarea {
  width: 100%;
  border: 1px solid var(--stfl-gray-200);
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
  transition: border-color 0.2s;
}

.stfl-voice-textarea:focus {
  outline: none;
  border-color: var(--stfl-secondary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
}

.stfl-voice-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.stfl-voice-counter {
  font-size: 13px;
  color: var(--stfl-gray-500);
}

.stfl-voice-submit {
  background: var(--stfl-secondary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--stfl-transition);
}

.stfl-voice-submit:hover:not(:disabled) {
  background: #0369a1;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.stfl-voice-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.stfl-voice-submit.success {
  background: var(--stfl-success);
}

.stfl-voice-submit-icon {
  font-size: 18px;
}

/* Voice History */
.stfl-voice-history {
  min-height: 60px;
  position: relative;
}

.stfl-voice-history-title {
  font-size: 16px;
  font-weight: 600;
  color: #0c4a6e;
  margin: 0 0 16px 0;
}

.stfl-voice-empty {
  text-align: center;
  color: var(--stfl-gray-500);
  font-style: italic;
  padding: 20px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
}

.stfl-voice-list {
  display: grid;
  gap: 12px;
}

.stfl-voice-item {
  background: white;
  border-radius: 8px;
  padding: 16px;
  border: 1px solid var(--stfl-gray-200);
  transition: var(--stfl-transition);
}

.stfl-voice-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-color: var(--stfl-gray-300);
}

.stfl-voice-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--stfl-gray-500);
}

.stfl-voice-author {
  font-weight: 500;
}

.stfl-voice-date {
  font-size: 12px;
}

.stfl-voice-status {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 500;
}

.stfl-voice-status.done {
  background: #dcfce7;
  color: #166534;
}

.stfl-voice-status.processing {
  background: #fef3c7;
  color: #92400e;
}

.stfl-voice-status.created {
  background: #e0e7ff;
  color: #3730a3;
}

.stfl-voice-text {
  color: var(--stfl-gray-700);
  line-height: 1.5;
  white-space: pre-wrap;
}

.stfl-voice-audio {
  width: 100%;
  margin-top: 12px;
  height: 36px;
}

/* Image Controls */
.stfl-image-controls {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 10;
}

.swiper-slide:hover .stfl-image-controls {
  opacity: 1;
}

.stfl-img-control {
  width: 32px;
  height: 32px;
  border: 1px solid var(--stfl-gray-200);
  background: white;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--stfl-transition);
  color: var(--stfl-gray-700);
}

.stfl-img-control:hover {
  background: var(--stfl-gray-50);
  border-color: var(--stfl-gray-300);
  color: var(--stfl-gray-900);
}

.stfl-img-control:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.stfl-img-control.loading {
  animation: pulse 1s infinite;
}

.stfl-img-rotate:hover {
  background: #dbeafe;
  border-color: var(--stfl-secondary);
  color: #1d4ed8;
}

.stfl-img-picture-tool {
  text-decoration: none !important;
}

.stfl-img-picture-tool:hover {
  background: #e0e7ff;
  border-color: #6366f1;
  color: #4338ca;
}

.stfl-img-delete:hover {
  background: #fee2e2;
  border-color: var(--stfl-error);
  color: #dc2626;
}

/* Thumbnail Controls */
.stfl-thumb-controls {
  position: absolute;
  top: 2px;
  right: 2px;
  opacity: 0;
  transition: opacity 0.2s;
}

.stfl-thumb:hover .stfl-thumb-controls {
  opacity: 1;
}

.stfl-thumb-control {
  width: 20px;
  height: 20px;
  border: none;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border-radius: 50%;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--stfl-transition);
}

.stfl-thumb-control:hover {
  background: #dc2626;
  transform: scale(1.1);
}

/* Notifications */
.stfl-notification {
position: fixed;
top: 20px;
right: 20px;
background: white;
padding: 16px 24px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
font-size: 14px;
font-weight: 500;
z-index: 10001;
transform: translateX(400px);
transition: transform 0.3s ease-out;
max-width: 350px;
}

.stfl-notification.show {
transform: translateX(0);
}

.stfl-notification-success {
border-left: 4px solid var(--stfl-success);
background: #f0fdf4;
color: #166534;
}

.stfl-notification-error {
border-left: 4px solid var(--stfl-error);
background: #fef2f2;
color: #991b1b;
}

.stfl-notification-info {
border-left: 4px solid var(--stfl-secondary);
background: #eff6ff;
color: #1e40af;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
.stfl-product-container {
  padding: 0 20px;
}
  
.stfl-product-grid {
  grid-template-columns: 50% 50%;
  gap: 1.5rem;
}
  
.stfl-trust-grid {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
  
.stuffle-carousel-card,
.stuffle-product-card,
.stuffle-collection-card {
  flex: 0 0 calc(33.333% - 14px);
}
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
/* Base Container */
.catalog-item {
  padding: 10px 0 0 0 !important;
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}
  
.stfl-product-wrapper {
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
  
.stfl-product-container {
  padding: 0 10px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}
  
/* Grid Layout */
.stfl-product-grid {
  grid-template-columns: 1fr;
  gap: 1rem;
}
  
/* Gallery */
.stfl-gallery-section {
  margin: 0 -10px !important;
  width: calc(100% + 20px) !important;
  max-width: 100vw !important;
  padding: 0 !important;
  overflow: hidden !important;
}
  
.stfl-gallery-mobile {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 10px !important;
  box-sizing: border-box !important;
}
  
.stfl-mobile-swiper {
  height: 350px;
}
  
/* Info Section */
.stfl-info-section {
  padding: 0 !important;
  margin-top: 1rem !important;
  width: 100% !important;
  max-width: 100% !important;
}
  
/* Breadcrumb */
.stfl-breadcrumb {
  font-size: 12px;
  margin-bottom: 1rem;
}
  
/* Product Title */
.stfl-product-title {
  font-size: 22px;
}
  
/* Pricing */
.stfl-pricing-section {
  padding: 1rem;
}
  
.stfl-price-value {
  font-size: 28px;
}
  
.stfl-price-label,
.stfl-price-vat {
  font-size: 12px;
}
  
/* Action Buttons */
.stfl-cart-button,
.stfl-wishlist-button {
  padding: 12px 20px;
  font-size: 15px;
}
  
/* Trust Banner */
.stfl-trust-grid {
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
  
.stfl-trust-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--stfl-gray-200);
}
  
.stfl-trust-item:last-child {
  border-bottom: none;
}
  
/* Specs Section */
.stfl-specs-section {
  margin: 1.5rem -10px 0 -10px !important;
  width: calc(100% + 20px) !important;
  max-width: 100vw !important;
  padding: 0 10px !important;
  overflow-x: hidden !important;
}
  
.stfl-section-title {
  font-size: 20px;
}
  
.stfl-specs-table th,
.stfl-specs-table td {
  padding: 10px 12px;
  font-size: 14px;
}
  
.stfl-specs-table th {
  width: 40%;
}
  
/* Product Description Content */
.stfl-product-description-content {
  margin: 1rem -10px 0 -10px !important;
  width: calc(100% + 20px) !important;
  max-width: 100vw !important;
  padding: 0 !important;
  background: none !important;
  border: none !important;
  overflow-x: hidden !important;
}
  
/* Carousel Mobile */
.stuffle-carousel-track-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
}
  
.stuffle-carousel-track {
  gap: 12px;
}
  
.stuffle-carousel-card,
.stuffle-product-card,
.stuffle-collection-card {
  flex: 0 0 calc(50% - 6px);
  min-width: 150px;
  scroll-snap-align: start;
  min-height: 280px;
}
  
.stuffle-carousel-card .image-container,
.stuffle-product-card .image-container,
.stuffle-collection-image-container {
  height: 180px;
}
  
.stuffle-carousel-card .card-body,
.stuffle-product-card .card-body,
.stuffle-collection-card .collection-info {
  min-height: 70px;
  padding: 0.75rem;
}
  
.stuffle-carousel-nav {
  display: none;
}
  
.stuffle-swipe-indicator {
  display: flex;
}
  
/* Modals Mobile */
.stfl-community-content,
.stfl-family-content,
.stfl-lucky-wheel-content,
.stfl-artikel-content {
  width: calc(100% - 20px);
  max-width: 500px;
  margin: 10px;
  max-height: calc(100vh - 20px);
}
  
.stfl-community-header,
.stfl-family-header,
.stfl-artikel-header {
  padding: 30px 20px 20px;
}
  
.stfl-community-header h2,
.stfl-family-header h2,
.stfl-artikel-header h2 {
  font-size: 22px;
}
  
.stfl-community-header-icon,
.stfl-family-header-icon,
.stfl-artikel-header-icon {
  font-size: 50px;
}
  
.stfl-community-close,
.stfl-family-close,
.stfl-artikel-close {
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  font-size: 20px;
}
  
.stfl-community-quick-facts {
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 15px;
}
  
.stfl-family-content {
  padding: 25px 20px;
}
  
.stfl-family-story {
  padding: 0 20px;
}
  
.stfl-highlight-box {
  padding: 15px;
  margin-bottom: 15px;
}
  
.stfl-highlight-number {
  font-size: 24px;
}
  
.stfl-highlight-box p {
  font-size: 14px;
}
  
.stfl-highlight-main {
  padding: 20px 15px;
}
  
.stfl-highlight-main h3 {
  font-size: 18px;
  margin-bottom: 15px;
}
  
.stfl-benefits {
  grid-template-columns: 1fr;
  gap: 10px;
}
  
.stfl-benefit {
  font-size: 14px;
}
  
.stfl-tagline {
  font-size: 16px;
  margin: 20px 0 15px 0;
}
  
.stfl-family-cta,
.stfl-community-cta {
  padding: 14px 30px;
  font-size: 16px;
}
  
/* Lucky Wheel Mobile */
.stfl-lucky-wheel-teaser {
  flex-direction: column;
  text-align: center;
  gap: 1rem;
  padding: 1.25rem;
}
  
.stfl-lucky-wheel-icon {
  font-size: 40px;
}
  
.stfl-lucky-wheel-title {
  font-size: 18px;
}
  
.stfl-lucky-wheel-btn {
  width: 100%;
  justify-content: center;
}
  
/* Editor Voice Mobile */
.stfl-editor-voice-container {
  padding: 16px;
}
  
.stfl-editor-voice-header {
  gap: 8px;
}
  
.stfl-editor-voice-icon {
  font-size: 24px;
}
  
.stfl-editor-voice-title {
  font-size: 16px;
}
  
.stfl-voice-textarea {
  font-size: 14px;
  padding: 10px;
}
  
.stfl-voice-submit {
  padding: 8px 16px;
  font-size: 14px;
}
  
.stfl-voice-meta {
  font-size: 12px;
}
  
.stfl-voice-text {
  font-size: 14px;
}
  
/* Image Controls Mobile */
.stfl-image-controls {
  bottom: 5px;
  right: 5px;
  padding: 6px;
  gap: 6px;
}
  
.stfl-img-control {
  width: 28px;
  height: 28px;
}
  
.stfl-img-control svg {
  width: 14px;
  height: 14px;
}
  
/* Notifications Mobile */
.stfl-notification {
  top: auto;
  bottom: 20px;
  right: 10px;
  left: 10px;
  max-width: none;
}
}

/* Very Small Screens */
@media (max-width: 380px) {
.stfl-product-title {
  font-size: 20px;
}
  
.stfl-price-value {
  font-size: 24px;
}
  
.stfl-cart-button,
.stfl-wishlist-button {
  padding: 10px 16px;
  font-size: 14px;
}
  
.stuffle-carousel-card,
.stuffle-product-card,
.stuffle-collection-card {
  flex: 0 0 calc(70% - 6px);
}
  
.stfl-family-content {
  padding: 20px 15px;
}
  
.stfl-highlight-main {
  padding: 18px 12px;
}
}

/* ===== UTILITY CLASSES ===== */
.hidden {
display: none !important;
}

.block {
display: block !important;
}

@media (min-width: 640px) {
.sm\:block {
  display: block !important;
}
  
.sm\:hidden {
  display: none !important;
}
}

.text-center {
text-align: center;
}

.stuffle-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 30px;
color: var(--stfl-primary);
text-align: center;
}

.stuffle-tab-labels.is-sticky {
position: sticky;
top: 0;
z-index: 100;
background-color: white;
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stuffle-error {
text-align: center;
padding: 20px;
color: var(--stfl-primary);
}

/* ===== PRINT STYLES ===== */
@media print {
.stfl-gallery-thumbs,
.stfl-action-buttons,
.stfl-trust-banner,
.stfl-family-badge,
.stfl-story-badge,
.stfl-lucky-wheel-container,
.stfl-editor-voice-panel,
.stfl-image-controls,
.stuffle-carousel-nav,
.swiper-button-prev,
.swiper-button-next,
.swiper-pagination {
  display: none !important;
}
  
.stfl-product-grid {
  grid-template-columns: 1fr;
}
  
.stfl-gallery-main img {
  max-height: 400px;
}
}

/* ===== ARTIKEL GESCHICHTE MODAL ===== */
.stfl-artikel-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease-out;
}

.stfl-artikel-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.stfl-artikel-content {
  position: relative;
  background: white;
  border-radius: 20px;
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: slideUp 0.4s ease-out;
}

.stfl-artikel-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--stfl-transition);
  z-index: 10;
}

.stfl-artikel-close:hover {
  background: var(--stfl-gray-100);
  color: var(--stfl-gray-900);
}

/* Header */
.stfl-artikel-header {
  text-align: center;
  padding: 40px 40px 30px;
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border-radius: 20px 20px 0 0;
}

.stfl-artikel-header-icon {
  font-size: 60px;
  margin-bottom: 15px;
}

.stfl-artikel-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  margin: 0;
}

/* Info Box */
.stfl-info-box {
  margin: 25px 30px;
  padding: 20px;
  background: var(--stfl-gray-50);
  border-radius: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--stfl-gray-700);
}

.stfl-info-box .stfl-link {
  color: var(--stfl-secondary);
  font-weight: 600;
  text-decoration: none;
}

.stfl-info-box .stfl-link:hover {
  text-decoration: underline;
}

/* Sections */
.stfl-section {
  margin: 0 30px 30px;
}

.stfl-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  margin: 0 0 20px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Map Container */
.stfl-map-container {
  width: 100%;
  height: 200px;
  background: var(--stfl-gray-100);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#stfl-artikel-map {
  width: 100%;
  height: 100%;
}

.stfl-location-info {
  text-align: center;
}

.stfl-location-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--stfl-gray-900);
  margin-bottom: 5px;
}

.stfl-location-detail {
  font-size: 14px;
  color: var(--stfl-gray-600);
}

/* Timeline */
.stfl-timeline {
  position: relative;
  padding-left: 25px;
}

.stfl-timeline::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--stfl-gray-200);
}

.stfl-timeline-item {
  position: relative;
  margin-bottom: 20px;
  padding-left: 25px;
}

.stfl-timeline-dot {
  position: absolute;
  left: -19px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: white;
  border: 2px solid var(--stfl-success);
  border-radius: 50%;
}

.stfl-timeline-date {
  font-size: 13px;
  color: var(--stfl-gray-500);
  margin-bottom: 5px;
}

.stfl-timeline-content {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--stfl-gray-700);
}

.stfl-timeline-person {
  font-weight: 600;
  color: var(--stfl-gray-900);
}

.stfl-timeline-action {
  color: var(--stfl-gray-600);
}

/* Pricing Section */
.stfl-price-total {
  font-size: 24px;
  font-weight: 700;
  color: var(--stfl-gray-900);
  text-align: center;
  margin-bottom: 25px;
}

.stfl-chart-container {
  width: 100%;
  height: 300px;
  margin-bottom: 25px;
  position: relative;
}

#stfl-price-chart {
  max-width: 100%;
  max-height: 100%;
}

.stfl-price-items {
  background: var(--stfl-gray-50);
  border-radius: 12px;
  padding: 20px;
}

.stfl-price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--stfl-gray-200);
}

.stfl-price-item:last-child {
  border-bottom: none;
}

.stfl-price-item.stfl-highlight {
  background: #f0fdf4;
  margin: -12px -20px;
  padding: 12px 20px;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}

.stfl-price-label {
  font-size: 15px;
  color: var(--stfl-gray-700);
  display: flex;
  align-items: center;
  gap: 8px;
}

.stfl-price-value {
  font-weight: 600;
  color: var(--stfl-gray-900);
  white-space: nowrap;
}

.stfl-asterisk {
  color: var(--stfl-primary);
  font-weight: 700;
}

/* Seller Products */
.stfl-seller-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.stfl-seller-product {
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--stfl-gray-200);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: var(--stfl-transition);
}

.stfl-seller-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stfl-seller-product img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.stfl-seller-product-info {
  padding: 10px;
}

.stfl-seller-product-title {
  font-size: 12px;
  color: var(--stfl-gray-700);
  margin-bottom: 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.stfl-seller-product-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--stfl-gray-900);
}

/* Footnotes */
.stfl-footnotes {
  margin: 30px 30px 0;
  padding: 20px;
  background: var(--stfl-gray-50);
  border-radius: 12px;
  font-size: 12px;
  color: var(--stfl-gray-600);
  line-height: 1.6;
}

.stfl-footnotes p {
  margin: 0 0 10px 0;
}

.stfl-footnotes p:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.stfl-cta-section {
  background: linear-gradient(135deg, #e6596e 0%, #d44d61 100%);
  border-radius: 0 0 20px 20px;
  padding: 30px;
  text-align: center;
  color: white;
}

.stfl-cta-title {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.stfl-cta-subtitle {
  font-size: 16px;
  margin: 0 0 20px 0;
  opacity: 0.9;
}

.stfl-cta-button {
  display: inline-block;
  background: white;
  color: var(--stfl-primary);
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: var(--stfl-transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stfl-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Loading State */
.stfl-loading-container {
  padding: 60px;
  text-align: center;
}

.stfl-error-container {
  padding: 40px;
  text-align: center;
  color: var(--stfl-error);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .stfl-artikel-content {
    width: calc(100% - 20px);
    margin: 10px;
    max-height: calc(100vh - 20px);
  }
  
  .stfl-artikel-header {
    padding: 30px 20px 25px;
  }
  
  .stfl-artikel-header h2 {
    font-size: 22px;
  }
  
  .stfl-artikel-header-icon {
    font-size: 48px;
  }
  
  .stfl-section {
    margin: 0 20px 25px;
  }
  
  .stfl-section-title {
    font-size: 18px;
  }
  
  .stfl-info-box {
    margin: 20px;
    padding: 15px;
    font-size: 14px;
  }
  
  .stfl-price-total {
    font-size: 20px;
  }
  
  .stfl-chart-container {
    height: 250px;
  }
  
  .stfl-seller-products {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
  }
  
  .stfl-cta-section {
    padding: 25px 20px;
  }
  
  .stfl-cta-title {
    font-size: 20px;
  }
  
  .stfl-cta-subtitle {
    font-size: 14px;
  }
  
  .stfl-footnotes {
    margin: 25px 20px 0;
    padding: 15px;
    font-size: 11px;
  }
}


/* ===== ANIMATION KEYFRAMES ===== */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

@keyframes slideUp {
from {
  transform: translateY(20px);
  opacity: 0;
}
to {
  transform: translateY(0);
  opacity: 1;
}
}

@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}

@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.5; }
}

@keyframes swipeHint {
0%, 100% { transform: translateY(-50%) translateX(0); }
50% { transform: translateY(-50%) translateX(-10px); }
}

@keyframes stuffle-pulsing-heart {
0% { transform: scale(0.8); }
20% { transform: scale(1.2); }
40% { transform: scale(0.8); }
60% { transform: scale(1.2); }
80% { transform: scale(0.9); }
100% { transform: scale(0.8); }
}

/* ===== DESKTOP: THUMBNAILS UNTER DEM HAUPTBILD ===== */
@media (min-width: 769px) {
  /* Gallery Layout umkehren */
  .stfl-gallery-desktop {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  /* Hauptbild zuerst */
  .stfl-gallery-main {
    order: 1 !important;
  }
  
  /* Thumbnails darunter */
  .stfl-gallery-thumbs {
    order: 2 !important;
    display: flex !important;
    flex-direction: row !important;
    gap: 0.5rem !important;
    justify-content: center !important;
    overflow-x: auto !important;
    padding: 0.5rem 0 !important;
  }
  
  /* Kleine Thumbnails horizontal */
  .stfl-thumb {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0 !important;
  }
  
  /* Verstecke Thumbs wenn nur 1 Bild */
  .stfl-gallery-thumbs:has(.stfl-thumb:only-child) {
    display: none !important;
  }
}

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

/* Fix 1: Reduziere Abstand zwischen Galerie und Content auf Mobile */
@media (max-width: 768px) {
  /* Reduziere Grid Gap auf Mobile */
  .stfl-product-grid {
    gap: 0.5rem !important; /* Noch weiter reduziert */
    margin-bottom: 1rem !important; /* Weniger margin bottom */
  }
  
  /* Galerie Section anpassen */
  .stfl-gallery-section {
    margin-bottom: 0 !important; /* Entferne extra margin */
    min-height: auto !important; /* Entferne min-height */
  }
  
  /* Gallery Mobile spezifisch */
  .stfl-gallery-mobile {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Info Section direkt nach Galerie */
  .stfl-info-section {
    margin-top: 0 !important; /* War vorher 1rem */
    padding-top: 0 !important;
    gap: 1rem !important; /* Reduziere interne gaps */
  }
  
  /* Mobile Swiper Höhe optimieren */
  .stfl-mobile-swiper {
    height: 300px !important; /* Noch kompakter */
    margin-bottom: 0 !important;
  }
  
  /* Swiper Container selbst */
  .stfl-gallery-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  
  /* Product Container */
  .stfl-product-container {
    margin-top: 1rem !important; /* Weniger top margin */
  }
  
  /* Breadcrumb kompakter */
  .stfl-breadcrumb {
    margin-bottom: 0.5rem !important; /* Weniger Abstand */
  }
  
  /* Brand Section */
  .stfl-brand-section {
    margin-bottom: 0.25rem !important;
  }
  
  /* Product Title */
  .stfl-product-title {
    margin-bottom: 0.75rem !important;
  }
}

/* Fix 2: Specs Section - verhindere Abschneiden auf Mobile */
@media (max-width: 768px) {
  /* Specs Container darf NICHT über Viewport hinausgehen */
  .stfl-specs-section {
    margin: 1.5rem 0 !important; /* Entferne negative margins */
    width: 100% !important; /* Statt calc(100% + 20px) */
    max-width: 100% !important;
    padding: 0 !important;
    overflow-x: visible !important; /* Wichtig! */
  }
  
  /* Specs Container selbst */
  .stfl-specs-container {
    margin: 0 !important;
    overflow-x: auto !important; /* Scrollbar wenn nötig */
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Specs Table responsive */
  .stfl-specs-table {
    width: 100% !important;
    table-layout: fixed !important; /* Feste Spaltenbreiten */
  }
  
  .stfl-specs-table th {
    width: 35% !important; /* Fixe Breite für Label-Spalte */
    word-wrap: break-word !important;
    word-break: break-word !important;
  }
  
  .stfl-specs-table td {
    width: 65% !important; /* Rest für Value-Spalte */
    word-wrap: break-word !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  /* Links in Specs dürfen umbrechen */
  .stfl-spec-link {
    display: inline !important;
    word-break: break-all !important; /* Bei langen Links */
  }
  
  /* Toggle Button */
  .stfl-specs-toggle {
    margin: 0 10px !important;
  }
}

/* Zusätzliche Mobile Optimierungen */
@media (max-width: 768px) {
  /* Product Description Content */
  .stfl-product-description-content {
    margin: 1rem 0 !important; /* Keine negativen margins */
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 10px !important; /* Padding statt negativer margins */
    box-sizing: border-box !important;
  }
  
  /* Wichtiger Hinweis Box */
  .stfl-important-notice {
    margin: 0 0 1rem 0 !important;
    box-sizing: border-box !important;
  }
  
  /* UVP Explanation */
  .stfl-uvp-explanation {
    padding: 0 10px !important;
    box-sizing: border-box !important;
  }
  
  /* Section Title */
  .stfl-section-title {
    padding: 0 10px !important;
  }
}

/* Sehr kleine Screens (unter 380px) - noch mehr Anpassungen */
@media (max-width: 380px) {
  .stfl-specs-table {
    font-size: 13px !important;
  }
  
  .stfl-specs-table th,
  .stfl-specs-table td {
    padding: 8px 10px !important;
  }
  
  /* Noch kompaktere Galerie */
  .stfl-mobile-swiper {
    height: 280px !important;
  }
}

/* Stelle sicher dass Carousel Sections volle Breite nutzen */
.stuffle-carousel-section {
  margin: 40px 0;
  width: 100%;
  max-width: 100%;
}

/* Product Description Content Container - volle Breite */
.stfl-product-description-content {
  width: 100%;
  max-width: 100%;
  margin: 2rem 0;
}

/* Inner Container der Carousels */
.stfl-product-description-content .stuffle-carousel-section {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

/* Carousel Wrapper selbst */
.stuffle-carousel-wrapper {
  width: 100%;
  max-width: 100%;
  position: relative;
}

/* Track Container */
.stuffle-carousel-track-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Entferne padding/margin die die Breite reduzieren könnten */
.stfl-product-description-content > div {
  width: 100% !important;
  max-width: 100% !important;
}

/* Spezifisch für den Container mit padding */
.stfl-product-description-content .container,
.stfl-product-description-content .content-wrapper,
.stfl-product-description-content [class*="container"] {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Falls es einen Wrapper mit max-width gibt */
.stuffle-carousel-section > div[style*="max-width"],
.stuffle-carousel-wrapper > div[style*="max-width"] {
  max-width: 100% !important;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .stuffle-carousel-section {
    margin: 30px 0;
  }
  
  /* Auf Mobile darf es seitlich etwas Padding haben */
  .stuffle-carousel-track-container {
    padding: 0 10px;
    margin: 0 -10px;
  }
}