/* Landed cost calculator (quote page) */
.lc-page {
  padding: 56px 0 120px;
}
.lc-top {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}
.lc-top h1 {
  font-size: 54px;
  margin-top: 14px;
}
.lc-top p {
  font-size: 15px;
  max-width: 480px;
  color: var(--muted);
}
.lc-modes {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-top: 20px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  flex-wrap: wrap;
}
.lc-modes button,
.lc-tabs button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
  transition:
    background 0.15s,
    color 0.15s;
}
.lc-modes button .icon {
  width: 18px;
  height: 18px;
}
.lc-modes button:hover,
.lc-tabs button:hover {
  color: var(--ink);
}
.lc-modes button[aria-pressed='true'],
.lc-tabs button[aria-pressed='true'] {
  background: var(--navy);
  color: white;
}

/* Toolbar */
.lc-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.lc-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  gap: 4px;
  padding: 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.lc-tools,
.lc-sheet-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lc-btn {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: var(--navy);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.lc-btn:hover {
  border-color: var(--navy);
}
.lc-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.lc-btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.lc-btn-orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--navy-deep);
  font-weight: 650;
}
.lc-link-button {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}
.lc-link-button:hover {
  color: var(--ink);
  text-decoration: underline;
}
.lc-status {
  margin: 0 0 14px;
  padding: 10px 14px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--navy);
  font-size: 13px;
}

/* Layout */
.lc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.lc-grid[hidden],
.lc-rates[hidden],
.lc-saved[hidden] {
  display: none;
}
.lc-build,
#lc-build,
.lc-rates {
  display: grid;
  gap: 16px;
  min-width: 0;
}
.lc-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
  min-width: 0;
  scroll-margin-top: 110px;
}
.lc-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.lc-card-head h2,
.lc-saved h2 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 0;
}
.lc-card-head span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: #ac480e;
}
.lc-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}
.lc-fields .full {
  grid-column: 1 / -1;
}
.lc-stack {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}
.lc-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.lc-label {
  font-size: 12px;
  font-weight: 550;
}
.lc-field input,
.lc-field select,
.lc-field textarea,
.lc-delivery-row input {
  margin-top: 6px;
}
.lc-num {
  font-variant-numeric: tabular-nums;
}
.lc-hint {
  display: block;
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.55;
  color: var(--muted);
}
.lc-hint[hidden] {
  display: none;
}
.lc-small {
  margin: 0;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--muted);
}
.lc-small[hidden],
.lc-lot-link[hidden],
.lc-clearing-only[hidden] {
  display: none;
}
.lc-gap {
  margin-top: 14px;
}
.lc-lead {
  margin: -4px 0 16px;
}
.lc-lot-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--navy);
  border-radius: 4px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.lc-lot-link:hover {
  background: var(--navy);
  color: white;
}
.lc-seg {
  display: flex;
  gap: 4px;
  margin-top: 6px;
  padding: 4px;
  background: var(--soft);
  border-radius: 5px;
}
.lc-seg button {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  cursor: pointer;
}
.lc-seg button:hover {
  color: var(--ink);
}
.lc-seg button[aria-pressed='true'] {
  background: var(--navy);
  color: white;
}
.lc-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--soft);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}
.lc-switch span:last-child {
  color: var(--muted);
  font-weight: 500;
}
.lc-switch[aria-pressed='true'] {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}
.lc-switch[aria-pressed='true'] span:last-child {
  color: #ffffffbf;
}
.lc-switch-wide {
  width: 100%;
  margin-bottom: 16px;
}
.lc-submit {
  width: 100%;
  justify-content: center;
  margin-top: 20px;
}

