Add here all your CSS customizations
/* flatpickr-theme-ecoresupply.css */
.flatpickr-calendar {
  font-family: Arial, sans-serif !important;
  background-color: #f1f1f1 !important;
  border-radius: 10px !important;
}

.flatpickr-day {
  color: #333 !important;
}

.flatpickr-day.selected,
.flatpickr-day.selected:focus,
.flatpickr-day.selected:hover {
  background-color: #21b995 !important; /* Cor verde EcoResupply */
  color: #fff !important;
  border-color: #21b995 !important;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
  background-color: #ddd !important;
  color: #333 !important;
}

.flatpickr-current-month {
  color: #21b995 !important; /* Cor do mês atual */
}

.flatpickr-next-month,
.flatpickr-prev-month {
  color: #21b995 !important;
}

.select2-container--default .select2-selection--single {
  background-color: #fff; /* <-- Agora fundo branco */
  border: 1px solid #e0e6ed;
  border-radius: 0.5rem;
  height: 2.8125rem; /* igual aos inputs */
  padding: 0.45rem 1rem;
  font-size: 0.9375rem;
  font-family: "Open Sans", sans-serif;
  color: #6c757d;
  display: flex;
  align-items: center;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #6c757d;
  line-height: 1.4rem;
  font-weight: 400;
  font-size: 0.9375rem;
}

.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 2.8125rem;
  top: 0.35rem;
  right: 0.75rem;
}

.select2-container--default .select2-dropdown {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  font-family: "Open Sans", sans-serif;
}

.select2-results__option {
  font-size: 0.9375rem;
  padding: 0.45rem 1rem;
}

.select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #21b995 !important; /* Verde EcoResupply */
  color: #fff !important;
}

.select2-results__option--selected {
  background-color: #e5faf3 !important; /* Verde muito claro */
  color: #21b995 !important;
}

.select2-search--dropdown .select2-search__field {
  border-radius: 0.5rem;
  padding: 0.5rem;
  border: 1px solid #dee2e6;
  font-family: "Open Sans", sans-serif;
}

.btn-eco {
  background: #21b995;
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
}
.bg-eco-light {
  background: #fcfcfc !important;
}
.text-eco {
  color: #21b995 !important;
}

.eco-section-title {
  color: #21b995;
  font-weight: 700;
}
.eco-label {
  color: #2a3c22;
  font-weight: 500;
}
.eco-btn {
  background: #21b995;
  color: #fff !important;
  border: none;
  border-radius: 6px;
  padding: 10px 36px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}
.eco-btn:hover {
  background: #189578;
  color: #fff !important;
}
.accordion-button {
  background: #fff !important;
  color: #252a2c;
  font-weight: 600;
}
.accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0001;
}
.accordion-body {
  background: #f7f7f7 !important;
  border-radius: 0 0 8px 8px;
}
.form-control:focus {
  border-color: #21b995;
  box-shadow: 0 0 0 0.2rem #21b99522;
}
.list-unstyled .fa-comment {
  color: #21b995;
}

.input-custom,
.form-control,
.form-select {
  border: 1.5px solid #21b99533 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: border-color 0.15s;
}
.input-custom:focus,
.form-control:focus,
.form-select:focus {
  border-color: #21b995 !important;
  box-shadow: 0 0 0 1.5px #21b99544;
}

.custom-hover-card {
  transition: box-shadow 0.3s, transform 0.3s;
}
.custom-hover-card:hover {
  box-shadow: 0 0 32px 0 #21b99533, 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-6px) scale(1.02);
  border-color: #21b995 !important;
}
.object-fit-cover {
  object-fit: cover;
}
.ratio-16x9 {
  aspect-ratio: 16 / 9;
}

.product-card .card-body {
  min-height: 220px; /* Ajusta conforme necessário */
  display: flex;
  flex-direction: column;
}

.product-card .card-text {
  flex-grow: 1;
}

.badge-moderation {
  background: #ffc107 !important;
  color: #222 !important;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.25em 1em;
  box-shadow: 0 1px 4px #8882;
  white-space: nowrap;
  opacity: 0.97;
}
.badge-approve {
  background: #21b995 !important;
  color: #fff !important;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.25em 1em;
  box-shadow: 0 1px 4px #8882;
  white-space: nowrap;
  opacity: 0.97;
}
.badge-rejected {
  background: #dc3545 !important;
  color: #fff !important;
  font-size: 0.97rem;
  font-weight: 600;
  border-radius: 12px;
  padding: 0.25em 1em;
  box-shadow: 0 1px 4px #8882;
  white-space: nowrap;
  opacity: 0.97;
}

