/* File: V_progress/spa/css/main.css */

/* ==============================================
MAIN STYLESHEET
This file combines the contents of:
- navbar.css
- packpagestyle.css
- audioelement.css
- startpagestyle.css (from spa/pages/start/css/)
- generatormenustyle.css
- style.css (from spa/pages/sound-search/css/)
- cursors.css
==============================================
*/

/* --- Styling für Sound Pack Boxen --- */
.sound-pack-box {
    background-color: #ffffff; /* WICHTIG: Fügt einen festen weißen Hintergrund hinzu */
    border: 1px solid #e9ecef; /* Dezenter, hellgrauer Rahmen */
    padding: 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05); /* Leichter Schatten für die Tiefenwirkung */
}

/* --- Highlight-Effekt für das Scrollen --- */
@keyframes highlight-animation {
    0%   { background-color: #e6f7ff; } /* Ein sehr dezentes Gelb zum Start */
    100% { background-color: #ffffff; } /* Überblenden zum normalen Weiß der Box */
}

.highlight {
    animation: highlight-animation 2s ease-out;
}

/* --- From navbar.css --- */
@import url("https://fonts.googleapis.com/css?family=Josefin+Sans"); 

 body {
  margin-top: 120px;
} 

/* --- From packpagestyle.css --- */
.col-md-6 {
	padding: 18px 12px;
}

.header01 {
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	font-weight: bold;
	color: #7F8C8D;
}

.text01 {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: light;
	color: #7F8C8D;
	margin: 0px;
}

#myTable {
    width: 100%;
    max-width: 600px; /* NEU: Maximale Breite für die Tabelle */
    margin: 0 auto; /* NEU: Zentriert die Tabelle */
    border-collapse: separate; /* WICHTIG: Erlaubt Abstände zwischen den Zeilen */
    border-spacing: 0 10px; /* NEU: Fügt vertikalen Abstand zwischen den "Karten" hinzu */
    border: none; /* Entfernt den alten Rahmen */
    font-size: 18px;
}

#myTable td {
	padding: 15px; /* Passt das Padding an */
    vertical-align: middle; /* NEU: Zentriert den Inhalt vertikal */
}

#myTable td:first-child {
    width: 100%;
}

#myTable tr {
    background-color: #fff; /* NEU: Jede Zeile bekommt einen weißen Hintergrund */
    border-radius: 8px; /* NEU: Abgerundete Ecken für den "Karten"-Look */
    box-shadow: 0 2px 5px rgba(0,0,0,0.08); /* NEU: Dezenter Schatten */
    transition: all 0.2s ease-in-out; /* NEU: Weiche Animation für Hover */
    border-bottom: none; /* Entfernt die alte Trennlinie */
}

#myTable tr:hover {
    background-color: #f8f9fa; /* Leichter Hover-Effekt */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Verstärkt den Schatten für einen subtilen "Lift"-Effekt */
}

#myTable tr.hiddenrow {
	display: none;
}

.titleStyle {
	width: 100%;
	text-align: center;
	font-weight: bold;
}

.info-cell {
    vertical-align: middle;
    text-align: center;
    width: 110px;
    white-space: nowrap;
}

/* ERSETZE die vorhandene Regel .info-cell-content durch diese: */
.info-cell-content {
    display: block; /* Sorgt dafür, dass die Zeilen untereinander stehen */
    width: 100%;
}

/* FÜGE DIESE NEUEN REGELN direkt danach ein: */
.info-cell-top-row,
.info-cell-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Richtet Inhalt rechtsbündig aus */
    width: 100%;
}

.info-cell-bottom-row {
    margin-top: 12px; /* Abstand zwischen den beiden Zeilen */
}
/* BIS HIERHIN EINFÜGEN */

.duration-badge {
    background-color: #e9ecef;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
    color: #495057;
}

.loop-icon {
    width: 20px;
    height: 20px;
    stroke: #6c757d; /* Farbe des Icons */
    margin-right: 10px; /* Abstand zum Text */
}

.wvimageStyle {
	position: center;
	opacity: 0.8;
	width: 100%;
}

.priceStyle {
	text-align: center;
	width: 14%;
	font-weight: bold;
}


