#babyclothingapp body {
  font-family: "Open Sans", sans-serif;
}

/*deactivating arrows for input fields to use custom buttons*/
#babyclothingapp input[type=number]::-webkit-inner-spin-button, 
#babyclothingapp input[type=number]::-webkit-outer-spin-button { 
    -webkit-appearance: none;
    margin: 0;
    appearance: none; 
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp input[type=number]{
  /* Firefox */
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* Input Felder */
/* Submit Button */

#babyclothingapp .autocomplete {
  position: relative;
  width: 90%;
  margin: 0 auto 20px auto; /* Zentriert und mit Abstand nach unten */
  height: 48px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
}
#babyclothingapp .searchicon {
  position: absolute;
  left: 5px; /* Abstand vom linken Rand des Containers */
  top: 50%;
  transform: translateY(-50%); /* Vertikal zentrieren */
  pointer-events: none; /* Damit das Symbol keine Eingaben blockiert */
}
/* For Firefox */
#babyclothingapp #myInput::-moz-placeholder {
  color: #888;
  text-align: left;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* For Chrome, Safari, and Opera */
#babyclothingapp #myInput::-webkit-input-placeholder {
  color: #888;
  text-align: left;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* For standard-compliant browsers */
#babyclothingapp #myInput::placeholder {
  color: #888;
  text-align: left;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp input[type="text"] {
  width: 100%; /* Breite auf 100%, um die volle Breite des Containers zu nutzen */
  padding: 0 10px 0 40px; /* Padding für das Lupensymbol */
  font-size: 15px;
  line-height: 44px;
  color: black;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  appearance: none;
  background-color: white;
  box-sizing: border-box;
}
#babyclothingapp .browserlocationtext {
  width: 90%; /* Breite auf 100%, um die volle Breite des Containers zu nutzen */
  padding: 0 10px 0 40px; /* Padding für das Lupensymbol */
  font-size: 16px;
  line-height: 44px;
  appearance: none;
  background-color: white;
  box-sizing: border-box;
}
/* Radio Buttons under input search */
#babyclothingapp .Eingabemaske {
  background: white;
  display:flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 400px;
  margin: 15px auto 20px auto;
  max-width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  user-select: none;
  letter-spacing: 0.02rem;
}
#babyclothingapp .appclaim {
  width: 90%;
  margin: 20px auto 20px auto;
}
#babyclothingapp .claimtitle {
  font-family:"Segoe UI", Roboto, sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1f2937;
  margin-bottom: 1rem;
}
#babyclothingapp .claimdescription {
  font-family:"Segoe UI", Roboto, sans-serif;
  margin:0;
  color: #4b5563;
}
#babyclothingapp .radiobuttons {
  display: grid;
  width:90%;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
  margin-top:5px;
}
#babyclothingapp .select-wrapper select {
  width: 100%;
  padding: 0.5rem;
  font-size: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
}
#babyclothingapp .select-wrapper label {
  display: block;
  font-weight: 600;
  letter-spacing: 0.03rem;
  font-size: 16px;
  color: #374151;
  margin-bottom: 0.25rem;
}
/* Fokus-Stil */
#babyclothingapp .select-wrapper select:focus {
  outline: none;
  border-color: #666;
  color:black;
}

