html, body {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* buttons */
.btn-bag {
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 15px;
    padding: 8px 12px;
    font-size: 1.2rem;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.btn-bag .badge-nav {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.btn-bag:focus {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-bag.active, .btn-bag:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-light);
}

.btn-standard {
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 1rem;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    border: none;
}

.btn-standard:focus {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.btn-standard.active, .btn-standard:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-light);
}

.btn-plus {
    background-color: var(--color-secondary);
    color: var(--color-light);
    border-radius: 7px;
    padding: 7px 10px;
    font-size: 1rem;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
}

.btn-plus:focus {
    background-color: var(--color-secondary);
    color: var(--color-light);
}

.btn-plus.active, .btn-plus:hover {
    background-color: var(--color-secondary-dark);
    color: var(--color-light);
}

.btn-social {
    background-color: var(--color-light);
    color: var(--color-dark);
    border-radius: 15px;
    padding: 7px 10px;
    font-size: 1.2rem;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    margin-right: 15px;
}

.btn-social:focus {
    background-color: var(--color-light);
    color: var(--color-dark);
}

.btn-social.active, .btn-social:hover {
    background-color: var(--color-dark);
    color: var(--color-light);
}

.btn-adicionar {
    width: 200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* botão subir */
.botaoSubir {
    position: fixed;
    visibility: hidden;
    opacity: 1;
    right: 15px;
    bottom: 15px;
    z-index: 99999;
    background: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.botaoSubir:focus, .botaoSubir:hover {
    text-decoration: none;
}

.botaoSubir i {
    font-size: 24px;
    color: var(--color-light);
    line-height: 0;
}

.botaoSubir.show {
    visibility: visible;
}

.botao-carrinho {
    position: fixed;
    left: 30px;
    bottom: 50px;
    height: 50px;
    width: 50px;
    background-color: var(--color-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0px 10px 15px -3px rgba(0,0,0,0.1);
    color: var(--color-light)!important;
    border-radius: 50px;
    cursor: pointer;
    z-index: 1;
}

.botao-carrinho:hover {
    background-color: var(--color-primary-dark);
    color: var(--color-light);
}

.badge-total-carrinho {
    width: 25px;
    height: 25px;
    position: absolute;
    background-color: var(--color-secondary);
    border-radius: 50px;
    right: -5px;
    top: -5px;
    font-size: 14px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* NAV */
.nav-desktop {
    padding: 10px 0;
    background-color: var(--color-background);
}

.nav-desktop .logo .logotipo {
    max-width: 220px;
    max-height: 147px;
    height: auto;
}

.nav-desktop span h6 {
    margin: 0;
    color: #8b8b8b;
    font-size: 0.9rem;
    text-align: right;
}

.nav-desktop span {
    margin-top: 10px;
    color: #a0a0a0;
    font-size: 0.8rem;
    text-align: right;
}

/* OFFCANVAS */
.offcanvas{
    background-color: #f3f3f3;
    width: 500px;
}

.offcanvas .offcanvas-header {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.offcanvas .offcanvas-title {
    font-weight: bold;
}

.offcanvas .title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #585858;
    margin: 0 0 5px 10px;
}

.offcanvas .items-client {
    margin: 10px 0 35px 0;
    padding: 20px 15px;
    background-color: #fff;
    border-radius: 5px;
}

.offcanvas .items-client input {
    border-bottom: 0.01rem solid #f3f3f3;
    font-size: 1rem;
    font-weight: 400;
}

.form-floating > label {
    font-size: 0.85rem;
    font-weight: 300;
}

.offcanvas .items-client h5 {
    color: #585858;
    font-size: 0.95rem;
    font-weight: 400;
}

.offcanvas .items-client h6 {
    color: #585858;
    font-size: 0.95rem;
    font-weight: 400;
    max-width: 380px;
}

.offcanvas .items-client h6 span {
    color: #181818;
    font-size: 0.85rem;
    font-weight: bold;
}

.offcanvas .items-client p {
    color: #585858;
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
}

.offcanvas .items-client p span {
    color: #aeaeae;
    font-size: 0.8rem;
    font-weight: 400;
    margin: 0;
}

.offcanvas .form-check-label {
    font-size: 0.9rem;
}

/* SEARCHS */
.menu {
    padding: 0 0 5rem 0;
}

.menu-items{
    height: 55px;
    background-color: #f3f3f3;
    display: flex;
    align-items: center;
}

.menu-items .search-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-select{
    color: #585858;
}

.search-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    height: 35px;
    padding: 0;
    border-radius: 30px;
    margin-right: 10px;
}

::-webkit-input-placeholder {
    font-size: 1.2rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: #aeaeae;
}

.search-text {
    background: none;
    border: 0;
    outline: 0;
    font-size: 1rem;
    font-weight: 400;
    width: 0;
    padding: 0;
    transition: all 0.4s;
    color: #585858;
}

.search-btn {
    height: 35px;
    width: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    cursor: pointer;
}

.search-box .loupe-white {
    display: none;
}

.search-box:hover > .search-text {
    width: 300px;
    padding-left: 20px;
}

.searching {
    width: 300px;
    padding-left: 20px;
}

.search-box:hover > .search-btn {
    background-color: var(--color-primary);
}

.search-box:hover > .search-btn .loupe-primary {
    display: none;
}

.search-box:hover > .search-btn .loupe-white {
    display: block;
}

.menu .menu-title {
    text-align: center;
    margin: 50px 0 0 0;
}

/* MENU */
.menu .menu-title h1 {
    color: var(--color-primary);
    font-weight: bolder;
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.menu .menu-title h4 {
    font-weight: bolder;
    color: var(--color-dark);
    font-size: 2.4rem;
}

.menu .category-title {
    padding: 30px 0 20px 0;
}

.menu .ancora {
    padding-top: 55px;
}

.menu .title {
    width: fit-content;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 30px;
    padding: 5px 15px;
}

.menu-cards .title h2 {
    width: 100%;
    font-size: 1.5rem;
    letter-spacing: -1px;
    font-weight: bold;
    padding: 0;
    margin: 0;
}

.menu-cards .card {
    width: 100% !important;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    box-shadow: 0px 10px 10px -3px rgba(0,0,0,0.1);
    border: 2px solid #aeaeae;
}

.menu-cards .card:hover, .menu-cards .card:focus {
    border: 2px solid var(--color-primary);
}

.menu-cards .card .description {
   padding-right: 10px;
}

.menu-cards .card h3 {
    font-size: 1.2rem;
    line-height: 1.3rem;
    font-weight: bold;
}

.menu-cards .card h5 {
    min-height: 90px;
    font-size: 0.9rem;
    line-height: 1.1rem;
    font-weight: normal;
    color: #585858;
}

.menu-cards .card h4 {
    font-size: 1rem;
    line-height: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.menu-cards .card .image img {
    max-width: 150px;
}

.icon-plus {
    position: absolute;
    bottom: 0;
    right: 2px;
    display: none;
    color: var(--color-primary);
}

.card-product:hover > .icon-plus {
    display: block;
}

.product {
    margin-bottom: 20px;
}

/* MODAL ADD ITENS */
.modal .img-add {
    width: 100%;
}

.modal .modal-timer {
    font-size: 0.8rem;
    font-weight: 400;
    padding: 5px 0 5px 5px;
    background-color: #fafafa;
}

.modal h5 {
    font-size: 1rem;
    font-weight: bold;
}

.modal .modal-description {
    font-size: 0.9rem;
    font-weight: 400;
    min-height: 90px;
}

.modal .modal-price {
    font-size: 1rem;
    font-weight: bold;
}

.modal .title-adittional-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px;
    margin: 20px 0 0 0;
    background-color: #fafafa;
}

.modal .title-adittional-item h3 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

.modal .title-adittional-item p {
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
}

.modal .title-adittional-item i {
    font-size: 1.1rem;
    font-weight: bold;
}

.modal .adittionals-items {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 10px;
}

.modal .adittionals-items img {
    max-width: 80px;
}

.modal .adittionals-items h5 {
    margin: 0;
    font-size: 0.9rem;
    font-weight: bold;
}

.modal .adittionals-items p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 400;
}

.modal .adittionals-items h4 {
    margin: 5px 0 0 0;
    font-size: 1.1rem;
    font-weight: bold;
}

.modal .add-carrinho {
    display: block;
    text-align: center;
    height: 40px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-primary);
    border-radius: 7px;
}

.modal .add-adittional-carrinho {
    display: block;
    text-align: center;
    height: 35px;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--color-primary);
    border-radius: 7px;
    display: flex;
    flex-wrap: nowrap;
}

.modal .btn-adittional-menos {
    color: var(--color-primary);
    padding: 1px 5px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
}

.modal .btn-adittional-mais {
    color: var(--color-primary);
    padding: 1px 5px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
}

.modal .add-numero-adittional-itens {
    color: var(--color-primary);
    padding: 1px 8px;
    font-size:  1.1rem;
}

.modal .btn-menos {
    color: var(--color-primary);
    padding: 5px 7px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
}

.modal .btn-mais {
    color: var(--color-primary);
    padding: 5px 7px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
}

.modal .add-numero-itens {
    color: var(--color-primary);
    padding: 5px 10px;
    font-size:  1.2rem;
}


/* FOOTER */
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 2.5rem;
}

.footer .footer-company {
    width: 100%;
    background-color: var(--color-primary);
    padding: 50px 0;
    color: var(--color-light);
}

.footer .footer-company .copy{
    font-size: 1.2rem;
    font-weight: 500;
}

.footer-company .social {
    display: flex;
    align-items: center;
}

.footer-company .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer .footer-plataform {
    text-align: center;
    width: 100%;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 400;
    background-color: var(--color-background);
    color: #aeaeae;
}

/* MODAL CARRINHO */
/* ETAPA 1 */
#modalCard .modal-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 20px;
    background-color: #fff;
    z-index: 99999;
}