.campo-obrigatorio input,
.campo-obrigatorio select,
.campo-obrigatorio textarea {
  border: 2px solid #21b995 !important;
  box-shadow: 0 0 8px #21b99540;
  background: #e8f9f5 !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.campo-obrigatorio input:focus,
.campo-obrigatorio select:focus,
.campo-obrigatorio textarea:focus {
  border: 2px solid #189578 !important;
  box-shadow: 0 0 10px #18957844;
  background: #e0f7f3 !important;
}

.eco-spin {
  animation: eco-spin-anim 1.2s linear infinite;
  filter: drop-shadow(0 0 12px #21b99599);
}

.btn .fa,
.btn .fas,
.btn .far,
.btn .fab {
  vertical-align: middle;
}
.btn .ms-1 {
  margin-left: 0.35rem !important;
}

@keyframes eco-spin-anim {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (prefers-color-scheme: dark) {
  #global-spinner {
    background: rgba(20, 32, 20, 0.96) !important;
  }
}

/* ------------------------- */
/* BOOTSTRAP BUTTON OVERRIDES ECORESUPPLY */
/* ------------------------- */

.btn-primary,
.btn-success,
.bg-success,
.bg-primary {
  background-color: #21b995 !important;
  border-color: #21b995 !important;
  color: #fff !important;
}

.btn-primary:hover,
.btn-success:hover,
.bg-success:hover,
.bg-primary:hover,
.btn-primary:focus,
.btn-success:focus,
.bg-success:focus,
.bg-primary:focus {
  background-color: #189578 !important;
  border-color: #189578 !important;
  color: #fff !important;
}

.btn-primary:active,
.btn-success:active,
.bg-success:active,
.bg-primary:active {
  background-color: #158c70 !important;
  border-color: #158c70 !important;
  color: #fff !important;
}

.btn-outline-primary,
.btn-outline-success {
  color: #21b995 !important;
  border-color: #21b995 !important;
  background: transparent !important;
}

.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-primary:focus,
.btn-outline-success:focus {
  background: #21b995 !important;
  color: #fff !important;
  border-color: #21b995 !important;
}

.btn-outline-primary:active,
.btn-outline-success:active {
  background: #158c70 !important;
  color: #fff !important;
  border-color: #158c70 !important;
}

.btn-secondary,
.bg-secondary {
  background-color: #0f2e50 !important;
  border-color: #0f2e50 !important;
  color: #fff !important;
}

.btn-secondary:hover,
.bg-secondary:hover,
.btn-secondary:focus,
.bg-secondary:focus {
  background-color: #163b68 !important;
  border-color: #163b68 !important;
  color: #fff !important;
}

.btn-secondary:active,
.bg-secondary:active {
  background-color: #0d2238 !important;
  border-color: #0d2238 !important;
  color: #fff !important;
}

.btn-outline-secondary {
  color: #0f2e50 !important;
  border-color: #0f2e50 !important;
  background: transparent !important;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
  background: #0f2e50 !important;
  color: #fff !important;
  border-color: #0f2e50 !important;
}

.btn-outline-secondary:active {
  background: #0d2238 !important;
  color: #fff !important;
  border-color: #0d2238 !important;
}

/* Texto */
.text-primary,
.text-success {
  color: #21b995 !important;
}
.text-secondary {
  color: #0f2e50 !important;
}

/* Badges */
.badge-primary,
.badge-success {
  background: #21b995 !important;
  color: #fff !important;
}
.badge-secondary {
  background: #0f2e50 !important;
  color: #fff !important;
}

/* Alerts */
.alert-success,
.alert-primary {
  background: #e5faf3 !important;
  color: #189578 !important;
  border-color: #21b995 !important;
}
.alert-secondary {
  background: #e7eef6 !important;
  color: #0f2e50 !important;
  border-color: #0f2e50 !important;
}

/* Focus shadow */
.btn:focus,
.btn-primary:focus,
.btn-success:focus,
.btn-secondary:focus {
  box-shadow: 0 0 0 0.18rem #21b99544 !important;
}

/* Disabled */
.btn-primary:disabled,
.btn-success:disabled,
.btn-secondary:disabled {
  background: #8be2c7 !important;
  border-color: #8be2c7 !important;
  color: #e9ecef !important;
}

.btn-outline-primary:disabled,
.btn-outline-success:disabled,
.btn-outline-secondary:disabled {
  color: #b9bfc9 !important;
  border-color: #b9bfc9 !important;
  background: #f5f6fa !important;
}

/* ------------------------- */
/* FIM BOOTSTRAP OVERRIDES   */
/* ------------------------- */

.faq-accordion-soft .card {
  border: none;
  border-radius: 1rem;
  background: #f9fafb;
  box-shadow: 0 2px 10px #009e3622;
  margin-bottom: 1rem;
  transition: box-shadow 0.18s cubic-bezier(0.4, 0.2, 0.2, 1), background 0.2s;
}

.faq-accordion-soft .card-header {
  background: transparent;
  border: none;
  border-radius: 1rem 1rem 0 0;
  padding: 1.1rem 1.5rem;
  font-weight: 500;
  color: #145c38;
  font-size: 1.13rem;
}

.faq-accordion-soft .card-body {
  background: transparent;
  color: #333;
  font-size: 1rem;
  padding: 1.3rem 1.5rem 1.3rem 1.5rem !important;
}

.faq-accordion-soft .collapse.show,
.faq-accordion-soft .collapsing {
  background: #f2fbf7;
}

.faq-accordion-soft .card + .card {
  margin-top: 0.5rem;
}

.faq-accordion-soft .accordion-button,
.faq-accordion-soft .accordion-button:not(.collapsed),
.faq-accordion-soft .accordion-button:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: #f9fafb !important; /* Mantém fundo igual */
  color: #145c38; /* Mantém texto igual */
}

.map-wrapper {
  position: relative;
  border-radius: 1.6rem;
  box-shadow: 0 8px 32px rgba(30, 48, 46, 0.09), 0 2px 8px 0 #38d39f10;
  border: 1.5px solid #e7ecec;
  background: #f6f8f7;
  overflow: hidden;
  min-height: 340px;
  max-width: 100%;
}
#complaint-map {
  width: 100%;
  height: 340px;
  border-radius: 1.6rem;
  min-height: 340px;
}
/* Leaflet attribution pequeno e transparente */
.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.93) !important;
  border-radius: 0 0.8rem 0 0;
  font-size: 0.9rem;
  color: #96a1a3;
  box-shadow: none !important;
  padding-right: 10px !important;
  padding-left: 10px !important;
  opacity: 0.8;
}
.leaflet-control-attribution a {
  color: #42b983 !important;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.78;
}
.leaflet-control-attribution a:hover {
  color: #18976d !important;
}

