.armo-mobile-filter-trigger {
  display: none;
}

.armo-mobile-filter-sheet {
  position: fixed;
  inset: auto 0 0;
  width: 100vw;
  max-width: none;
  height: min(82dvh, 720px);
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-top: 1px solid #8da6aa;
  border-radius: 22px 22px 0 0;
  background: #f4f8f8;
  color: #17353c;
  box-shadow: 0 -24px 70px rgba(16, 41, 46, 0.26);
}

.armo-mobile-filter-sheet[open] {
  animation: armo-filter-sheet-enter 210ms ease-out both;
}

.armo-mobile-filter-sheet::backdrop {
  background: rgba(16, 38, 43, 0.58);
  backdrop-filter: blur(3px);
}

@keyframes armo-filter-sheet-enter {
  from {
    opacity: 0;
    transform: translateY(34px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.armo-mobile-filter-sheet__layout {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
}

.armo-mobile-filter-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 19px 18px 15px;
  border-bottom: 1px solid #b9cacc;
  background: #dce9eb;
}

.armo-mobile-filter-sheet__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: #4b6c72;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.armo-mobile-filter-sheet__header h2 {
  margin: 0;
  color: #102f36;
  font-size: 1.22rem;
}

.armo-mobile-filter-sheet__close {
  display: inline-grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 1px solid #8da5a9;
  border-radius: 999px;
  background: #f8fbfb;
  color: #23474e;
  font: inherit;
  font-size: 1.25rem;
  cursor: pointer;
}

.armo-mobile-filter-sheet__body {
  padding: 16px 18px 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.armo-mobile-filter-sheet__notice {
  margin: 0 0 15px;
  padding: 11px 12px;
  border: 1px solid #b0c3c6;
  border-radius: 10px;
  background: #e8f0f1;
  color: #3c6066;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
}

.armo-mobile-filter-sheet__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.armo-mobile-filter-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.armo-mobile-filter-field label {
  color: #34585f;
  font-size: 0.78rem;
  font-weight: 850;
}

.armo-mobile-filter-field select {
  width: 100%;
  height: 46px;
  padding: 0 34px 0 12px;
  border: 1px solid #8fa7ab;
  border-radius: 10px;
  background: #fff;
  color: #183940;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 750;
}

.armo-mobile-filter-sheet__empty {
  margin: 0;
  padding: 18px;
  border: 1px dashed #9eb3b7;
  border-radius: 12px;
  background: #eaf1f2;
  color: #426369;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.6;
}

.armo-mobile-filter-sheet__footer {
  display: grid;
  grid-template-columns: minmax(110px, 0.7fr) minmax(180px, 1.3fr);
  gap: 9px;
  padding: 13px 18px max(14px, env(safe-area-inset-bottom));
  border-top: 1px solid #b9cacc;
  background: #e8f0f1;
}

.armo-mobile-filter-sheet__footer button {
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #79969b;
  border-radius: 10px;
  background: #f9fbfb;
  color: #1d4249;
  font: inherit;
  font-size: 0.87rem;
  font-weight: 850;
  cursor: pointer;
}

.armo-mobile-filter-sheet__footer .is-primary {
  border-color: #285f66;
  background: #285f66;
  color: #fff;
}

@media (max-width: 760px) {
  .armo-mobile-filter-trigger {
    position: fixed;
    right: 14px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    z-index: 8200;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #214f56;
    border-radius: 999px;
    background: #285f66;
    color: #fff;
    font: inherit;
    font-size: 0.87rem;
    font-weight: 900;
    box-shadow: 0 12px 34px rgba(18, 48, 54, 0.28);
    cursor: pointer;
  }

  .armo-mobile-filter-trigger__badge {
    display: inline-grid;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    place-items: center;
    border-radius: 999px;
    background: #eef5f5;
    color: #214f56;
    font-size: 0.72rem;
  }

  .armo-mobile-filter-trigger__badge.is-empty {
    display: none;
  }

  body.armo-has-compare-tray .armo-mobile-filter-trigger {
    bottom: calc(188px + env(safe-area-inset-bottom));
  }

  .armo-mobile-filter-source {
    display: none !important;
  }
}

@media (max-width: 440px) {
  .armo-mobile-filter-sheet__fields {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .armo-mobile-filter-sheet[open] {
    animation: none;
  }
}