#modalCard .modal-body {
    padding-bottom: 165px;
}

.modal-header{
    background-color: var(--color-primary);
    color: var(--color-light);
    border: none;
}

.modal-footer {
    border-top: none;
}
.modal .modal-content .modal-body .items-card {
    border-bottom: 1px solid #dbdbdb;
}

.items-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.items-card .container-numbers {
    display: flex;
    align-items: center;
    justify-content: end;
}

.items-card .item-card {
    display: flex;
    justify-content: start;
    align-items: center;
}

.items-card .item-card .image-item-card {
    max-width: 120px;
    height: auto;
    margin: 0px 10px 20px 0;
}

.items-card .item-card .image-item-card img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.items-card .item-card .text-item-card {
    max-width: 400px;
}

.items-card .item-card .text-item-card h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: 5px;
}

.items-card .item-card .text-item-card p {
    font-size: 0.8rem;
    line-height: 0.8rem;
    font-weight: 300;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.items-card .item-card .text-item-card .obs-product-card {
    margin-top: 7px;
    font-size: 0.9rem;
    line-height: 1.2rem;
    color: var(--color-primary);
}

.items-card .item-card .text-item-card .obs-product-card span {
    font-weight: bold;
    margin-right: 10px;
}

.items-card .item-card hr {
    color: #181818;
    font-size: large;
}

.items-card .item-card .text-item-card h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 0;
}

