body,
html {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: #444;
  background-color: #e9ecef;
}

.fundo-inicio-aberto {
  background: linear-gradient(to top, #000000b8 50%, #000 100%), var(--bg_cardapio, url("bg.png")) no-repeat;
  background-size: cover;
  border-bottom: 8px solid #CCC;
}

.fundo-inicio-fechado {
  background: linear-gradient(to top, #000000b8 50%, #000 100%), var(--bg_cardapio, url("bg.png")) no-repeat;
  background-size: cover;
  border-bottom: 8px solid #CCC;
  background-color: rgba(255, 255, 255, 1);
  background-blend-mode: luminosity;
}

.image-upload>input {
  display: none;
}

.image-upload img {
  width: 60px;
  cursor: pointer;
}

#detalhes {
  padding: 3%;
  width: 100%;
  height: auto;
  background-color: #eaeaea;
  color: #666;
  font-size: 15px;
  margin-top: 2%;
  padding-bottom: 15%;
  z-index: 150;
  position: static;
}

#detalhes a {
  color: #222;
}

#detalhes a:hover {
  text-decoration: underline;
}

#carrinho_q {
  width: 25%;
  margin-right: 2%;
  left: 75%;
  top: 390px !important;
  position: absolute;
  background-color: #fafafa;
  color: #333;
  -webkit-box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
  box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
  border-radius: 5px;
  z-index: 10;
}

#pagamentos {
  width: 70%;
  margin-left: 5%;
  background-color: #fff;
  padding: 1%;
  -webkit-box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
  -moz-box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
  box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
  border-radius: 5px;
  margin-top: 3%;
  z-index: -1;
}

@media print {
  body * {
    visibility: hidden;
  }

  #imprimir,
  #imprimir * {
    visibility: visible;
  }

  #imprimir {
    position: fixed;
    left: 0;
    top: 0;
  }
}

.h3 {
  color: #333;
  text-decoration: none;
  background-color: #fff;
  margin: 0;
  font-size: 150%;
}

.h3:hover,
.h3:active,
.h3:visited,
.h3:link,
.hqs:hover {
  background-color: #EEE;
  color: #555;
}

.hh3 {
  color: #333;
  text-decoration: none;
  background-color: #fff;
  margin: 0;
  font-size: 150%;
  padding: 2%;
}

.hh3:hover {
  background-color: #E5E5E5;
  color: #333;
}

a:hover,
a:visited,
a:link,
a:active {
  text-decoration: none;
}

.slide-max {
  height: 200px !important;
  max-height: 200px !important;
  padding: 0;
  margin: 0;
}

/*
* PC/TABLET
*/
@media (min-width:1024px) and (max-width:768px) {
  body {
    background-color: #fff;
  }

  .popup {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
    height: auto;
    padding: 20px;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    color: #333;
    -webkit-box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
    box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    z-index: 1100;
    overflow: auto;
    max-width: 90%;
    max-height: 90%;
  }

  h2 {
    font-size: 150%;
  }
}

/*
* TELEFONE
*/
@media (max-width:480px) {
  body {
    background-color: #f4f5f7;
    background-image: url("");
  }

  .slide-max {
    height: 130px !important;
    max-height: 130px !important;
    margin-bottom: 0 !important;
  }

  #conteudo {
    width: 100%;
    padding-right: 5%;
  }

  .popup {
    position: absolute;
    top: 5%;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
    height: auto;
    padding: 20px;
    border: solid 1px #eaeaea;
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 100%;
    color: #333;
    -webkit-box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
    -moz-box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
    box-shadow: 0px 3px 25px -2px rgba(0, 0, 0, 1);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    z-index: 1100;
    overflow: auto;
    max-width: 90%;
    max-height: 90%;
  }

  h2 {
    font-size: 150%;
  }
}

.preto {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.95;
  display: none;
  overflow: hidden;
  z-index: 1000;
}

/* CUSTOMIZE THE NAVBAR
-------------------------------------------------- */

/* Special class on .container surrounding .navbar, used for positioning it into place. */
.navbar-wrapper {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
}

/* Flip around the padding for proper display in narrow viewports */
.navbar-wrapper>.container {
  padding-right: 0;
  padding-left: 0;
}

