/*
 * Bolívar Corp LLC — Estimator Mobile Refinement 1.0.6
 * Loaded AFTER bolivar-ui-105.css. Scoped to the estimator: does not change theme.
 * Intended change: eliminate the cramped two-column mobile layout captured
 * in WhatsApp video, restore readable media/text, and make controls touch-friendly.
 * No visual movement on scrolling should ever select a service.
 */
@media (max-width: 679px) {
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 {
    width:100%!important;min-width:0!important;max-width:100%!important;
    padding:10px 12px 36px!important;margin:0 auto!important;
    font-size:16px!important;overflow-x:clip!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 section.bcoe-hero {
    width:100%!important;min-height:0!important;
    padding:24px 20px 26px!important;margin:0 0 18px!important;
    border-radius:18px!important;overflow:hidden!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 section.bcoe-hero .bcoe-badge {
    display:inline-flex!important;font-size:11px!important;line-height:1.4!important;
    padding:9px 12px!important;letter-spacing:.035em!important;
    max-width:100%!important;white-space:normal!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 section.bcoe-hero h2 {
    font-family:Georgia,'Times New Roman',serif!important;
    font-size:clamp(27px,7.4vw,39px)!important;line-height:1.08!important;
    margin:14px 0 12px!important;max-width:100%!important;
    letter-spacing:-.035em!important;overflow-wrap:break-word!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 section.bcoe-hero h2 span {
    font-size:clamp(25px,7vw,36px)!important;line-height:1.13!important;
    margin:8px 0 0!important;letter-spacing:-.025em!important;
    background:transparent!important;padding:0!important;color:#fff4da!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 section.bcoe-hero p {
    font-size:15px!important;line-height:1.58!important;
    margin:0 0 14px!important;color:#fff5e8!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 section.bcoe-hero .bcoe-trust-row {
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;gap:8px!important;margin:16px 0 0!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 section.bcoe-hero .bcoe-trust-row span {
    display:flex!important;align-items:center!important;justify-content:center!important;
    padding:9px 7px!important;min-height:40px!important;text-align:center!important;
    border-radius:11px!important;font-size:12px!important;line-height:1.35!important;
    white-space:normal!important;overflow-wrap:break-word!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-progress {
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:start!important;gap:3px!important;margin:18px 0 20px!important;
    width:100%!important;min-width:0!important;padding:0!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-progress-line {
    left:12%!important;right:12%!important;top:19px!important;max-width:76%!important;
    pointer-events:none!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-progress .bcoe-step {
    width:auto!important;min-width:0!important;padding:0 2px!important;
    text-align:center!important;z-index:1!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-progress .bcoe-step b {
    width:37px!important;height:37px!important;line-height:33px!important;
    font-size:15px!important;margin:0 auto 7px!important;border-radius:50%!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-progress .bcoe-step span {
    display:block!important;max-width:100%!important;
    font-size:11px!important;line-height:1.3!important;font-weight:700!important;
    white-space:normal!important;overflow-wrap:break-word!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-important,
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-legal {
    font-size:13px!important;line-height:1.5!important;padding:13px!important;
    margin:10px 0 14px!important;overflow-wrap:break-word!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-panel {
    width:100%!important;min-width:0!important;padding:19px 14px 22px!important;
    border-radius:19px!important;box-shadow:0 8px 26px rgba(59,14,27,.09)!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-panel-head h3 {
    font-size:clamp(25px,6.3vw,32px)!important;line-height:1.18!important;
    letter-spacing:-.02em!important;margin:6px 0 12px!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-panel-head p {
    font-size:15px!important;line-height:1.55!important;max-width:100%!important;
  }
  /* Main fix: ONE service per row, no narrow/tall cards as seen in the mobile recording. */
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-services-grid {
    display:grid!important;grid-template-columns:minmax(0,1fr)!important;
    gap:14px!important;width:100%!important;max-width:100%!important;
    margin:16px 0 0!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card {
    width:100%!important;min-width:0!important;min-height:0!important;height:auto!important;
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    padding:11px 11px 16px!important;gap:5px!important;
    border-radius:17px!important;contain:layout style!important;
    -webkit-tap-highlight-color:rgba(196,161,90,.22)!important;
    touch-action:pan-y!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card .bcoe-service-icon {
    display:block!important;width:100%!important;max-width:100%!important;
    height:auto!important;min-height:0!important;aspect-ratio:16 / 9!important;
    overflow:hidden!important;flex:none!important;
    border-radius:13px!important;margin:0 0 5px!important;padding:0!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card img.bcoe-service-image {
    display:block!important;width:100%!important;height:100%!important;
    max-height:none!important;min-height:0!important;
    object-fit:cover!important;object-position:50% 42%!important;
    border-radius:13px!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card strong {
    margin:7px 2px 3px!important;min-height:0!important;
    font:700 20px/1.25 Georgia,'Times New Roman',serif!important;
    text-align:center!important;letter-spacing:-.015em!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card small {
    font:400 15px/1.48 system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;
    color:#51464b!important;opacity:1!important;
    margin:0 9px 3px!important;text-align:center!important;
    min-height:0!important;overflow-wrap:break-word!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card.selected small,
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card[aria-pressed="true"] small {
    color:#fff6e6!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card.selected strong,
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card[aria-pressed="true"] strong {
    color:#f9dfac!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card.bcoe-in-view:not(.selected):not([aria-pressed="true"]) {
    transform:translateY(-2px)!important;box-shadow:0 12px 24px rgba(59,14,27,.12)!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 :is(.bcoe-btn,.bcoe-submit,.bcoe-q-next,.bcoe-q-prev) {
    min-height:49px!important;font-size:15px!important;
    padding:12px 15px!important;white-space:normal!important;
    line-height:1.35!important;border-radius:12px!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 :is(input,select,textarea) {
    min-height:48px!important;font-size:16px!important;max-width:100%!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-result-top h3 {
    font-size:clamp(25px,6.5vw,32px)!important;line-height:1.12!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-result-top .bcoe-quote-no {
    font-size:14px!important;overflow-wrap:anywhere!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-result-content {
    min-width:0!important;padding:14px 11px!important;
  }
}
/* One card per row on small tablets in portrait; two on wider tablets. */
@media (min-width:680px) and (max-width:920px) {
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-services-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;
  }
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card strong {font-size:18px!important;}
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card small {font-size:14px!important;}
}
@media(max-width:350px){
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 section.bcoe-hero .bcoe-trust-row {grid-template-columns:1fr!important;}
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-progress .bcoe-step span {font-size:10px!important;}
}
@media(prefers-reduced-motion:reduce){
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card,
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 button.bcoe-service-card img.bcoe-service-image {transition:none!important;transform:none!important;}
}
/* Prevent an inherited +8px panel overflow on portrait tablets. */
@media (min-width:680px) and (max-width:920px) {
  body .bcoe-app.bcoe-v22.bcoe-v33.bcoe-v35-b.bcoe-bolivar-101.bcoe-v104.bcoe-v105.bcoe-v106 .bcoe-panel {
    box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
  }
}
