/*
 * CSPLUS.ID v9.9.83
 * CRO alignment, mobile thumb zone, inline selector, and single sticky CTA.
 * Bottom navigation is owned by the canonical shell and must remain visible.
 */

.cs-cro-location-line {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 14px 0 0;
  padding: 10px 13px;
  border: 1px solid #dbe5ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

.cs-cro-location-line::before {
  content: "●";
  color: #16a34a;
  font-size: 11px;
}

.buyback-estimator-column {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.buyback-cod-note {
  margin: 0;
  padding: 14px 15px;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  background: linear-gradient(145deg, #f0fdf4, #f8fbff);
  color: #166534;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.5;
}

.buyback-radio-grid--transaction {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.buyback-radio-grid--transaction .buyback-radio {
  min-height: 78px;
}

.cs-cro-fold-selector {
  padding: 64px 20px;
  background: #f7f7f8;
}

.cs-cro-fold-selector__inner {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.09);
}

.cs-cro-fold-selector__inner h2 {
  margin: 8px 0 10px;
  color: #09090b;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.cs-cro-fold-selector__copy {
  margin: 0 0 24px;
  color: #5f6368;
  line-height: 1.6;
}

.cs-cro-selector-group {
  margin-top: 22px;
}

.cs-cro-selector-label {
  display: block;
  margin-bottom: 10px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
}

.cs-cro-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cs-cro-chip {
  min-height: 46px;
  padding: 10px 15px;
  border: 1px solid #dbe5ef;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.cs-cro-chip:hover {
  transform: translateY(-1px);
}

.cs-cro-chip.is-selected,
.cs-cro-chip[aria-pressed="true"] {
  border-color: #071123;
  background: #071123;
  color: #fff;
}

.cs-cro-selector-action {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.cs-cro-selector-status {
  min-height: 21px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  font-weight: 800;
}

.cs-cro-selector-status[data-error] {
  color: #b91c1c;
}

.cs-cro-live-proof {
  margin: 12px 0 0;
  color: #9a3412;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.cs-cro-risk-free {
  margin: 8px 0 0;
  color: #166534;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.5;
}

.cs-cro-sticky {
  display: none;
}

.cs-cro-sticky__wa-icon {
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

@media (max-width: 768px) {
  body.cs-cro-v9944 {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px)) !important;
  }

  body.cs-cro-v9944 #csplus-livechat-root,
  body.cs-cro-v9944 .cs-floating-wa-v9929,
  body.cs-cro-v9944 [data-floating-whatsapp] {
    display: none !important;
  }

  .cs-cro-sticky {
    position: fixed;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    z-index: 2147483646;
    display: grid;
    gap: 7px;
    padding: 9px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 54px rgba(7, 17, 31, 0.24);
    backdrop-filter: blur(18px);
  }

  .cs-cro-sticky__trust {
    overflow: hidden;
    color: #475569;
    font-size: 10.5px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cs-cro-sticky__button,
  a.cs-cro-sticky__button,
  button.cs-cro-sticky__button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 55px;
    padding: 12px 15px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #15803d, #22c55e);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 1000;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(22, 163, 74, 0.25);
    cursor: pointer;
  }

  .buyback-radio-grid--transaction {
    grid-template-columns: 1fr;
  }

  .cs-cro-fold-selector {
    padding: 42px 12px;
  }

  .cs-cro-fold-selector__inner {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .cs-cro-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cs-cro-chip {
    width: 100%;
    padding-inline: 10px;
  }

  .cs-cro-location-line {
    width: 100%;
    box-sizing: border-box;
    border-radius: 16px;
  }
}
