/* style_aluminium_ui2.css */

@keyframes config-button-pulse-close {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.02);
  }
}

body {
    margin: 0;
    font-family: "Noto Sans Display";
    background: #f9f9f9;
    padding-bottom: env(safe-area-inset-bottom); /* iPhone Safe Area Support */
  }
  :root {
    /* Höhe der unteren Leiste – einheitlich für alle UIs */
    --footer-h: 80px;
    --footer-h-small: 70px; /* Für sehr kleine Geräte */
  }
  
  /* Footer generell ohne Margins */
  .platten-footer {
    margin: 0 !important; /* Keine Margins für Footer */
  }
/* Sicherstellen, dass alle Textelemente Umlaute korrekt anzeigen */
* {
  font-family: inherit;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
  
  .container {
    max-width: 580px;
    margin: auto;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  /* Mobile Responsive Design */
  @media (max-width: 768px) {
    body {
      font-family: "Noto Sans Display";
      overflow: hidden; /* Verhindert Scrollen auf Body-Ebene */
      width: 100% !important; /* Volle Breite nutzen */
      max-width: 100% !important; /* Keine Breitenbegrenzung */
      box-sizing: border-box !important;
    }
    
    .container {
      max-width: 100%;
      margin: 0;
      position: fixed; /* Geändert von relative zu fixed */
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      overflow: hidden; /* Verhindert Scrollen über Container hinaus */
      z-index: 1000; /* Hoeherer z-index wie Sidebar */
    }
    
    header {
      padding: 15px 10px 10px;
    }
    
    .logo {
      width: 80px;
    }
    
    h1 {
      font-size: 18px;
    }
    
    h2 {
      font-size: 16px;
    }
    
    .tabs {
      min-height: 40px;
    }
    
    .tab {
      padding: 8px;
      font-size: 14px;
    }
    
    .tab-content {
      padding: 8px;
      min-width: auto;
    }
    
    .platten-footer {
      padding: 1px;
      /* Keine Margins - Footer funktioniert ohne */
    }
    
    .platten-footer button {
    padding: 10px 16px;
    font-size: 14px;
    margin: 0 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
    
    /* Mobile Back to 3D Button - versteckt */
    .mobile-back-3d {
      display: none !important; /* Komplett verstecken - nur Kreuz-Button verwenden */
    }
  }

  @media (max-width: 480px) {
    /* Zum Konfigurator Button animieren (Plattenauswahl 480px) */
    .container .ui2-close {
      animation: config-button-pulse-close 1s ease-in-out infinite !important;
      -webkit-animation: config-button-pulse-close 1s ease-in-out infinite !important;
    }
    
    body {
      font-family: "Noto Sans Display";
      overflow: hidden; /* Verhindert Scrollen auf Body-Ebene */
    }
    
    .container {
      min-height: auto;
      position: fixed; /* Geändert von relative zu fixed */
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      overflow: hidden; /* Verhindert Scrollen über Container hinaus */
      z-index: 1000; /* Hoeherer z-index wie Sidebar */
    }
    
    header {
      padding: 10px 5px 5px;
    }
    
    .logo {
      width: 60px;
    }
    
    h1 {
      font-size: 16px;
    }
    
    .tabs {
      min-height: 35px;
    }
    
    .tab {
      padding: 6px;
      font-size: 12px;
    }
    
    .tab-content {
      min-width: 0 !important;
      width: 100% !important;
      overflow-x: hidden !important;
    }
    
    .platten-footer {
      padding: 10px;
      /* Keine Margins - Footer funktioniert ohne */
    }
    
    .platten-footer button {
      padding: 8px;
      font-size: 12px;
      margin: 0 3px; /* Margin nur für Buttons, nicht für Footer selbst */
    }
    
    .mobile-back-3d {
      display: none !important; /* Komplett verstecken - nur Kreuz-Button verwenden */
    }
    
    /* Zum Konfigurator Button animieren (Plattenauswahl Mobile) */
    .container .ui2-close {
      animation: config-button-pulse-close 1s ease-in-out infinite !important;
      -webkit-animation: config-button-pulse-close 1s ease-in-out infinite !important;
    }
  }
  
  @media (min-width: 769px) {
    .mobile-back-3d {
      display: none !important;
    }
  }
  
  /* Close Button fuer UI2 */
  .ui2-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #dc2626;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
  }
  
  /* Mobile: Close Button als "Zurück zum Konfigurator" */
  @media (max-width: 768px) {
    .ui2-close {
      width: auto; /* Automatische Breite für Text */
      min-width: 80px; /* Mindestbreite für Text */
      height: 36px;
      border-radius: 18px; /* Abgerundete Ecken für Text-Button */
      font-size: 12px; /* Kleinere Schrift für Text */
      padding: 0 12px; /* Horizontales Padding für Text */
      white-space: nowrap; /* Kein Textumbruch */
      animation: config-button-pulse-close 1s ease-in-out infinite !important;
      -webkit-animation: config-button-pulse-close 1s ease-in-out infinite !important;
    }
    
    .ui2-close::before {
      content: "Zum Konfigurator"; /* Pfeil und Text */
      font-size: 10px;
      font-weight: 500;
    }
    
    /* X-Symbol verstecken */
    .ui2-close::after {
      display: none !important;
    }
    
    /* Original-Text verstecken */
    .ui2-close {
      font-size: 0; /* Original-Text unsichtbar machen */
    }
  }
  
  .ui2-close:hover {
    background: #b91c1c;
    animation: none !important;
  }
  
  header {
    text-align: center;
    padding: 20px 10px 10px;
    border-bottom: 1px solid #ddd;
    flex-shrink: 0;
  }
  
  .logo {
    width: 100px;
    margin-bottom: 5px;
  }
  
  h1 {
    font-size: 20px;
    color: #003a5d;
    margin: 0;
  }
  
  h2 {
    font-size: 18px;
    color: #003a5d;
    margin: 10px 0;
  }
  
  .tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
    min-height: 50px;
    flex-shrink: 0;
  }
  
  .tab {
    flex: 1;
    padding: 10px;
    background: #eee;
    border: none;
    font-weight: bold;
    color: #003a5d;
    cursor: pointer;
    border-radius: 0;
  }
  
  .tab.active {
    background: #d0e6f8;
    border-bottom: 2px solid #003a5d;
  }
  
  .tab-content {
    display: none;
    padding: 10px;
    flex: 1;
    overflow-x: auto;
    min-width: 500px; /* Oder z. B. max-width wenn du Begrenzung willst */
    max-height: 100vh;  /*  Create a linie if it is lower than 90*/
  }
  
  .tab-content.active {
    display: flex;
    flex-direction: column;
  }
  
  /* Verstecke alle Tab-Inhalte standardmässig */
  .tab-content:not(.active) {
    display: none !important;
  }
  
  /* Zusätzliche Regel fuer bessere Spezifität */
  .container .tab-content {
    display: none;
  }
  
  .container .tab-content.active {
    display: flex;
    flex-direction: column;
  }
  
.card-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  justify-content: center;
  border: none;
  padding: 6px;
  background: transparent;
  border-radius: 14px;
  border-color: #003a5d;
}