.eco-img-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-start;
}
.eco-img-slot {
  width: 116px;
  height: 86px;
  border: 2px dashed #bde5cf;
  border-radius: 12px;
  background: #fcfff6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s;
  overflow: hidden;
}
.eco-img-slot.filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.eco-img-slot.main {
  border: 2.5px solid #38d39f;
  box-shadow: 0 0 0 2px #d7f9ee;
}
.eco-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #38d39f;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  height: 100%;
  width: 100%;
  justify-content: center;
}
.eco-remove-img,
.eco-make-main {
  position: absolute;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  top: 5px;
  right: 5px;
  color: #888;
  font-size: 1.08em;
  z-index: 2;
  box-shadow: 0 2px 8px #0002;
  transition: color 0.2s;
}
.eco-make-main {
  left: 5px;
  right: auto;
  color: #38d39f;
  background: #fff;
}
.eco-remove-img:hover {
  color: #d33;
  background: #ffeaea;
}
.eco-make-main.active,
.eco-make-main:hover {
  color: #25906d;
}

/* ------------------------- */
/* MIDAL CAT               */
/* ------------------------- */

/* ======================== */
/*      SELECT2 STYLES      */
/* ======================== */
.select2-container--default .select2-selection--single {
  background-color: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 0.5rem;
  height: 2.8125rem;
  padding: 0.45rem 1rem;
  font-size: 0.9375rem;
  color: #6c757d;
  display: flex;
  align-items: center;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  color: #6c757d;
  line-height: 1.4rem;
  font-weight: 400;
  font-size: 0.9375rem;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 2.8125rem;
  top: 0.35rem;
  right: 0.75rem;
}
.select2-container--default .select2-dropdown {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
}
.select2-results__option {
  font: inherit !important;
  color: inherit !important;
}
.select2-results__option--highlighted.select2-results__option--selectable {
  background-color: #21b995 !important;
  color: #fff !important;
}
.select2-results__option--selected {
  background-color: #e5faf3 !important;
  color: #21b995 !important;
}
.select2-search--dropdown .select2-search__field {
  border-radius: 0.5rem;
  padding: 0.5rem;
  border: 1px solid #dee2e6;
}

