body.cx-scroll-lock {
  overflow: hidden !important;
}
.cx-drawer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1050;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
}
.cx-drawer-modal.cx-modal-active {
  visibility: visible;
  opacity: 1;
}
.cx-drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 37, 44, 0.5);
  backdrop-filter: blur(2px);
}
.cx-drawer-content {
  position: relative;
  z-index: 1051;
  width: 440px;
  max-width: 100vw;
  height: 100%;
  background-color: #FFFFFF;
  color: #1B252C;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}
.cx-modal-active .cx-drawer-content {
  transform: translateX(0);
}
.cx-drawer-body {
  overflow-y: auto;
  max-height: calc(100vh - 65px);
}
.cx-cart-img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}
.cx-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #223D0F;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 1100;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}
.cx-toast-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
.cx-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background-color: #9FE86B;
  color: #111111;
  font-size: 11px;
  font-weight: 700;
  border-radius: 50%;
  min-width: 18px;
  height: 18px;
  line-height: 18px;
  text-align: center;
  padding: 0 4px;
}
.text-primary-text {
  color: #2B4B14 !important;
}
.btn-primary {
  background-color: #9FE86B !important;
  border-color: #9FE86B !important;
  color: #111111 !important;
}
.btn-primary:hover {
  background-color: #88E348 !important;
  border-color: #88E348 !important;
}
@media (max-width: 575.98px) {
  .cx-drawer-content {
    width: 100vw;
  }
  .cx-cart-img {
    width: 80px;
    height: 80px;
  }
}
/* ===== added-to-cart centered modal ===== */
.cx-added-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1070;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.25s ease, opacity 0.25s ease;
}
.cx-added-modal.cx-added-active {
  visibility: visible;
  opacity: 1;
}
.cx-added-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(27, 37, 44, 0.55);
  backdrop-filter: blur(2px);
}
.cx-added-dialog {
  position: relative;
  z-index: 1071;
  width: 420px;
  max-width: 100%;
  background-color: #FFFFFF;
  color: #1B252C;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  padding: 28px 24px 24px;
  transform: translateY(12px) scale(0.98);
  transition: transform 0.25s ease;
}
.cx-added-active .cx-added-dialog {
  transform: translateY(0) scale(1);
}
.cx-added-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #6B7280;
  cursor: pointer;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.cx-added-close:hover {
  background-color: #F0F5EC;
  color: #1B252C;
}
.cx-added-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 32px 16px 0;
  line-height: 1.3;
}
.cx-added-body {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  margin-bottom: 18px;
  background-color: #F0F5EC;
  border-radius: 12px;
}
.cx-added-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background-color: #FFFFFF;
}
.cx-added-info {
  min-width: 0;
  flex: 1;
}
.cx-added-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
}
.cx-added-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  font-size: 0.85rem;
  color: #6B7280;
}
.cx-added-price {
  font-weight: 600;
  color: #2B4B14;
}
.cx-added-actions {
  display: flex;
  gap: 10px;
}
.cx-added-btn {
  flex: 1;
  padding: 12px 16px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  border: none;
  white-space: nowrap;
}
.cx-added-btn-alt {
  background-color: transparent;
  color: #2B4B14;
  border: 2px solid #2B4B14;
}
.cx-added-btn-alt:hover {
  background-color: #F0F5EC;
}
.cx-added-btn-primary {
  background-color: #9FE86B;
  color: #111111;
}
.cx-added-btn-primary:hover {
  background-color: #88E348;
}
@media (max-width: 575.98px) {
  .cx-added-dialog {
    padding: 24px 18px 18px;
  }
  .cx-added-actions {
    flex-direction: column;
  }
  .cx-added-img {
    width: 64px;
    height: 64px;
  }
}
