#servicos {
  min-height: 148px;
  height: 148px;
  overflow: hidden;
}

.agile-home-service-switch {
  width: 100%;
  height: 100%;
}

.agile-home-service-switch__shell {
  position: relative;
  min-height: 100%;
  height: 100%;
  border-radius: 22px;
}

.agile-home-service-switch__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(102, 204, 153, 0.04),
    rgba(255, 255, 255, 0) 26%,
    rgba(38, 36, 93, 0.03) 50%,
    rgba(255, 255, 255, 0) 74%,
    rgba(102, 204, 153, 0.04)
  );
  border-radius: 22px;
  pointer-events: none;
}

.agile-home-service-switch__divider {
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 50%;
  width: 2px;
  transform: translateX(-50%) rotate(16deg);
  transform-origin: center;
  background: linear-gradient(
    180deg,
    rgba(102, 204, 153, 0),
    rgba(102, 204, 153, 0.28),
    rgba(38, 36, 93, 0.08),
    rgba(102, 204, 153, 0)
  );
  transition: opacity 0.35s ease, transform 0.45s ease;
  z-index: 1;
}

.agile-home-service-switch__category {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  padding: 14px 18px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  cursor: pointer;
  z-index: 2;
  transition:
    transform 0.45s ease,
    width 0.45s ease,
    opacity 0.3s ease,
    filter 0.3s ease;
}

.agile-home-service-switch__category:focus {
  outline: none;
}

.agile-home-service-switch__category:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(102, 204, 153, 0.28);
  border-radius: 18px;
}

.agile-home-service-switch__category--transportes {
  left: 0;
}

.agile-home-service-switch__category--facilitys {
  right: 0;
}

.agile-home-service-switch__category-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.agile-home-service-switch__category-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #66cc99;
  color: #fff;
  font-size: 0.92rem;
}

.agile-home-service-switch__category-text {
  min-width: 0;
}