.eco-highlight {
  background: #e8faef;
  color: #22937a;
  border-radius: 0.3em;
  padding: 0 0.13em;
}

/* ======================== */
/*       IMAGE GRID         */
/* ======================== */
#imageGrid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-start;
  margin-bottom: 0.25rem;
}
#imageGrid > div {
  flex: 1 0 30%;
  max-width: 32%;
  min-width: 90px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media (min-width: 600px) {
  #imageGrid > div {
    flex: 0 0 96px;
    max-width: 96px;
    min-width: 92px;
  }
}
@media (max-width: 450px) {
  #imageGrid > div {
    flex: 1 0 45%;
    max-width: 48%;
  }
}
.image-preview-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-preview-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.image-preview-wrap .btn {
  z-index: 2;
}
.image-preview-wrap .badge {
  font-size: 0.81rem;
  padding: 0.25em 0.9em;
  border-radius: 9px;
  opacity: 0.92;
}
#imageGrid label {
  width: 100%;
  height: 100%;
  cursor: pointer;
  display: block;
}

/* ======================== */
/*    BOTÃO DE CATEGORIA    */
/* ======================== */
#openCategoryModalBtn {
  max-width: 100%;
  white-space: normal;
  word-break: break-word;
  font-size: 1rem;
}
#openCategoryModalBtn span {
  font-size: 1rem;
  white-space: normal;
  word-break: break-word;
}

/* ======================== */
/*     MODAL CATEGORIA      */
/* ======================== */
.modal-category-custom .modal-content {
  border-radius: 1.5rem !important;
  box-shadow: 0 4px 48px 0 rgba(34, 197, 94, 0.12);
}
.category-step .category-btn {
  background: #f5faf7;
  border: 2px solid #b0e1c5;
  color: #184e36;
  transition: 0.1s;
  padding: 1.1rem 0.5rem;
  border-radius: 1.1rem;
  width: 100%;
  min-width: 0;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: break-word;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.category-step .category-btn span {
  flex: 1 1 0;
  min-width: 0;
}
.category-step .category-btn:hover,
.category-step .category-btn:focus {
  background: #e2f7e7;
  border-color: #1cd16e;
  color: #125c3b;
}
.btn-subcat {
  border-color: #b0e1c5;
  color: #1b714b;
  background: #fff;
  border-radius: 20px;
  padding: 0.4rem 1.1rem;
  font-size: 1rem;
  white-space: normal;
  word-break: break-word;
}
.btn-subcat:hover,
.btn-subcat:focus {
  background: #e2f7e7;
  border-color: #1cd16e;
  color: #125c3b;
}
.modal-header.bg-success {
  background: #1cd16e !important;
  color: #fff;
}
.modal-header .fa,
.modal-header .modal-title {
  color: #fff;
}

/* ======================== */
/*       FORM/INPUTS        */
/* ======================== */
.input-custom,
.form-control,
.form-select {
  border: 1.5px solid #21b99533 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
  transition: border-color 0.15s;
}
.input-custom:focus,
.form-control:focus,
.form-select:focus {
  border-color: #21b995 !important;
  box-shadow: 0 0 0 1.5px #21b99544;
}
.form-label.fw-semibold {
  color: #206548;
}
.form-text.text-muted {
  font-size: 0.96rem;
}

/* ======================== */
/*         BUTTONS          */
/* ======================== */
.btn-success,
.btn-primary {
  background-color: #21b995 !important;
  border-color: #21b995 !important;
  color: #fff !important;
  font-weight: 600;
}
.btn-success:hover,
.btn-primary:hover {
  background-color: #189578 !important;
  border-color: #189578 !important;
  color: #fff !important;
}
.btn-outline-success {
  color: #21b995 !important;
  border-color: #21b995 !important;
  background: transparent !important;
}
.btn-outline-success:hover,
.btn-outline-success:focus {
  background: #21b995 !important;
  color: #fff !important;
  border-color: #21b995 !important;
}

/* ======================== */
/*      ALERTS/BADGES       */
/* ======================== */
.badge-primary,
.badge-success {
  background: #21b995 !important;
  color: #fff !important;
}
.alert-success,
.alert-primary {
  background: #e5faf3 !important;
  color: #189578 !important;
  border-color: #21b995 !important;
}

/* ======================== */
/*     MAP/LEAFLET          */
/* ======================== */
.map-wrapper {
  position: relative;
  border-radius: 1.6rem;
  box-shadow: 0 8px 32px rgba(30, 48, 46, 0.09), 0 2px 8px 0 #38d39f10;
  border: 1.5px solid #e7ecec;
  background: #f6f8f7;
  overflow: hidden;
  min-height: 340px;
  max-width: 100%;
}
#product-map {
  width: 100%;
  height: 320px;
  border-radius: 1.6rem;
  min-height: 320px;
}
/* Leaflet attribution pequeno e transparente */
.leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.93) !important;
  border-radius: 0 0.8rem 0 0;
  font-size: 0.9rem;
  color: #96a1a3;
  box-shadow: none !important;
  padding-right: 10px !important;
  padding-left: 10px !important;
  opacity: 0.8;
}
.leaflet-control-attribution a {
  color: #42b983 !important;
  font-weight: 600;
  text-decoration: none;
  opacity: 0.78;
}
.leaflet-control-attribution a:hover {
  color: #18976d !important;
}

