/* Container til at styre placeringen i bunden */
#simyo-promo-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 99999;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  pointer-events: none; /* Sikrer at man kan klikke på siden bagved */
}

/* Selve banneret */
#simyo-promo-banner {
  background: #ffffff;
  pointer-events: auto; /* Gør selve banneret klikbart */
  border-top: 4px solid #9c27b0;
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
  padding: 15px 40px 15px 20px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  position: relative;
  width: 100%;
}

#simyo-promo-banner.is-hidden {
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
}

/* Luk-knap */
#simyo-promo-close {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  color: #666;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

#simyo-promo-close:hover {
  color: #000;
}

/* Flexbox layout for indholdet */
.simyo-promo-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 15px;
}

.simyo-promo-text {
  flex: 1;
}

.simyo-promo-text strong {
  display: block;
  font-size: 16px;
  color: #333;
  margin-bottom: 4px;
}

.simyo-promo-text p {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.4;
}

.simyo-promo-text p span {
  color: #9c27b0; 
  font-weight: bold;
}

.simyo-tag {
  background: #9c27b0;
  color: white;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 6px;
}

/* Call to action knap */
.simyo-btn {
  background: #ff9800; 
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  white-space: nowrap;
  transition: background 0.3s ease;
  box-shadow: 0 4px 6px rgba(255, 152, 0, 0.3);
}

.simyo-btn:hover {
  background: #f57c00;
}

/* Det lille badge (Skjult som standard) */
#simyo-promo-badge {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: #ffffff;
  color: #333;
  border: 2px solid #9c27b0;
  padding: 10px 16px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  z-index: 100000;
  pointer-events: auto;
}

#simyo-promo-badge:hover {
  background: #fdfdfd;
  transform: translateY(-2px);
}

#simyo-promo-badge.is-hidden {
  transform: translateY(150px);
  opacity: 0;
  pointer-events: none;
}

/* 💻 Desktop Specifik (Max 1100px, Buede kanter & Skygge) */
@media (min-width: 769px) {
  #simyo-promo-banner {
    max-width: 1100px;
    margin: 0 auto 20px auto; /* Løfter banneret 20px fra bunden og centrerer det */
    border-radius: 12px; /* Buede kanter */
    border: 1px solid #eaeaea; /* Giver lidt skarphed til kanterne */
    border-top: 4px solid #9c27b0; /* Beholder den lilla accent-top */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); /* Flot, stor skygge der giver svæve-effekt */
  }
}

/* 📱 Super Responsiv til Mobil */
@media (max-width: 768px) {
  .simyo-promo-content {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }
  
  .simyo-promo-text strong {
    font-size: 15px;
  }
  
  .simyo-promo-action {
    margin-top: 10px;
    text-align: center;
  }

  .simyo-btn {
    display: block;
    width: 100%;
    padding: 12px;
  }
  
  #simyo-promo-badge {
    bottom: 15px;
    left: 15px;
    font-size: 13px;
    padding: 8px 14px;
  }
}