@media (min-width: 992px) {
  html,
  body {
    background: #f7f8fb;
  }

  body {
    color: #1b2230;
  }

  .header-navbar {
    box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
  }

  .app-content .content-wrapper,
  .app-content .content-body {
    max-width: 1240px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #obaoba {
    max-width: 1240px;
    margin: 0 auto !important;
  }

  #js_image_selection {
    max-width: 1240px !important;
    left: 50% !important;
    transform: translateX(-50%);
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.08);
  }

  #js_image_selection .horizontal-tabs {
    padding: 12px 16px;
  }

  #js_image_selection .nav-tabs {
    gap: 10px;
  }

  #js_image_selection .nav-tabs > li > a {
    font-size: 13px;
    padding: 12px 16px !important;
  }

  .card {
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.08);
  }

  .content-body .row {
    row-gap: 14px;
  }

  .content-body [class*="col-"] {
    margin-bottom: 14px;
  }

  .btn {
    border-radius: 10px;
  }

  .footercart {
    width: 100% !important;
    max-width: none !important;
    height: 72px !important;
    margin: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 18px !important;
    transform: none !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
    border: 1px solid #dbe7f5 !important;
    border-radius: 16px !important;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.16), 0 2px 8px rgba(15, 23, 42, 0.08) !important;
  }

  .footercart > a {
    display: block;
    height: 100%;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    text-decoration: none;
  }

  .footercart .row {
    display: flex;
    align-items: center;
    height: 100%;
    margin: 0;
  }

  .footercart .column {
    float: none !important;
    width: auto !important;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
  }

  .footercart .column:nth-child(1) {
    flex: 0 0 56px;
    justify-content: center;
  }

  .footercart .column:nth-child(2) {
    flex: 1 1 auto;
    flex-direction: column;
    gap: 2px;
    justify-content: center;
    text-align: center;
  }

  .footercart .column:nth-child(2)::after {
    content: attr(data-cart-meta);
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    line-height: 1;
  }

  .footercart .column:nth-child(3) {
    flex: 0 0 160px;
    justify-content: flex-end;
    text-align: right;
  }

  .footercart .column:nth-child(2) p {
    margin: 0;
    color: #0f172a !important;
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: 16px;
  }

  .footercart .column:nth-child(1) img {
    width: 30px !important;
    height: 30px !important;
    padding: 6px;
    border-radius: 10px;
    background: #e8f1ff;
    border: 1px solid #c7dbfb;
  }

  .footercart #cartvalores {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #fff !important;
    font-weight: 800;
    font-size: 14px;
    box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .footercart #cartvalores.is-updated {
    animation: cartValuePulse 0.38s ease;
  }

  @keyframes cartValuePulse {
    0% {
      transform: scale(1);
      box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
    }
    50% {
      transform: scale(1.06);
      box-shadow: 0 14px 24px rgba(220, 38, 38, 0.38);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 8px 16px rgba(220, 38, 38, 0.3);
    }
  }

  #bounceInUpshowpedidoduvida,
  #bounceInUpshowagenda,
  #bounceInUpshowpedidoduvidapagamento,
  #bounceInUpshowpix,
  #bounceInUp,
  #bounceInUpshowpedido,
  #bounceinupclienteinfo,
  #bounceInUpshowpedidov2,
  #bounceInUpshowpedidologarslim,
  #bounceInUpshowpedidologar,
  #bounceInUpshowpedidoloja,
  #bounceInUppagar,
  #bounceInpedidoemandamento,
  #bounceInUpaskuser,
  #bounceInUpextras {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    padding: 0 !important;
  }

  #bounceInUpshowpedidoduvida .modal-dialog,
  #bounceInUpshowagenda .modal-dialog,
  #bounceInUpshowpedidoduvidapagamento .modal-dialog,
  #bounceInUpshowpix .modal-dialog,
  #bounceInUp .modal-dialog,
  #bounceInUpshowpedido .modal-dialog,
  #bounceinupclienteinfo .modal-dialog,
  #bounceInUpshowpedidov2 .modal-dialog,
  #bounceInUpshowpedidologarslim .modal-dialog,
  #bounceInUpshowpedidologar .modal-dialog,
  #bounceInUpshowpedidoloja .modal-dialog,
  #bounceInUppagar .modal-dialog,
  #bounceInpedidoemandamento .modal-dialog,
  #bounceInUpaskuser .modal-dialog,
  #bounceInUpextras .modal-dialog {
    width: 50vw !important;
    max-width: 50vw !important;
    height: 50vh !important;
    max-height: 50vh !important;
    margin: 25vh auto !important;
  }

  /* Overrides dedicados para modais com regras inline/fullscreen mais agressivas */
  #bounceInUpshowpedido {
    width: 100vw !important;
    height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 0 !important;
  }

  #bounceInUpshowpedido .modal-dialog {
    width: 50vw !important;
    max-width: 50vw !important;
    height: 50vh !important;
    max-height: 50vh !important;
    margin: 25vh auto !important;
  }

  #bounceInUpshowpedido .modal-content {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 14px !important;
    border: 2px solid #e8d9ff !important;
    box-shadow: 0 14px 40px rgba(95, 42, 176, 0.18), 0 2px 10px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #bounceInUpshowpedido .modal-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  #bounceInUpshowpedidoduvida {
    width: 100vw !important;
    height: 100vh !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    padding: 0 !important;
  }

  #bounceInUpshowpedidoduvida .modal-dialog {
    width: 50vw !important;
    max-width: 50vw !important;
    height: 50vh !important;
    max-height: 50vh !important;
    margin: 25vh auto !important;
  }

  #bounceInUpshowpedidoduvida .modal-content {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 14px !important;
    border: 2px solid #e8d9ff !important;
    box-shadow: 0 14px 40px rgba(95, 42, 176, 0.18), 0 2px 10px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
  }

  #bounceInUpshowpedidoduvida .modal-body {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    overflow-y: auto !important;
  }

  #bounceInUpshowpedidoduvida .modal-content,
  #bounceInUpshowagenda .modal-content,
  #bounceInUpshowpedidoduvidapagamento .modal-content,
  #bounceInUpshowpix .modal-content,
  #bounceInUp .modal-content,
  #bounceInUpshowpedido .modal-content,
  #bounceinupclienteinfo .modal-content,
  #bounceInUpshowpedidov2 .modal-content,
  #bounceInUpshowpedidologarslim .modal-content,
  #bounceInUpshowpedidologar .modal-content,
  #bounceInUpshowpedidoloja .modal-content,
  #bounceInUppagar .modal-content,
  #bounceInpedidoemandamento .modal-content,
  #bounceInUpaskuser .modal-content,
  #bounceInUpextras .modal-content {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    border-radius: 14px !important;
    border: 2px solid #e8d9ff !important;
    box-shadow: 0 14px 40px rgba(95, 42, 176, 0.18), 0 2px 10px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  #bounceInUpshowpedidoduvida .modal-body,
  #bounceInUpshowagenda .modal-body,
  #bounceInUpshowpedidoduvidapagamento .modal-body,
  #bounceInUpshowpix .modal-body,
  #bounceInUp .modal-body,
  #bounceInUpshowpedido .modal-body,
  #bounceinupclienteinfo .modal-body,
  #bounceInUpshowpedidov2 .modal-body,
  #bounceInUpshowpedidologarslim .modal-body,
  #bounceInUpshowpedidologar .modal-body,
  #bounceInUpshowpedidoloja .modal-body,
  #bounceInUppagar .modal-body,
  #bounceInpedidoemandamento .modal-body,
  #bounceInUpaskuser .modal-body,
  #bounceInUpextras .modal-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto !important;
  }

  .highlight-card {
    max-width: 150px;
    max-height: 200px;
  }
}

@media (min-width: 1200px) {
  .app-content .content-wrapper,
  .app-content .content-body,
  #obaoba,
  #js_image_selection {
    max-width: 1320px !important;
  }

  .footercart > a {
    max-width: 1320px;
  }

  .content-body [class*="col-"] {
    margin-bottom: 16px;
  }

  .card {
    box-shadow: 0 10px 24px rgba(17, 24, 39, 0.09);
  }
}

@media (min-width: 1440px) {
  .app-content .content-wrapper,
  .app-content .content-body,
  #obaoba,
  #js_image_selection {
    max-width: 1400px !important;
  }

  .footercart > a {
    max-width: 1400px;
  }

  #js_image_selection .horizontal-tabs {
    padding-left: 20px;
    padding-right: 20px;
  }

  #js_image_selection .nav-tabs > li > a {
    font-size: 14px;
  }
}