/* Mobile responsive card gallery */
@media (max-width: 768px) {
  .card-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* 2 echte Spalten */
    gap: 8px !important;
    padding: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
    justify-items: stretch !important;   /* wichtig: nicht center */
    margin-bottom: 20px !important; /* Zusätzlicher Abstand nach unten */
    min-height: auto !important; /* Automatische Höhe für alle Karten */
  }
}

@media (max-width: 480px) {
  .card-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* Zwei Karten auch auf sehr kleinen Bildschirmen */
    gap: 2px !important; /* Minimaler Abstand für sehr kleine Bildschirme */
    padding: 2px !important; /* Minimales Padding */
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    margin-bottom: 25px !important; /* Zusätzlicher Abstand nach unten */
  }
}
/* Desktop */
@media (min-width: 769px) {
 .card {
  all: unset;
  width: 150px;
  max-width: 100%;
  background: white;
  border-radius: 14px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  cursor: pointer;
  border: 1px solid #ddd;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(255, 255, 255, 0.05);
  box-sizing: border-box;
  flex-shrink: 0;
}
}

  /* Mobile responsive cards */
  @media (max-width: 768px) {
    .card {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        
      
    }
  }

  @media (max-width: 480px) {
    .card {
      width: 100% !important;
      max-width: none !important;
      min-width: 0 !important;
    }
  }