#babyclothingapp .clothingcta-button {
  display: inline-block;
  width: 90%;
  margin-left: 10px;
  margin-right:10px;
  margin-bottom:15px;
  line-height:40px;
  padding: 0;
  font-size: 18px; /* Optimale Schriftgröße */
  color: black; /* Schriftfarbe */
  background-color: #ffcd00; /* Hintergrundfarbe */
  border: none; /* Keine Rahmen */
  border-radius: 4px; /* Abgerundete Ecken */
  cursor: pointer; /* Zeiger-Cursor */
  text-align: center; /* Textzentrierung */
  text-decoration: none; /* Keine Unterstreichung */
}
#babyclothingapp .clothingcta-button:hover {
  background-color: #e6b800; /* Etwas dunklerer Hintergrund beim Hover */
}
#babyclothingapp .clothingcta-button:focus {
  outline: none;
  border: 2px solid #666; /* Fokus-Stil */
}
/*autocomplete menu under search box*/
#babyclothingapp .autocomplete-items {
  position: absolute;
  border: 2px solid #e4e4e4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff; 
  border-bottom: 2px solid #e4e4e4; 
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/*when hovering an item:*/
#babyclothingapp .autocomplete-items div:hover {
  background-color: #74cbfb; 
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/*when navigating through the items using the arrow keys:*/
#babyclothingapp .autocomplete-active {
  background-color: #74cbfb !important; 
  color: #000000; 
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* output made responsive with flex*/
#babyclothingapp .outer_container{
  margin-left: auto;
  margin-right: auto;
  color: black;
  opacity: 0.95;
  width: 100%; 
  border-radius: 5px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .cardWeatherData{
  display: none;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom:15px;
  margin-top:15px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .forecast {
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  background:white;
  border-radius: 8px;
  width: 70%;
  position:relative;
  height: 100%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  padding: 0 20px; /* Zusätzlicher Abstand vom Rand */
  border-radius: 0.75rem;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* Align child elements horizontally */
#babyclothingapp .forecast > * {
  align-self: center;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .time-group {
  flex-grow: 1; 
  display:flex;
  flex-direction: column;
  text-align: left;
  font-size: 18px;
  padding: 10px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .tab {
  width: 100%;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .search-criteria-box {
  display: none;
  position: relative;
  flex-direction: column;
  font-family:"Segoe UI", Roboto, sans-serif;
  line-height: normal;
  border: 5px solid #ffcd00;
  width: 400px;
  margin: 0 auto;
  max-width: 100%;
  background-color:white;
  border-radius: 0.75rem;
  letter-spacing: 0.02rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  cursor: pointer;
  font-weight:500;
  box-sizing: border-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .search-location {
  display:flex;
  align-items: center;
  line-height:16px;
  gap:5px;
  font-size: 16px;
  padding-top: 8px;
  padding-left: 8px;
}
#babyclothingapp .search-criteria-value {
  font-size: 14px;
  padding: 8px;
}
#babyclothingapp .search-image {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 30px;
  height: 30px;
  background-color: #ffcd00; /* Schwarzer Hintergrund */
  border:1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px; /* Abgerundete Ecken für den Hintergrund */
}
#babyclothingapp .kleidungsvorschlagtitle {
  color: black;
  text-align: center;
  font-weight: 500;
  font-size: 18px;
  letter-spacing:0.02rem;
  margin-top:10px;
  margin-bottom: 15px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .cardManualInput h1, .cardManualInputinput{
  display: inline-block;
  vertical-align: middle;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

/* Grid Items */
#babyclothingapp .kleidungsvorschlag {
  display: none;
  font-family:"Segoe UI", Roboto, sans-serif;
  grid-template-columns: repeat(auto-fit, minmax(150px, 0.5fr));
  justify-content: center;
  gap: 6px;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  font-size: 14px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .cardManualInput {
  position: relative;
  text-align: center;
  top: 0;
  width: 85%;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .minusButton,
.plusButton {
display: inline-block;
width: 44px;
height: 44px;
line-height: 44px;
font-size: 20px;
font-weight: bold;
cursor: pointer;
font-size: 32px;
color: black;
border: 1px solid #ededed;
user-select: none;
border-radius: 4px;
margin-left:60px;
box-shadow: 0 2px 4px rgba(0,0,0,0.08);
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .tempinput {
position:absolute;
top:0;
display:inline-block;
appearance: none;
border:none;
padding: 0;
width: 50px;
height: 44px;
line-height: 44px;
color: black;
text-align: center;
font-size: 18px;
border-radius: 4px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .Gridimage{
  height: 80px;
  padding-top: 5px;
  margin-bottom: 10px;
  margin-top:5px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .Gridimage img{
  max-height: 100%;
  width:auto;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 1023px) {
  #babyclothingapp .Gridimage {
    height: 45px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#babyclothingapp .GridItem .caption{
  display: flex; /* Um Elemente nebeneinander auszurichten */
  flex-direction: column;
  width: 100%;
  font-weight:500;
  color: black;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  background: #ffcd00;
  border-radius: 8px;
  text-decoration:none;
  margin: 4px auto;
  margin-top: 0;
  padding: 4px 0;
  border: 1px solid #e6e6e6;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
@media (max-width: 1023px) {
  #babyclothingapp .GridItem img{
    max-height: 100%;
    width:auto;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}
#babyclothingapp .additional-button {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 50%; /* wenn du Hover-Effekt willst */
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
#babyclothingapp .additional-button:hover {
  background: #f3f3f3;
}
#babyclothingapp .additional-button:active {
  transform: scale(0.95);
}
/* Grid Items */
#babyclothingapp .GridItem {
  /* ... other styles ... */
  display: flex;
  flex-direction: column;
  justify-content: normal;
  align-items: center;
  text-align: center;
  border-radius: 10px;
  background-color:white;
  border: 1px solid #ddd;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  position:relative;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .slider-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .slider-navigation button {
  background-color:white; /* Dunklere Hintergrundfarbe */
  color: black;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  box-sizing: border-box; /* Überschreibe box-sizing für die Buttons */
  border-radius:50%;
  border: 1px solid #ededed;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0; /* Entfernt das Padding */
}
#babyclothingapp .slider-container {
  position: relative;
  max-width: 100%; 
  overflow: hidden; /* Hide the scrollbar and outer cards */
  display: flex; /* Add flex container properties */
  justify-content: center; /* Center the slides horizontally */
  align-items: stretch; /* Set the container to stretch vertically */
  color:black;
  margin-left: auto;
  margin-right: auto;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .slider {
  touch-action: pan-y pan-x; /* Allows both vertical and horizontal gestures */
  display: flex;	
  width: 100%;	
  transition: transform 0.5s ease;	
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.5s ease;
  background-color: transparent;
  z-index: 0; /* Add this line to set the z-index to 0 */
  letter-spacing: 0.02rem;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 1023px) {		
  #babyclothingapp .cardWeatherData{
    display: none;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom:15px;
    margin-top:15px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
  #babyclothingapp .slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.5s ease;
    background-color: transparent;
    letter-spacing: 0.02rem;
    z-index: 0; /* Add this line to set the z-index to 0 */
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}
#babyclothingapp .temperature{
  flex-grow: 1; 
  font-weight: bold;
  font-size: 2.5rem;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 768px) {		
  #babyclothingapp .temperature{
    flex-grow: 1; 
    font-weight: bold;
    font-size: 2rem;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}
#babyclothingapp .weather-container {
  display: flex;
  flex-grow: 1; 
  flex-direction: column;
  justify-content: center;
  align-items: center; /* Align items vertically in the center */
  height: 60px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .weather-icon img{
  height: 30px;
  width: auto;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 768px) {		
  #babyclothingapp .weather-icon img{
    height: 30px;
    width: auto;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#babyclothingapp .precipitation {
  display: flex;
  align-items: center; /* Center items vertically */
  gap:5px;
  margin-left: 10px; /* Adjust the spacing between the weather icon and precipitation */
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .niederschlag-logo {
  width: 16px;
  height: 16px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 768px) {		
  #babyclothingapp .niederschlag-logo {
    width: 16px;
    height: 16px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#babyclothingapp .niederschlag-value {
  font-size: 1rem;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .description {
  display:none;
  font-size: 1rem;
  line-height: normal;
  margin-bottom: 10px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 768px) {		
  #babyclothingapp .niederschlag-value  {
    font-size: 0.8rem;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
  #babyclothingapp .description {
    display:none;
    font-size: 0.8rem;
    line-height: normal;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#babyclothingapp .slide.highlighted {
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .tippcontainer {
  display: flex;
  flex-direction: column;
  justify-content: center; /* Center vertically */
  align-items: center; /* Center horizontally */
  max-width:360px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 15px;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp  .openweathercredits{
  display:none;
  position:absolute;
  right:0;
  bottom:0;
  clear: both;
  text-align: right;
  font-size: 0.6rem;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp  .openweathercredits >a{
  font-size: 0.6rem;
  color: blue;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp  .openweathercredits img{
  vertical-align: initial;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .tippcontainer img {
  align-self: self-start; /* Align the image to the start of the text */
  width: 100px;
  height: 100px;
  margin-left: 10px;
  z-index:-2;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 1023px) {		
  #babyclothingapp .tippcontainer img{
    width: 75px;
    height: 75px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#babyclothingapp .sprechblase {
  position: relative;
  letter-spacing: 0.02rem;
  background: #ffffff;
  color: black;
  font-size: 1.2rem;
  text-align: center;
  max-width: 500px;
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 5px;
  border: 1px solid black;
  border-bottom: 3px solid black;
  border-left: 3px solid black;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

@media (max-width: 1023px) {
  #babyclothingapp .sprechblase {
  font-size: 1rem;
  max-width: 100%;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
}

#babyclothingapp .sprechblase:before {
content: '';
position: absolute;
display: block;
width: 0;
z-index: -1;
border-style: solid;
border-color: #000000 transparent;
border-width: 25px 25px 0;
bottom: -20px;
left: 20%;
margin-left: -20px;
transform: rotate(10deg);
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .sprechblase:after {
  content: '';
  position: absolute;
  display: block;
  width: 0;
  z-index: 1;
  border-style: solid;
  border-color: #ffffff transparent;
  border-width: 19px 19px 0;
  bottom: -16px;
  left: 22.5%;
  margin-left: -20px;
  transform: rotate(10deg);
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}

#babyclothingapp .tabs {
  display: flex; /* Fallback: inline-block */
  justify-content: center;
  flex-wrap: wrap; /* Make sure it wraps */
  width: 400px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .tabs label {
  order: 1; /* Put the labels first */
  width:30%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 0px;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .tabs .tab {
  order: 99; /* Put the tabs last */
  flex-grow: 1;
  height: 44px;
  width: 100%;
  display: none;
  padding: 20px 0 5px 0;
  text-align: center; /* Zentriere den Inhalt horizontal */
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .tabs input[type="radio"] {
	display: none;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .tabs input[type="radio"]:checked + label {
  background: white;
  border:1px solid #ffcd00;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  border-radius: 0.5rem;
  z-index: 2;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .tabs input[type="radio"]:checked + label + .tab {
	display: block;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .browser-location-button {
	display: inline-block;
  height: 44px; /* Höhe der Buttons */
  line-height: 44px; /* Vertikales Zentrieren */
  padding: 0 15px; /* Padding für den Text */
  background-color: #ffcd00;
  color: black;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid black;
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .close-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  padding: 0;
  font-size: 28px;
  line-height: 1;
  font-weight: normal;
  color: #666;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}
#babyclothingapp .close-button:active,
#babyclothingapp .close-button:hover {
  background: rgba(0, 0, 0, 0.05); /* leichtes Feedback beim Tippen */
}
#babyclothingapp .main-header {
  margin-bottom: 10px;
  color: #222;
  text-align: center;
}
#babyclothingapp .dropdown-header-text {
  display: inline-block;
  font-size: 20px;
  font-weight: 400;
  color:#111;
  width: 90%;
  margin: 0 auto;
}
#babyclothingapp .option-remark {
  color: #444;  /* Etwas dunkler für bessere Lesbarkeit */
  font-size: 0.9rem;  /* Größer für bessere Lesbarkeit */
  line-height: 1.5;  /* Mehr Luft zwischen den Zeilen */
  margin-top: 8px;  /* Nur margin statt margin + padding */
  padding-left: 10px;
  padding-right: 10px;
}
#babyclothingapp .modal-content .alternative-option {
  position:relative;
  background: #f8f8f8;
  border-radius: 10px;
  padding: 10px 4px 30px 4px;
  margin: 5px 0 20px 0;
  transition: background-color 0.2s;
  }
#babyclothingapp .alternative-option:hover {
  background: #f0f0f0;
}
#babyclothingapp.dropdown-active::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* halbtransparent, wie dein anderes Overlay */
  backdrop-filter: blur(2px); /* weichzeichnen */
  z-index: 1001; 
}
#babyclothingapp .modal-content .alternative-header {
  font-weight: 500;
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 6px;
  padding: 0 8px; /* Seitenabstand hinzufügen */
}
#babyclothingapp .alternative-header span {
  color:#222;
  font-size: 1.1rem;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}
#babyclothingapp .swap-items {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-bottom: 6px;
}
#babyclothingapp .item {
  display: flex;
  align-items: center;
  text-align: center;
  background: white;
  padding: 8px 6px;
  border-radius: 6px;
  border: 1px solid #999;
  font-size: 0.9rem;
  color: #222;
}
#babyclothingapp .item-group {
  display: flex;
  gap: 4px;
}
#babyclothingapp .swap-arrow {
  display: flex;
  align-items: center;  /* Vertikal zentrieren */
  justify-content: center;  /* Falls nötig, horizontal zentrieren */
  height: 100%;  /* Falls das Eltern-Element eine feste Höhe hat */
}
#babyclothingapp .alternative-option:hover .swap-arrow {
  color: #333;
}
#babyclothingapp .swap-indicator {
  position: absolute;
  right: 15px;
  bottom: 8px;
  display: flex;
  align-items: center;
  gap: 2px; /* Reduzierter Abstand */
  color: #0066cc; /* Link-Blau */
  font-size: 14px; /* Kleinere Schriftgröße */
}
#babyclothingapp .swap-indicator-text {
  color: #0066cc; /* Explizit blaue Textfarbe */
}
#babyclothingapp .icon-arrow {
  font-weight: 600; /* Optional, um sicherzustellen, dass das Icon fett ist */
  font-size: 1rem; /* Größe des Icons */
box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .loadingIndicatorLocation {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -30%);
  flex-direction: column; /* Ändere die Ausrichtung auf eine vertikale Spaltenausrichtung */
  align-items: center;
  z-index: 9999; /* Stelle sicher, dass der Text und der Spinner über anderen Elementen liegen */
  display:none;
}

#babyclothingapp .loadingIndicatorLocation .spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3); /* heller und transparenter */
  border-top-color: #ffffff; /* weiß für besseren Kontrast */
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
#babyclothingapp .loading-text {
  color: white;
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.8); /* schwarzer Schatten */
}
#babyclothingapp .checkboxauto {
  display: flex;
  align-items: baseline; /* Vertikale Ausrichtung oben */
  margin-bottom: 5px;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .checkboxauto::before {
  content: "✓"; /* Unicode-Code für das Häkchen-Symbol */
  color: white; /* Farbe des Häkchens */
  background: linear-gradient(135deg, #5ab6f8 0%, #74cbfb 100%);
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 12px;
  font-weight: bold;
  line-height:normal;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .sprechblase img{
  width: 32px;
  height: 32px;
  padding-right: 10px;
  z-index:2;
  box-sizing: content-box; /* Zurücksetzen auf das Standardverhalten */
}
#babyclothingapp .input_alter {
  font-family:"Segoe UI", Roboto, sans-serif;
  color:black;
}
#babyclothingapp .input_transportation {
  font-family:"Segoe UI", Roboto, sans-serif;
  color:black;
}
#babyclothingapp .containercredits {
  position:relative;
}
#babyclothingapp .dropdown-inside {
  padding-right: 5px;
}
#babyclothingapp .dropdown-inside select {
  width: 100%;
  padding: 8px;
  font-size: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  color: #000;
}
#babyclothingapp .sleepcontainer {
  width: 100%;
  max-width: 500px;
  padding: 16px;
  background-color: white;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  font-size: 1.2rem;
}
#babyclothingapp .sleepclothingtext {
  display: none;
  margin: 0 auto;
  font-size: 1rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
  justify-content: center;
  font-weight: 400;
  letter-spacing: 0.02rem;
  background-color: white;
  border-radius: 0.75rem;
  color:black;
  font-family:"Segoe UI", Roboto, sans-serif;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  padding: 15px 0px;
  margin-bottom: 1rem;
  margin-top:15px;
  box-sizing: content-box;
}
#babyclothingapp .info-text-sleep {
  text-align: left;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: #4b5563;
  padding: 0 20px;
  margin: 8px 0;
}
#babyclothingapp .row-inside-temp {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 20px;
}
#babyclothingapp .row-inside-temp label {
  text-align: left;
  padding-left: 5px;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}
