.lc-calc * { box-sizing: border-box; margin: 0; padding: 0; }

.lc-calc {
  max-width: 1200px;
  margin: 48px auto 48px;
  padding: 0 16px;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* ── Header ── */
.lc-calc-head {
  text-align: center;
  margin-bottom: 28px;
}
.lc-calc-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #57b1e3;
  margin-bottom: 6px;
}
.lc-calc-title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1.25;
  margin: 0 0 8px;
}
.lc-calc-sub {
  font-size: 15px;
  color: #555;
  line-height: 1.5;
  max-width: 640px;
  margin: 0 auto;
}

/* ── Tab-Reiter ── */
.lc-calc-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
/* Tab-Buttons: Theme-Override-Schutz gegen GeneratePress
   (globales button:hover/:active mit Pink-Akzent würde sonst durchschlagen).
   Höhere Spezifität via .lc-calc Prefix + !important auf allen States. */
.lc-calc .lc-calc-tab {
  background: #fff !important;
  border: 1.5px solid #e2e2e2 !important;
  border-radius: 8px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #555 !important;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
  -webkit-tap-highlight-color: transparent;
  box-shadow: none !important;
  outline: none !important;
  text-decoration: none !important;
}
.lc-calc .lc-calc-tab:hover {
  background: #fff !important;
  border-color: #57b1e3 !important;
  color: #1a3a5c !important;
}
.lc-calc .lc-calc-tab:active,
.lc-calc .lc-calc-tab:focus {
  background: #fff !important;
  border-color: #57b1e3 !important;
  color: #1a3a5c !important;
  outline: 2px solid #57b1e3 !important;
  outline-offset: 2px;
  box-shadow: none !important;
}
.lc-calc .lc-calc-tab.lc-calc-tab-active,
.lc-calc .lc-calc-tab.lc-calc-tab-active:hover,
.lc-calc .lc-calc-tab.lc-calc-tab-active:active,
.lc-calc .lc-calc-tab.lc-calc-tab-active:focus {
  background: #1a3a5c !important;
  border-color: #1a3a5c !important;
  color: #fff !important;
}

/* ── Vergleichs-Grid: 2 Spalten Desktop, 1 Spalte Mobile ── */
.lc-calc-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Pane (eine Spalte) */
.lc-calc-pane {
  background: #fff;
  border: 1.5px solid #e2e2e2;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Pane-Header */
.lc-calc-pane-head {
  padding: 14px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}
.lc-calc-pane-head svg { width: 16px; height: 16px; flex-shrink: 0; }

/* Linke Spalte: „Ohne Lisboa Card" */
.lc-calc-pane-without .lc-calc-pane-head {
  background: #1a3a5c;
  color: #fff;
}

/* Rechte Spalte: „Mit Lisboa Card" */
.lc-calc-pane-with .lc-calc-pane-head {
  background: #57b1e3;
  color: #fff;
}

/* Body der linken Spalte (Einzelpreise) */
.lc-calc-items {
  list-style: none;
  margin: 0;
  padding: 14px 20px 8px;
  flex: 1;
}
.lc-calc-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px dashed #e8e8e8;
  font-size: 14px;
  color: #333;
  line-height: 1.4;
}
.lc-calc-item:last-child { border-bottom: none; }
.lc-calc-item-name { padding-right: 12px; }

