#cs-remote-menu-wrap,
#cs-remote-menu-wrap * {
  box-sizing: border-box;
}

#cs-remote-menu-wrap {
  position: fixed;
  inset: 0;
  display: block;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  pointer-events: none;
  z-index: 2147483000;
  contain: layout style;
}

body.cs-remote-menu-open #cs-remote-menu-wrap {
  pointer-events: auto;
}

body.cs-remote-menu-open {
  overflow: hidden;
}

#cs-remote-menu-wrap .side-menu {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  padding: 20px;
  background: #f7931e;
  color: #173138;
  z-index: 2147483000;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.cs-remote-menu-open #cs-remote-menu-wrap .side-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

#cs-remote-menu-wrap .side-menu__content {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: #fbf1e5;
  border-radius: 22px;
  box-shadow: 0 24px 80px rgba(12, 33, 38, 0.35);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

#cs-remote-menu-wrap .side-menu__content::-webkit-scrollbar,
#cs-remote-menu-wrap .project-list::-webkit-scrollbar {
  display: none;
}

#cs-remote-menu-wrap .side-menu__content--padding {
  padding: 34px 34px 4px;
}

#cs-remote-menu-wrap .close-btn {
  position: absolute;
  top: 27px;
  right: 31px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #173f33;
  cursor: pointer;
  z-index: 2147483001;
}

#cs-remote-menu-wrap .close-btn::before,
#cs-remote-menu-wrap .close-btn::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 2px;
  background: #fff;
}

#cs-remote-menu-wrap .close-btn::before {
  transform: rotate(45deg);
}

#cs-remote-menu-wrap .close-btn::after {
  transform: rotate(-45deg);
}

#cs-remote-menu-wrap .cs-header {
  max-width: none;
  padding-right: 64px;
}

#cs-remote-menu-wrap .cs-header :is(h1, .cs-header__title) {
  margin: 0 0 10px;
  color: #173138;
  font-size: 34px;
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: 0;
}

#cs-remote-menu-wrap .cs-header strong {
  color: #173f33;
  font-weight: 800;
}

#cs-remote-menu-wrap .cs-header p {
  margin: 0;
  color: rgba(23, 49, 56, 0.72);
  font-size: 16px;
  line-height: 1.55;
}

#cs-remote-menu-wrap .cs-virtual-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  gap: 14px;
  margin-top: 24px;
}

#cs-remote-menu-wrap .cs-virtual-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 16px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: #173f33;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(23, 49, 56, 0.13);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#cs-remote-menu-wrap .cs-virtual-link::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 30%, rgba(255, 255, 255, 0.09), transparent 32%);
}

#cs-remote-menu-wrap .cs-virtual-link--shopping {
  background: linear-gradient(145deg, #f7931e 0%, #df7d10 100%);
}

#cs-remote-menu-wrap .cs-virtual-link--guide {
  background:
    radial-gradient(circle at 88% 12%, rgba(247, 147, 30, 0.2), transparent 34%),
    linear-gradient(145deg, #22523f 0%, #173f33 72%);
}

#cs-remote-menu-wrap .cs-virtual-link:hover,
#cs-remote-menu-wrap .cs-virtual-link:focus-visible {
  filter: saturate(1.08) brightness(0.96);
  box-shadow: 0 16px 32px rgba(23, 49, 56, 0.2);
  transform: translateY(-2px);
}

#cs-remote-menu-wrap .cs-virtual-link:focus-visible {
  outline: 3px solid #7bc5ae;
  outline-offset: 3px;
}

#cs-remote-menu-wrap .cs-virtual-link__icon {
  display: grid;
  position: relative;
  z-index: 1;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 50%;
  background: #f8f1e8;
  color: #173138;
}

#cs-remote-menu-wrap .cs-virtual-link__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

#cs-remote-menu-wrap .cs-virtual-link--shopping .cs-virtual-link__icon {
  color: #f4951e;
}

#cs-remote-menu-wrap .cs-virtual-link__icon--crake img {
  display: block;
  width: 38px;
  height: 28px;
  object-fit: contain;
}

#cs-remote-menu-wrap .cs-virtual-link__icon--crake {
  background: #f8f1e8;
}

#cs-remote-menu-wrap .cs-virtual-link__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

#cs-remote-menu-wrap .cs-virtual-link__content strong {
  color: #fff;
  font-size: clamp(20px, 1.6vw, 25px);
  font-weight: 750;
  line-height: 1.05;
}

#cs-remote-menu-wrap .cs-virtual-link__content small {
  max-width: 410px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

#cs-remote-menu-wrap .cs-virtual-link__arrow {
  position: relative;
  z-index: 1;
  display: grid;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #fff;
}

#cs-remote-menu-wrap .cs-virtual-link__arrow::before {
  content: none;
}