/* --- Styles for the NEW Lite Player --- */
.lite-player-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 465px; /* Behält das maximale Layout bei */
    margin: 0 auto; /* Zentriert den Player in der Tabellenzelle */
    height: 48px;
    background-color: transparent; /* KORREKTUR: Hintergrund wird entfernt, da die Zeile ihn jetzt hat */
    border-radius: 8px;
    box-shadow: none; /* KORREKTUR: Schatten wird entfernt, da die Zeile ihn jetzt hat */
    padding: 0 8px;
    box-sizing: border-box;
}

.lite-player-button {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #33ac71;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.lite-player-button .play-icon {
    display: block;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid white;
    margin-left: 3px; /* Optische Zentrierung */
}

.lite-player-button .pause-icon {
    display: none;
    width: 10px;
    height: 12px;
}

.lite-player-button .pause-icon::before,
.lite-player-button .pause-icon::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 12px;
    background-color: white;
}

.lite-player-button .pause-icon::before {
    transform: translateX(-4px);
}

.lite-player-button .pause-icon::after {
    transform: translateX(1px);
}

.lite-player-button.is-playing .play-icon {
    display: none;
}

.lite-player-button.is-playing .pause-icon {
    display: block;
}

.lite-player-waveform-wrapper {
    flex-grow: 1;
    position: relative;
    height: 100%;
    cursor: pointer;
}

.lite-player-waveform-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Stellt sicher, dass das Bild passt, ohne es zu verzerren */
    object-position: left center;
}

.lite-player-progress {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%; /* Wird durch JS gesteuert */
    background-color: rgba(53, 177, 117, 0.5); /* Halbtransparente Füllung */
    pointer-events: none; /* Erlaubt Klicks auf das darunterliegende Bild */
    mix-blend-mode: multiply; /* Sorgt für einen schönen Überlagerungseffekt */
}


/* --- From startpagestyle.css --- */
.flex-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: space-evenly;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.flexbox-image {
  flex-basis: 28%;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 10px;
  border-color: grey;
  border-width: 0px;
  border-style: solid;
  margin: 20px;
  text-align: justify;
  min-width: 180px;
  max-width: 450px;
}
.flexbox-image-cs {
  flex-basis: 50%;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 10px;
  border-color: grey;
  border-width: 0px;
  border-style: solid;
  margin: 20px;
  text-align: center;
  min-width: 100px;
  max-width: 250px;
}
.flexbox-text {
  flex-basis: 33%;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 10px;
  border-color: grey;
  border-width: 0px;
  border-style: solid;
  margin: 20px;
  text-align: justify;
  min-width: 100px;
  max-width: 500px;
}
.flexbox-large {
  flex-basis: 100%;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 10px;
  border-color: grey;
  border-width: 0px;
  border-style: solid;
  margin: 20px;
  text-align: justify;
  min-width: 465px;
  max-width: 465px;
}
.header02 {
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	font-weight: light;
	color: #7F8C8D;
}
.subtitle01 {
	font-family: 'Montserrat', sans-serif;
	font-size: 20px;
	font-weight: light;
	color: #1abc9c;
	margin: 0px;
}

/* --- From generatormenustyle.css --- */
/* This file shares styles with startpagestyle.css, which are already included. */

/* --- From style.css (sound-search) --- */
/* KORREKTUR: Das Layout wird aufgeräumt und für das Dropdown-Menü optimiert. */
.search-grid-container {
  /* Die Flexbox-Regeln werden nicht mehr benötigt. Die Elemente fließen jetzt natürlich. */
}
.search-grid-box-a {
  /* Nicht mehr benötigt */
}
.search-grid-box-b {
  /* Nicht mehr benötigt */
}

/* --- Modern Search Hero Styling --- */

/* Container für den oberen Bereich */
.search-hero-section {
    text-align: center;
    padding: 40px 20px 20px 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Das Suchfeld selbst */

/* Entfernt den hellblauen Hintergrund bei Autocomplete (Chrome/Safari) */
#myInput:-webkit-autofill,
#myInput:-webkit-autofill:hover, 
#myInput:-webkit-autofill:focus, 
#myInput:-webkit-autofill:active {
    /* Überschreibt den Hintergrund mit Weiß durch einen harten inneren Schatten */
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    box-shadow: 0 0 0 30px white inset !important;
    /* Stellt sicher, dass die Textfarbe erhalten bleibt */
    -webkit-text-fill-color: #2c3e50 !important;
    transition: background-color 5000s ease-in-out 0s; /* Trickst den Browser aus */
}

