/* TV-paket – komplett CSS */
/* Uses the site's/system font stack; no external font request. */
/* -------- Filter -------- */
.tvpaket-filters{
  background:#fff;
  padding:15px 20px;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,.05);
  border:1px solid #e2e8f0;
  margin-bottom:30px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:20px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.tvpaket-filters .filter-item{
  display:flex;
  align-items:center;
  gap:8px;
}
.tvpaket-filters label{
  font-weight:600;
  font-size:.9rem;
  color:#4a5568;
}
.tvpaket-filters select,
.tvpaket-filters input[type="checkbox"]{
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  font-size:.9rem;
}
.tvpaket-filters select{
  padding:8px 12px;
  border-radius:6px;
  border:1px solid #cbd5e0;
  background:#fff;
}
.tvpaket-filters input[type="checkbox"]{
  width:16px; height:16px;
}
.tvpaket-filters .filter-item-count{
  margin-left:auto;
  font-size:.9rem;
  color:#718096;
}

/* -------- Grid / cards -------- */
.tvpaket-packages-container{
  display:flex;
  flex-wrap:wrap;
  gap:20px;
  justify-content:center;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  margin-top:20px;
}

.tv-package-card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 4px 12px rgba(0,0,0,.08);
  border:1px solid #e2e8f0;
  width:320px;
  display:flex;
  flex-direction:column;
  overflow:hidden;
  transition:transform .2s ease-in-out, box-shadow .2s ease-in-out;
}
.tv-package-card:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 20px rgba(0,0,0,.12);
}

/* Top (ingen semantisk header – bare en beholder) */
.tv-package-card .card-header{
  padding:20px;
  border-bottom:1px solid #e2e8f0;
  text-align:center;
}
.tv-package-card .provider-logo{
  max-height:40px;
  max-width:120px;
  margin-bottom:10px;
}
.tv-package-card .rating{
  font-size:.85rem;
  color:#718096;
  margin-bottom:12px;
}
.tv-package-card .rating-stars{
  color:#ecc94b;
  font-size:1rem;
  letter-spacing:2px;
}
.tv-package-card .package-title{
  font-size:1.25rem;
  font-weight:700;
  margin:0;
  color:#1a202c;
}

/* Body */
.tv-package-card .card-body{
  padding:20px;
  flex-grow:1;
}
.tv-package-card .price-section{
  text-align:center;
  margin-bottom:20px;
}
.tv-package-card .current-price{
  font-size:2.5rem;
  font-weight:700;
  color:#2d3748;
  line-height:1;
}
.tv-package-card .current-price .currency{
  font-size:1.25rem;
  font-weight:600;
  vertical-align:super;
  margin-right:2px;
}
.tv-package-card .current-price .period{
  font-size:1rem;
  font-weight:400;
  color:#718096;
}
.tv-package-card .original-price{
  font-size:.9rem;
  color:#a0aec0;
  text-decoration:line-through;
  margin-top:6px;
}

/* Detaljer – label:value uden bullets */
.tv-package-card .details-list,
.tv-package-card .features-list{
  padding:0;
  margin:0;
}
.tv-package-card .details-list{
  border-top:1px solid #e2e8f0;
  padding-top:15px;
  margin-bottom:15px;
  list-style:none;
}
.tv-package-card .details-list li{
  font-size:.9rem;
  margin-bottom:10px;
  display:block;         /* ikke flex – så bullets kan bruges andre steder */
}
.tv-package-card .details-list strong{
  color:#4a5568;
  margin-right:6px;
  font-weight:600;
  display:inline-block;
  min-width:90px;        /* jævn kolonnebredde for labels */
}

/* Funktioner – rigtige bullets */
.tv-package-card .features-list{
  list-style:disc;
  margin-left:20px;      /* indrykning så bullets ses */
}
.tv-package-card .features-list li{
  display:list-item;     /* vigtig: viser standard-bullet */
  font-size:.9rem;
  margin-bottom:8px;
  color:#1a202c;
}