.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-color: #003a5d;
}

/* Aktive Platte - visueller Zustand */
.card.active {
  border-color: #dc2626;
  box-shadow: 0 0 0 2px #dc2626, 0 4px 10px rgba(220, 38, 38, 0.3);
  transform: translateY(-2px);
}


  .card-image img {
  width: 100%;
  border-radius: 10px;
  height: auto;
  object-fit: cover;
  }
  
  /* Mobile responsive card images */
  @media (max-width: 768px) {
    .card-image img {
      width: 100%;
      aspect-ratio: 1 / 1;                /* oder 4 / 3, wenn dir lieber */
      overflow: hidden;
      border-radius: 8px;
    }
  }
  
  @media (max-width: 480px) {
    .card-image img {
      aspect-ratio: 1 / 1;   /* bleibt */
      height: auto;
      /* max-height: 120px;  <- entfernen */
      object-fit: cover;
    }
  }
  .card-name {
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  color: #003a5d;
  }

  /* Mobile responsive card name */
  @media (max-width: 768px) {
    .card-name {
      min-width: 0 !important;
      word-break: break-word;
      font-size: 0.9rem;
      line-height: 1.2;
    }
  }

  @media (max-width: 480px) {
    .card-name {
      font-size: 9px;
    }
  }

  .card-price {
  font-size: 14px;
  font-weight: bold;
  color: #dc2626;
  text-align: center;
  }

  /* Mobile responsive card price */
  @media (max-width: 768px) {
    .card-price {
      font-size: 9px !important; /* Noch kleinere Schrift für die kleineren Karten */
      margin-top: 1px !important; /* Minimaler Abstand nach dem Namen */
      font-weight: 700 !important; /* Fetter für bessere Sichtbarkeit */
      text-align: center !important;
      overflow: hidden !important;
      text-overflow: ellipsis !important;
      white-space: nowrap !important;
      padding: 0 1px !important; /* Minimales Padding */
      width: 100% !important; /* Volle Breite der Karte */
    }
  }

  @media (max-width: 480px) {
    .card-price {
      font-size: 9px;
    }
  }

/* Info-Button oben rechts */
.card-tooltip {
  position: absolute;
  top: 8px;
  right: 10px;
  background: #eee;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
}

/* Mobile responsive tooltip */
@media (max-width: 480px) {
  .card-tooltip {
    width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
    top: 6px;
    right: 8px;
  }
}

.card-tooltip:hover {
  background: #003a5d;
  color: white;
  }
  
  /* .card::after {
    content: 'i';
    position: absolute;
    top: 8px;
    right: 10px;
    background: #eee;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    cursor: pointer;
  }
  
  .card:hover::after {
    background: #003a5d;
    color: white;
  } */
  .card-tooltip:hover {
  background: #003a5d;
  color: white;
}