#cs-remote-menu-wrap .cs-virtual-link__arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  border-radius: 1px;
  transform: translate(-65%, -50%) rotate(-45deg);
}

#cs-remote-menu-wrap .filter-bar {
  display: inline-flex;
  max-width: 100%;
  gap: 4px;
  padding: 5px;
  margin: 22px 10px 0 0;
  overflow-x: auto;
  vertical-align: top;
  background: transparent;
  border: 0;
  border-radius: 999px;
}

#cs-remote-menu-wrap #filter-firm-bar {
  padding-left: 18px;
  border-left: 1px solid rgba(23, 49, 56, 0.2);
  border-radius: 0;
}

#cs-remote-menu-wrap .filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 44px;
  padding: 8px 15px;
  border: 0;
  border-radius: 999px;
  background: #f4e8dc;
  color: #173138;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
}

#cs-remote-menu-wrap .filter-btn img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

#cs-remote-menu-wrap .filter-btn:hover {
  background: #f6ddc4;
  color: #173138;
}

#cs-remote-menu-wrap .filter-btn.active,
#cs-remote-menu-wrap .filter-btn.active:hover {
  background: #1f4b3b;
  color: #fff;
}

#cs-remote-menu-wrap .project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 34px 0;
}

#cs-remote-menu-wrap .project-title {
  margin: 0;
  color: #173138;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: 0;
}

#cs-remote-menu-wrap .project-header-cta {
  flex: 0 0 auto;
  padding: 11px 18px;
  border-radius: 999px;
  background: #f7931e;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

#cs-remote-menu-wrap .project-list {
  display: flex;
  gap: 18px;
  padding: 18px 34px 34px;
  overflow-x: auto;
  cursor: grab;
  scrollbar-width: none;
}

#cs-remote-menu-wrap .project-list.dragging {
  cursor: grabbing;
}

#cs-remote-menu-wrap .project-card {
  display: flex;
  flex: 0 0 292px;
  width: 292px;
  min-height: 330px;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(23, 63, 51, 0.16);
  border-radius: 12px;
  color: #173138;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(23, 49, 56, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#cs-remote-menu-wrap .project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(23, 49, 56, 0.18);
}

#cs-remote-menu-wrap .project-card[hidden] {
  display: none;
}

#cs-remote-menu-wrap .project-image {
  position: relative;
  aspect-ratio: 10 / 6;
  background-color: rgba(23, 63, 51, 0.12);
  background-position: center;
  background-size: cover;
}

#cs-remote-menu-wrap .project-logos {
  position: absolute;
  top: 10px;
  right: 10px;
}

#cs-remote-menu-wrap .project-logos .logo--firm,
#cs-remote-menu-wrap .project-logos .logo--status {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 7px;
  margin-bottom: 7px;
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(23, 49, 56, 0.22);
}

#cs-remote-menu-wrap .project-logos .logo--firm {
  background: #173f33 !important;
}

#cs-remote-menu-wrap .project-logos .logo--status {
  background: #f7931e;
}

#cs-remote-menu-wrap .project-logos img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

#cs-remote-menu-wrap .project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

#cs-remote-menu-wrap .project-content h3 {
  margin: 0 0 8px;
  color: #173138;
  font-size: 19px;
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: 0;
}

#cs-remote-menu-wrap .project-content p {
  margin: 0;
  color: rgba(23, 49, 56, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 760px) {
  #cs-remote-menu-wrap .side-menu {
    padding: 10px;
  }

  #cs-remote-menu-wrap .side-menu__content {
    border-radius: 16px;
  }

  #cs-remote-menu-wrap .side-menu__content--padding,
  #cs-remote-menu-wrap .project-header,
  #cs-remote-menu-wrap .project-list {
    padding-left: 18px;
    padding-right: 18px;
  }

  #cs-remote-menu-wrap .cs-header :is(h1, .cs-header__title) {
    font-size: 28px;
  }

  #cs-remote-menu-wrap .filter-bar {
    display: flex;
  }

  #cs-remote-menu-wrap #filter-firm-bar {
    padding-top: 12px;
    padding-left: 5px;
    border-top: 1px solid rgba(23, 49, 56, 0.16);
    border-left: 0;
  }

  #cs-remote-menu-wrap .cs-virtual-links {
    grid-template-columns: 1fr;
  }

  #cs-remote-menu-wrap .cs-virtual-link {
    width: 100%;
    min-height: 118px;
    padding: 18px;
  }

  #cs-remote-menu-wrap .cs-virtual-link__icon {
    flex-basis: 58px;
    width: 58px;
    height: 58px;
  }

  #cs-remote-menu-wrap .cs-virtual-link__arrow {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
  }

  #cs-remote-menu-wrap .project-header {
    align-items: flex-start;
    flex-direction: column;
  }

  #cs-remote-menu-wrap .project-card {
    flex-basis: 260px;
    width: 260px;
  }
}