#babyclothingapp .toggle-settings-inside {
  text-decoration: dotted;
  color:blue;
  cursor: pointer;
}
#babyclothingapp .hidden {
  display: none;
}
#babyclothingapp .affiliate-icon {
  position: absolute;
  top: 0px;
  right: 0px;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  box-shadow: none;
  border-radius: 50%; /* wenn du Hover-Effekt willst */
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.1s ease;
}
#babyclothingapp .affiliate-icon:hover {
  background: #f3f3f3;
}
#babyclothingapp .affiliate-icon:active {
  transform: scale(0.95);
}
#babyclothingapp .modal-overlay {
  position: fixed;
  font-family: Roboto, sans-serif;
  top: 0;
  left: 0;
  width: 100vw;
  max-width: 100vw;
  height: calc(var(--vh, 1vh) * 100); /* statt 100vh */
  background-color: rgba(0, 0, 0, 0.4);
  display: none; /* wird per JS auf "flex" gesetzt */
  justify-content: center;
  align-items: flex-end; /* wichtig: von unten ausrichten */
  z-index: 999;
  backdrop-filter: blur(2px);
}
#babyclothingapp .modal-content {
  background: white;
  position:relative;
  width: 100%;
  max-width: none;
  max-height: 75vh;
  padding: 8px 16px 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* wichtig für iOS */
  border-radius: 16px 16px 0 0;
  animation: slideUpSheet 0.3s ease-out;
  transform: translateY(0);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}
