﻿.delivery-filter {
  display: block;
  margin-bottom: 20px;
}

.delivery-filter-card {
  background: #fff;
  border: 1px solid #e2e6e1;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 14px;
}

.delivery-filter-card h3 {
  color: #1f2b24;
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 12px;
}

.delivery-filter-cep-row {
  display: flex;
  gap: 6px;
}

.delivery-filter-cep {
  border: 1px solid #d8ded8;
  border-radius: 5px;
  color: #26342d;
  flex: 1;
  font-size: 14px;
  height: 38px;
  padding: 0 10px;
}

.delivery-filter-cep-btn {
  background: #c72024;
  border: 0;
  border-radius: 5px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  min-width: 42px;
  padding: 0 10px;
}

.delivery-filter-address {
  color: #1f2b24;
  font-size: 12px;
  line-height: 1.35;
  margin-top: 10px;
}

.delivery-filter-address strong,
.delivery-filter-address span {
  display: block;
}

.delivery-filter-message {
  color: #b22;
  font-size: 12px;
  margin-top: 8px;
}

.delivery-filter-toggle {
  align-items: center;
  color: #415049;
  display: flex;
  font-size: 13px;
  justify-content: space-between;
  margin: 12px 0;
}

.delivery-filter-toggle input {
  display: none;
}

.delivery-filter-toggle i {
  background: #d6d7d8;
  border-radius: 999px;
  display: inline-block;
  height: 18px;
  position: relative;
  width: 36px;
}

.delivery-filter-toggle i::after {
  background: #fff;
  border-radius: 50%;
  content: "";
  height: 16px;
  left: 1px;
  position: absolute;
  top: 1px;
  transition: left .2s ease;
  width: 16px;
}

.delivery-filter-toggle input:checked + i {
  background: #2f7d4f;
}

.delivery-filter-toggle input:checked + i::after {
  left: 19px;
}

.delivery-filter-chip {
  background: #f5f6f5;
  border-radius: 999px;
  color: #111;
  display: inline-flex;
  font-size: 12px;
  gap: 5px;
  margin-bottom: 10px;
  padding: 8px 10px;
}

.delivery-filter-chip button {
  background: transparent;
  border: 0;
  color: #111;
  font-weight: 800;
  padding: 0;
}

.delivery-filter-clear-all {
  color: #c72024;
  display: block;
  font-size: 12px;
  text-decoration: underline;
}

.delivery-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.delivery-filter-list li {
  margin: 9px 0;
}

.delivery-filter-list a {
  align-items: center;
  color: #415049;
  display: flex;
  font-size: 13px;
  gap: 7px;
}

.delivery-filter-list a span {
  border: 2px solid #b8beb8;
  border-radius: 50%;
  display: inline-block;
  height: 15px;
  width: 15px;
}

@media (max-width: 991px) {
  .delivery-filter {
    margin-top: 12px;
  }
}

.product-delivery-filter-row {
  margin-bottom: 18px;
}

.product-delivery-filter-row .delivery-filter {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(180px, .9fr) minmax(220px, 1fr);
  gap: 12px;
  width: 100%;
}

.product-delivery-filter-row .delivery-filter-card {
  margin-bottom: 0;
}

.product-delivery-filter-row .delivery-filter-card:nth-of-type(n+4) {
  display: none;
}

.product-delivery-filter-row .delivery-filter-card h3 {
  font-size: 14px;
  margin-bottom: 9px;
}

.product-delivery-filter-row .delivery-filter-toggle {
  margin: 8px 0;
}

.product-details-inner .calendar-wrapper {
  max-width: 100%;
}

.product-details-inner .calendar-wrapper2,
.product-details-inner #periodos {
  max-width: 420px;
}