/* ======================== */
/*       MOBILE OPT         */
/* ======================== */
@media (max-width: 600px) {
  #imageGrid > div {
    flex: 1 0 30%;
    max-width: 32%;
  }
  #imageGrid {
    gap: 0.4rem;
  }
  #openCategoryModalBtn,
  #openCategoryModalBtn span {
    font-size: 0.95rem;
  }
  .modal-category-custom .modal-dialog {
    max-width: 98vw;
    margin: 0 auto;
  }
  .modal-category-custom .modal-content {
    border-radius: 1rem !important;
    padding: 0.2rem;
  }
  .modal-category-custom .modal-body {
    padding: 0.6rem 0.4rem 0.4rem 0.4rem;
    overflow-y: auto;
    max-height: 82vh;
  }
  .category-step .category-btn,
  .btn-subcat {
    font-size: 0.96rem;
    padding: 0.5rem 0.3rem;
    border-radius: 0.8rem;
    width: 100%;
    min-width: 0;
  }
}
@media (max-width: 450px) {
  #imageGrid > div {
    flex: 1 0 45%;
    max-width: 48%;
  }
}

/* ======================== */
/*  FLATPICKR CALENDAR CSS  */
/* ======================== */
.flatpickr-calendar {
  font-family: Arial, sans-serif;
  background-color: #f1f1f1;
  border-radius: 10px;
}
.flatpickr-day {
  color: #333;
}
.flatpickr-day.selected {
  background-color: #21b995; /* Cor verde EcoResupply */
  color: white;
}
.flatpickr-day:hover {
  background-color: #ddd;
}
.flatpickr-current-month {
  color: #21b995;
}
.flatpickr-next-month,
.flatpickr-prev-month {
  color: #21b995;
}

/* Exemplos de estilos para grid */
.eco-img-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.eco-img-slot {
  width: 116px;
  height: 86px;
  border: 2px dashed #bde5cf;
  border-radius: 12px;
  background: #fcfff6;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: border-color 0.2s;
  overflow: hidden;
}
.eco-img-slot.filled img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
}
.eco-img-slot.main {
  border: 2.5px solid #38d39f;
  box-shadow: 0 0 0 2px #d7f9ee;
}
.eco-remove-img {
  position: absolute;
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  top: 5px;
  right: 5px;
  color: #d33;
  font-size: 1.08em;
  z-index: 2;
  box-shadow: 0 2px 8px #0002;
  transition: color 0.2s;
}
.eco-remove-img:hover {
  background: #ffeaea;
}

/* MOBILE FIRST: 1 coluna, botões grandes, modal com cantos arredondados */
/* #categoryModal .modal-content { border-radius: 1.4rem; }
#categoryModal .modal-header { border-radius: 1.4rem 1.4rem 0 0; }
#categoryModal .modal-footer { border-radius: 0 0 1.4rem 1.4rem; }
#categoryModal .cat-select-btn {
    min-height: 64px;
    font-size: 1.09rem;
    border-radius: 12px;
    transition: box-shadow .13s;
}
#categoryModal .cat-select-btn img { width: 32px; height: 32px; }
#categoryModal .cat-select-btn:active,
#categoryModal .cat-select-btn:focus { box-shadow: 0 0 0 3px #d0ffe7; }

@media (min-width: 576px) {
    #categoryModal .row-cols-sm-2 > .col { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 768px) {
    #categoryModal .row-cols-md-3 > .col { flex: 0 0 33.3333%; max-width: 33.3333%; }
    #categoryModal .cat-select-btn { min-height: 74px; font-size: 1.16rem; }
    #categoryModal .cat-select-btn img { width: 38px; height: 38px; }
}
@media (min-width: 1200px) {
    #categoryModal .modal-dialog { max-width: 980px; }
    #categoryModal .row-cols-lg-4 > .col { flex: 0 0 25%; max-width: 25%; }
    #categoryModal .cat-select-btn { min-height: 88px; font-size: 1.21rem; }
    #categoryModal .cat-select-btn img { width: 46px; height: 46px; }
}
@media (min-width: 1500px) {
    #categoryModal .modal-dialog { max-width: 1280px; }
    #categoryModal .row-cols-xl-5 > .col { flex: 0 0 20%; max-width: 20%; }
} */