@keyframes slideUpSheet {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
#babyclothingapp .modal-closing {
  animation: slideDownSheet 0.25s ease-out forwards;
}
@keyframes slideDownSheet {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}
#babyclothingapp .sheet-handle {
  width: 48px;
  height: 4px;
  background: #ccc;
  border-radius: 3px;
  margin: 4px auto 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
#babyclothingapp .modal-header {
  display: flex;
  align-items: center;
}
#babyclothingapp .recommendation-badge {
  display: inline-block;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
#babyclothingapp #affiliateImage {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px auto 0;
  padding: 0;
}

#babyclothingapp #affiliateTitle a {
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 8px;
  color: #111;
  text-decoration: none;
  line-height: 1.3;
}

#babyclothingapp .product-highlights {
  margin-bottom: 12px;
}

#babyclothingapp .feature-item {
  display: flex;
  font-size:14px;
  color:#555;
  margin-bottom: 6px;
  line-height: normal;
}

#babyclothingapp .checkmark {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  color: white;
  font-size: 12px;
  font-weight: bold;
  flex-shrink: 0;
}

#babyclothingapp .affiliateActionRow {
  display: flex;
  flex-direction:column;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 0 12px;
  margin-top:10px;
  margin-bottom: 16px;
}

#babyclothingapp .affiliate-price {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.2; 
  white-space: nowrap;
}