.tooltip-bubble {
  display: none;
  position: absolute;
  top: 26px;
  left: -50%;
  transform: translateX(-50%);
  background: #dc2626;
  color: white;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 18px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

/* Mobile responsive tooltip bubble */
@media (max-width: 480px) {
  .tooltip-bubble {
    font-size: 14px;
    padding: 4px 8px;
    top: 20px;
  }
}

.card-tooltip:hover .tooltip-bubble {
  display: block;
}

  footer {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    border-top: 1px solid #ddd;
  }
  
  footer button {
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 10px;
    border: 2px solid #003a5d;
    background: white;
    cursor: pointer;
    font-weight: bold;
  }
  
  #btn-cart {
    border-color: #dc2626;
    color: #dc2626;
  }
  
  .platten-footer {
  display: flex;
  padding: 20px;
  border-top: 1px solid #ddd;
  justify-content: space-between;
  background: white;
  position: sticky;
  bottom: 0;
  z-index: 10;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  /* Keine Margins - Footer funktioniert ohne */
}

  .platten-footer button {
    flex: 1 !important;
    min-width: 0 !important;
    height: 56px !important;
    margin: 0 !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 14px !important; /* Mehr abgerundet - professioneller */
    cursor: pointer !important;
    border: none !important; /* Kein Border für moderneres Design */
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important; /* Subtiler Gradient */
    color: #003A5D !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important; /* Smooth Animation */
    box-shadow: 0 2px 8px rgba(0, 58, 93, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08) !important; /* Weichere Schatten */
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1) !important;
    letter-spacing: 0.3px !important; /* Bessere Lesbarkeit */
  }

  .platten-footer button:hover {
    background: linear-gradient(135deg, #003A5D 0%, #004d7a 100%) !important; /* Gradient beim Hover */
    color: white !important;
    transform: translateY(-2px) !important; /* Leichtes Anheben */
    box-shadow: 0 6px 16px rgba(0, 58, 93, 0.25), 0 2px 6px rgba(0, 0, 0, 0.1) !important; /* Tiefere Schatten */
  }

  .platten-footer button:active {
    background: linear-gradient(135deg, #002a4a 0%, #003A5D 100%) !important;
    transform: translateY(0) !important; /* Zurück nach unten beim Klicken */
    box-shadow: 0 2px 6px rgba(0, 58, 93, 0.2) !important;
  }

#btn-cart,
.platten-footer #btn-cart.next-button {
  background: linear-gradient(135deg, #dc2626 0%, #c21d1d 100%) !important; /* Roter Gradient */
  color: white !important;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25), 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

#btn-cart:hover,
.platten-footer #btn-cart.next-button:hover {
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important; /* Dunklerer Gradient */
  color: white !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(220, 38, 38, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

#btn-cart:active,
.platten-footer #btn-cart.next-button:active {
  background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%) !important;
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.3) !important;
}

/* next-button wird bereits durch #btn-cart Styles abgedeckt */

  /* Mobile responsive grid - Card Gallery wird in der ersten Media Query behandelt */
  @media (max-width: 768px) {
    /* Mobile: Container fuer bessere Navigation */
    .container {
      display: flex;
      flex-direction: column;
      height: 100vh;
      width: 100% !important; /* Volle Breite nutzen */
      max-width: 100% !important; /* Keine Breitenbegrenzung */
      overflow: hidden; /* Verhindert Scrollen über Container hinaus */
      box-sizing: border-box !important;
      position: relative; /* Relative Positionierung für bessere Scroll-Kontrolle */
    }
    
    /* Mobile: Header kompakter */
    header {
      flex-shrink: 0;
      padding: 10px;
      border-bottom: 1px solid #ddd;
    }
    
    /* Mobile: Tabs kompakter */
    .tabs {
      flex-shrink: 0;
      min-height: 35px;
    }
    
    /* Mobile: Tab-Content mit Scroll */
    .tab-content {
      padding-bottom: calc(var(--footer-h) + 20px) !important; /* Mehr Platz für Footer */
      min-width: 0 !important;
      width: 100% !important;
      overflow-y: auto;
      overflow-x: hidden !important;
      flex: 1; /* Nimmt verfügbaren Platz ein */
      min-height: 0; /* Erlaubt Schrumpfen */
      -webkit-overflow-scrolling: touch; /* Smooth scrolling auf iOS */
    }
    
    .tab-content.active {
      display: flex;
      flex-direction: column;
    }
    
    /* Verstecke alle Tab-Inhalte standardmässig auf Mobile */
    .tab-content:not(.active) {
      display: none !important;
    }
    
    /* Zusätzliche Regel fuer bessere Spezifität auf Mobile */
    .container .tab-content {
      display: none;
    }
    
    .container .tab-content.active {
      display: flex;
      flex-direction: column;
    }
    
    /* Mobile: Footer fix am unteren Rand - Einheitlich für alle UIs */
    .platten-footer {
      position: fixed !important;
      left: 0 !important;
      right: 0 !important;
      bottom: 0 !important;
      top: auto !important;
      min-height: 80px !important;
      height: calc(80px + env(safe-area-inset-bottom)) !important;
      padding: 12px 15px !important;
      padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important;
      margin: 0 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      gap: 12px !important;
      z-index: 1000 !important;
      background: #ffffff !important;
      border-top: 1px solid #ddd !important;
      box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1) !important;
      box-sizing: border-box !important;
    }
    
    /* Mobile: Zurueck-Button verstecken - nur Kreuz-Button verwenden */
    .mobile-back-3d {
      display: none !important;
    }
  }