/* Footer */
.tv-package-card .card-footer{
  padding:20px;
  background:#f7fafc;
  border-top:1px solid #e2e8f0;
}
.tv-package-card .cta-button,
.tvpaket-channel-modal-content .cta-button{
  display:block;
  width:100%;
  padding:12px;
  background:#3182ce;
  color:#fff;
  text-align:center;
  text-decoration:none;
  font-weight:600;
  border-radius:8px;
  transition:background-color .2s ease, transform .05s ease;
  cursor:pointer;
}
.tv-package-card .cta-button:hover,
.tvpaket-channel-modal-content .cta-button:hover{ background:#2b6cb0; }
.tv-package-card .cta-button:active,
.tvpaket-channel-modal-content .cta-button:active{ transform:translateY(1px); }

/* Små skærme */
@media (max-width:360px){
  .tv-package-card{ width:100%; }
}

/* -------- Card additions: ad label, last updated, top choice -------- */
.tv-package-card{
  position:relative;
}
.tv-package-card-top-choice{
  border:2px solid var(--tvpaket-top-border-color,#27ae60);
  box-shadow:0 6px 18px rgba(39,174,96,.16);
}
.tvpaket-top-choice-badge{
  position:absolute;
  top:12px;
  right:12px;
  z-index:2;
  background:var(--tvpaket-top-badge-bg,#27ae60);
  color:var(--tvpaket-top-badge-text,#fff);
  font-size:.72rem;
  font-weight:700;
  line-height:1;
  padding:7px 10px;
  border-radius:999px;
  box-shadow:0 3px 10px rgba(0,0,0,.12);
}
.tvpaket-card-ad-label,
.tvpaket-card-updated{
  color:#718096;
  font-size:.75rem;
  line-height:1.3;
  text-align:center;
}
.tvpaket-card-ad-label{
  margin-top:8px;
}
.tvpaket-card-updated{
  margin-top:4px;
}

/* -------- Channel additions -------- */
.tvpaket-channel-link{
  appearance:none;
  border:0;
  background:transparent;
  color:#3182ce;
  font:inherit;
  font-weight:700;
  padding:0;
  margin-left:4px;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:2px;
}
.tvpaket-card-channels-list{
  border-top:1px solid #e2e8f0;
  padding-top:15px;
  margin-bottom:15px;
}
.tvpaket-card-channels-title{
  font-size:.86rem;
  font-weight:700;
  color:#4a5568;
  margin-bottom:8px;
}
.tvpaket-card-channel-grid{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
}
.tvpaket-channel-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border:1px solid #e2e8f0;
  background:#f7fafc;
  color:#2d3748;
  border-radius:999px;
  padding:6px 9px;
  font-size:.78rem;
  font-weight:600;
  line-height:1.1;
}
button.tvpaket-channel-pill{
  cursor:pointer;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.tvpaket-channel-more{
  color:#3182ce;
  background:#edf2f7;
}
.tvpaket-channel-modal-overlay{
  position:fixed;
  inset:0;
  z-index:99999;
  background:rgba(15,23,42,.48);
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}
.tvpaket-channel-modal-overlay.hidden{display:none;}
.tvpaket-channel-modal-content{
  width:min(680px,100%);
  max-height:min(78vh,720px);
  overflow:hidden;
  background:#fff;
  border-radius:14px;
  box-shadow:0 22px 70px rgba(0,0,0,.24);
  display:flex;
  flex-direction:column;
}
.tvpaket-channel-modal-header,
.tvpaket-channel-modal-footer{
  padding:16px 18px;
  border-bottom:1px solid #e2e8f0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.tvpaket-channel-modal-footer{
  border-top:1px solid #e2e8f0;
  border-bottom:0;
  justify-content:flex-end;
  background:#f7fafc;
}
.tvpaket-channel-modal-header h3{
  margin:0;
  font-size:1.05rem;
  color:#1a202c;
}
.tvpaket-channel-modal-close{
  width:34px;
  height:34px;
  border:1px solid #e2e8f0;
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  font-size:24px;
  line-height:1;
  color:#4a5568;
}
.tvpaket-channel-modal-body{
  padding:18px;
  overflow:auto;
}
.tvpaket-channel-modal-subtitle{
  margin:0 0 12px;
  color:#718096;
  font-size:.9rem;
}
.tvpaket-modal-open{overflow:hidden;}