#myInput {
    width: 100%;
    max-width: 600px; /* Etwas breiter für Desktop */
    margin: 0 auto;
    
    /* Typografie & Größe */
    height: 60px; /* Höher wirkt wertiger */
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
    color: #2c3e50;
    
    /* Rahmen & Form */
    border: 2px solid #eee; /* Heller, dickerer Rahmen */
    border-radius: 35px; /* Pill-Shape (stark abgerundet) */
    background-color: #fff;
    
    /* Icon (Lupe) */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2395a5a6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 20px center; /* Links eingerückt */
    padding: 0 25px 0 60px; /* Platz für das Icon links schaffen */
    
    /* Schatten für Tiefe (Floating Effect) */
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    
    /* Weiche Übergänge */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Fokus-Effekt (Wenn man reinklickt) */
#myInput:focus {
    outline: none;
    border-color: #1abc9c; /* Deine Primärfarbe */
    box-shadow: 0 8px 25px rgba(26, 188, 156, 0.15); /* Farbiger Glow */
    transform: translateY(-2px); /* Leichtes Anheben */
}

/* Placeholder Text Farbe */
#myInput::placeholder {
    color: #bdc3c7;
    font-weight: 300;
}

/* Label ausblenden, falls es noch im HTML ist (wir entfernen es aber gleich auch dort) */
.search-label {
    display: none; 
}

/* NEU: Styling für das Kategorie-Dropdown-Menü */
#categorySelect {
  -webkit-appearance: none; /* Entfernt Standard-Browser-Styling */
  -moz-appearance: none;
  appearance: none;
  /* Eigener Pfeil als Hintergrundbild (SVG) */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 12px 40px 12px 20px;
  font-size: 16px;
  width: 100%;
  max-width: 500px; /* Begrenzt die Breite auf großen Bildschirmen */
  margin: 10px auto 20px auto; /* Zentriert das Dropdown und fügt Abstand hinzu */
  background-color: #fff;
  cursor: pointer;
  color: #7F8C8D;
}

#categorySelect:hover {
  border-color: #1ABC9C;
}

/* Veraltete .categoryButton Styles, können entfernt oder auskommentiert werden */
/*
.categoryButton {
  border-radius: 5px;
  border: solid #1ABC9C 0px;
  font-family: Arial;
  color: white;
  background: #1ABC9C;
  position: relative;
  width: 120px;
  height: 30px;
  padding: 5px 5px;
  margin: 5px;
  font-size: 14px;
}
.categoryButton:hover{
     background: #3adbbb;
}
*/

.credit-grid-container {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start;
  padding: 20px;
}
.credit-grid-box-a {
  flex-grow: 1;
  padding: 20px;
  border-color: grey;
  border-width: 1px;
  border-style: solid;
  margin: 10px;
}
.credit-grid-box-b {
  flex-grow: 1;
  padding: 20px;
  border-color: grey;
  border-width: 1px;
  border-style: solid;
  margin: 10px;
}
.credit-grid-box-c {
  flex-grow: 1;
  padding: 20px;
  border-color: grey;
  border-width: 1px;
  border-style: solid;
  margin: 10px;
}

/* --- From cursors.css --- */
/*
  KORREKTUR: Der Cursor wird nur dann zu einer Hand, wenn ein Bild interaktiv ist.
  Dies wird erreicht, indem der Zeiger-Cursor nur auf Bilder angewendet wird,
  die ein 'onclick'-Attribut haben oder in einem Link (<a>-Tag) enthalten sind.
*/
img[onclick], a img {
  cursor: pointer;
}

/* Beibehaltung der bestehenden Regeln für Links und H2-Überschriften */
a {
  cursor: pointer;
}
h2[onclick] {
  cursor: pointer;
}


/* NEUER CODE: Animation und Stil für das Scroll-Highlight */
@keyframes highlight-fade {
  0% {
    background-color: rgba(26, 188, 156, 0);
  }
  25% {
    background-color: rgba(26, 188, 156, 0.2);
  }
  75% {
    background-color: rgba(26, 188, 156, 0.2);
  }
  100% {
    background-color: rgba(26, 188, 156, 0);
  }
}

.highlight-scroll {
  animation: highlight-fade 2s ease-in-out;
  border-radius: 8px; /* Sorgt für abgerundete Ecken beim Highlight */
}




