.project-sku-search {
  position: relative;
}

.project-sku-search-icon {
  position: absolute;
  z-index: 1;
  inset-inline-start: 1rem;
  inset-block-start: 50%;
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  pointer-events: none;
  transform: translateY(-50%);
}

.project-sku-search-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e1 !important;
  border-radius: 0.875rem;
  background-color: #fff !important;
  color: #334155;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.35;
  outline: none;
  transition: border-color 220ms ease-out, box-shadow 220ms ease-out;
}

.project-sku-search-input {
  padding: 0.75rem 1rem 0.75rem 2.75rem !important;
}

.project-sku-search-input:focus-visible,
.project-sku-card:focus-visible {
  border-color: #00aeef !important;
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.12);
  outline: none;
}

.project-sku-total {
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid #cbeefd;
  background: #f2fbff;
  color: #008fc7;
  padding: 0.4rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 800;
}

.project-sku-heading-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-block-end: 0.875rem;
}

.project-sku-heading {
  color: #0f172a;
  font-size: 0.9375rem;
  font-weight: 900;
  line-height: 1.35;
}

.project-sku-heading-note {
  margin-block-start: 0.2rem;
  color: #94a3b8;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.45;
}

.project-sku-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 72px;
  border: 1px solid #d8e5ef;
  border-radius: 1rem;
  background: #fff;
  padding: 0.875rem 1rem;
  color: #0f172a;
  text-align: start;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.035);
  transition: border-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.project-sku-trigger-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.project-sku-trigger-name {
  color: #26364b;
  font-size: 0.875rem;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.project-sku-trigger-price {
  color: #008fc7;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.project-sku-trigger-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 44px;
  border-radius: 999px;
  background: #ebf9ff;
  padding-inline: 0.9rem;
  color: #008fc7;
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
}

.project-sku-trigger:focus-visible,
.project-sku-dialog-close:focus-visible {
  border-color: #00aeef;
  box-shadow: 0 0 0 4px rgba(0, 174, 239, 0.14);
  outline: none;
}

@media (hover: hover) and (pointer: fine) {
  .project-sku-trigger:hover {
    border-color: #98dcf7;
    box-shadow: 0 12px 30px rgba(0, 174, 239, 0.1);
    transform: translateY(-1px);
  }
}

.project-sku-dialog {
  width: min(42rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(82dvh, 46rem);
  margin: auto;
  border: 0;
  border-radius: 1.5rem;
  background: #f8fafc;
  padding: 0;
  color: #0f172a;
  box-shadow: 0 28px 80px rgba(2, 18, 36, 0.28);
  overflow: hidden;
}

.project-sku-dialog::backdrop {
  background: rgba(2, 18, 36, 0.56);
  backdrop-filter: blur(4px);
}

.project-sku-dialog[open] {
  animation: project-sku-dialog-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.project-sku-dialog-shell {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-height: min(82dvh, 46rem);
  min-height: 0;
  padding: 1.5rem;
}

.project-sku-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.project-sku-dialog-title {
  color: #0f172a;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1.35;
}

.project-sku-dialog-note {
  margin-block-start: 0.3rem;
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.5;
}

.project-sku-dialog-close {
  display: inline-grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #d8e5ef;
  border-radius: 999px;
  background: #fff;
  color: #475569;
  transition: border-color 180ms ease-out, background-color 180ms ease-out, color 180ms ease-out;
}

@media (hover: hover) and (pointer: fine) {
  .project-sku-dialog-close:hover {
    border-color: #9ddff7;
    background: #edfaff;
    color: #008fc7;
  }
}

.project-sku-dialog-list {
  flex: 1 1 auto;
  max-height: min(56dvh, 32rem);
  min-height: 0;
}

@keyframes project-sku-dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.project-sku-count {
  color: #64748b;
  font-size: 0.75rem;
  font-weight: 700;
}

.project-sku-card {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) 1.25rem;
  align-items: center;
  gap: 0.875rem;
  width: 100%;
  min-height: 58px;
  min-width: 0;
  border: 0;
  border-block-end: 1px solid #e8eef5;
  border-radius: 0;
  background: #fff;
  padding: 0.7rem 0.875rem;
  text-align: left;
  transition: border-color 180ms ease-out, background-color 180ms ease-out, box-shadow 180ms ease-out, transform 180ms ease-out;
}

.project-sku-card:hover {
  background: #f8fdff;
}

.project-sku-card.is-active {
  background: #eefaff;
  box-shadow: inset 3px 0 0 #00aeef;
}

.project-sku-card:last-child {
  border-block-end: 0;
}

.project-sku-card-index {
  color: #a8b4c3;
  font-size: 0.625rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
}

.project-sku-card.is-active .project-sku-card-index {
  color: #00aeef;
}

.project-sku-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.project-sku-card-name {
  color: #334155;
  font-size: 0.8125rem;
  font-weight: 800;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.project-sku-card.is-active .project-sku-card-name {
  color: #007fae;
}

.project-sku-card-price {
  color: #334155;
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
}

.project-sku-card-indicator {
  display: grid;
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  color: #00aeef;
}

.project-sku-card-radio {
  width: 1rem;
  height: 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 999px;
  background: #fff;
}

.project-sku-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-height: min(43vh, 24rem);
  border: 1px solid #dbe5ef;
  border-radius: 1rem;
  background: #fff;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: #b8e8fa transparent;
  scrollbar-width: thin;
  padding: 0;
}

.project-sku-list::-webkit-scrollbar {
  width: 7px;
}

.project-sku-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #b8e8fa;
}

.project-sku-empty {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 96px;
  border: 1px dashed #cbd5e1;
  border-radius: 1rem;
  color: #64748b;
  padding: 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  text-align: center;
}

@media (max-width: 639px) {
  .project-sku-heading-row {
    align-items: center;
  }

  .project-sku-trigger {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem;
    min-height: 0;
  }

  .project-sku-trigger-action {
    width: 100%;
  }

  .project-sku-dialog {
    inset: auto 0 0;
    width: 100%;
    max-height: 88dvh;
    margin: 0;
    border-radius: 1.5rem 1.5rem 0 0;
  }

  .project-sku-dialog[open] {
    animation-name: project-sku-sheet-in;
  }

  .project-sku-dialog-shell {
    max-height: 88dvh;
    padding: 1.125rem 1rem max(1.125rem, env(safe-area-inset-bottom));
  }

  .project-sku-dialog-title {
    font-size: 1.125rem;
  }

  .project-sku-dialog-list {
    max-height: none;
  }

  .project-sku-card {
    grid-template-columns: 1.65rem minmax(0, 1fr) 1.25rem;
    min-height: 62px;
    gap: 0.625rem;
    padding-inline: 0.75rem;
  }

  .project-sku-card-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.2rem;
  }

  .project-sku-heading-note {
    max-width: 14rem;
  }

  .project-sku-list {
    max-height: min(46vh, 22rem);
  }

  .project-sku-dialog-list {
    max-height: min(62dvh, 34rem);
  }
}

@keyframes project-sku-sheet-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-sku-search-input,
  .project-sku-card,
  .project-sku-trigger,
  .project-sku-dialog[open] {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