.items-card .qtd-card i {
    color: var(--color-primary);
}

.items-card .qtd-card a {
    cursor: pointer;
}

.modal-footer .summary-card {
    margin-bottom: 20px;
}

.modal-footer .summary-card h6 {
    font-size: 0.9rem;
    font-weight: 300;
    margin: 0;
}

.modal-footer .summary-card h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

/* MODAL CARD */
/* ETAPA 2 */
.nav-link {
    color: var(--color-dark);
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary) !important;
    font-weight: bold !important;
}

.icon-address {
    padding: 10px 14px;
    width: fit-content;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 8px;
}

.icon-address i {
    font-size: 1.6rem;
}

.text-address {
    margin-left: 10px;
    color: var(--color-dark);
}

.text-address h4 {
    font-size: 1rem;
    font-weight: bold;
    margin: 0;
}

.text-address h6 {
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
}

.cliente-data-basic {
    padding: 10px 10px;
    border: 1px solid #dbdbdb;
    margin-bottom: 10px;
    width: fit-content;
}

.cliente-data-basic h4 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
}

.cliente-data-basic h4 span{
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    margin-left: 15px;
}

.clientIdent .form-floating {
    max-width: 300px;
}

.clientIdent .btn-standard {
    height: 58px;
    line-height: 45px;
}