.navbar-wrapper .navbar {
  padding-right: 15px;
  padding-left: 15px;
}

.navbar-wrapper .navbar .container {
  width: auto;
}


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
  height: 500px;
  margin-bottom: 60px;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel .item {
  height: 500px;
  background-color: #777;
}

.carousel-inner>.item>img {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 500px;
}


/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
  margin-bottom: 20px;
  text-align: center;
}

.marketing h2 {
  font-weight: normal;
}

.marketing .col-lg-4 p {
  margin-right: 10px;
  margin-left: 10px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 80px 0;
  /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
.featurette-heading {
  font-weight: 300;
  line-height: 1;
  letter-spacing: -1px;
}


/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 768px) {

  /* Navbar positioning foo */
  .navbar-wrapper {
    margin-top: 20px;
  }

  .navbar-wrapper .container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .navbar-wrapper .navbar {
    padding-right: 0;
    padding-left: 0;
  }

  /* The navbar becomes detached from the top, so we round the corners */
  .navbar-wrapper .navbar {
    border-radius: 4px;
  }

  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 20px;
    font-size: 21px;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 992px) {
  .featurette-heading {
    margin-top: 120px;
  }
}

.big-btn {
  padding: 10px 0px 11px 0px;
  width: 215px;
  margin-top: 5px;
}

.big-btn i {
  font-size: 65px;
  margin-right: 0px !important;
}

.big-btn strong {
  font-size: 25px;
  text-shadow: 1px 2px 0px #34659B;
  color: #fff;
  line-height: 24px;
}

.big-btn .btn-text {
  margin-top: 6px;
}

.big-btn small {
  font-size: 75%;
}

.android-btn {
  width: 240px;
  padding: 13px 17px 13px 0px;
  background-color: #000;
  border-color: #000;

}

.android-btn:hover {
  background-color: #272727;
}

.android-btn i {
  font-size: 55px;
}

.android-btn .btn-text {
  margin-top: 0px;
}

.android-btn strong {
  font-size: 25px;
  text-shadow: none;
  color: #fff;
  line-height: 24px;
}

.windows-btn {
  background-color: #008A00;
  width: 235px;
  padding: 13px 5px 13px 10px;
  border-color: #055805;
}

.windows-btn:hover {
  background-color: #008A00;
}

.windows-btn .btn-text {
  text-shadow: none;
  font-size: 26px;
  line-height: 25px;
}

.dummy-positioning {
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
}

.rating {
  display: flex;
  width: 100%;
  justify-content: center;
  overflow: hidden;
  flex-direction: row-reverse;
  height: 150px;
  position: relative;
}

.rating-0 {
  filter: grayscale(100%);
}

.rating>input {
  display: none;
}

.rating>label {
  cursor: pointer;
  width: 40px;
  height: 40px;
  margin-top: auto;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23e3e3e3' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 76%;
  transition: .3s;
}

.rating>input:checked~label,
.rating>input:checked~label~label {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23fcd93a' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.rating>input:not(:checked)~label:hover,
.rating>input:not(:checked)~label:hover~label {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='126.729' height='126.73'%3e%3cpath fill='%23d8b11e' d='M121.215 44.212l-34.899-3.3c-2.2-.2-4.101-1.6-5-3.7l-12.5-30.3c-2-5-9.101-5-11.101 0l-12.4 30.3c-.8 2.1-2.8 3.5-5 3.7l-34.9 3.3c-5.2.5-7.3 7-3.4 10.5l26.3 23.1c1.7 1.5 2.4 3.7 1.9 5.9l-7.9 32.399c-1.2 5.101 4.3 9.3 8.9 6.601l29.1-17.101c1.9-1.1 4.2-1.1 6.1 0l29.101 17.101c4.6 2.699 10.1-1.4 8.899-6.601l-7.8-32.399c-.5-2.2.2-4.4 1.9-5.9l26.3-23.1c3.8-3.5 1.6-10-3.6-10.5z'/%3e%3c/svg%3e");
}

.emoji-wrapper {
  width: 100%;
  text-align: center;
  height: 100px;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
}

.emoji-wrapper:before,
.emoji-wrapper:after {
  content: "";
  height: 15px;
  width: 100%;
  position: absolute;
  left: 0;
  z-index: 1;
}

.emoji-wrapper:before {
  top: 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 0) 100%);
}

