.grocery-bottom-drawer {
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
  background: var(--gray-white);
  color: var(--secondary-darker);
}

.grocery-bottom-drawer .absolute.top-2,
.grocery-export-bottom-drawer .absolute.top-2 {
  top: 10px;
  width: 100%;
  height: 24px;
}

.grocery-bottom-drawer .absolute.top-2 > div,
.grocery-export-bottom-drawer .absolute.top-2 > div {
  width: 62px;
  height: 5px;
  border-radius: 999px;
  background: var(--gray-300);
}

.grocery-bottom-drawer .drawer-title {
  margin-top: 28px;
  padding: 8px 21px 0;
  align-items: flex-start;
  gap: 10px;
}

.grocery-bottom-drawer .drawer-title h2 {
  width: 100%;
}

.grocery-bottom-drawer-content {
  padding: 12px 20px calc(24px + env(safe-area-inset-bottom, 0px));
}

.grocery-export-bottom-drawer {
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  background: var(--gray-white);
}

.grocery-export-bottom-drawer .drawer-title {
  margin-top: 28px;
  padding: 12px 20px 0;
  align-items: flex-start;
  gap: 12px;
}

.grocery-export-bottom-drawer .drawer-title h2 {
  width: 100%;
  max-width: 285px;
  color: var(--gray-black);
  font-size: 22px;
  font-weight: 600;
  line-height: 25px;
  letter-spacing: 0.165px;
}

.grocery-bottom-drawer .close-drawer,
.grocery-export-bottom-drawer .close-drawer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--gray-light);
  color: var(--gray-black);
  font-size: 22px;
  line-height: 1;
}

.grocery-bottom-drawer .close-drawer i,
.grocery-export-bottom-drawer .close-drawer i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.grocery-bottom-drawer .close-drawer i::before,
.grocery-export-bottom-drawer .close-drawer i::before {
  display: block;
  font-weight: 700;
}

.grocery-export-bottom-drawer-content {
  padding: 20px 20px calc(28px + env(safe-area-inset-bottom, 0px));
}

.grocery-item[data-checked="true"] .grocery-item-icon {
  color: var(--secondary-darker);
}

@keyframes groceryCheckPulse {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.grocery-item-icon.animate-check {
  animation: groceryCheckPulse 0.4s ease;
}

.grocery-item[data-checked="true"] .grocery-item-text {
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.flatpickr-calendar.inline {
  box-shadow: none !important;
  border: none !important;
}

.date-picker-container .flatpickr-calendar {
  background: transparent;
}

.date-picker-container .flatpickr-calendar .flatpickr-months {
  margin-bottom: 10px;
}