/* NEU: Styling für die Pack-Links in den Suchergebnissen */
.pack-links-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px; /* Optional: für einen kleinen Abstand zwischen den Elementen */
    text-align: center;
    margin-top: 8px;
    padding: 0 10px;
}

.pack-links-label {
    font-size: 12px;
    color: #7F8C8D;
    margin-right: 8px;
    font-weight: bold;
}

.pack-link {
    font-size: 11px;
    color: #7F8C8D;
    text-decoration: none;
    margin: 0 4px;
    background-color: #f2f2f2;
    padding: 3px 7px;
    border-radius: 4px;
    white-space: nowrap; /* Verhindert Zeilenumbrüche innerhalb eines Links */
    transition: all 0.2s ease;
}

.pack-link:hover {
    color: #fff;
    background-color: #1abc9c;
    text-decoration: none;
}


/* FINAL v8: Text-Position im Tooltip durch Padding angepasst */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: default !important;
}

.tooltip-wrapper .tooltip-text {
  visibility: hidden;
  width: 150px;
  background-color: #f8f9fa; 
  color: #333; 
  text-align: center !important;
  border-radius: 6px;
  /* FIX: Passt das linke/rechte Padding an, um den Text 5px nach links zu verschieben. */
  padding: 8px 15px 8px 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  font-size: 14px;
  line-height: 1.3;
  
  /* Positionierung: Rechtsbündig */
  position: absolute;
  z-index: 1;
  bottom: 130%;
  right: 0;

  transform: none;
  left: auto;
  margin-left: 0;

  opacity: 0;
  transition: opacity 0.3s;
}

/* Pfeil für den Tooltip */
.tooltip-wrapper .tooltip-text::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  left: auto;
  transform: none;
  margin-left: 0;
  border-width: 5px;
  border-style: solid;
  border-color: #f8f9fa transparent transparent transparent;
}

/* Tooltip anzeigen */
.tooltip-wrapper:hover .tooltip-text,
.tooltip-wrapper:focus .tooltip-text,
.tooltip-wrapper:active .tooltip-text {
  visibility: visible;
  opacity: 1;
}

.tooltip-wrapper .loop-icon {
    display: block;
}


/* NEU: Link-Style-Korrekturen für SEO-Anpassungen */
/* Setzt die Standard-Link-Styles zurück, damit die Elemente ihr ursprüngliches Aussehen behalten */
.sound-pack-box a,
.flexbox-image a,
.text01 a {
    color: inherit; /* Lässt den Link die Farbe des Elternelements erben */
    text-decoration: none; /* Entfernt die Unterstreichung */
}

.sound-pack-box a:hover,
.flexbox-image a:hover,
.text01 a:hover {
    text-decoration: none; /* Stellt sicher, dass auch beim Hovern keine Unterstreichung erscheint */
    color: inherit;
}

/* Stellt sicher, dass die h2-Überschriften in den Links ihre spezielle Farbe behalten */
.flexbox-image a h2.subtitle01 {
    color: #1abc9c;
}
/* Stellt sicher, dass die starken Texte in den Links ihre spezielle Farbe behalten */
.text01 a strong {
    color: #1abc9c;
}




        /* Zusätzliche Stile für die Sound Effect Seiten */
.sound-detail-container {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}
.sound-detail-container h1, .sound-detail-container h2 {
    margin-bottom: 15px;
}
.sound-detail-player {
    margin: 25px auto;
    max-width: 465px; /* Gleiche Breite wie in der Suche */
}

/* Updated styles for .packs-section */
.files-section, .packs-section {
    margin-top: 30px;
    text-align: center; /* <<< GEÄNDERT: Zentriert inline/inline-block Kinder */
}
.files-section p, .packs-section p {
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center; /* Überschriften bleiben zentriert */
}

.file-list {
    margin-left: 20px; /* Einrückung für die Dateiliste */
    font-family: monospace; /* Monospace für Dateinamen */
    line-height: 1.6;
    text-align: center; /* Platzhalter zentriert */
    color: #6c757d; /* Graue Farbe für Platzhalter */
    /* text-align: left removed for consistency */
}

/* Updated styles for .included-packs-grid */
.included-packs-grid {
    display: inline-grid;
    /* GEÄNDERT: auto-fill zu auto-fit */
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 15px;
    max-width: 100%; /* Verhindert Überlaufen */
    /* justify-content: center; kann bleiben, schadet nicht */
}