@media (max-width: 480px) {
  .container {
    min-height: auto;
    overflow: hidden; /* Verhindert Scrollen über Container hinaus */
  }
  
  header {
    padding: 10px 5px 5px;
    border-bottom: 1px solid #ddd;
  }
  
  .logo {
    width: 60px;
  }
  
  h1 {
    font-size: 16px;
  }
  
  .tabs {
    min-height: 35px;
  }
  
  .tab {
    padding: 6px;
    font-size: 12px;
  }
  
  .tab-content {
    padding: 5px;
    padding-bottom: calc(var(--footer-h-small) + 25px) !important; /* Mehr Platz für Footer */
    min-height: 0;
    min-width: 0 !important;
    width: 100% !important;
    overflow-y: auto;
    overflow-x: hidden !important;
    flex: 1; /* Nimmt verfügbaren Platz ein */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling auf iOS */
  }
  
  .tab-content.active {
    display: flex;
    flex-direction: column;
  }
  
  /* Verstecke alle Tab-Inhalte standardmässig auf kleineren Mobile */
  .tab-content:not(.active) {
    display: none !important;
  }
  
  /* Zusätzliche Regel fuer bessere Spezifität auf kleineren Mobile */
  .container .tab-content {
    display: none;
  }
  
  .container .tab-content.active {
    display: flex;
    flex-direction: column;
  }
  
  .platten-footer {
    position: fixed;                /* fix bleibt fix */
    left: 0; right: 0; bottom: 0;
    height: var(--footer-h);
    padding: 0 10px;                /* nur horizontales Padding */
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  }
  
  /* Mobile Footer Buttons - Einheitlich für alle Geräte */
  .platten-footer {
    min-height: 70px !important;
    height: calc(70px + env(safe-area-inset-bottom)) !important;
    padding: 10px 12px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    gap: 10px !important;
  }
  
  .platten-footer button {
    flex: 1 !important;
    min-width: 0 !important;
    height: 50px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 12px !important; /* Mehr abgerundet */
    margin: 0 !important;
    border: none !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
    color: #003A5D !important;
    box-shadow: 0 2px 6px rgba(0, 58, 93, 0.12), 0 1px 2px rgba(0, 0, 0, 0.08) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    letter-spacing: 0.2px !important;
  }
  
  .platten-footer button:hover {
    background: linear-gradient(135deg, #003A5D 0%, #004d7a 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0, 58, 93, 0.25), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  }
  
  .platten-footer button:active {
    background: linear-gradient(135deg, #002a4a 0%, #003A5D 100%) !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(0, 58, 93, 0.2) !important;
  }
  
  .platten-footer button:last-child,
  .platten-footer #btn-cart,
  .platten-footer .next-button {
    background: linear-gradient(135deg, #dc2626 0%, #c21d1d 100%) !important;
    color: white !important;
    box-shadow: 0 2px 6px rgba(220, 38, 38, 0.25), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  }
  
  .platten-footer button:last-child:hover,
  .platten-footer button:last-child:active,
  .platten-footer #btn-cart:hover,
  .platten-footer #btn-cart:active,
  .platten-footer .next-button:hover,
  .platten-footer .next-button:active {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.35), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
  }
  
  .platten-footer button:last-child:active,
  .platten-footer #btn-cart:active,
  .platten-footer .next-button:active {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%) !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 4px rgba(220, 38, 38, 0.3) !important;
  }
  
  .mobile-back-3d {
    display: none !important; /* Verstecken auf kleineren Mobile */
  }
  
  .card-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 4px !important;
    padding: 4px !important;
    overflow-x: hidden !important;
  }
}

/* .card-tooltip {
  position: relative;
  display: inline-block;
  background: #eee;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  text-align: center;
  font-size: 12px;
  line-height: 20px;
  cursor: pointer;
  color: #333;
} */

@media (min-width: 769px) {
  .ui2-close {
    display: none !important;
  }
}

