/* Linia z wybranym kolorem (wspólna dla obu trybów) */
.dksc-var {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
  line-height: 1.3;
  color: #666;
  max-width: 100%;
}
.dksc-var-name {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.dksc-change {
  flex: none;
  color: inherit !important;
  text-decoration: underline !important;
}
#dk-sticky .dk-p {
  min-width: 0;
}

/* Własny pasek modułu – tylko telefony */
#dksc-bar {
  display: none;
}
@media (max-width: 767px) {
  #dksc-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1040;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
  }
  #dksc-bar .dksc-info {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
  }
  #dksc-bar .dksc-price {
    font-size: 17px;
    line-height: 1.2;
    font-weight: 700;
    color: #e8890c;
  }
  #dksc-bar .dksc-ship {
    font-size: 11px;
    line-height: 1.3;
    color: #444;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  #dksc-bar .dksc-btn {
    flex: none;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    background: #f0a12c !important;
    color: #fff !important;
    box-shadow: none;
    cursor: pointer;
    white-space: nowrap;
  }
  body.dksc-has-bar {
    padding-bottom: 140px;
  }
}
