/* Começando a testar o checkout sem calendario */

@import url('https://cdn.jsdelivr.net/npm/pikaday/css/pikaday.css');


._hide {
    display: none !important;
}

._show {
    display: block !important;
}

.delivery-cep-form {
    display: block;
    margin: 10px 0 20px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1), 0 4px 6px rgba(0, 0, 0, .05);
    border-radius: 12px;
    flex: none;
    padding: 12px;
    width: 378px;
}

label.form-label {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #18181b;
    margin-bottom: 15px;
    display: block;
}

.delivery-form-group {
    display: flex;
    gap: 5px;
}

input#delivery-cep {
    width: 100%;
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #dedfe4;
    color: #27272a;
    height: 23px;
    box-shadow: none;
    margin-bottom: 0px !important;
}

button.js-delivery-form-submit.delivery-form-submit {
    line-height: 0;
    padding: 0 10px;
    height: 44px;
    border: 0 none;
    background: #10b981;
    color: #fff;
    border-radius: 12px;
    min-width: 110px;
}

.region-message-overlay.active {
    display: flex;
}

.region-check-button {
    background-color: #00c853;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.3s;
    margin: 20px;
}

.region-check-button:hover {
    background-color: #00a844;
}

.region-message-overlay,
.ne_schedule_delivery {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.region-message-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.region-message-content h2 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #333;
}

.region-message-content p {
    margin: 0 0 20px 0;
    color: #666;
    line-height: 1.5;
    font-size: 17px;
}

.region-message-close {
    background-color: #00c853;
    color: white;
    border: none;
    padding: 10px 30px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.region-message-close:hover {
    background-color: #00a844;
}

.ne_schedule_delivery.active {
    display: flex !important;
}

.ne_schedule_content {
    background-color: white;
    text-align: center;

    border-radius: 20px;
    padding: 32px;
    max-width: 900px;
    max-height: 98%;
    width: 98%;
    position: relative;
    z-index: 1;
    overflow-x: hidden;
    overflow-y: auto;
}

.ne_schedule_delivery_modal-header {
    text-align: center;
    position: relative;
}

.ne_schedule_delivery_modal-header h3 {
    width: 100%;
    margin: 0;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 20px;
    text-align: center;
    color: #18181b;
}

button.ne_schedule_delivery_calendar_modal_close {
    position: absolute;
    right: 0;
    top: -4px;
    border: 0 none;
    background-color: transparent;
    width: 20px;
    height: 20px;
    padding: 0;
    cursor: pointer;
    transition: color .3s;
}

.ne_schedule_content_calendar_modal_body {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    padding-bottom: 32px;
    gap: 20px;
}


#datepicker {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.calendar-container {
    max-width: 400px;
    width: 100%;
    position: relative;
}

#datepicker {
    display: none;
}

.selected-date {
    margin-top: 20px;
    padding: 10px;
    background: #e8f4ff;
    border-radius: 4px;
    display: none !important;
    text-align: center;
    font-weight: bold;
}

/* Customização do Pikaday */
.pika-single {
    border: none;
    box-shadow: none;
    width: 100%;
    font-family: Arial, sans-serif;
}

.pika-lendar {
    width: 100% !important;
    margin: 0 !important;
}

.pika-title {
    padding: 10px 0;
    background: #fff;
}

.pika-label {
    font-size: 16px;
    font-weight: bold;
}

.pika-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 3px;
}

.pika-table th {
    color: #666;
    font-size: 12px;
    font-weight: normal;
    padding: 8px 0;
}

.pika-button {
    border-radius: 4px;
    background: #fff;
    color: #333;
    padding: 8px;
    font-size: 14px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #eee;
}

.pika-button:hover {
    background: #98ffc6 !important;
    color: #333 !important;
    border-color: #98ffc6;
}

.is-selected .pika-button {
    background: #00c6c0 !important;
    color: #333 !important;
    box-shadow: none;
    font-weight: bold;
    border-color: #98ffc6;
}

.is-today .pika-button {
    color: #333;
    font-weight: bold;
}

.is-disabled .pika-button {
    color: #ccc;
    opacity: 0.7;
    background: #f9f9f9 !important;
    border-color: #eee;
    cursor: not-allowed;
}

.is-available .pika-button {
    background: #98ffc6;
    color: #333;
    border-color: #98ffc6;
}