.emoji-wrapper:after {
  bottom: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 35%, rgba(255, 255, 255, 0) 100%);
}

.emoji {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: .3s;
}

.emoji>svg {
  margin: 15px 0;
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}

#rating-1:checked~.emoji-wrapper>.emoji {
  transform: translateY(-100px);
}

#rating-2:checked~.emoji-wrapper>.emoji {
  transform: translateY(-200px);
}

#rating-3:checked~.emoji-wrapper>.emoji {
  transform: translateY(-300px);
}

#rating-4:checked~.emoji-wrapper>.emoji {
  transform: translateY(-400px);
}

#rating-5:checked~.emoji-wrapper>.emoji {
  transform: translateY(-500px);
}

.bs-vertical-wizard {
  padding-bottom: 10px;
}

.bs-vertical-wizard ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bs-vertical-wizard ul>li {
  display: block;
  position: relative;
}

.bs-vertical-wizard ul>li>a {
  display: block;
  padding: 10px 10px 10px 40px;
  color: #333c4e;
  font-size: 17px;
  font-weight: 400;
  letter-spacing: .8px;
}

.bs-vertical-wizard ul>li>a:before {
  content: '';
  position: absolute;
  width: 1px;
  height: calc(100% - 25px);
  background-color: #bdc2ce;
  left: 13px;
  bottom: -9px;
  z-index: 3;
}

.bs-vertical-wizard ul>li>a .ico {
  pointer-events: none;
  font-size: 14px;
  position: absolute;
  left: 10px;
  top: 15px;
  z-index: 2;
}

.bs-vertical-wizard ul>li>a:after {
  content: '';
  position: absolute;
  border: 2px solid #bdc2ce;
  border-radius: 50%;
  top: 14px;
  left: 6px;
  width: 16px;
  height: 16px;
  z-index: 3;
}

.bs-vertical-wizard ul>li>a .desc {
  display: block;
  color: #9699a0;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: .8px;
}

.bs-vertical-wizard ul>li.complete>a:before {
  background-color: #5cb85c;
  opacity: 1;
  height: calc(100% - 25px);
  bottom: -9px;
}

.bs-vertical-wizard ul>li.canceled>a:before {
  background-color: #d12f2a;
  opacity: 1;
  height: calc(100% - 25px);
  bottom: -9px;
}

.bs-vertical-wizard ul>li.complete>a:after {
  display: none;
}

.bs-vertical-wizard ul>li.canceled>a:after {
  display: none;
}

.bs-vertical-wizard ul>li.locked>a:after {
  display: none;
}

.bs-vertical-wizard ul>li:last-child>a:before {
  display: none;
}

.bs-vertical-wizard ul>li.complete>a .ico {
  left: 8px;
}

.bs-vertical-wizard ul>li.canceled>a .ico {
  left: 8px;
}

.bs-vertical-wizard ul>li>a .ico.ico-red {
  color: #b40303ad;
}

.bs-vertical-wizard ul>li>a .ico.ico-green {
  color: #5cb85c;
}

.bs-vertical-wizard ul>li>a .ico.ico-muted {
  color: #bdc2ce;
}

.bs-vertical-wizard ul>li.current,
.bs-vertical-wizard ul>li.cancel {
  background-color: #fff;
}

.bs-vertical-wizard ul>li.current>a:before {
  background-color: #ffe357;
  opacity: 1;
}

.bs-vertical-wizard ul>li.current>a:after {
  border-color: #ffe357;
  background-color: #ffe357;
  opacity: 1;
}

