/* CSS Document */

* {
  text-transform: uppercase !important;
  line-height: 150%;
}

.nav-sidebar li:hover a {
  background-color: #F585B8 !important;
}

.nav-sidebar li a {
  color: #bd3e5e !important;
}

.nav-sidebar li a:hover {
  color: #fff !important;
}

.sidebar-brand img {
  width: 94px;
  height: auto;
}

label {
  /*margin-bottom: -50px !important;*/
  margin-top: 8px !important;
  margin-right: 10px !important;
  margin-left: 5px !important;
}

.input-group {
  margin-bottom: 8px;
  margin-top: 5px;
}

/* Botão Bootstrap Rosa Bebê */
.btn-rosa-bebe {
  color: #ffffff;
  background-color: #F585B8;
  border-color: #D65E94;
}

.btn-rosa-bebe:hover,
.btn-rosa-bebe:focus,
.btn-rosa-bebe:active,
.btn-rosa-bebe.active,
.open .dropdown-toggle.btn-rosa-bebe {
  color: #ffffff !important;
  background-color: #F567A7;
  border-color: #D65E94;
}

.btn-rosa-bebe:active,
.btn-rosa-bebe.active,
.open .dropdown-toggle.btn-rosa-bebe {
  background-image: none;
}

.btn-rosa-bebe.disabled,
.btn-rosa-bebe[disabled],
fieldset[disabled] .btn-rosa-bebe,
.btn-rosa-bebe.disabled:hover,
.btn-rosa-bebe[disabled]:hover,
fieldset[disabled] .btn-rosa-bebe:hover,
.btn-rosa-bebe.disabled:focus,
.btn-rosa-bebe[disabled]:focus,
fieldset[disabled] .btn-rosa-bebe:focus,
.btn-rosa-bebe.disabled:active,
.btn-rosa-bebe[disabled]:active,
fieldset[disabled] .btn-rosa-bebe:active,
.btn-rosa-bebe.disabled.active,
.btn-rosa-bebe[disabled].active,
fieldset[disabled] .btn-rosa-bebe.active {
  background-color: #F585B8;
  border-color: #D65E94;
}

.btn-rosa-bebe .badge {
  color: #F585B8;
  background-color: #ffffff;
}

/* Botão Bootstrap Rosa Choque */
.btn-rosa-choque {
  color: #FFFFFF;
  background-color: #B93C5C;
  border-color: #94223F;
}

.btn-rosa-choque:hover,
.btn-rosa-choque:focus,
.btn-rosa-choque:active,
.btn-rosa-choque.active,
.open .dropdown-toggle.btn-rosa-choque {
  color: #FFFFFF !important;
  background-color: #942340;
  border-color: #94223F;
}

.btn-rosa-choque:active,
.btn-rosa-choque.active,
.open .dropdown-toggle.btn-rosa-choque {
  background-image: none;
}

.btn-rosa-choque.disabled,
.btn-rosa-choque[disabled],
fieldset[disabled] .btn-rosa-choque,
.btn-rosa-choque.disabled:hover,
.btn-rosa-choque[disabled]:hover,
fieldset[disabled] .btn-rosa-choque:hover,
.btn-rosa-choque.disabled:focus,
.btn-rosa-choque[disabled]:focus,
fieldset[disabled] .btn-rosa-choque:focus,
.btn-rosa-choque.disabled:active,
.btn-rosa-choque[disabled]:active,
fieldset[disabled] .btn-rosa-choque:active,
.btn-rosa-choque.disabled.active,
.btn-rosa-choque[disabled].active,
fieldset[disabled] .btn-rosa-choque.active {
  background-color: #B93C5C;
  border-color: #94223F;
}

.btn-rosa-choque .badge {
  color: #B93C5C;
  background-color: #FFFFFF;
}

.selectable tbody tr:hover {
  background-color: #EEE;
  cursor: pointer;
}

h4.title {
  margin-bottom: -15px;
}

h5.subtitle {
  margin-top: 20px;
}

.tipo {
  margin: 1px 5px 5px 1px;
  padding: 6px 1px;
  border-radius: 5px;
  background-color: #EEE;
  width: 100%;
  min-height: 155px !important;
  font-size: 15px;
}

.procedimento {
  margin: 1px 5px 5px 1px;
  padding: 6px 1px;
  border-radius: 5px;
  background-color: #EEE;
  width: 100%;
  min-height: 80px !important;
  font-size: 15px;
}

.sub_tipo {
  color: #555;
  font-size: 13px;
}

.btn-print {
  margin-bottom: 5px;
}

#logo-print {
  visibility: hidden;
}

@media print {

  a {
    text-decoration: none !important;
  }

  .table {
    font-size: 8pt;
  }

  .no-print {
    display: none;
  }

  .sidebar-brand-text {
    display: block !important;
  }

  .page-header {
    margin-top: -25pt !important;
  }

  input,
  span,
  label,
  textarea,
  .input-group,
  select {
    font-size: 9pt !important;
    margin-top: 5pt !important;
  }

  #logo-print {
    visibility: visible;
    margin-bottom: 30px;
    margin-top: 10px;
  }

  .sidebar-brand {
    text-decoration: none !important;
    font-size: 24px;
    color: #000;
  }

  .recibo {
    font-size: 16px !important;
  }

  .recibo-no-border {
    border: 0 !important;
  }

}