@media (max-width: 1199px) {
  .product-delivery-filter-row .delivery-filter {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .product-delivery-filter-row .delivery-filter {
    display: block;
  }

  .product-delivery-filter-row .delivery-filter-card {
    margin-bottom: 10px;
  }
}

.delivery-summary-card {
  align-items: center;
  background: #f7faf8;
  border: 1px solid #dfe7df;
  border-radius: 8px;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(220px, 1.1fr);
  gap: 12px;
  justify-content: space-between;
  margin: 14px 0;
  padding: 12px;
}

.delivery-summary-card strong {
  color: #1f2b24;
  display: block;
  font-size: 14px;
}

.delivery-summary-card span {
  color: #6e7b73;
  display: block;
  font-size: 12px;
  margin-top: 2px;
  white-space: nowrap;
}

.delivery-summary-form {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.delivery-summary-form input {
  background: #fff;
  border: 1px solid #d7dfd8;
  border-radius: 8px;
  color: #1f2b24;
  font-size: 14px;
  height: 42px;
  min-width: 0;
  padding: 0 12px;
  width: 100%;
}

.delivery-summary-form input::placeholder {
  color: #8a958f;
}

.delivery-summary-card button,
.delivery-summary-form button {
  background: #24623f;
  border: 0;
  border-radius: 6px;
  color: #fff;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  height: 42px;
  padding: 9px 12px;
}

.delivery-choice-card {
  align-items: center;
  background: #fff;
  border: 1px solid #d7dfd8;
  border-radius: 8px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: -4px 0 14px;
  padding: 12px;
}

.delivery-choice-card strong {
  color: #1f2b24;
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.delivery-choice-card span {
  color: #39463f;
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

.delivery-choice-card button {
  background: #fff;
  border: 1px solid #24623f;
  border-radius: 6px;
  color: #24623f;
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  height: 38px;
  padding: 8px 12px;
}

.delivery-modal .modal-dialog {
  max-width: 1040px;
}

.delivery-modal .modal-body {
  padding: 16px;
}

.delivery-modal .modal-header {
  border-bottom: 0;
  min-height: 0;
  padding: 8px 12px 0;
}

.delivery-modal .modal-header .close {
  margin: 0 0 0 auto;
  padding: 0;
}

.delivery-modal .calendar-wrapper {
  column-gap: 18px;
  display: grid;
  grid-template-columns: minmax(520px, 1.35fr) minmax(330px, .8fr);
  margin: 0;
  row-gap: 12px;
  align-items: start;
}

.delivery-modal .single-input-item {
  display: none;
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.delivery-modal .calendar-wrapper2 {
  grid-column: 1;
  max-width: none;
}

.delivery-modal #periodos {
  grid-column: 2;
  max-width: none;
}

.delivery-modal-actions {
  margin-top: 12px;
  text-align: center;
}

.delivery-modal-actions button {
  background: #007a1d;
  border: 0;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  min-width: 170px;
  padding: 12px 18px;
}

.delivery-modal #periodos .calendar-legend,
.delivery-modal #periodosexibir {
  margin-top: 0 !important;
}

.delivery-modal #cep {
  border: 1px solid #d9dede;
  border-radius: 8px;
  height: 46px;
  padding: 0 12px;
  width: 100%;
}

@media (max-width: 991px) {
  .delivery-modal .modal-dialog {
    max-width: calc(100% - 20px);
  }

  .delivery-modal .calendar-wrapper {
    display: block;
  }

  .delivery-modal .calendar-wrapper2,
  .delivery-modal #periodos {
    max-width: 100%;
  }

  .delivery-modal #periodos {
    margin-top: 12px;
  }

  .delivery-modal-actions {
    text-align: center;
  }

  .delivery-modal-actions button {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .delivery-summary-card {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .delivery-summary-card span {
    white-space: normal;
  }

  .delivery-summary-form {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-summary-form button {
    width: 100%;
  }

  .delivery-choice-card {
    align-items: stretch;
    flex-direction: column;
  }

  .delivery-choice-card button {
    width: 100%;
  }
}