/* Sheet */
.lc-aside {
  min-width: 0;
}
.lc-sticky {
  position: sticky;
  top: 100px;
}
.lc-sheet-actions {
  margin-bottom: 12px;
}
.lc-sheet {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 40px #141c4c0f;
  scroll-margin-top: 100px;
}
.lc-sheet-head {
  background: var(--navy);
  color: white;
  padding: 20px 22px;
}
.lc-sheet-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.lc-sheet-brand img {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  object-fit: contain;
  background: white;
  border-radius: 4px;
  padding: 2px;
}
.lc-sheet-brand p {
  margin: 0;
  font-size: 13px;
  color: white;
}
.lc-kicker {
  margin: 0;
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--orange) !important;
}
.lc-sheet-brand h2 {
  color: white;
  font-size: 18px;
  letter-spacing: -0.3px;
  margin: 8px 0 0;
}
.lc-sheet-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.lc-sheet-meta p {
  margin: 0;
  font-size: 12px;
  font-weight: 550;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
  color: white;
}
.lc-sheet-meta span {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  color: #ffffff99;
}
.lc-vehicle {
  padding: 16px 22px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.lc-vehicle p {
  margin: 4px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.lc-kicker-deep {
  margin: 0 !important;
  font-size: 10.5px !important;
  font-weight: 600;
  letter-spacing: 1.2px;
  color: #ac480e !important;
}
.lc-vehicle .lc-vehicle-name {
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.4px;
  color: var(--navy);
}
.lc-vehicle .lc-forklift-on {
  margin-top: 8px;
  font-size: 11.5px;
  font-weight: 550;
  color: #ac480e;
}
.lc-vehicle .lc-forklift-off {
  margin-top: 8px;
  font-size: 11.5px;
}
.lc-empty {
  margin: 0;
  padding: 12px 22px;
  background: #fff1e8;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: #7d310a;
}
.lc-sheet-group {
  padding: 16px 22px;
  border-bottom: 1px solid var(--line);
}
.lc-sheet-group h3 {
  font-size: 13px;
  margin: 0;
  color: var(--navy);
}
.lc-sheet-group-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.lc-sheet-group-head span {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
}
.lc-sheet ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lc-sheet li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.lc-sheet li:first-child {
  border-top: 0;
}
.lc-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  color: #ac480e;
}
.lc-line-label strong {
  display: block;
  font-size: 13px;
  font-weight: 550;
}
.lc-line-label small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.lc-line-value {
  font-size: 13px;
  font-weight: 650;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.lc-line-value small {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.lc-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 8px;
  padding: 12px;
  background: var(--soft);
  border-radius: 4px;
}
.lc-chips p {
  margin: 0;
  font-size: 12.5px;
  font-weight: 650;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.lc-chips span {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}
.lc-sheet-note {
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--muted);
}
.lc-total {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 20px 22px;
  background: var(--navy);
  color: white;
}
.lc-total-ngn {
  margin: 6px 0 0;
  font-size: 28px;
  font-weight: 650;
  letter-spacing: -0.8px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.lc-total-usd {
  margin: 4px 0 0;
  font-size: 13px;
  color: #ffffffcc;
  font-variant-numeric: tabular-nums;
}
.lc-total-sum {
  max-width: 13rem;
  margin: 0;
  font-size: 11px;
  line-height: 1.55;
  text-align: right;
  color: #ffffffbf;
  font-variant-numeric: tabular-nums;
}
.lc-sheet-warn {
  padding: 12px 22px;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.lc-sheet-warn p {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink);
}
.lc-sheet-warn p + p {
  margin-top: 6px;
}
.lc-sheet-foot {
  padding: 14px 22px 18px;
}
.lc-sheet-foot p {
  margin: 0;
  font-size: 11px;
  line-height: 1.7;
  color: var(--muted);
}
.lc-sheet-foot p + p {
  margin-top: 8px;
}

/* Rates */
.lc-table-wrap {
  overflow-x: auto;
}
.lc-table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
  font-size: 12.5px;
}
.lc-table th {
  padding: 8px 6px 8px 0;
  text-align: left;
  font-weight: 550;
  color: var(--muted);
  white-space: nowrap;
}
.lc-table tbody th {
  color: var(--ink);
}
.lc-table tr + tr,
.lc-table tbody tr {
  border-top: 1px solid var(--line);
}
.lc-table td {
  padding: 6px 4px;
}
.lc-table input {
  min-height: 40px;
  margin: 0;
  padding: 8px;
  min-width: 64px;
  font-size: 12.5px;
}
.lc-deliveries {
  display: grid;
  gap: 8px;
}
.lc-delivery-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9rem auto;
  gap: 8px;
  align-items: center;
}
.lc-delivery-row input {
  margin: 0;
}
.lc-rates > .lc-link-button {
  justify-self: start;
}

/* Saved */
.lc-saved-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}
.lc-saved-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.lc-saved-list li > div {
  flex: 1;
  min-width: 0;
}
.lc-saved-list p {
  margin: 0;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lc-saved-list small {
  font-size: 11px;
  color: var(--muted);
}
.lc-saved .lc-small {
  margin-top: 8px;
}

/* Other services */
.lc-other {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.lc-other[hidden] {
  display: none;
}
.lc-other-intro h2 {
  font-size: 30px;
  letter-spacing: -0.8px;
}
.lc-other-intro p {
  font-size: 14px;
  color: var(--muted);
  margin: 14px 0 20px;
}
.lc-noscript {
  padding: 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
}

/* Bottom total bar */
.lc-bar {
  position: fixed;
  inset: auto 0 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px max(16px, calc((100vw - var(--container)) / 2 + 16px))
    calc(10px + env(safe-area-inset-bottom));
  background: #fffffff2;
  border-top: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
#car-mode[hidden] .lc-bar,
#car-mode[hidden] {
  display: none;
}
.lc-bar > div {
  flex: 1;
  min-width: 0;
}
.lc-bar > div span {
  display: block;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lc-bar strong {
  font-size: 18px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
.lc-bar-usd {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
body:has(#car-mode:not([hidden])) .floating-whatsapp {
  bottom: 84px;
}

@media (max-width: 1050px) {
  .lc-grid {
    grid-template-columns: 1fr;
  }
  .lc-sticky {
    position: static;
  }
  .lc-grid[data-view='build'] .lc-aside,
  .lc-grid[data-view='sheet'] .lc-build {
    display: none;
  }
  .lc-other {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}
@media (max-width: 700px) {
  .lc-page {
    padding: 32px 0 120px;
  }
  .lc-top {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 22px;
  }
  .lc-top h1 {
    font-size: 36px;
  }
  .lc-modes {
    display: flex;
  }
  .lc-modes button {
    flex: 1 1 auto;
    padding: 0 12px;
  }
  .lc-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .lc-tabs {
    grid-template-columns: repeat(4, 1fr);
  }
  .lc-tabs button {
    padding: 0 6px;
  }
  .lc-tools .lc-btn,
  .lc-sheet-actions .lc-btn {
    flex: 1 1 auto;
  }
  .lc-card {
    padding: 18px 16px;
  }
  .lc-fields {
    grid-template-columns: 1fr;
  }
  .lc-sheet-head,
  .lc-vehicle,
  .lc-sheet-group,
  .lc-total,
  .lc-sheet-warn,
  .lc-sheet-foot,
  .lc-empty {
    padding-left: 16px;
    padding-right: 16px;
  }
  .lc-total {
    flex-direction: column;
    align-items: flex-start;
  }
  .lc-total-sum {
    text-align: left;
    max-width: none;
  }
  .lc-delivery-row {
    grid-template-columns: minmax(0, 1fr) 7rem;
  }
  .lc-delivery-row .lc-btn {
    grid-column: 1 / -1;
  }
  .lc-bar-usd {
    display: none;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  .lc-sheet,
  .lc-sheet * {
    visibility: visible;
  }
  .lc-grid[data-view] .lc-aside {
    display: block !important;
  }
  .lc-sheet {
    position: absolute;
    inset: 0 0 auto;
    box-shadow: none;
    border: 0;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
}