.span-right {
  float: right !important;
}

.btn-group-addon {
  padding-top: 8px;
  margin-left: 4px;
}

.rodape {
  color: #EEE;
  font-size: 9px;
  margin: 0px 10px;
}

.recibo {
  font-family: monospace !important;
  text-align: center;
  padding: 1px 2px;
  border-top: none;
  border-right: none;
  border-left: none;
  border-bottom: 1px solid #000;
  font-size: 16px;
  color: #000 !important;
}

.recibo-txt {
  width: 100px;
}

.recibo-dt {
  width: 210px !important;
}

.recibo-val {
  width: 80px !important;
}

.card-recibo {
  font-family: monospace;
  font-size: 16px;
  color: #000 !important;
}

#img-catalog {
  width: 100%;
  height: 250pt;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  border-radius: 8px;
}

#tbl-product {
  border: 1px solid #dfe0e2;
}

.card-text {
  min-height: 48px;
}

td.tamanho:hover {
  background-color: #B04367;
  color: #FFF;
  cursor: pointer;
}

td.clicked {
  background-color: #AF1B49;
  color: #FFF;
}

h6.attention {
  animation: blinker 2s ease-in infinite;
  font-weight: bold;
}

@keyframes blinker {
  50% {
    opacity: 0.33;
    transform: translate(8px);
  }
}

.categoria {
  box-shadow: 0 .125rem .25rem 0 rgba(58, 59, 69, .2) !important;
}

.categoria:hover {
  background-color: #EEE;
}


p.observacao {
  font-size: 13px;
}

h5.categoria-titulo {
  color: #B04367;
  font-weight: bold;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

hr.categoria-hr {
  border-color: #F585B8;
  border-width: 2px;
  margin-top: 4px;
}

.navbar.navbar-expand.navbar-light.bg-white.topbar.mb-4.static-top.shadow {
  background-color: #d55d82 !important;
}

footer.sticky-footer.bg-white {
  background-color: #b18ea0;
}




div.card.mb-3.shadow-sm {
  border-radius: 8px !important;
}

ul.results {
  display: flex;
  width: 100%;
  padding: 0;
  margin: 16px 12px 12px;
  list-style-type: none;
}

li.result {
  padding: 0;
}

li.result img {
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  transition: all 0.2s ease;
  border-radius: 8px;
}

ul.results:is(:hover, :focus-within) img {
  opacity: calc(0.1 + (var(--active-lerp, 0) * 0.9));
  filter: grayscale(calc(1 - var(--active-lerp, 0)));
}

:root {
  --lerp-0: 1;
  --lerp-1: 0.5787037;
  --lerp-2: 0.2962963;
  --lerp-3: 0.125;
  --lerp-4: 0.037037;
  --lerp-5: 0.0046296;
  --lerp-6: 0;
}

a {
  outline-offset: 4px;
}

li.result {
  flex: calc(1 + (var(--active-lerp, 0) * 1));
  transition: flex 0.2s ease;
}

li.result:is(:hover, :focus-within) {
  --active-lerp: var(--lerp-0);
  z-index: 7;
}

li.result:has(+ li:is(:hover, :focus-within)),
li.result:is(:hover, :focus-within)+li {
  --active-lerp: var(--lerp-1);
  z-index: 6;
}

li.result:has(+ li + li:is(:hover, :focus-within)),
li.result:is(:hover, :focus-within)+li+li {
  --active-lerp: var(--lerp-2);
  z-index: 5;
}

li.result:has(+ li + li + li:is(:hover, :focus-within)),
li.result:is(:hover, :focus-within)+li+li+li {
  --active-lerp: var(--lerp-3);
  z-index: 4;
}

li.result:has(+ li + li + li + li:is(:hover, :focus-within)),
li.result:is(:hover, :focus-within)+li+li+li+li {
  --active-lerp: var(--lerp-4);
  z-index: 3;
}

li.result:has(+ li + li + li + li + li:is(:hover, :focus-within)),
li.result:is(:hover, :focus-within)+li+li+li+li+li {
  --active-lerp: var(--lerp-5);
  z-index: 2;
}

li.result:has(+ li + li + li + li + li + li:is(:hover, :focus-within)),
li.result:is(:hover, :focus-within)+li+li+li+li+li+li {
  --active-lerp: var(--lerp-6);
  z-index: 1;
}

#collapseCategorias a.collapse-item.category-item {
  white-space: normal;
}

@media(max-width:768px) {
  h4 {
    font-size: 14px;
  }

  ul.results {
    overflow-x: scroll;
  }

  li.result img {
    min-width: 96px;
  }
}

.d-flex.justify-content-between.align-items-center.score {
  gap: 8px;
}

.cat_link {
  width: 100%;
  display: inline-block;
  line-height: 10pt;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media(max-width:768px) {
  #modal-main-img {
    max-height: 224px;
    object-fit: contain;
  }
}

.scroll-to-cesta {
  position: fixed;
  right: 15px;
  top: 80px;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background: #B93C5C; /* Rosa choque do tema */
  line-height: 46px;
  z-index: 1030;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border: 2px solid #fff;
}

.scroll-to-cesta:focus,
.scroll-to-cesta:hover {
  color: white;
  background-color: #F585B8; /* Rosa bebê no hover */
  text-decoration: none;
  transform: scale(1.1);
}

.scroll-to-cesta i {
  font-weight: 800;
}