.bs-vertical-wizard ul>li.current:after,
.bs-vertical-wizard ul>li.current:before {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.bs-vertical-wizard ul>li.current:after {
  border-color: rgba(255, 255, 255, 0);
  border-left-color: #fff;
  border-width: 10px;
  margin-top: -10px;
}

.bs-vertical-wizard ul>li.current:before {
  border-color: rgba(234, 236, 241, 0);
  border-left-color: #eaecf1;
  border-width: 11px;
  margin-top: -11px;
}

.botao-fechar-pedido {
  background-color: #343a40;
  border: none;
}

.cpointer {
  cursor: pointer;
}

/********** ROLETA ***************/
.roleta-folha {
  position: relative;
  width: 320px;
  height: 320px;
}

.roleta-painel {
  border: 10px solid #FFF;
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.roleta-seta {
  position: absolute;
  left: 48.5%;
  border-bottom: 0px solid transparent;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-top: 40px solid var(--cor_primaria, #58a1ee);
  width: 0;
  height: 0;
  z-index: 999;
}

.roleta-box1,
.roleta-box2,
.roleta-box3,
.roleta-box4,
.roleta-box5,
.roleta-box6,
.roleta-box7,
.roleta-box8 {
  position: absolute;
  width: 0;
  height: 0;
}

.roleta-box1 {
  border-top: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 80px solid var(--cor_primaria, #004e8a);
  border-left: 80px solid var(--cor_primaria, #004e8a);
}

.roleta-box5 {
  border-top: 80px solid #CCCCCC;
  border-right: 80px solid #CCCCCC;
  border-bottom: 80px solid transparent;
  border-left: 80px solid transparent;
}

.roleta-box2 {
  border-top: 80px solid var(--cor_primaria, #004e8a);
  border-right: 80px solid transparent;
  border-bottom: 80px solid transparent;
  border-left: 80px solid var(--cor_primaria, #004e8a);
  left: 50%;
}

.roleta-box6 {
  border-top: 80px solid transparent;
  border-right: 80px solid #CCCCCC;
  border-bottom: 80px solid #CCCCCC;
  border-left: 80px solid transparent;
  left: 50%
}

.roleta-box4 {
  border-top: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 80px solid #CCCCCC;
  border-left: 80px solid #CCCCCC;
  top: 50%;
  left: 50%;
}

.roleta-box8 {
  border-top: 80px solid var(--cor_primaria, #004e8a);
  border-right: 80px solid var(--cor_primaria, #004e8a);
  border-bottom: 80px solid transparent;
  border-left: 80px solid transparent;
  top: 50%;
  left: 50%;
}

.roleta-box3 {
  border-top: 80px solid #CCCCCC;
  border-right: 80px solid transparent;
  border-bottom: 80px solid transparent;
  border-left: 80px solid #CCCCCC;
  top: 50%;
}

.roleta-box7 {
  border-top: 80px solid transparent;
  border-right: 80px solid var(--cor_primaria, #004e8a);
  border-bottom: 80px solid var(--cor_primaria, #004e8a);
  border-left: 80px solid transparent;
  top: 50%;
}

@keyframes roleta {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

.roleta-premio {
  position: absolute;
  z-index: 999;
  font-size: 12px;
  font-weight: bold;
  color: white;
}

.roleta-premio1 {
  top: 35%;
  left: 8%;
  transform: rotate(25deg);
}

.roleta-premio2 {
  top: 15%;
  left: 30%;
  transform: rotate(55deg);
}

.roleta-premio3 {
  top: 15%;
  left: 55%;
  transform: rotate(115deg);
}

.roleta-premio4 {
  top: 33%;
  right: 10%;
  transform: rotate(150deg);
}

.roleta-premio5 {
  top: 60%;
  right: 10%;
  transform: rotate(200deg);
}

.roleta-premio6 {
  top: 80%;
  right: 30%;
  transform: rotate(250deg);
}

.roleta-premio7 {
  top: 80%;
  left: 30%;
  transform: rotate(306deg);
}

.roleta-premio8 {
  top: 60%;
  left: 10%;
  transform: rotate(333deg);
}

.roleta-start {
  position: absolute;
  color: #FFFFFF;
  background-color: var(--cor_primaria, #58a1ee);
  border: 15px solid var(--cor_primaria, #58a1ee);
  cursor: pointer;
  top: 45%;
  left: 45%;
  font-size: 13px;
  border-radius: 50%;
  height: 42px;
  width: 42px;
  text-align: center;
}

.roleta-stop {
  animation-play-state: paused;
}

.chat-message {
  width: auto;
  display: inline-block;
  min-width: 100px;
}

#loader-bg {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  opacity: 0.6;
  z-index: 10000 !important;
  margin: auto;
}

#loader {
  position: fixed;
  left: 45%;
  top: 50%;
  z-index: 10001 !important;
  border: 5px solid #f3f3f3;
  border-radius: 50%;
  border-top: 6px solid var(--cor_primaria, #004e8a);
  width: 60px;
  height: 60px;
  -webkit-animation: spin 0.5s linear infinite;
  /* Safari */
  animation: spin 0.5s linear infinite;
}

.btn-confirm {
  background-color: var(--cor_primaria) !important;
  color: #fff !important;
  border: none;
}

.custom-control-input:checked~.custom-control-label::before {
  background-color: var(--cor_primaria) !important;
  border-color: var(--cor_primaria) !important;
}

.rodar {
  position: fixed;
  -webkit-animation: spin 1s linear infinite;
  /* Safari */
  animation: spin 1s linear infinite;
}

.bg-grey {
  background-color: #f4f5f7 !important;
}

.bg-white {
  background-color: #fff !important;
}

.table-borderless>tbody>tr>td,
.table-borderless>tbody>tr>th,
.table-borderless>tfoot>tr>td,
.table-borderless>tfoot>tr>th,
.table-borderless>thead>tr>td,
.table-borderless>thead>tr>th {
  border: none;
}

.card-produto {
  min-height: 110px;
}

.card-produto:hover,
.l-hover:hover {
  background-color: #f8f9fa !important;
}

.testimonial-group>.row {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
}

.testimonial-group>.row>.col-xs-4 {
  flex: 0 0 auto;
}

.modal-header {
  justify-content: flex-start;
  align-items: center;
}

.modal-header .close[data-dismiss="modal"]:not(.modal-opcoes-produto-close) {
  order: -1;
  float: none;
  margin: 0 0.75rem 0 0;
  padding: 0.375rem 0.75rem;
  opacity: 1;
  background-color: #f8f9fa;
  color: var(--cor_primaria, #004e8a);
  text-shadow: none;
  font-weight: 400;
  line-height: 1;
  border: 1px solid #f8f9fa;
  border-radius: 0.25rem;
}

.modal-header .close[data-dismiss="modal"]:not(.modal-opcoes-produto-close):hover {
  background-color: #e2e6ea;
  border-color: #dae0e5;
  color: var(--cor_primaria, #004e8a);
}

.modal-header .close[data-dismiss="modal"]:not(.modal-opcoes-produto-close)>span {
  display: none !important;
}

.modal-header .close[data-dismiss="modal"]:not(.modal-opcoes-produto-close)::before {
  font-family: "Font Awesome 5 Free", "FontAwesome";
  font-weight: 900;
  content: "\f060";
  font-size: 1rem;
  line-height: 1;
}

.rounded-pill {
  border-radius: 50rem !important;
}

.card-produto.rounded,
.card-produto-vertical {
  border-radius: 12px !important;
}

.card-produto .rounded {
  border-radius: 10px !important;
}

.select-categoria {
  width: auto;
  max-width: 75%;
  height: 40px;
  font-size: 14px;
  border-radius: 10px;
}

.logo-barra-categorias {
  display: none;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  object-fit: cover;
  background-color: #fff;
  border: 2px solid #fff;
  border-radius: 50%;
}

#group-categorias.fixed-top {
  padding-top: 10px;
  padding-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#group-categorias.fixed-top .logo-barra-categorias {
  display: block;
}

.botao-pesquisar-produto {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #555;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 10px;
}

#pesquisaProdutoGroup .form-control {
  border-radius: 10px 0 0 10px;
}

#pesquisaProdutoGroup .btn {
  border-radius: 0 10px 10px 0;
}

.categoria-capa {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 64px;
  margin: 0 -12px;
  padding: 12px 24px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.categoria-capa h5,
.categoria-capa p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.categoria-capa p {
  max-width: 100%;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
  text-overflow: ellipsis;
  opacity: 0.9;
}

.produtos-horizontal {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.card-produto-vertical {
  flex: 0 0 150px;
  width: 150px;
  min-height: 0;
  overflow: hidden;
  border: 1px solid #e9ecef;
  cursor: pointer;
  scroll-snap-align: start;
}

.produtos-grade {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}

.produtos-grade .card-produto-vertical {
  width: auto;
  min-width: 0;
}

.card-produto-vertical-imagem {
  padding: 6px 6px 0;
}

.card-produto-vertical-imagem img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
}

.card-produto-vertical-corpo {
  padding: 8px 10px 10px;
  font-size: 14px;
}

.card-produto-vertical-nome,
.card-produto-vertical-descricao {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-produto-vertical-nome {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 700;
}

.card-produto-vertical-descricao {
  min-height: 2.8em;
  margin: 0 0 6px;
  font-size: 12px;
  line-height: 1.4;
}

.badge-desconto {
  color: #1e7e34;
  background-color: #e6f6ec;
  font-weight: 600;
}

.modal-content {
  border: 0;
  border-radius: 16px;
}

.modal-opcoes-produto-imagem {
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
}

.modal-opcoes-produto-rodape {
  position: sticky;
  bottom: 0;
  z-index: 5;
  background: inherit;
  border-top: 1px solid #f1f1f1;
  border-radius: 0 0 16px 16px;
}

.modal-acoes>.d-flex>.btn {
  flex: 1 1 0;
  min-width: 0;
}

#addProd {
  border-radius: 10px;
}

.conta-mesa-body {
  background-color: #f4f5f7;
}

@media (min-width: 576px) {
  .conta-mesa-body .modal-acoes {
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  .conta-mesa-body {
    padding-bottom: 0;
  }
}

.conta-mesa-card,
.conta-mesa-item {
  background-color: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 12px;
}

.conta-mesa-icone {
  width: 2rem;
  font-size: 1.8rem;
  text-align: center;
  color: #8a93a0;
}

.conta-mesa-qtd {
  min-width: 34px;
  padding: 2px 6px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: #343a40;
}

.conta-mesa-item-rodape {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #dee2e6;
}

.conta-mesa-status {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
}

.conta-mesa-status-confirmado {
  background-color: #b8f2cf;
  color: #1d6b3f;
}

.conta-mesa-status-pendente {
  background-color: #ffe8a3;
  color: #7a5b00;
}

.conta-mesa-status-cancelado {
  background-color: #fbd0d0;
  color: #9b1c1c;
}

.conta-mesa-item-cancelado .conta-mesa-produto {
  text-decoration: line-through;
  opacity: 0.6;
}

@media (min-width: 768px) {
  .card-produto-vertical {
    flex-basis: 180px;
    width: 180px;
  }

  .produtos-grade {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
}

@media (max-width: 575.98px) {
  .modal {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  #modal-opcoes-produto {
    touch-action: pan-y;
  }

  .modal-dialog {
    max-width: 100%;
    min-height: 100%;
    margin: 0;
  }

  .modal-content {
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: clip;
    border-radius: 0;
  }

  .modal-compacto .modal-dialog {
    min-height: calc(100% - 2rem);
    margin: 1rem;
  }

  .modal-compacto .modal-content {
    min-height: 0;
    border-radius: 16px;
  }

  .modal-opcoes-produto-imagem {
    border-radius: 0 !important;
  }

  :is(.modal-body, .tab-content, form, .step):has(.modal-acoes):not(.hide) {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
  }

  .modal-acoes {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: auto;
    padding: 0.75rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
    background-color: #fff;
    border-top: 1px solid #e9ecef;
  }

  .modal-acoes.modal-acoes-divididas {
    padding: 0;
    border-top: 0;
  }

  .modal-acoes-divididas>.d-flex>.btn {
    height: 52px;
    margin: 0 !important;
    border: 0;
    border-radius: 0;
  }

  .modal-acoes-divididas>.d-flex>.btn:first-child {
    border-top: 1px solid #e9ecef;
  }

  #modal-carrinho .modal-body {
    margin-bottom: 0 !important;
  }

  #modal-escolher-mesa .modal-body {
    padding-bottom: 0;
  }

  .modal-footer,
  .modal-opcoes-produto-rodape {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: auto;
    background-color: #fff;
    border-radius: 0;
  }
}