body.modal-open {
    overflow: hidden;
}

#chamelo-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 997;
    display: none;
}

#chamelo-floating-button {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 998;
}

#chamelo-main-button {
    background-color: black;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

#chamelo-main-button img {
    width: 24px;
    height: 24px;
}

#chamelo-options {
    position: absolute;
    flex-direction: column;
    bottom: 60px;
    right: 0;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    display: none;
    gap: 8px;
}

#chamelo-options.flex {
    display: flex;
}

#chamelo-options button {
    display: block;
    width: 100%;
    font-size: 18px;
    padding: 10px 20px;
    background-color: black;
    color: white;
    border: none;
    cursor: pointer;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity-control button {
    background-color: #f0f0f0;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.quantity-input {
    width: 50px;
    text-align: center;
    margin: 0 5px;
}

#chamelo-new-product-form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1001;
    max-width: 80%;
    max-height: 80%;
    overflow-y: auto;
    width: 400px;
}

#chamelo-new-product-form input {
    width: 100%;
    margin-bottom: 10px;
    padding: 5px;
}

#chamelo-new-product-form button {
    margin-top: 10px;
}

#chamelo-cart-total {
    position: fixed;
    bottom: 0%;
    left: 0;
    width: 100%;
    max-width: 500px;
    padding: 16px;
    
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 10px 10px 0px 0px;
    transition: all 1s ease-in-out;
    transform: translatey(100%);
    z-index: 999;

    background: rgba( 255, 255, 255, 0.35 );
    box-shadow: 0px 0px 12px 6px rgba( 0, 0, 0, 0.10 );
    backdrop-filter: blur( 23.5px );
    -webkit-backdrop-filter: blur( 23.5px );
    border: 1px solid rgba( 255, 255, 255, 0.18 );
}

#chamelo-cart-total .total-cart {
    font-size: 32px;
}

#chamelo-cart-total .button-wrapper {
    display: flex;
    gap: 16px;
}

#chamelo-cart-total .button-wrapper #chamelo-finish-order,
#chamelo-cart-total .button-wrapper #chamelo-cancel-order {
    background: #000;
    border: 2px solid #000;
    border: 0;
    border-radius: 50px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
}


#chamelo-cart-total .button-wrapper #chamelo-cancel-order {
    background: #FFF;
    border: 2px solid #000;
}

#chamelo-finish-order img {
    max-width: 100%;
}

#close-order-summary {
    position: absolute;
    top: 20px;
    right: 20px;
    border: 0;
    color: #000;
}

#close-order-summary {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: #666;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.order-item:last-child {
    border-bottom: none;
}

.item-name {
    flex: 1;
}

.item-quantity,
.item-price,
.item-total {
    margin-left: 10px;
}

.order-total {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.order-date {
    font-size: 14px;
}

.order-form {
    margin-top: 20px;
}

.order-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.order-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.primary-button {
    background-color: #4CAF50;
    color: white;
}

.primary-button:hover {
    background-color: #45a049;
}

.secondary-button {
    background-color: #f44336;
    color: white;
}

.secondary-button:hover {
    background-color: #da190b;
}

/* Para Chrome, Safari, Edge e Opera */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Para Firefox */
input[type="number"] {
    -moz-appearance: textfield;
}

#chamelo-order-summary {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90vh;
    width: 100%;
    background-color: white;
    overflow-y: auto; /* Mantenha apenas esta barra de rolagem */
    z-index: 999;
}

#chamelo-order-summary .checkout {
    background-color: #FFF;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px;
    width: 100%;
    max-width: 500px;
    gap: 32px;
    overflow-y: visible; /* Remova a barra de rolagem aqui */
}

#chamelo-order-summary .checkout .cancel-order {
    position: absolute;
    right: 20px;
    font-size: 20px;
    font-weight: 700;
}

#chamelo-order-summary .checkout .order-items {
    display: flex;
    flex-direction: column;
}


#chamelo-order-summary .checkout .order-items .order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;

    padding: 16px 0px;

    border-bottom: 1px solid #ebebeb;
}

#chamelo-order-summary .checkout .order-items .order-item .img-product {
    width: 15%;
}

#chamelo-order-summary .checkout .order-items .order-item img {
    width: 100%;
}

#chamelo-order-summary .checkout .order-items .order-item .title {
    width: 60%;
    font-size: 16px;
    line-height: 100%;
    font-weight: 600;
}

#chamelo-order-summary .checkout .order-items .order-item .footer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    width: 25%;
}

#chamelo-order-summary .checkout .order-items .order-item .footer .price {
    font-size: 16px;
    font-weight: 600;
}


#chamelo-order-summary .checkout .order-items .order-item .footer .quantity-control {
    display: flex;
    align-items: center;
    justify-content: center;
}

#chamelo-order-summary .checkout .order-items .order-item .footer .quantity-control input {
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 0px;
    border: 0;
    border-width: 1px 0px 1px 0px;
    border-style: solid;
    border-color: #ccc;
}

#chamelo-order-summary .checkout .order-items .order-item .footer .quantity-control .quantity-input {
    margin: 0;
}

#chamelo-order-summary .checkout .order-items .order-item input[type=number] {
    padding: 0 !important;
}

#chamelo-order-summary .checkout .order-items .order-item .footer .quantity-control .increase,  
#chamelo-order-summary .checkout .order-items .order-item .footer .quantity-control .decrease {
    width: 30px;
    height: 30px;
    border-radius: 0px;
    border: 1px solid #ccc;
    background-color: #FFF;
    color: #000;
    font-size: 17px;
    cursor: pointer;
    line-height: 0;
}

#chamelo-order-summary .checkout .order-items .order-item .footer .quantity-control .increase {
    border-radius: 0 6px 6px 0;
}

#chamelo-order-summary .checkout .order-items .order-item .footer .quantity-control .decrease {
    border-radius: 6px 0 0 06px;
}

#chamelo-order-summary .checkout .infos-extras {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 32px;
    border-bottom: 1px solid #ebebeb;
    outline: none;
    width: 100%;
}

#chamelo-order-summary .checkout .infos-extras h4 {
    color: #888888;
    margin: 0;
}

#chamelo-order-summary .checkout .infos-extras input, 
#chamelo-order-summary .checkout .infos-extras select {
    padding: 15px 10px;
    border-radius: 4px;
    border: 1px solid #CCC;
    color: #7e757e;
}

#chamelo-order-summary .checkout .totals {
    display: flex;
    justify-content: space-between;
}

#chamelo-order-summary .checkout .totals h4 {
    font-size: 24px;
    font-weight: 600;
}

#chamelo-order-summary .checkout .totals .total {
    font-size: 28px;
    font-weight: 600;
}

#chamelo-order-summary .checkout #submit-order {
    border: 1px solid #000;
    background: #000;
    color: #FFF;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    width: 100%;
}


#chamelo-order-summary .obrigado {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    background: #FFF;
    flex-direction: column;
    width: 100%;
    height: 100%;
    text-align: center;
    gap: 16px;
}

#chamelo-order-summary .obrigado .obrigado-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    gap: 16px;
}

#chamelo-order-summary .obrigado .obrigado-actions #whatsapp {
    background-color: #000;
    border: 1px solid #000;
    color: #FFF;
}

#chamelo-order-summary .obrigado .obrigado-actions #fechar {
    background-color: #FFF;
    color: #000;
    border: 1px solid #000;
}