.clientIdent .form-check-label {
    font-size: 0.9rem;
}

.clientData {
    margin: 30px 0 50px 0;
}

.clientData h4 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-left: 5px;
}

.clientData p {
    font-size: 1rem;
    font-weight: 400;
    margin: 7px 0;
}

.clientData span {
    background-color: var(--color-primary);
    padding: 3px 7px;
    border-radius: 50%;
}

.clientData i {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--color-light);
}

.clientAddress h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.clientAddress .icon-address {
    padding: 8px 12px;
    width: fit-content;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 8px;
}

.clientAddress .icon-address i {
    font-size: 1.2rem;
}

.clientNoAdress p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.clientNoAdress p span {
    font-size: 0.8rem;
    font-weight: 300;
    margin: 0;
    font-style: italic;
}

.companyAddress h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
    margin-top: 30px;
}

.companyAddress p {
    font-size: 1rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 20px;
}

.clientNoAdressSend p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
}

.clientAddressSend h5 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 30px;
}

.clientAddressSend .icon-address {
    padding: 8px 12px;
    width: fit-content;
    background-color: var(--color-primary);
    color: var(--color-light);
    border-radius: 8px;
}

.clientAddressSend .icon-address i {
    font-size: 1.2rem;
}

.items-card-end h3 {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 0;
    margin-bottom: 0;
}

.items-card-end .item-card hr {
    color: #181818;
    font-size: large;
}

.items-card-end h2 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 5px;
}

.items-card-end .item-card .image-item-card {
    max-width: 60px;
    height: auto;
    margin: 10px 10px 20px 0;
}

.items-card-end .item-card .image-item-card img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

.items-card-end {
    border-bottom: 1px solid #dbdbdb;
}

.form-control:disabled, .form-control[readonly] {
    background-color: #f8f8f8;
    opacity: 1;
  }

/* etapa 2 cupom */
#modalCardEnd .input-group {
    width: 100%;
}

/* modal etapa 5 - pagamento */
.tab-pane {
    padding: 40px 15px 50px 15px;
}

#modalCardPayment .tab-pane p {
    margin-bottom: 5px;
}

#modalCardPayment .tab-pane .form-control {
    max-width: 300px;
}

.form-check-input {
    width: 1.2em;
    height: 1.2em;
}

.form-check-label {
    font-size: 1.1rem;
}

.form-check-input:checked {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
  }

  .img-qrcode-pix {
    margin: 0;
    max-width: 200px;
  }

  #chavePix {
    border: none;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
  }

/* general */
.hidden {
    display: none;
}

main {
    position: relative;
    min-height: 100vh;
}

textarea:focus, input:focus, select:focus, button:focus, .form-select, .form-select:focus {
    box-shadow: 0 0 0 0;
    border: 0 none;
    outline: 0;
} 

.accordion-button:not(.collapsed) {
    background-color: var(--color-background);
    box-shadow: 0 0 0 0;
    border: 1px solid #f3f3f3;
    outline: 0;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0;
    border: 1px solid #f3f3f3;
    outline: 0;
}

a {
    text-decoration: none;
    cursor: pointer;
}

hr {
    color: #aeaeae;
    margin: 10px 0;
}

.container-mensagens {
    position: fixed;
    left: 30px;
    top: 30px;
    z-index: 9999;
    transition: all 0.5s;
}

/*--------------------------------------------------------------
  # Preloader
  --------------------------------------------------------------*/
  #preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    overflow: hidden;
    background: #fff;
    transition: all 0.6s ease-out;
  }
  
  #preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #fff;
    border-color: var(--color-primary) transparent var(--color-primary-dark) transparent;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1.5s linear infinite;
    animation: animate-preloader 1.5s linear infinite;
  }
  
  @-webkit-keyframes animate-preloader {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes animate-preloader {
    0% {
      transform: rotate(0deg);
    }
  
    100% {
      transform: rotate(360deg);
    }
  }

  /* checkout mercado pago */
.form-card {
    width: 100%;
    height: 45px;
    display: inline-block;
    border: 1px solid #aeaeae;
    border-radius: 10px;
    padding: 7px 15px;
}


.form-check-input {
    width: 20px;
    height: 20px;
}

.form-check-label {
    font-size: 1.2rem;
    margin-left: 10px;
}
