#tv3-configurator {
  width: calc(100% - 48px);
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
#tv3-configurator .internet,
#tv3-configurator .telewizja,
#tv3-configurator .premium,
#tv3-configurator .multiroom {
  display: grid;
  gap: 14px;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#tv3-configurator form > .pole-name {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}
#tv3-configurator .telewizja {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
#tv3-configurator .premium {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
#tv3-configurator .clear { display: none; }
#tv3-configurator label {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 140px;
  float: none;
  margin: 0;
  padding: 14px 12px;
  border-radius: 14px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 18px;
  line-height: 1.4;
}
#tv3-configurator label img {
  position: static;
  width: auto;
  height: 48px;
  max-width: 100%;
  object-fit: contain;
  margin: 0 0 8px;
}
#tv3-configurator label span { font-size: 14px; }
#tv3-configurator #channel-browser {
  width: 100%;
  box-sizing: border-box;
  padding: clamp(16px, 2vw, 40px);
}
#tv3-configurator .tv2-grid {
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 6px;
}
#tv3-configurator .tv2-addons {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
}
#tv3-configurator .tv2-tabs button,
#tv3-configurator .tv2-addons button {
  transition: transform 180ms ease, box-shadow 180ms ease;
}
#tv3-configurator .tv2-addons button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
#tv3-configurator .tv3-package-note {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #eefaf5;
  color: #001733;
  font-size: 14px;
}
@media (hover: hover) and (pointer: fine) {
  #tv3-configurator .tv2-tabs button:hover,
  #tv3-configurator .tv2-addons button:not(:disabled):hover {
    transform: scale(1.025);
    position: relative;
    z-index: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  #tv3-configurator .tv2-tabs button,
  #tv3-configurator .tv2-addons button { transition: none; transform: none !important; }
}
#tv3-configurator .tv3-premium-title {
  margin: 24px 0 0;
  font-size: 22px;
  font-weight: 400;
  color: #6688ff;
}
#tv3-configurator input:checked + label,
#tv3-configurator .tv2-tabs button[aria-pressed="true"],
#tv3-configurator .tv2-addons button[aria-pressed="true"] {
  background: #dafffc;
  color: #001733;
  border-color: #d8e2ed;
  box-shadow: 3px 3px 6px 0 rgba(0, 0, 0, 0.5);
}
#tv3-configurator .tv2-addons button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 14px 8px;
}
#tv3-configurator .tv2-addons img {
  width: 120px;
  max-width: 100%;
  height: 40px;
  object-fit: contain;
  box-sizing: border-box;
  padding: 4px;
  border-radius: 4px;
  background: transparent;
}
@media (max-width: 1200px) {
  #tv3-configurator .tv2-addons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #tv3-configurator .tv2-addons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
#tv3-configurator .tv2-channel {
  min-height: 96px;
  min-width: 0;
  padding-left: 4px;
  padding-right: 4px;
  overflow-wrap: anywhere;
}
#tv3-configurator .tv2-channel img {
  transform: scale(1.540798875);
  margin: 20px auto 12px;
  width: 67.068px;
  height: 37.908px;
  max-width: 100%;
}
#tv3-configurator .tv2-channel.is-available::after {
  content: none;
}
#tv3-configurator .tv2-channel img.tv3-logo-hq {
  transform: none;
  width: 103.335px;
  height: 58.407px;
  max-width: 100%;
  margin: 6px auto 5px;
}
@media (max-width: 1000px) {
  #tv3-configurator .tv2-channel img:not(.tv3-logo-hq) {
    transform: none;
    width: 103.335px;
    height: 58.407px;
    max-width: 100%;
    margin: 6px auto 5px;
  }
}
@media (min-width: 1600px) {
  #tv3-configurator .tv2-grid { grid-template-columns: repeat(28, minmax(0, 1fr)); }
}
#tv3-configurator .summary {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 24px;
  border-radius: 16px;
  background: #fff;
}
#tv3-configurator .summary .pole-name {
  float: none;
  width: auto;
  margin: 0;
}
#tv3-configurator .summary .amount { float: none; }
#tv3-configurator #print-offer {
  margin-left: auto;
  padding: 12px 18px;
  border: 1px solid #001733;
  border-radius: 10px;
  background: #001733;
  color: #fff;
  font: inherit;
  cursor: pointer;
}
#tv3-configurator #print-offer:disabled { opacity: 0.5; cursor: wait; }
#tv3-print-offer { display: none; }
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  html, body { min-width: 0 !important; width: auto !important; background: #fff !important; }
  body::before, body::after, body > * { display: none !important; }
  body > #tv3-print-offer {
    display: block !important;
    color: #000;
    font-family: 'Nunito', sans-serif;
    font-size: 10pt;
    line-height: 1.4;
  }
  #tv3-print-offer h1 { font-size: 20pt; margin: 0 0 8pt; }
  #tv3-print-offer h2 { font-size: 14pt; margin: 18pt 0 10pt; break-after: avoid; }
  #tv3-print-offer dl { display: grid; grid-template-columns: 120pt 1fr; gap: 8pt 12pt; padding: 12pt 0; border-block: 1pt solid #ccc; }
  #tv3-print-offer dt { font-weight: 700; }
  #tv3-print-offer dd { margin: 0; overflow-wrap: anywhere; }
  #tv3-print-offer .tv3-print-channels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6pt; }
  #tv3-print-offer .tv3-print-channel { display: flex; align-items: center; gap: 5pt; padding: 5pt; border: 0.5pt solid #ddd; break-inside: avoid; font-size: 8pt; }
}
@media (max-width: 1000px) {
  #tv3-configurator .internet,
  #tv3-configurator .premium,
  #tv3-configurator .multiroom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  #tv3-configurator { width: calc(100% - 24px); }
  #tv3-configurator .internet,
  #tv3-configurator .telewizja,
  #tv3-configurator .premium,
  #tv3-configurator .multiroom { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #tv3-configurator label { font-size: 15px; padding: 12px 8px; min-height: 140px; }
  #tv3-configurator label span { font-size: 12px; }
  #tv3-configurator .tv2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  #tv3-configurator .tv2-heading { display: block; }
  #tv3-configurator .tv2-total { margin-top: 20px; }
  #tv3-configurator .summary { gap: 10px; padding: 16px; }
}