/* MOBILE FIRST (até 480px) */
.img-thumb-wrap {
  position: relative;
  display: inline-block;
  margin: 5px;
  touch-action: pan-y !important; /* Ajuda a Sortable funcionar no mobile */
  background: #fff;
  min-width: 88px;
  min-height: 66px;
  vertical-align: top;
  overflow: visible;
}

.img-thumb-wrap img {
  width: 88px;
  height: 66px;
  object-fit: cover;
  border-radius: 9px;
  border: 2px solid #b7ffca;
  box-shadow: 0 2px 8px #eef7ee;
  background: #fafafa;
  transition: border 0.14s, box-shadow 0.12s;
}

/* Botão de remoção ajustado */
.img-thumb-wrap .btn-remove-img {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 9;
  background: #f44336;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 1.25rem;
  line-height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px #ef9a9a;
  opacity: 0.96;
  transition: background 0.17s, opacity 0.15s;
  cursor: pointer;
}

.img-thumb-wrap .btn-remove-img:active,
.img-thumb-wrap .btn-remove-img:focus {
  background: #d32f2f;
  opacity: 1;
}

.badge-principal {
  position: absolute;
  left: 6px;
  bottom: 6px;
  z-index: 9;
  background: #23bf63;
  color: #fff;
  padding: 3px 10px;
  border-radius: 6px;
  font-size: 0.96rem;
  font-weight: 600;
  box-shadow: 0 1px 4px #8fd6b4;
  pointer-events: none;
}

/* Ajustes para tela maior que 480px */
@media (min-width: 480px) {
  .img-thumb-wrap,
  .img-thumb-wrap img {
    min-width: 96px;
    min-height: 72px;
    width: 96px;
    height: 72px;
  }
  .img-thumb-wrap .btn-remove-img {
    width: 30px;
    height: 30px;
    font-size: 1.38rem;
  }
}

/* Ajustes para tablet (min-width: 768px) */
@media (min-width: 768px) {
  .img-thumb-wrap,
  .img-thumb-wrap img {
    min-width: 112px;
    min-height: 84px;
    width: 112px;
    height: 84px;
  }
  .img-thumb-wrap .btn-remove-img {
    width: 34px;
    height: 34px;
    font-size: 1.55rem;
  }
  .badge-principal {
    font-size: 1.03rem;
  }
}

/* DROPZONE */

/* Dropzone container responsivo */
#dropzone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  border: 2px dashed #ccc;
  border-radius: 10px;
  background-color: #f9f9f9;
}

/* Estilo dos previews */
.dz-preview {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 240px;
}

/* Imagem */
.dz-image img {
  width: 100%;
  max-width: 240px;
  border-radius: 6px;
  object-fit: cover;
}

/* Botão de remoção estilizado */
.dz-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  background-color: #dc3545;
  color: white;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 10;
}

/* Desktop: transforma em grade horizontal */
@media (min-width: 768px) {
  #dropzone {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .dz-preview {
    width: 200px;
    margin: 6px;
  }
}

/* Ajustes para telas maiores (desktop) */
@media (min-width: 1200px) {
  .img-thumb-wrap,
  .img-thumb-wrap img {
    min-width: 124px;
    min-height: 93px;
    width: 124px;
    height: 93px;
  }
  .img-thumb-wrap .btn-remove-img {
    width: 36px;
    height: 36px;
    font-size: 1.7rem;
  }
}

/* Garante alinhamento vertical em mobile */
.dz-preview {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
}

/* Responsividade para dispositivos móveis */
@media (max-width: 400px) {
  .notyf__toast {
    min-width: 90vw !important;
    font-size: 1rem;
    padding: 1rem !important;
  }
}