.agile-home-service-switch__category-title {
  display: block;
  color: #26245d;
  font-size: 0.96rem;
  line-height: 1.2;
  font-family: FontSemiBold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.agile-home-service-switch__category-cta {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 86px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(38, 36, 93, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: #26245d;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: FontSemiBold;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.agile-home-service-switch__category:hover .agile-home-service-switch__category-cta {
  background: #fff;
  border-color: rgba(102, 204, 153, 0.32);
  transform: translateY(-1px);
}

.agile-home-service-switch__panel {
  position: absolute;
  top: 6px;
  bottom: 6px;
  width: calc(50% - 12px);
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: 16px;
  border: 1px solid #e8edf3;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  max-width: calc(100% - 12px);
  opacity: 0;
  pointer-events: none;
  z-index: 3;
  transition:
    transform 0.45s ease,
    width 0.45s ease,
    opacity 0.3s ease;
}

.agile-home-service-switch__panel--transportes {
  right: 6px;
  transform: translateX(110%);
}

.agile-home-service-switch__panel--facilitys {
  left: 6px;
  transform: translateX(-110%);
}

.agile-home-service-switch__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
  flex: 0 0 auto;
}

.agile-home-service-switch__panel-title {
  color: #26245d;
  font-size: 0.76rem;
  line-height: 1;
  font-family: FontSemiBold;
}

.agile-home-service-switch__panel-close {
  width: 24px;
  height: 24px;
  min-width: 24px;
  border: 0;
  border-radius: 8px;
  background: #f5f7fa;
  color: #26245d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  cursor: pointer;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.agile-home-service-switch__panel-close:hover {
  background: #eef3f7;
  transform: rotate(90deg);
}

.agile-home-service-switch__service-grid {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  flex: 1 1 auto;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding-top: 4px;
  padding-bottom: 1px;
  scrollbar-width: thin;
  scrollbar-color: rgba(102, 204, 153, 0.4) transparent;
}

.agile-home-service-switch__service-grid::-webkit-scrollbar {
  height: 4px;
}

.agile-home-service-switch__service-grid::-webkit-scrollbar-thumb {
  background: rgba(102, 204, 153, 0.38);
  border-radius: 999px;
}

.agile-home-service-switch__service-link {
  flex: 0 0 102px;
  min-height: 54px;
  padding: 6px 8px;
  border: 1px solid #e5e8ef;
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-decoration: none;
  text-align: center;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.agile-home-service-switch__service-link,
.agile-home-service-switch__service-link:hover,
.agile-home-service-switch__service-link:focus,
.agile-home-service-switch__service-link:active {
  text-decoration: none !important;
}

.agile-home-service-switch__service-link *,
.agile-home-service-switch__service-link:hover *,
.agile-home-service-switch__service-link:focus *,
.agile-home-service-switch__service-link:active * {
  text-decoration: none !important;
}

.agile-home-service-switch__service-link:hover {
  border-color: rgba(102, 204, 153, 0.5);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
  transform: translateY(-3px);
}

.agile-home-service-switch__service-link:focus {
  outline: none;
}

.agile-home-service-switch__service-link:focus-visible {
  box-shadow: 0 0 0 2px rgba(102, 204, 153, 0.24);
  border-color: rgba(102, 204, 153, 0.5);
}

.agile-home-service-switch__service-icon {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #26245d;
  font-size: 0.78rem;
}

.agile-home-service-switch__service-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.agile-home-service-switch__service-icon--moto {
  width: 24px;
  height: 20px;
}

.agile-home-service-switch__service-icon--bike {
  width: 20px;
  height: 20px;
}

.agile-home-service-switch__service-icon--carro-menor {
  width: 26px;
  height: 20px;
}

.agile-home-service-switch__service-icon--executivo {
  width: 24px;
  height: 20px;
}

.agile-home-service-switch__service-icon--carro {
  width: 28px;
  height: 20px;
}

.agile-home-service-switch__service-icon--eletrica,
.agile-home-service-switch__service-icon--piscina,
.agile-home-service-switch__service-icon--pintor,
.agile-home-service-switch__service-icon--reformas,
.agile-home-service-switch__service-icon--limpeza,
.agile-home-service-switch__service-icon--jardinagem {
  width: 22px;
  height: 22px;
}

.agile-home-service-switch__service-label {
  color: #26245d;
  max-width: 100%;
  font-size: 0.66rem;
  line-height: 1;
  font-family: FontSemiBold;
  word-break: break-word;
  text-decoration: none !important;
}

.agile-home-service-switch__empty {
  min-height: 54px;
  border: 1px dashed #d9e2ec;
  border-radius: 10px;
  background: #fafbfc;
  color: #667085;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  text-align: center;
  font-size: 0.8rem;
}

.agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--transportes {
  width: 30%;
  transform: translateX(-4px);
}

.agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--transportes .agile-home-service-switch__category-cta {
  margin-left: 4px;
}

.agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--facilitys {
  opacity: 0.08;
  filter: blur(1px);
  transform: translateX(28px);
  pointer-events: none;
}

.agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__panel--transportes {
  width: calc(68% - 6px);
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--facilitys {
  width: 30%;
  transform: translateX(4px);
}

.agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--facilitys .agile-home-service-switch__category-cta {
  margin-left: 4px;
}

.agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--transportes {
  opacity: 0.08;
  filter: blur(1px);
  transform: translateX(-28px);
  pointer-events: none;
}

.agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__panel--facilitys {
  width: calc(68% - 6px);
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__divider,
.agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__divider {
  opacity: 0.08;
}

@media (max-width: 1199px) {
  #servicos {
    min-height: 142px;
    height: 142px;
  }

  .agile-home-service-switch__category {
    padding: 12px 16px;
  }

  .agile-home-service-switch__category-title {
    font-size: 0.9rem;
  }

  .agile-home-service-switch__category-cta {
    min-width: 80px;
    padding: 8px 12px;
    font-size: 0.64rem;
  }

  .agile-home-service-switch__service-link {
    flex-basis: 96px;
    min-height: 52px;
  }

  .agile-home-service-switch__service-label {
    font-size: 0.64rem;
  }

  .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--transportes,
  .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--facilitys {
    width: 32%;
  }

  .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__panel--transportes,
  .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__panel--facilitys {
    width: calc(66% - 6px);
  }
}

@media (max-width: 991px) {
  #servicos {
    min-height: 136px;
    height: 136px;
  }

  .agile-home-service-switch__category {
    padding: 12px 14px;
  }

  .agile-home-service-switch__category-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 0.84rem;
  }

  .agile-home-service-switch__category-title {
    font-size: 0.84rem;
  }

  .agile-home-service-switch__category-cta {
    min-width: 72px;
    padding: 7px 10px;
    font-size: 0.6rem;
  }

  .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--transportes,
  .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--facilitys {
    width: 36%;
  }

  .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__panel--transportes,
  .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__panel--facilitys {
    width: calc(62% - 6px);
  }

  .agile-home-service-switch__service-link {
    flex-basis: 84px;
    min-height: 50px;
  }

  .agile-home-service-switch__service-label {
    font-size: 0.62rem;
  }

  .agile-home-service-switch__panel-title {
    font-size: 0.7rem;
  }

  .agile-home-service-switch__panel-close {
    width: 24px;
    height: 24px;
    min-width: 24px;
    font-size: 0.72rem;
  }
}

@media (max-width: 767px) {
  #servicos {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .agile-home-service-switch__shell {
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .agile-home-service-switch__divider {
    display: none;
  }

  .agile-home-service-switch__category {
    position: relative;
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    justify-content: space-between;
  }

  .agile-home-service-switch__category--facilitys {
    right: auto;
  }

  .agile-home-service-switch__panel {
    position: static;
    width: 100%;
    transform: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__panel--transportes,
  .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__panel--facilitys {
    width: 100%;
    max-height: 220px;
    padding: 4px 0 0;
    opacity: 1;
    pointer-events: auto;
  }

  .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--transportes,
  .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--facilitys,
  .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--transportes,
  .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--facilitys {
    width: 100%;
    transform: none;
    opacity: 1;
    filter: none;
    pointer-events: auto;
  }

  .agile-home-service-switch__category-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .agile-home-service-switch__category-title {
    font-size: 0.94rem;
  }

  .agile-home-service-switch__category-cta {
    min-width: 84px;
    padding: 9px 12px;
    font-size: 0.68rem;
  }

  .agile-home-service-switch__service-link {
    flex-basis: 92px;
    min-height: 52px;
  }
}

.agile-home-logged-card {
  overflow: visible;
}

.agile-home-logged-services {
  margin-top: 28px;
}

.agile-home-logged-services #servicos {
  min-height: 220px;
  height: auto;
  overflow: visible;
  padding: 0 !important;
  background: transparent;
  box-shadow: none;
}

.agile-home-logged-services .agile-home-service-switch {
  min-height: 220px;
}

.agile-home-logged-services .agile-home-service-switch__shell {
  min-height: 220px;
  height: 220px;
}

.agile-home-logged-services .agile-home-service-switch__shell[data-state="transportes"],
.agile-home-logged-services .agile-home-service-switch__shell[data-state="facilitys"] {
  min-height: 312px;
  height: 312px;
}

.agile-home-logged-services .agile-home-service-switch__shell::before {
  background: linear-gradient(
    180deg,
    rgba(102, 204, 153, 0.08),
    rgba(255, 255, 255, 0) 38%,
    rgba(38, 36, 93, 0.03) 100%
  );
}

.agile-home-logged-services .agile-home-service-switch__divider {
  opacity: 0;
}

.agile-home-logged-services .agile-home-service-switch__category {
  top: 16px;
  bottom: auto;
  width: 196px;
  min-height: 68px;
  padding: 14px 18px;
  border-radius: 18px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.agile-home-logged-services .agile-home-service-switch__category--transportes {
  left: 50%;
  right: auto;
  transform: translateX(-112%);
}

.agile-home-logged-services .agile-home-service-switch__category--facilitys {
  left: 50%;
  right: auto;
  transform: translateX(12%);
}

.agile-home-logged-services .agile-home-service-switch__category-copy {
  flex: 0 1 auto;
  justify-content: center;
  overflow: visible;
}

.agile-home-logged-services .agile-home-service-switch__category-text {
  flex: 0 1 auto;
}

.agile-home-logged-services .agile-home-service-switch__category-title {
  white-space: normal;
  overflow: visible;
  text-overflow: unset;
  text-align: center;
}

.agile-home-logged-services .agile-home-service-switch__category-cta {
  display: none;
}

.agile-home-logged-services .agile-home-service-switch__panel {
  top: 100px;
  left: 50%;
  right: auto;
  bottom: auto;
  width: min(calc(100% - 24px), 452px);
  max-width: calc(100% - 24px);
  min-height: 0;
  padding: 14px 16px 16px;
  transform: translate(-50%, -18px);
}

.agile-home-logged-services .agile-home-service-switch__panel--transportes,
.agile-home-logged-services .agile-home-service-switch__panel--facilitys {
  transform: translate(-50%, -18px);
}

.agile-home-logged-services .agile-home-service-switch__panel-head {
  margin-bottom: 10px;
}

.agile-home-logged-services .agile-home-service-switch__service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(96px, 106px));
  justify-content: center;
  align-content: start;
  gap: 10px;
  overflow: visible;
  padding: 0;
}