.pack-item-link {
    text-align: center;
}
.pack-cover-thumb {
    width: 100%;
    max-width: 120px;
    height: auto;
    border-radius: 6px;
    margin-bottom: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}
.pack-item-link a:hover .pack-cover-thumb {
    transform: scale(1.05);
}
.pack-link-title {
    font-size: 12px;
    color: #7F8C8D;
    display: block; /* Stellt sicher, dass der Titel unter dem Bild steht */
}
.back-button-container {
    margin-top: 40px;
    text-align: center;
}

/* Stellt sicher, dass der Grid-Container keinen Platz einnimmt, wenn er leer ist */
.included-packs-grid:empty {
    display: none;
}


/* Generelle Link-Farbe für Textabschnitte */
p a,
h4 a,
.sound-pack-box a,
.titleStyle a,
.file-list a,
.text01 a,
.text02 a { /* Füge hier weitere Klassen hinzu, falls nötig */
  color: #18b495; /* Deine gewünschte Link-Farbe */
  text-decoration: none; /* Entfernt die Standard-Unterstreichung */
  transition: font-weight 0.2s ease-in-out; /* Fügt einen sanften Übergang hinzu */
}

/* Hover-Effekt: */
p a:hover,
h4 a:hover,
.sound-pack-box a:hover,
.titleStyle a:hover,
.file-list a:hover,
.text01 a:hover,
.text02 a:hover {
  text-decoration: none; /* Stellt sicher, dass auch beim Hovern keine Unterstreichung erscheint */
  color: #12876f; /* Behält die Link-Farbe bei (optional, kann auch weggelassen werden) */
}


/* ==========================================================================
   NEUE STILE FÜR CUSTOM ECWID BUTTONS
   (Angepasst an die Logik von cart.js [is-in-cart, :disabled])
  ==========================================================================
*/

/* 1. Standard-Zustand (Grüner Umriss) */
.custom-ecwid-button {
  min-width: 130px; 
  position: relative; 
  transition: all 0.2s ease-in-out;

  /* Standard-Stil: Grüner Umriss (Bootstrap .btn-outline-success) */
  color: #28a745;
  background-color: transparent;
  border: 1px solid #28a745;
}

/* 1b. Standard-Hover (Solid Grün) */
.custom-ecwid-button:hover {
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
}


/* 2. Lade-Zustand (Ihre cart.js setzt :disabled und Text "Adding...")
   Kein Spinner möglich, da textContent verwendet wird.
   Wir verwenden stattdessen eine pulsierende Animation.
*/
.custom-ecwid-button:disabled,
.custom-ecwid-button:disabled:hover {
  pointer-events: none;
  color: #28a745;
  background-color: transparent;
  border-color: #28a745;
  /* Pulsierende Animation */
  -webkit-animation: pulse-animation 1.5s infinite;
  animation: pulse-animation 1.5s infinite;
}

/* Pulsierende Animation */
@-webkit-keyframes pulse-animation {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}
@keyframes pulse-animation {
  0% { opacity: 1; }
  50% { opacity: 0.4; }
  100% { opacity: 1; }
}


/* 3. Erfolgs-Zustand (Ihre cart.js fügt .is-in-cart hinzu)
   *** GEÄNDERT: .is-added wurde zu .is-in-cart ***
*/
.custom-ecwid-button.is-in-cart,
.custom-ecwid-button.is-in-cart:hover,
.custom-ecwid-button.is-in-cart:focus {
  /* Solider grüner Button (Bootstrap 'success' Stil) */
  color: #fff;
  background-color: #28a745;
  border-color: #28a745;
  box-shadow: none; /* Entfernt Fokus-Schatten */
  -webkit-animation: none; /* Stoppt Pulsieren, falls :disabled noch aktiv war */
  animation: none;
  opacity: 1; /* Setzt Opazität zurück */
}

/* 3b. Hover-Effekt für den "In Cart" Button (wird dunkler) */
.custom-ecwid-button.is-in-cart:hover {
    color: #fff;
    background-color: #218838;
    border-color: #1e7e34;
}


