.ltb-compare-button,
.ltb-compare-clear,
.ltb-compare-pdf,
.ltb-compare-remove,
.ltb-compare-action {
  border-radius: 0 !important;
}

/* Shop-/Kategoriebutton: bewusst kleiner, nicht mehr als breiter Balken */
.ltb-compare-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 11px;
  border: 1px solid #008296;
  background: #fff;
  color: #008296;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 700;
  cursor: pointer;
  width: auto;
  margin-top: 8px;
  text-transform: none;
}

.ltb-compare-button::before {
  content: "⇄";
  margin-right: 6px;
  font-weight: 700;
}

.ltb-compare-button:hover,
.ltb-compare-button.is-active {
  background: #008296;
  color: #fff;
}

.ltb-compare-button.is-loading {
  opacity: .65;
  cursor: wait;
}

.single-product .ltb-compare-button--single {
  width: auto;
  min-width: 0;
  margin-top: 12px;
}

.ltb-compare-wrap {
  margin: 28px 0;
}

.ltb-compare-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.ltb-compare-head h2 {
  margin: 0 0 8px;
}

.ltb-compare-head p {
  margin: 0;
  color: #1f2a30;
}

.ltb-compare-toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ltb-compare-clear,
.ltb-compare-pdf {
  border: 1px solid #6b7c85;
  background: #fff;
  color: #1f2a30;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.ltb-compare-pdf {
  border-color: #008296;
  color: #008296;
}

.ltb-compare-clear:hover,
.ltb-compare-pdf:hover {
  border-color: #008296;
  background: #f5f8f9;
  color: #008296;
}

.ltb-compare-scroll {
  overflow-x: auto;
  border: 1px solid #d9e1e4;
  background: #fff;
}

.ltb-compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.ltb-compare-table th,
.ltb-compare-table td {
  border-bottom: 1px solid #d9e1e4;
  border-right: 1px solid #d9e1e4;
  vertical-align: top;
  padding: 13px;
  text-align: left;
}

.ltb-compare-table th {
  width: 178px;
  background: #f5f8f9;
  color: #1f2a30;
  font-weight: 700;
}

.ltb-compare-table td {
  background: #fff;
}

.ltb-compare-row--intro td {
  position: relative;
  text-align: center;
}

.ltb-compare-product-image {
  display: block;
  margin-bottom: 10px;
}

.ltb-compare-product-image img {
  max-width: 135px;
  height: auto;
}

.ltb-compare-product-title {
  display: block;
  color: #1f2a30;
  font-weight: 700;
  text-decoration: none;
}

.ltb-compare-product-title:hover {
  color: #008296;
}

.ltb-compare-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  line-height: 19px;
  border: 1px solid #d9e1e4;
  background: #fff;
  color: #1f2a30;
  cursor: pointer;
  font-size: 18px;
}

.ltb-compare-remove:hover {
  border-color: #008296;
  color: #008296;
}

.ltb-muted {
  color: #6b7c85;
}

.ltb-compare-row--actions td {
  text-align: left;
  vertical-align: top;
}

.ltb-compare-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 7px;
  width: 100%;
}

.ltb-compare-action {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  padding: 7px 10px !important;
  border: 1px solid #d9e1e4 !important;
  background: #fff !important;
  color: #1f2a30 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  text-align: center !important;
  cursor: pointer;
  box-shadow: none !important;
  text-transform: none !important;
  box-sizing: border-box !important;
}

.ltb-compare-action:hover {
  border-color: #008296 !important;
  color: #008296 !important;
  background: #f5f8f9 !important;
}

.ltb-compare-action--primary {
  border-color: #008296 !important;
  background: #008296 !important;
  color: #fff !important;
}

.ltb-compare-action--primary:hover {
  background: #005f6b !important;
  border-color: #005f6b !important;
  color: #fff !important;
}

.ltb-compare-action--cart {
  border-color: #f39200 !important;
  background: #f39200 !important;
  color: #fff !important;
}

.ltb-compare-action--cart:hover {
  border-color: #d97f00 !important;
  background: #d97f00 !important;
  color: #fff !important;
}

.ltb-compare-action--request {
  border-color: #008296 !important;
  color: #008296 !important;
}

.ltb-compare-notice {
  position: fixed;
  right: 20px;
  bottom: 82px;
  z-index: 99999;
  background: #1f2a30;
  color: #fff;
  padding: 12px 16px;
  max-width: 360px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}

.ltb-compare-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ltb-compare-notice.is-error {
  background: #8a1f1f;
}

.ltb-compare-floating {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99998;
  display: none;
}

.ltb-compare-floating.is-visible {
  display: block;
}

.ltb-compare-floating a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 13px;
  background: #f39200;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,.16);
}

.ltb-compare-empty {
  background: #f5f8f9;
  border-left: 4px solid #008296;
  padding: 20px 24px;
}

@media (max-width: 768px) {
  .ltb-compare-head {
    display: block;
  }

  .ltb-compare-toolbar {
    justify-content: flex-start;
    margin-top: 14px;
  }

  .ltb-compare-clear,
  .ltb-compare-pdf {
    width: auto;
  }

  .ltb-compare-table {
    min-width: 680px;
  }

  .ltb-compare-table th {
    width: 150px;
  }

  .ltb-compare-floating {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .ltb-compare-floating a {
    width: 100%;
    justify-content: center;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .ltb-compare-wrap,
  .ltb-compare-wrap * {
    visibility: visible !important;
  }

  .ltb-compare-wrap {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    background: #fff !important;
  }

  .ltb-compare-toolbar,
  .ltb-compare-remove,
  .ltb-compare-floating,
  .ltb-compare-notice,
  .ltb-compare-row--actions {
    display: none !important;
  }

  .ltb-compare-scroll {
    overflow: visible !important;
    border: 0 !important;
  }

  .ltb-compare-table {
    min-width: 0 !important;
    table-layout: fixed !important;
    font-size: 10pt !important;
  }

  .ltb-compare-table th,
  .ltb-compare-table td {
    padding: 8px !important;
    border: 1px solid #d9e1e4 !important;
  }

  .ltb-compare-product-image img {
    max-width: 90px !important;
  }
}