@media (max-width: 991.98px) {
  #mainNav .dropdown-menu.show {
    display: block !important;
  }
}

@media (max-width: 991.98px) {
  .dropdown-mega-content {
    padding: 1rem !important;
    overflow-y: auto;
    max-height: 400px;
  }
  .dropdown-menu.show {
    display: block !important;
  }
}

/* ----------- CARD ----------- */

/* ----------- CARD PRINCIPAL ----------- */

.eco-card-new {
  background: #fff;
  box-shadow: 0 4px 28px #2da56c11, 0 2px 9px #1cc46c16;
  border-radius: 18px;
  overflow: hidden;
  min-height: 370px;
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 12px;
}

.eco-card-imgbox {
  width: 100%;
  height: 215px;
  background: linear-gradient(135deg, #eafaf2 60%, #fafcf8 100%);
  border-bottom: 1px solid #e6ece7;
  position: relative;
  overflow: hidden;
}

.eco-card-img {
  width: 100%;
  height: 215px;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
  display: block;
  background: #f8faf8;
  box-shadow: 0 2px 7px #18b36d11;
}

/* BADGES – alinhados topo esquerda/direita */
.eco-img-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 10;
}
.eco-card-chip {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
}
.eco-img-badge,
.eco-card-chip {
  display: inline-block;
  background: #fff;
  color: #18b36d;
  font-weight: 600;
  font-size: 1em;
  padding: 3px 14px;
  border-radius: 22px;
  box-shadow: 0 1.5px 5px #19b36d21;
  border: 1.5px solid #d2eee1;
  opacity: 0.97;
  min-width: 1.5em;
  min-height: 1.9em;
  line-height: 1.2em;
  margin: 0;
  vertical-align: middle;
}

.eco-img-count {
  position: absolute;
  bottom: 9px;
  right: 14px;
  background: #e2faee;
  color: #18b36d;
  border-radius: 12px;
  font-size: 0.99em;
  padding: 2.5px 10px;
  font-weight: 700;
  z-index: 11;
  box-shadow: 0 1.5px 7px #1cb36d13;
}

@media (max-width: 576px) {
  .eco-card-imgbox,
  .eco-card-img {
    height: 44vw !important;
    min-height: 108px !important;
    max-height: 210px !important;
  }
  .eco-img-badge,
  .eco-card-chip {
    font-size: 0.91em;
    padding: 2px 10px;
    min-height: 1.5em;
    top: 9px !important;
  }
  .eco-img-badge {
    left: 10px !important;
  }
  .eco-card-chip {
    right: 10px !important;
  }
}

/* BODY E TITULOS */
.eco-card-body-new {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 112px;
  position: relative;
  background: #fff;
}

.eco-card-title {
  font-size: 1.19em;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: block;
}

.eco-card-meta {
  font-size: 1em;
  color: #82918f;
}

.eco-card-desc {
  flex: 1 1 auto;
  overflow: hidden;
  min-height: 2em;
  max-height: none;
  line-height: 1.43em;
  position: relative;
  font-size: 0.98em;
}

/* BADGE DE VALOR/ESTADO */
.eco-chip {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 14px;
  font-size: 0.97em;
  font-weight: 600;
}
.eco-chip-main {
  background: #18b36d;
  color: #fff;
}
.eco-chip-doacao {
  background: #e2faee;
  color: #18b36d;
  border: 1.5px solid #21d287;
}
.eco-chip-simbolic {
  background: #fff9e3;
  color: #a8791c;
  border: 1.5px solid #ffe8a1;
}
.eco-chip-acordar {
  background: #ffe6e6;
  color: #d52929;
  border: 1.5px solid #fdafaf;
}
.eco-chip-default {
  background: #eff1f4;
  color: #728a7e;
  border: 1.5px solid #e7f6f3;
}

/* ----------- FOOTER: BOTÕES ICONES ----------- */
.eco-card-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  background: #fff;
  border-top: 1px solid #eff1f4;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 8px 0 8px 8px;
}