/* 4. Fehler-Zustand (.is-error)
   (Wird von Ihrer cart.js nicht verwendet, aber wir behalten es für später)
*/
.custom-ecwid-button.is-error,
.custom-ecwid-button.is-error:hover {
  -webkit-animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  animation: shake 0.6s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

/* Shake-Animation (Unverändert) */
@-webkit-keyframes shake {
  10%, 90% { -webkit-transform: translate3d(-1px, 0, 0); transform: translate3d(-1px, 0, 0); }
  20%, 80% { -webkit-transform: translate3d(2px, 0, 0); transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { -webkit-transform: translate3d(-4px, 0, 0); transform: translate3d(-4px, 0, 0); }
  40%, 60% { -webkit-transform: translate3d(4px, 0, 0); transform: translate3d(4px, 0, 0); }
}
@keyframes shake {
  10%, 90% { -webkit-transform: translate3d(-1px, 0, 0); transform: translate3d(-1px, 0, 0); }
  20%, 80% { -webkit-transform: translate3d(2px, 0, 0); transform: translate3d(2px, 0, 0); }
  30%, 50%, 70% { -webkit-transform: translate3d(-4px, 0, 0); transform: translate3d(-4px, 0, 0); }
  40%, 60% { -webkit-transform: translate3d(4px, 0, 0); transform: translate3d(4px, 0, 0); }
}


/* ==========================================================================
   NEUE STILE FÜR ECWID ICON-BUTTONS (Sound Search) - v2
   Nutzt ::before für Icons, um Text-Überschreibung zu verhindern
   ==========================================================================
*/

/* 1. Button-Container (Modifiziert .custom-ecwid-button) */
.custom-ecwid-button.icon-only {
  min-width: 32px; /* Überschreibt text-button breite */
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #28a745; /* Grüner Hintergrund */
  border: none;
  padding: 0;
  display: flex; /* Bleibt flex, um ::before zu zentrieren */
  justify-content: center;
  align-items: center;
  margin-left: 10px; /* Abstand zur Duration-Badge */
  transition: all 0.2s ease-in-out;
  color: white; 
  
  /* NEU: Text im Button verstecken (wird von cart.js gesetzt) */
  font-size: 0;
  line-height: 0;
  overflow: hidden; /* Versteckt Text zusätzlich */
}

.custom-ecwid-button.icon-only:hover {
  color: white; 
  background-color: #218838; /* Dunkleres Grün bei Hover */
  border: none;
}

/* 2. Standard-Icon (Einkaufswagen) als ::before Pseudo-Element */
.custom-ecwid-button.icon-only::before {
  content: '';
  display: block;
  min-width: 16px; /* Wichtig für Flex-Zentrierung */
  width: 16px;
  height: 16px;
  /* Inline SVG für Einkaufswagen (weiß) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3e%3Cpath d='M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .491.592l-1.5 8A.5.5 0 0 1 13 12H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l1.313 7h8.17l1.313-7H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm7 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/%3e%3C/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
}

/* 3. Lade-Zustand (disabled) */
.custom-ecwid-button.icon-only:disabled,
.custom-ecwid-button.icon-only:disabled:hover {
  pointer-events: none;
  background-color: #28a745;
  border-color: #28a745; 
  animation: pulse-animation 1.5s infinite;
  opacity: 1; 
}

/* 4. "Hinzugefügt"-Zustand (.is-in-cart) */
.custom-ecwid-button.icon-only.is-in-cart,
.custom-ecwid-button.icon-only.is-in-cart:hover,
.custom-ecwid-button.icon-only.is-in-cart:focus {
  background-color: #dc3545; /* Roter Hintergrund */
  border-color: #dc3545;
  color: white;
  animation: none;
  opacity: 1;
}

/* 5. Ersetzt das Warenkorb-Icon mit dem Häkchen-Icon im "Hinzugefügt"-Zustand */
.custom-ecwid-button.icon-only.is-in-cart::before {
  /* Inline SVG für Häkchen (weiß) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3e%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3e%3C/svg%3e");
}

.custom-ecwid-button.icon-only.is-in-cart:hover {
    background-color: #c82333; /* Dunkleres Rot bei Hover */
    border-color: #c82333;
}

/* ==========================================================================
   NEUE STILE FÜR PREISANZEIGE (Sound Search)
   ==========================================================================
*/

/* Allgemeiner Container für den Preis */
.search-price-badge {
  display: inline-block; /* KORRIGIERT: Kein Flex-Container als Standard */
  vertical-align: middle; /* Wichtig für die Ausrichtung neben dem Icon */
  margin-left: 10px;
  margin-right: 2px;
  padding: 4px 8px; /* Leicht angepasstes Padding */
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.2;
  text-align: right;
  background-color: transparent;
  color: #28a745; 
}

/* Spezial-Styling für "FREE" */
.search-price-badge.free {
  background-color: transparent; 
  color: #28a745; 
  font-size: 14px; 
  padding: 4px 8px;
}

/* Spezial-Styling für Rabatt-Container */
.search-price-badge.discount {
  display: flex; /* NUR der Rabatt-Container ist ein Flex-Container */
  /* flex-direction: column;  Stapelt die Preise */
  align-items: flex-end; /* Richtet die gestapelten Preise rechtsbündig aus */
  background-color: transparent;
  padding: 0;
  margin-right: 5px;
}

/* Durchgestrichener Originalpreis */
.search-original-price {
  font-size: 15px;
  color: #6c757d;
  text-decoration: line-through;
  line-height: 1;
}

/* Hervorgehobener Rabattpreis */
.search-discount-price {
  font-size: 15px;
  color: #28a745;
  font-weight: bold;
  line-height: 1;
}

/* Anpassung des Abstands für das Icon-Button, wenn der Preis da ist */
.search-price-badge + .custom-ecwid-button.icon-only {
    margin-left: 5px; 
}


/* CSS FÜR DAS PREIS-DESIGN */
    /* Dies ist der neue Container für den Preis */
/* Dies ist der neue Container für den Preis */
.pack-price-box {
    display: inline-block; /* <<< NEU: Zwingt die Box, sich an den Inhalt anzupassen */
    background-color: #f8f9fa; /* Heller Hintergrund */
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: center; /* <<< GEÄNDERT: Zentriert den Text, die Preise und Badges */
}
    
    /* Der finale Preis (groß und fett) */
    .pack-price-box .price-final {
        font-size: 2.25rem; /* 36px */
        font-weight: 700;
        color: #e60000; /* Ihr Rot aus dem H2-Tag */
        margin-right: 10px;
        line-height: 1;
    }

    /* Der originale Preis (kleiner, durchgestrichen) */
    .pack-price-box .price-original {
        font-size: 1.25rem; /* 20px */
        font-weight: 400;
        color: #6c757d; /* Mittelgrau */
        text-decoration: line-through;
        margin-right: 15px;
    }
    
    /* Die Spar-Badge (grün, auffällig) */
    .pack-price-box .price-save-badge {
        font-size: 0.875rem; /* 14px */
        font-weight: 700;
        color: #fff;
        background-color: #28a745; /* Bootstrap Success Green */
        padding: 5px 10px;
        border-radius: 5px;
        text-transform: uppercase;
        vertical-align: middle; /* Hält es auf einer Linie mit den Preisen */
    }

    /* Styling für den Fall "Kein Rabatt" */
    .pack-price-box .price-final-no-offer {
        font-size: 2.25rem;
        font-weight: 700;
        color: #212529; /* Standard-Schwarz/Grau */
    }
    
    /* Für Texte wie "excl. VAT" */
    .pack-price-box .price-note {
        margin: 5px 0 0 0;
        color: #6c757d;
        font-size: 0.9rem;
    }
    
    /* Für den Rabattgrund */
    .pack-price-box .discount-reason {
        font-weight: bold;
        color: #333;
        margin-top: 10px;
        display: block; /* Stellt sicher, dass es in einer neuen Zeile ist */
    }


    /* Info Badge */
        .info-badge-link:hover .info-badge {
        background-color: #18b495 !important;
        color: #fff !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }




        /* Styling für den Tag-Cloud Container */
    .tag-cloud-container {
        max-width: 800px; 
        margin: 0 auto; 
        line-height: 1.8;
    }

    /* NEU: Style für die Tag-Buttons (mit Hover!) */
    .tag-pill {
        font-size: 0.8rem !important;
        /* Start-Zustand: Hellgrau, kein sichtbarer Rand */
        border: 1px solid #f8f9fa !important; 
        background-color: #f8f9fa !important;
        color: #6c757d !important;
        margin: 2px;
        transition: all 0.2s ease;
    }

    /* Der Hover-Effekt: Wird weiß mit grünem Rand */
    .tag-pill:hover {
        background-color: #fff !important;
        border-color: #18b495 !important; /* Dein Grün */
        color: #18b495 !important;
        transform: translateY(-1px);
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }