* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
}

body {
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: "Open Sans", sans-serif;
  height: 100vh;
  overflow: auto;
}

header {
  width: 100%;
  height: 140px;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

header img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.logo {
  position: relative;
  z-index: 5;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-top: -40px;
  box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.45);
  background-color: #fff;
  cursor: pointer;
  object-fit: contain;
  padding: 4px;
}

section {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

section h2 {
  margin: 10px 0px;
}

section .row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 10px;
}

section .row .status {
  color: #139a23;
}

.tempo,
.star {
  color: #aaa;
}

.fa-clock,
.fa-motorcycle,
.fa-star {
  color: #139a23;
}

nav {
  width: 100%;
  box-shadow: 2px 2px 6px #eee;
  padding: 10px 10px;
  overflow: auto;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul a {
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}

nav ul a li {
  padding: 5px 10px;
  border-radius: 5px;
  border: solid 1px #eee;
  margin-right: 10px;
}

nav ul a:focus > li {
  background-color: #c2f46199;
  color: #407c30;
}

section h3 {
  width: 100%;
  padding: 0px 10px;
  margin: 10px 0px;
}

section form {
  width: 94%;
  padding: 15px 15px;
  display: flex;
  border: solid 1px #eee;
  border-radius: 5px;
  justify-content: space-between;
  margin: 10px 0px;
}

section form .group {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

section form .group {
  width: 60%;
}

section form input {
  border: none;
  font-size: 15px;
  font-weight: bold;
  color: #444;
}

section form .detalhes {
  color: #aaa;
  font-size: 11px;
  margin: 5px 0px;
}

section form .price {
  font-size: 14px;
  color: #444;
  font-weight: bold;
}

section form img {
  width: 120px;
  height: 120px;
  margin-left: 5px;
  border-radius: 5px;
}

section form label {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.invisible {
  display: none;
}

form:last-child {
  margin-bottom: 100px;
}

footer {
  width: 100%;
  position: fixed;
  bottom: 40px;
  max-width: 400px;
  background-color: #4a9100;
  font-size: 1.3em;
  color: #fff;
  padding: 10px 10px;
}

footer a {
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  padding: 5px 0px;
}

footer p {
  font-size: 16px;
  font-weight: bold;
}

article {
  position: fixed;
  padding: 0.5em;
  display: flex;
  justify-content: space-between;
  box-shadow: 0 -2px 6px 2px #cecece;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  max-width: 400px;
}

article #link-daffari {
  text-align: right;
  text-decoration: none;
  color: #1a73bf;
  font-size: 0.85em;
  font-weight: bold;
  flex: 0 0 50%;
}

article .group {
  display: flex;
  text-decoration: none;
  color: #444;
  align-items: center;
  font-size: 12px;
  font-weight: bold;
  flex: 0 0 50%;
}

article .group i {
  font-size: 20px;
  margin-right: 5px;
}

.pedidos {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: fixed;
  top: 0;
  z-index: 200;
  width: 100%;
  max-width: 400px;
  background-color: #fff;
  left: 0;
  height: 100vh;
  overflow: auto;
  padding: 15px 30px;
  transition: margin-left 0.3s ease-in-out;
  border-right: solid 2px #cecece;
  margin-left: -500px;
}

.pedidos .fa-times {
  width: 100%;
  text-align: end;
  padding: 10px 0px;
  font-size: 25px;
}

.pedidos li {
  list-style: none;
  display: flex;
  width: 100%;
  min-width: 320px;
  flex-direction: column;
  padding: 10px 0px;
  margin: 5px 0px;
  border-bottom: solid 1px #cecece;
  font-size: 15px;
}

.pedidos li:nth-child(1) {
  border-top: solid 1px #cecece;
}

.pedidos li a {
  text-decoration: none;
  color: #000;
  font-weight: bold;
}

.pedidos li .red {
  color: #ff0000;
  font-size: 12px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.totalpedido {
  font-weight: bold;
  color: #8888;
}

.tempo {
  display: flex;
  align-items: center;
}
.tempo img {
  margin-right: 5px;
}

.fortop {
  position: fixed;
  top: 300px;
  right: 2px;
  padding: 5px 5px;
  border-radius: 50%;
  color: #0000ff;
  font-size: 20px;
  display: none;
}

.info {
  color: #ff0000;
  font-size: 12px;
}

.trough {
  text-decoration: line-through;
}

.esmacear {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  z-index: 100;
  justify-content: center;
  align-items: center;
  margin-left: -3000px;
  transition: 0.5s;
}

.esmacear img {
  width: 100px;
  margin-bottom: 0.8em;
  box-shadow: 0 0 6px 2px #000;
  border-radius: 50%;
}

.esmacear .detalhes {
  align-items: center;
  padding: 10px 10px;
}

.detalhes {
  width: 100%;
  max-width: 350px;
  background-color: #fff;
  border-radius: 3px;
  padding: 0px 0px;
  display: flex;
  flex-direction: column;
}

.cabecalho {
  width: 100%;
  text-align: center;
  margin: 10px 0px;
}

.borderbottom {
  border-bottom: solid 1px #ddd;
  padding-bottom: 10px;
  font-size: 13px;
  text-align: center;
}

table {
  border: none;
  font-weight: bold;
  font-size: 13px;
}

table tr td {
  padding: 5px 5px;
}

table tr:nth-child(2n) {
  background: #eee;
}

.ctt {
  padding: 5px 5px;
  width: 98.5%;
  margin-left: 2px;
  background-color: #5f981b;
  text-align: center;
  margin-top: 5px;
  color: #fff;
}

.statusloja {
  margin-top: 5px;
  padding: 5px 5px;
  width: 98.5%;
  margin-left: 2px;
  color: #fff;
  font-size: 12px;
  text-align: center;
}

.green {
  background-color: #5f981b;
}

.bgred {
  background-color: #ff0000;
}

.setamodal {
  background-color: #f00;
  border-radius: 5px;
  padding: 0.5em 0;
  position: absolute;
  top: 10px;
  right: 10px;
  color: #fff;
}

.aprendanavegar {
  padding: 5px 10px;
  background-color: #090;
  color: #fff;
  text-decoration: none;
  border-radius: 3px;
}

.city {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.city img {
  width: 30px;
}


/* Modal Daffari Login Web Component */
.modal-daffari-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 999999;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  box-sizing: border-box;
}

.modal-daffari-overlay.active {
  display: flex;
}

.modal-daffari-card {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: transparent;
  box-sizing: border-box;
  animation: daffariModalZoom 0.25s ease-out;
}

@keyframes daffariModalZoom {
  from {
    opacity: 0;
    transform: scale(0.96);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-daffari-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1000000;
  transition: all 0.2s ease;
}

.modal-daffari-close:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: scale(1.05);
}

.modal-daffari-card .layout-fullscreen-wrapper {
  width: 100% !important;
  min-height: auto !important;
  max-height: 92vh !important;
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  overflow-y: auto !important;
}

@media (max-width: 480px) {
  .modal-daffari-card {
    max-width: 100%;
    height: 100%;
  }
  .modal-daffari-card .layout-fullscreen-wrapper {
    max-height: 100vh !important;
    height: 100vh !important;
    border-radius: 0 !important;
  }
}

header#top {
  position: relative;
  z-index: 1;
}

.top-auth-container {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
}

.top-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  color: #c1121f;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: all 0.2s ease;
  cursor: pointer;
}

.top-auth-btn:hover {
  background: #ffffff;
  color: #9b1926;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