.calendar-legend {
    margin-top: 15px;
    display: flex;
    gap: 15px;
    justify-content: center;
    font-size: 14px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.legend-color {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.legend-selected {
    background: #00c6c0;
}

.legend-available {
    background: #98ffc6;
}

.legend-unavailable {
    background: #f5f5f5;
}

button.pika-button.pika-day {
    display: table;
    margin: auto;
    width: 34px;
    height: 34px;
    line-height: 34px;
    padding: 0;
    border-radius: 12px !important;
    text-align: center;
    font-size: 14px;
    transition: .3s all;
    background: #a7f3d0;
    color: #18181b;
    box-shadow: 0 0 0 transparent !important;
    width: 44px;
    height: 44px;
    line-height: 34px;
}

.pika-table th,
.pika-table td {
    padding: 3px 2px;
    border: none;
}

.pika-row td.is-disabled .pika-button {
    background: #dedfe4 !important;
    color: #a1a1aa;
    cursor: not-allowed;
}

.is-disabled .pika-button,
.is-inrange .pika-button {
    background: #D5E9F7;
}

.is-disabled .pika-button {
    pointer-events: none;
    cursor: default;
    color: #999;
    opacity: .3;
}



/* Delivery Options Styles */
.delivery-options {
    background: white;
    padding: 14px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    min-width: 300px;
    height: calc(100% - 102px);
}

.delivery-options h2 {
    margin-top: 0;
    font-size: 14px;
    color: #18181b;
    margin-bottom: 0;
}

.delivery-options-list {
    margin-top: 16px;
}

.delivery-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #e4e4e7;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    background: #fff;
}

.delivery-option:last-child {
    margin-bottom: 0;
}

.delivery-option input[type="radio"] {
    margin: 0;
    width: 16px;
    height: 16px;
}

.delivery-option label {
    flex-grow: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
}

.delivery-option-text {
    font-size: 13px;
}

.delivery-option-period {
    color: #71717a;
    font-size: 12px;
    margin-left: 4px;
}

.delivery-option-price {
    font-size: 13px;
    font-weight: 500;
}

/* Delivery Summary Styles */
.delivery-summary {
    margin-top: 16px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-icon {
    min-width: 16px;
    color: #ec4899;
}

.summary-label {
    font-size: 13px;
    color: #71717a;
}

.summary-value {
    color: #18181b;
    font-size: 13px;
    margin-left: auto;
}

.summary-period-value {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.ne_schedule_content_calendar_modal_body>div {
    width: 50%;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.delivery-options-list {
    display: none;
}

p.ne_schedule_modal-body-periods-container-alert {
    padding: 5px 15px;
    margin: 10px auto;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: #dc2626;
    background: #fecaca;
    border-radius: 4px;
}

label {
    margin-bottom: 0px;
}

p.ne_schedule_calendar-alert {
    padding: 5px 15px;
    margin: 10px auto;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    color: #dc2626;
    background: #fecaca;
    border-radius: 4px;
    display: none;
}


.ne_schedule_calendar-alert.active {
    display: block;
}

button#ne_schedule_deliverycalendar-modal-save-delivery-period {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    gap: 15px;
    min-width: 228px;
    height: 44px;
    background: #10b981;
    border-radius: 12px;
    border: 0 none;
    padding: 22px 15px;
    box-shadow: 0 0 0 transparent;
}

button#ne_schedule_deliverycalendar-modal-save-delivery-period:disabled {
    background-color: #dedfe3;
    cursor: not-allowed;
}

button#ne_schedule_deliverycalendar-modal-save-delivery-period span {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    color: #fff;
}

button#ne_schedule_deliverycalendar-modal-save-delivery-period svg {
    width: 24px;
    height: 14px;
    color: #fff;
    fill: #fff;
}


.ne_schedule_delivery-calendar-modal-content-border {
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .1), 0 4px 6px rgba(0, 0, 0, .05);
    border-radius: 12px;
    flex: none;
    padding: 12px !important;
    width: 416px;
    margin-bottom: 22px;
    display: none;
}

.ne_schedule_delivery-calendar-modal-selected-info.info-selected-show {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 10px;
}

.ne_schedule_delivery-calendar-modal-selected-info-date {
    width: auto;
    flex: 1 1 auto;
}

.ne_schedule_delivery-calendar-modal-selected-info-period {
    width: auto;
    flex: 1 1 auto;
}

.ne_schedule_delivery-calendar-modal-selected-info-date h4,
.ne_schedule_delivery-calendar-modal-selected-info-period h4 {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    margin: 0 0 10px;
}

.ne_schedule_delivery-calendar-modal-selected-info p {
    margin: 0;
}

.ne_schedule_delivery-calendar-modal-selected-info b {
    font-weight: 700;
    color: #18181b;
}

.ne_schedule_delivery-calendar-modal-selected-info-period h4 svg {
    max-width: 16px;
    max-height: 16px;
    margin-top: -1px;
}

.ne_schedule_delivery-calendar-modal-selected-info h4 span {
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
    color: #18181b;
}

