.phone-mockup {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 318px;
  height: 688px;
  transform: translateX(-50%) translateY(38%);
  z-index: 15;
  pointer-events: none;
  will-change: transform;
}

.phone-mockup__bezel {
  width: 100%;
  height: 100%;
  border: 8px solid #bababa;
  border-radius: 48px;
  overflow: hidden;
  box-shadow: 0 80px 100px rgba(0, 0, 0, 0.25);
  background: #000;
}

.phone-app {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #f7f7f7;
  color: #1a1a18;
  font-family: Roboto, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  overflow: hidden;
}

.phone-app__status {
  flex-shrink: 0;
  height: 40px;
  position: relative;
  background: #f7f7f7;
}

.phone-app__notch {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 119px;
  height: 24px;
  border-radius: 40px;
  background: #d9d9d9;
  opacity: 0.6;
}

.phone-app__time {
  position: absolute;
  left: 23px;
  top: 15px;
  font-size: 11px;
  font-weight: 500;
  color: #000;
  opacity: 0.3;
}

.phone-app__topbar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid #e4e8ee;
  background: #f7f7f7;
}

.phone-app__logo {
  height: 22px;
  width: auto;
  display: block;
}

.phone-app__topbar-spacer {
  flex: 1;
}

.phone-app__add-btn {
  width: 32px;
  height: 32px;
  border-radius: 56px;
  background: #2b7fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  font-weight: 300;
}

.phone-app__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.phone-app__content {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 8px;
  overflow: hidden;
}

.phone-app__search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.phone-app__search {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  font-size: 14px;
  color: #7a8494;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-app__scan {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  opacity: 0.6;
  color: #2e2e2e;
}

.phone-app__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}

.phone-app__count {
  font-size: 12px;
  color: #7a8494;
}

.phone-app__save {
  flex-shrink: 0;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: #2b7fff;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-app__list {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  flex-shrink: 0;
}

.phone-row.is-highlight {
  background: rgba(43, 127, 255, 0.06);
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
}

.phone-row__thumb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #e4e8ee;
  overflow: hidden;
  flex-shrink: 0;
}

.phone-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-row__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.phone-row__name {
  font-size: 15px;
  font-weight: 500;
  color: #1a1a18;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.phone-row__sku {
  font-size: 11px;
  font-weight: 500;
  color: #0062ff;
}

.phone-row__price {
  flex-shrink: 0;
  width: 88px;
  height: 36px;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e8ee;
  border-radius: 8px;
  background: #f7f7f7;
  font-size: 14px;
  color: #1a1a18;
  white-space: nowrap;
  transition: opacity .22s ease;
}

.phone-row.is-highlight .phone-row__price {
  background: rgba(0, 98, 255, 0.08);
}

.phone-row__price.is-fading {
  opacity: 0;
}

.phone-row__divider {
  height: 1px;
  background: #e4e8ee;
  flex-shrink: 0;
}

.phone-app__nav-wrap {
  flex-shrink: 0;
  padding: 8px 16px 24px;
}

.phone-app__nav {
  display: flex;
  gap: 4px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid #e4e8ee;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.09);
}

.phone-app__nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 6px 6px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
  color: #2e2e2e;
  opacity: 0.6;
}

.phone-app__nav-item.is-active {
  background: #2b7fff;
  color: #fff;
  opacity: 1;
}

.phone-app__nav-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .phone-mockup {
    position: relative;
    left: auto;
    bottom: auto;
    order: -1;
    --phone-width: min(318px, calc(100vw - 32px));
    width: var(--phone-width);
    height: calc(var(--phone-width) * 688 / 318);
    max-height: none;
    margin: 24px auto var(--phone-gap-after-cta);
    transform: none;
    flex-shrink: 0;
  }

  .phone-mockup__bezel {
    border-width: 6px;
    border-radius: 36px;
    box-shadow: 0 40px 60px rgba(0, 0, 0, 0.22);
  }
}

@media (prefers-reduced-motion: reduce) {
  .phone-row__price {
    transition: none;
  }
}