/* Reservierungs-Badge inline beim Item-Namen (Torre, Mosteiro). */
.lc-calc-item-badge {
  display: inline-block;
  background: #ef4a37;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: 1px;
  white-space: nowrap;
}
.lc-calc-item-price {
  color: #888;
  text-decoration: line-through;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Summen-Zeile in der „Ohne"-Spalte */
.lc-calc-sum {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  background: #f9fbfd;
  padding: 14px 20px;
  border-top: 1.5px solid #e2e2e2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a3a5c;
}
.lc-calc-sum-amount {
  font-size: 22px;
  font-weight: 800;
  color: #1a3a5c;
  letter-spacing: -0.3px;
}

/* Body der rechten Spalte (Karten-Preis + Vorteile) */
.lc-calc-with-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, rgba(87,177,227,0.05) 0%, rgba(87,177,227,0) 100%);
}
.lc-calc-with-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #57b1e3;
  margin-bottom: 6px;
}
.lc-calc-with-price {
  font-size: 38px;
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1;
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.lc-calc-with-price small {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0;
  margin-left: 6px;
}

.lc-calc-with-bullets {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.lc-calc-with-bullet {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}
.lc-calc-with-bullet-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 50%;
  background: #57b1e3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.lc-calc-with-bullet-icon svg { width: 9px; height: 9px; }

/* Savings-Highlight */
.lc-calc-savings {
  margin-top: auto;
  margin-bottom: 14px;
  background: #eaf4fb;
  border: 1.5px solid #57b1e3;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lc-calc-savings-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1a3a5c;
  line-height: 1.2;
}
.lc-calc-savings-sub {
  font-size: 11px;
  color: #555;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.lc-calc-savings-amount {
  font-size: 26px;
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1;
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* CTA-Button in der „Mit"-Spalte.
   Aufbau: Text-Wrapper (zwei Zeilen) + Pfeil rechts. Robust gegen
   Plugin-Spans und unterschiedlich lange Übersetzungen via TranslatePress. */
.lc-calc-cta,
.lc-calc-cta:link,
.lc-calc-cta:visited {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ef4a37;
  color: #fff !important;
  padding: 12px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(239,74,55,0.25);
}
.lc-calc-cta:hover {
  background: #d43a27 !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.lc-calc-cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
  min-width: 0; /* erlaubt korrekten Umbruch in Flex-Container */
}
.lc-calc-cta-main {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.1px;
}
.lc-calc-cta-sub {
  font-size: 12.5px;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 2px;
}
.lc-calc-cta svg {
  transition: transform 0.15s ease;
  flex-shrink: 0;
}
.lc-calc-cta:hover svg { transform: translateX(3px); }

/* ── Mikrocopy-Hinweis darunter ── */
.lc-calc-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 22px;
  padding: 14px 18px;
  background: #f9fbfd;
  border: 1px solid #e2e2e2;
  border-radius: 10px;
  font-size: 13px;
  color: #555;
  line-height: 1.5;
}
.lc-calc-note-icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 50%;
  background: #57b1e3;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.lc-calc-note-icon svg { width: 11px; height: 11px; }

/* ── Reentry-Link zur Rechner-Unterseite ── */
.lc-calc-reentry {
  margin-top: 18px;
  text-align: center;
}
.lc-calc-reentry-link,
.lc-calc-reentry-link:link,
.lc-calc-reentry-link:visited {
  font-size: 13px;
  color: #57b1e3;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-weight: 600;
}
.lc-calc-reentry-link:hover { color: #1a3a5c; text-decoration: underline; }

/* ── Tab-View-Sichtbarkeit (JS toggelt .lc-calc-view-active) ── */
.lc-calc-view { display: none; }
.lc-calc-view.lc-calc-view-active { display: block; }

/* ── Tablet ── */
@media (max-width: 768px) {
  .lc-calc-compare { grid-template-columns: 1fr; gap: 14px; }
  .lc-calc-with-price { font-size: 32px; }
  .lc-calc-savings-amount { font-size: 22px; }
}

/* ── Mobile ── */
@media (max-width: 480px) {
  .lc-calc { margin: 32px auto 32px; padding: 0 12px; }
  .lc-calc-head { margin-bottom: 20px; }
  .lc-calc-tabs { gap: 6px; }
  .lc-calc-tab { padding: 9px 14px; font-size: 13px; }
  .lc-calc-pane-head { padding: 12px 16px; font-size: 11px; }
  .lc-calc-items { padding: 12px 16px 6px; }
  .lc-calc-item { font-size: 13px; }
  .lc-calc-sum { padding: 12px 16px; font-size: 12px; }
  .lc-calc-sum-amount { font-size: 20px; }
  .lc-calc-with-body { padding: 16px; }
  .lc-calc-with-price { font-size: 30px; }
  .lc-calc-savings-amount { font-size: 22px; }
  .lc-calc-cta { padding: 11px 16px; gap: 10px; }
  .lc-calc-cta-main { font-size: 14.5px; }
  .lc-calc-cta-sub { font-size: 12px; }
}