#babyclothingapp .affiliate-button {
  background-color: #ffcd00;
  border: none;
  border-radius: 6px;
  color: #000;
  font-size: 16px;
  font-weight: 600;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(213, 217, 217, 0.5);
  text-align: center;
  text-decoration: none;
  width: 100%;
}

#babyclothingapp .affiliate-button:hover {
  background-color: #F7CA00;
}

#babyclothingapp .affiliate-button:active {
  transform: scale(0.98);
}

#babyclothingapp .modal-hint {
  font-size: 11px;
  color: #555;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px 0 2px 0;
  line-height: 1.2;
}
#babyclothingapp .modal-inner {
  max-width: 420px;
  margin:0 auto 0;
}
#babyclothingapp .amazon-logo {
  height: 14px;
  object-fit: contain;
  vertical-align: middle;
  position:relative;
  top:1px;
}

#babyclothingapp .icon-image {
  display: block;
  width: 24px;
  height: 24px;
}
@supports (--vh: 1vh) {
  #babyclothingapp .modal-overlay {
    height: calc(var(--vh) * 100);
  }
}
@media (min-width: 768px) and (min-height: 541px) {
  #babyclothingapp .modal-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px; /* Abstand zum Rand */
  }

  #babyclothingapp .modal-content {
    max-width: 420px;
    width: 100%;
    max-height: 90vh;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  }

  #babyclothingapp .close-button {
    top: 12px;      /* vorher: 0 – Abstand zu runden Ecken */
    right: 12px;    /* vorher: 0 – optisch zentrierter im Card-Stil */
  }

  #babyclothingapp .sheet-handle{
    display:none;
  }

  #babyclothingapp .recommendation-badge {
    margin-top:10px;
  }
}
@media (max-height: 540px) {
  #babyclothingapp .modal-main{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  #babyclothingapp .affiliateActionRow {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
  }

  #babyclothingapp .affiliate-price {
    flex: 1; /* Kein automatisches Strecken */
    font-size: 17px;
    white-space: nowrap;
    text-align:center;
  }

  #babyclothingapp .affiliate-button {
    flex: 2; /* Button nimmt restlichen Platz */
    padding: 10px;
    font-size: 14px;
  }
}

#babyclothingapp .share-button {
  display: inline-flex;
  align-items: center;
  height:44px;
  gap: 0.5em;
  background-color: #ffffff;
  color: #222;
  border: 1px solid #ddd;
  border-radius: 14px;
  padding: 0.6em 1.1em;
  font-size: 1.2rem;
  font-weight: 400;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); /* leicht angehoben */
  transition: background-color 0.2s ease;
  margin-bottom: 1rem;
}

@media (max-width: 1023px) {
  #babyclothingapp .share-button {
  font-size: 1rem;
  margin-bottom: 0rem;
}
}

#babyclothingapp .share-button:hover {
  background-color: #f9f9f9;
}

#babyclothingapp .share-button:focus-visible {
  outline: 2px solid #ffd700;
  outline-offset: 2px;
}

#babyclothingapp .share-button:active {
  background-color: #f0f0f0;
  transform: scale(0.98);
}

#babyclothingapp .share-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

#babyclothingapp .share-loader-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-right: 0.4em;
}