.eco-feedback-btn {
  background: #fff;
  border: 1.5px solid #e3efe5;
  color: #22c284;
  border-radius: 999px;
  font-size: 1.32em;
  width: 39px;
  height: 39px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 9px #19b36d11;
  transition: color 0.17s, box-shadow 0.16s;
  opacity: 0.97;
}
.eco-feedback-btn:hover,
.eco-feedback-btn.active {
  background: #e2faee;
  color: #0d8043;
  border-color: #18b36d;
  box-shadow: 0 4px 18px #1dbb6440;
}
.eco-feedback-btn.eco-dislike {
  color: #d52929;
  border-color: #ffdede;
}
.eco-feedback-btn.eco-dislike:hover {
  color: #fff;
  background: #ffdede;
}
.eco-feedback-btn.eco-report {
  color: #d57c10;
  border-color: #ffeec6;
}
.eco-feedback-btn.eco-report:hover {
  color: #fff;
  background: #ffeec6;
}

/* ----------- OVERLAY "VER DETALHES" ----------- */
.eco-card-cta-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 46px;
  height: 42px;
  background: linear-gradient(0deg, #f6f8f7f7 95%, transparent 100%);
  text-align: center;
  color: #16b36d;
  font-weight: 700;
  font-size: 1.09em;
  letter-spacing: 0.3px;
  opacity: 0;
  transition: opacity 0.16s;
  z-index: 13;
  width: 100%;
  border-radius: 0 0 14px 14px;
  cursor: pointer;
  text-decoration: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.eco-card-new:hover .eco-card-cta-overlay,
.eco-card-new:focus-within .eco-card-cta-overlay {
  opacity: 1;
}

@media (max-width: 768px) {
  .eco-card-cta-overlay {
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    opacity: 1 !important;
    pointer-events: auto;
    margin-top: 0.25rem;
    z-index: 20 !important;
    background: #f6f8f7;
    height: 70px;
    border-radius: 0 0 14px 14px;
    font-size: 1em;
  }
  .eco-card-footer {
    position: relative;
    z-index: 21;
  }
}

/* ----------- CAROUSEL/MODAL ----------- */
.eco-carousel-btn {
  background: #111 !important;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.92;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.13s;
}
.eco-carousel-btn:active,
.eco-carousel-btn:focus {
  outline: none;
  background: #222 !important;
}
.eco-carousel-btn-icon svg {
  display: block;
  margin: 0 auto;
}
.carousel-control-prev.eco-carousel-btn {
  left: 12px;
}
.carousel-control-next.eco-carousel-btn {
  right: 12px;
}

.eco-card-meta-info {
  font-size: 0.98em;
  color: #194d34;
  font-weight: 400;
  margin-top: 2px;
  margin-bottom: 0.7em;
  line-height: 1.4;
  background: none;
  border: none;
  padding: 0;
  letter-spacing: 0.01em;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px; /* linhas e colunas */
}

.eco-card-meta-info .eco-meta-block {
  display: flex;
  gap: 5px;
  align-items: baseline;
  margin-bottom: 2px;
}

.eco-card-meta-info .meta-label {
  color: #169e62;
  font-weight: 600;
  background: none;
  padding: 0;
  border-radius: 0;
  font-size: 0.98em;
}

.eco-card-meta-info .eco-meta-value {
  font-weight: 500;
  color: #194d34;
  background: none;
  margin-right: 0;
  font-size: 0.98em;
}

/* Botão fechar modal exclusivo ECO */
.eco-modal-close-btn {
  z-index: 1100 !important;
  background: #fff !important;
  border-radius: 50%;
  opacity: 0.97;
  box-shadow: 0 2px 12px #1112;
  border: 2px solid #fff;
  width: 38px;
  height: 38px;
  position: absolute;
  top: 18px;
  right: 18px;
  transition: box-shadow 0.2s;
}
.eco-modal-close-btn:hover {
  box-shadow: 0 4px 18px #1113;
}

@media (max-width: 500px) {
  .eco-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95em;
  }
  .carousel-control-prev.eco-carousel-btn {
    left: 2px;
  }
  .carousel-control-next.eco-carousel-btn {
    right: 2px;
  }
  .modal .btn-close {
    width: 32px;
    height: 32px;
    top: 10px;
    right: 10px;
  }
}

.eco-notification-link {
  position: relative;
  display: flex;
  align-items: center;
}
.eco-notification-badge {
  position: absolute;
  left: 22px;
  top: -8px;
  padding: 2px 7px;
  font-weight: 600;
}
@media (max-width: 767.98px) {
  .eco-notification-text {
    display: none !important;
  }
  .eco-notification-link .fa-bell {
    font-size: 1.6em;
  }
  .eco-notification-badge {
    left: 22px;
    top: -8px;
    font-size: 0.82em;
  }
}

@media (max-width: 991.98px) {
  .eco-notification-link {
    padding-right: 0;
  }
}