button.ne_schedule_deliverydelivery-info-change {
    display: table;
    margin: 10px auto;
    line-height: 0;
    padding: 0 10px;
    height: 30px;
    border: 0 none;
    background: #10b981;
    color: #fff;
    border-radius: 12px;
    min-width: 110px;
}

.ne_schedule_delivery-calendar-modal-selected-info p>b,
.ne_schedule_delivery-calendar-modal-selected-info small {
    display: block;
    font-style: normal;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
}

/* pagina de carrinho */


@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification-overlay {
    position: fixed;
    top: 227px;
    right: -210px;
    transform: translate(-50%, -50%);
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
}

.notification-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 16px;
    width: 480px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.notification-header {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

.close-btn {
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #999;
    padding: 0;
    line-height: 1;
}

.product-info {
    display: flex;
    gap: 16px;
    align-items: center;
    position: relative;
    margin-bottom: 16px;
    padding: 4px 0;
}

.product-image-container {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}

.product-image {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.product-details {
    flex: 1;
    min-width: 0;
}

.check-icon {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    margin: 0;
    z-index: 1;
    background: #000;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-title {
    font-size: 15px;
    color: #222;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 4px;
}

.product-unit-price {
    font-size: 14px;
    color: #555;
    margin-bottom: 4px;
    font-weight: 400;
}

.success-message {
    color: #222;
    font-size: 14px;
    font-weight: bold;
    margin-top: 4px;
}

.total-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 12px 0;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

.total-label {
    font-size: 14px;
    color: #222;
    font-weight: 500;
}

.total-value {
    font-size: 14px;
    color: #222;
    font-weight: 600;
}

.view-cart-btn {
    background-color: #00c853;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
    transition: background-color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.view-cart-btn:hover {
    background-color: #00b84d;
}


/* popup indisponivel */


.popup-overlay-agend {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999999999;
}

.popup_unavailable .popup-container {
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

.popup_unavailable .heart-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 24px;
}

.popup_unavailable .popup-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 32px;
    line-height: normal;
    text-transform: uppercase;
}

.popup_unavailable .popup-text {
    font-size: 25px;
    color: #666;
    margin-bottom: 44px;
    font-weight: bold;
}

.popup_unavailable .popup-btn {
    display: block;
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    margin-bottom: 12px;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s;
}

.popup_unavailable .popup-primary {
    background-color: #d32f2f;
    color: white;
}

.popup_unavailable .popup-primary:hover {
    background-color: #b71c1c;
}

.popup_unavailable .popup-secondary {
    background-color: #e0e0e0;
    color: #333;
}

.popup_unavailable .popup-secondary:hover {
    background-color: #bdbdbd;
}



.close-button {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button svg {
    width: 24px;
    height: 24px;
    fill: #666;
    transition: fill 0.3s;
}

.close-button:hover svg {
    fill: #333;
}

.conteudo.span12.listagem ul {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}


a.botao.btn-pay-wp-prod {
    float: none !important;
    margin-bottom: 38px;
}

.banner_page {
    margin-bottom: 61px;
}

.produto .principal .botao.principal.grande {
    width: 49%;
    margin-bottom: 23px;
}

@media(max-width: 992px) {

    .ne_schedule_content_calendar_modal_body {
        display: block;
    }

    .ne_schedule_content_calendar_modal_body>div {
        width: 100%;
        padding: 0px;
    }

    .ne_schedule_content {
        padding: 16px;
        max-width: 100%;
        width: 95%;
        height: 86vh;
        overflow: scroll;
    }

    .region-message-overlay,
    .ne_schedule_delivery {
        z-index: 99999999 !important;
    }

    .delivery-options {
        margin-top: 17px;
        margin-bottom: 17px;
    }

    div#delivery-summary {
        margin-top: 20px;
    }

    .ne_schedule_content_1 {
        padding-bottom: 20px !important;
    }

    .ne_schedule_delivery-calendar-modal-content-border {
        width: 93% !important;
    }

    .notification-container {
        width: 100% !important;
    }

    .notification-overlay {
        top: 65px;
        right: 13px;
        transform: none;
    }

    .delivery-cep-form {
        width: 92% !important;
    }

    .ne_schedule_delivery_modal-header h3 {
        font-size: 15px;
    }

    .conteudo.span12.listagem ul {
        display: block;
    }

    .pagina-pagina .listagem-item a.botao.btn-pay-wp {
        top: 0px !important;
    }

    .pagina-pagina .listagem .acoes-produto .botao-comprar {
        margin-top: 13px !important;
    }

    .pagina-pagina .listagem-item {
        padding-bottom: 37px !important;
    }


}





/* // TESTE */

#formularioObservacao textarea:last-child {
    display: none !important;
}