.agile-home-logged-services .agile-home-service-switch__service-link {
  flex: auto;
  min-height: 70px;
  padding: 8px 10px;
}

.agile-home-logged-services .agile-home-service-switch__service-label {
  line-height: 1.15;
}

.agile-home-logged-services .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--transportes,
.agile-home-logged-services .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--facilitys {
  left: 50%;
  transform: translateX(-50%);
  width: 212px;
}

.agile-home-logged-services .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--facilitys {
  opacity: 0;
  filter: blur(2px);
  transform: translateX(52%);
  pointer-events: none;
}

.agile-home-logged-services .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--transportes {
  opacity: 0;
  filter: blur(2px);
  transform: translateX(-152%);
  pointer-events: none;
}

.agile-home-logged-services .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__panel--transportes,
.agile-home-logged-services .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__panel--facilitys {
  width: min(calc(100% - 24px), 452px);
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .agile-home-logged-services #servicos {
    min-height: 0;
  }

  .agile-home-logged-services .agile-home-service-switch {
    min-height: 0;
  }

  .agile-home-logged-services .agile-home-service-switch__shell,
  .agile-home-logged-services .agile-home-service-switch__shell[data-state="transportes"],
  .agile-home-logged-services .agile-home-service-switch__shell[data-state="facilitys"] {
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .agile-home-logged-services .agile-home-service-switch__divider {
    display: none;
  }

  .agile-home-logged-services .agile-home-service-switch__category,
  .agile-home-logged-services .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--transportes,
  .agile-home-logged-services .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--facilitys,
  .agile-home-logged-services .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__category--facilitys,
  .agile-home-logged-services .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__category--transportes {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    transform: none;
    opacity: 1;
    filter: none;
    pointer-events: auto;
  }

  .agile-home-logged-services .agile-home-service-switch__panel,
  .agile-home-logged-services .agile-home-service-switch__panel--transportes,
  .agile-home-logged-services .agile-home-service-switch__panel--facilitys {
    position: static;
    top: auto;
    right: auto;
    left: auto;
    width: 100%;
    max-width: none;
    transform: none;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    border: 0;
    box-shadow: none;
  }

  .agile-home-logged-services .agile-home-service-switch__shell[data-state="transportes"] .agile-home-service-switch__panel--transportes,
  .agile-home-logged-services .agile-home-service-switch__shell[data-state="facilitys"] .agile-home-service-switch__panel--facilitys {
    opacity: 1;
    max-height: 320px;
    padding: 8px 0 0;
    pointer-events: auto;
  }

  .agile-home-logged-services .agile-home-service-switch__service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
