:root {
  --green: #087b5d;
  --green-soft: #e8f6f1;
  --ink: #16211d;
  --muted: #66736e;
  --line: #e2e9e6;
  --bg: #f5f8f7;
  --card: #ffffff;
  --danger: #b5402a;
  --shadow-soft: 0 10px 28px rgba(22, 33, 29, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(232, 246, 241, 0.42), rgba(245, 248, 247, 0) 260px),
    var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.page {
  min-height: 100vh;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 40px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  font-size: 22px;
  font-weight: 900;
}

.brand-button {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.primary {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.btn.ghost {
  color: var(--green);
  border-color: transparent;
  background: transparent;
}

.btn.danger {
  color: var(--danger);
}

.btn.small {
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 13px;
}

.lang-toggle {
  min-width: 52px;
}

.btn.large {
  min-height: 50px;
  padding: 0 24px;
  border-radius: 8px;
  font-size: 16px;
}

.btn.strong {
  font-weight: 900;
}

.link-button {
  border: 0;
  color: var(--green);
  background: transparent;
  font-weight: 800;
}

.login-helper {
  justify-self: center;
  min-height: auto;
  padding: 4px 0 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 48px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 68px 40px 36px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 14px;
  font-weight: 800;
}

.hero h1 {
  margin: 22px 0 14px;
  font-size: 56px;
  line-height: 1.08;
  letter-spacing: 0;
}


.hero h2 {
  margin: 0 0 20px;
  font-size: 26px;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.login-card {
  align-self: start;
  padding: 30px;
}

.login-card h2 {
  margin: 0 0 24px;
  font-size: 28px;
  text-align: center;
}


.login-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.login-form {
  display: grid;
  gap: 14px;
}

.hero-list {
  display: grid;
  gap: 14px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.hero-list li {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 800;
  background: #fff;
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: 58px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 40px 54px;
  overflow: hidden;
}

.landing-copy {
  position: relative;
  z-index: 1;
  padding-top: 20px;
}

.landing-copy h1 {
  margin: 22px 0 20px;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.08;
  letter-spacing: 0;
}

.nowrap {
  white-space: nowrap;
}

.landing-copy h1 strong {
  display: block;
  color: var(--green);
}

.hero-lead {
  max-width: 560px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.55;
}

.hero-sub {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.quick-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.quick-points span::before {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 12px;
}

.landing-preview {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
}

.phone-shell {
  width: min(360px, 100%);
  padding: 18px;
  border: 8px solid #111b18;
  border-radius: 42px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(17, 33, 28, 0.16);
}

.phone-bar {
  width: 104px;
  height: 22px;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #111b18;
}

.phone-screen {
  overflow: hidden;
  border-radius: 24px;
  background: #f2f8f5;
  padding: 18px 16px 22px;
}

.preview-shop {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(22, 43, 36, 0.06);
}

.preview-shop img {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.preview-shop strong,
.preview-products strong {
  display: block;
  color: var(--ink);
  font-weight: 900;
}

.preview-shop span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.preview-search {
  margin: 14px 0 12px;
  padding: 11px 14px;
  border-radius: 999px;
  background: #fff;
  color: #9aa7a2;
  font-size: 13px;
}

.preview-tabs {
  display: flex;
  gap: 8px;
  overflow: hidden;
  margin-bottom: 12px;
}

.preview-tabs span {
  flex: 0 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.preview-tabs .active {
  color: #fff;
  background: var(--green);
}

.preview-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.preview-products div {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 8px rgba(22, 43, 36, 0.06);
}

.preview-products img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eef5f2;
}

.preview-products strong {
  min-height: 38px;
  padding: 9px 9px 0;
  font-size: 13px;
  line-height: 1.35;
}

.preview-products span {
  display: block;
  padding: 6px 9px 10px;
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
}



.landing-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 40px;
}

.section-title {
  margin-bottom: 24px;
  text-align: center;
}

.section-title h2,
.benefit-section h2,
.landing-cta h2 {
  margin: 0 0 10px;
  font-size: 30px;
}

.section-title p,
.landing-cta p {
  margin: 0;
  color: var(--muted);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scene-card {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 160px;
  padding: 18px;
}

.scene-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
}

.scene-card p {
  margin: 0;
  color: var(--muted);
}

.scene-illustration {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 12px 28px rgba(8, 123, 93, 0.08);
}

.compare-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 34px;
  align-items: stretch;
}

.compare-card {
  min-height: 230px;
  padding: 28px;
}

.compare-card.old {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  text-align: center;
}

.compare-card h3 {
  margin: 0 0 12px;
}

.compare-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.compare-card.ai {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff, #edf8f4);
}

.compare-card.ai ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-card.ai li::before {
  content: "✓";
  margin-right: 8px;
  color: var(--green);
  font-weight: 900;
}

.compare-illustration {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(8, 123, 93, 0.14);
  background: #fff;
  box-shadow: 0 16px 34px rgba(8, 123, 93, 0.1);
}

.vs-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-weight: 900;
  transform: translate(-50%, -50%);
}

.benefit-section {
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  margin-top: 24px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.benefit-grid div {
  display: grid;
  gap: 10px;
  padding: 22px 18px;
  background: #fff;
}

.benefit-grid strong {
  font-size: 16px;
}

.benefit-grid span {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.landing-cta {
  display: grid;
  justify-items: center;
  gap: 12px;
  max-width: 1180px;
  margin: 20px auto 0;
  padding: 48px 40px 56px;
  text-align: center;
}

.login-area {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 40px 44px;
}

.support-section {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 40px 42px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.support-section strong {
  color: var(--ink);
}

.register-page {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(520px, 1.15fr);
  gap: 44px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 40px;
}

.register-copy {
  padding-top: 18px;
}

.register-copy h1 {
  margin: 20px 0 16px;
  font-size: 44px;
  line-height: 1.16;
}

.register-copy p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.register-card {
  align-self: start;
}

.code-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.register-submit {
  width: min(280px, 100%);
  margin-top: 22px;
}

.site-main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 40px 64px;
}

.layout {
  display: grid;
  grid-template-columns: 196px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.side-title {
  margin-bottom: 22px;
  font-size: 21px;
  font-weight: 900;
}

.side-menu {
  display: grid;
  gap: 8px;
}

.side-menu button {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
  text-align: left;
}

.side-menu button.active,
.side-menu button:hover {
  color: var(--green);
  background: var(--green-soft);
}

.app-version {
  position: absolute;
  left: 18px;
  bottom: 18px;
  color: var(--muted);
  font-size: 12px;
}

.content {
  padding: 22px 28px 32px;
}

.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.page-head.compact {
  margin-bottom: 12px;
}

.page-head h1 {
  margin: 0 0 8px;
  font-size: 30px;
}

.page-head.compact h1 {
  margin-bottom: 0;
}

.page-head p {
  margin: 0;
  color: var(--muted);
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.stat {
  padding: 20px;
}

.stat strong {
  display: block;
  margin-top: 10px;
  font-size: 30px;
}

.toolbar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.manage-toolbar {
  display: block;
  margin-bottom: 12px;
}

.showroom-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}

.search-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 12px;
}

.filter-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.industry-pills,
.sort-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sort-pills {
  flex: 0 0 auto;
}

.showroom-tools .pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}

.showroom-tools .pill.active {
  color: #fff;
  background: var(--green);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.textarea {
  min-height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.tabs {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 6px;
  border-radius: 10px;
  background: #edf2f0;
}

.tabs button {
  height: 36px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.tabs button.active {
  color: #fff;
  background: var(--green);
}

.product-source-filter {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
}

.product-filter-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 12px;
}

.export-selection-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.export-selection-bar span {
  margin-right: 4px;
}

.favorite-switch {
  margin-bottom: 14px;
}

.status-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.status-filter button {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: #edf2f0;
  font-weight: 800;
}

.status-filter button.active {
  color: #fff;
  background: var(--green);
}

.table {
  overflow: hidden;
}

.manage-table {
  overflow-x: auto;
}

.manage-table-head,
.manage-table-row {
  display: grid;
  grid-template-columns: 42px 64px minmax(120px, 1fr) 78px 72px 72px minmax(190px, 1.65fr) minmax(150px, 1.25fr) 110px 78px 54px 54px 54px;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.manage-table-head {
  text-align: center;
  color: var(--muted);
  background: #f8fbfa;
  font-size: 13px;
  font-weight: 900;
}

.manage-table-head > div,
.manage-table-row > div {
  min-width: 0;
}

.manage-table-row {
  min-height: 120px;
}

.manage-table-row > div:nth-child(1),
.manage-table-row > div:nth-child(2),
.manage-table-row > div:nth-child(4),
.manage-table-row > div:nth-child(5),
.manage-table-row > div:nth-child(6),
.manage-table-row > div:nth-child(9),
.manage-table-row > div:nth-child(10),
.manage-table-row > div:nth-child(11),
.manage-table-row > div:nth-child(12),
.manage-table-row > div:nth-child(13) {
  text-align: center;
  justify-self: center;
  width: 100%;
}

.manage-table-row > div:nth-child(11),
.manage-table-row > div:nth-child(12),
.manage-table-row > div:nth-child(13) {
  display: flex;
  justify-content: center;
}

.manage-table-row > div:nth-child(3),
.manage-table-row > div:nth-child(8) {
  text-align: center;
}

.manage-table-row:last-child {
  border-bottom: 0;
}

.empty-row {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.manage-thumb {
  width: 64px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  background: #edf2f0;
}

.manage-cell-text {
  display: block;
  overflow: visible;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
  white-space: normal;
  word-break: break-word;
}

.manage-cell-text.muted {
  color: var(--muted);
}

.manage-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.manage-actions .btn.small {
  min-width: auto;
  padding: 0 12px;
}

.favorite-product-manage-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
  padding: 14px;
}

.favorite-product-manage-row .favorite-product-main {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.favorite-product-manage-row img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.favorite-product-manage-row span {
  display: grid;
  gap: 4px;
}

.favorite-product-manage-row small {
  color: var(--muted);
}

.table-row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 120px 110px 180px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.thumb {
  width: 72px;
  height: 90px;
  border-radius: 8px;
  object-fit: cover;
  background: #edf2f0;
}

.name {
  font-weight: 900;
}

.meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

.status {
  color: var(--green);
  font-weight: 900;
}

.status.warn {
  color: var(--danger);
}

.actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.upload {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.upload-box {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  border: 1px dashed #a9bbb4;
  border-radius: 8px;
  color: var(--muted);
  background: #f8fbfa;
  font-weight: 800;
  text-align: center;
}

.hidden-file {
  display: none;
}

.upload-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.preview-item {
  display: grid;
  gap: 6px;
  position: relative;
  width: 88px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  cursor: grab;
}

.preview-item img,
.preview-item.video {
  width: 88px;
  height: 88px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  background: #f8fbfa;
}

.preview-item.video {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.preview-item.video strong {
  max-width: 100%;
  overflow: hidden;
  color: var(--ink);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-remove {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: var(--danger);
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.preview-item.dragging {
  opacity: 0.45;
}

.preview-item.drag-over img,
.preview-item.drag-over.video {
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-soft);
}

.upload-modal {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(22, 33, 29, 0.34);
}

.image-preview-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 72px;
  background: rgba(8, 14, 12, 0.86);
}

.image-preview-modal img {
  max-width: min(100%, 1180px);
  max-height: 88vh;
  object-fit: contain;
}

.image-preview-close,
.image-preview-nav {
  position: absolute;
  border: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 900;
}

.image-preview-close {
  top: 22px;
  right: 24px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  font-size: 26px;
}

.image-preview-nav {
  top: 50%;
  width: 48px;
  height: 72px;
  transform: translateY(-50%);
  border-radius: 8px;
  font-size: 46px;
}

.image-preview-nav.prev {
  left: 24px;
}

.image-preview-nav.next {
  right: 24px;
}

.image-preview-nav:disabled {
  opacity: 0.35;
}

.contact-modal-card {
  max-width: 520px;
}

.contact-actions {
  display: grid;
  gap: 10px;
}

.share-assets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.share-assets-grid .detail-box {
  display: grid;
  align-content: start;
  gap: 14px;
}

.share-asset-image {
  width: 100%;
  max-height: 320px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8fbfa;
}

.share-asset-image.qr {
  aspect-ratio: 1;
}

.share-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #f8fbfa;
  font-weight: 900;
}

.upload-modal-card {
  display: grid;
  justify-items: center;
  width: min(360px, 100%);
  padding: 30px 28px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 20px 60px rgba(22, 33, 29, 0.18);
  text-align: center;
}

.upload-modal-card h3 {
  margin: 14px 0 8px;
  font-size: 24px;
}

.upload-modal-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.upload-modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.upload-spinner {
  width: 44px;
  height: 44px;
  border: 4px solid var(--green-soft);
  border-top-color: var(--green);
  border-radius: 999px;
  animation: spin 0.85s linear infinite;
}

.upload-modal-icon {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 28px;
  font-weight: 900;
}

.upload-modal.success .upload-modal-icon,
.upload-modal.error .upload-modal-icon {
  display: flex;
}

.upload-modal.error .upload-modal-icon {
  background: var(--danger);
}

.edit-modal {
  position: fixed;
  inset: 0;
  z-index: 98;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(22, 33, 29, 0.36);
}

.edit-modal-card {
  width: min(980px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 26px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(22, 33, 29, 0.18);
}

.copy-modal-card {
  width: min(620px, 100%);
  padding: 26px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(22, 33, 29, 0.18);
}

.copy-preview {
  min-height: 220px;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.8;
}

.poster-modal-card {
  width: min(720px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 26px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(22, 33, 29, 0.18);
}

.poster-preview-wrap {
  display: flex;
  justify-content: center;
  padding: 18px;
  border-radius: 10px;
  background: #f5f8f7;
}

#poster-canvas {
  width: min(100%, 390px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 14px 34px rgba(22, 33, 29, 0.12);
}

.edit-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.edit-modal-head h3 {
  margin: 0 0 6px;
  font-size: 26px;
}

.edit-modal-head p {
  margin: 0;
  color: var(--muted);
}

.edit-image-preview {
  margin-bottom: 20px;
}

.edit-add-image {
  width: 88px;
  min-height: 88px;
  padding: 0 8px;
}

.edit-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.showroom-head {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: 10px 0 16px;
}

.showroom-avatar {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #edf4f1;
}

.showroom-avatar-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 18px;
  font-weight: 900;
}

.admin-showroom {
  padding: 18px 22px 22px;
}

.admin-showroom .showroom-head {
  padding-top: 0;
}

.showroom-info {
  display: grid;
  gap: 8px;
  text-align: left;
}

.showroom-info h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
}

.shop-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  padding: 12px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(22, 33, 29, 0.09);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  object-fit: cover;
  background: #edf2f0;
}

.product-card h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  line-height: 1.45;
  word-break: break-word;
}

.merchant-details {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.merchant-details span {
  white-space: nowrap;
}

.product-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.profile-avatar-edit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.avatar.large {
  width: 88px;
  height: 88px;
}

.avatar-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed #a9bbb4;
  color: var(--muted);
  background: #f8fbfa;
  font-size: 14px;
  font-weight: 800;
}

.field-help {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
}

.detail-gallery {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.main-image-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.detail-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.thumb-btn {
  flex: 0 0 auto;
  position: relative;
  width: 76px;
  height: 92px;
  padding: 3px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
}

.thumb-btn.active {
  border-color: var(--green);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
  object-fit: cover;
}

.thumb-video {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: #16211d;
}

.thumb-video img {
  position: absolute;
  inset: 3px;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
}

.thumb-video .play-mark {
  position: relative;
  z-index: 1;
}

.play-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding-left: 2px;
  border-radius: 999px;
  background: var(--green);
  font-size: 16px;
  line-height: 1;
}

.video-label {
  position: absolute;
  right: 6px;
  bottom: 5px;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  font-size: 11px;
  font-weight: 800;
}

.detail-box {
  padding: 28px;
}

.detail-box h1 {
  margin: 8px 0 18px;
  font-size: 34px;
}

.detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-price {
  font-size: 32px;
  font-weight: 900;
}

.detail-divider {
  height: 1px;
  margin: 24px 0;
  background: var(--line);
}

.detail-box p {
  color: #3f4d48;
  line-height: 1.8;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.more-section {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
}

.section-heading span {
  color: var(--muted);
  font-size: 14px;
}

.message-list {
  display: grid;
  gap: 12px;
}

.message-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.message {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.message.unread {
  border-color: rgba(8, 123, 93, 0.28);
  background: #fbfffd;
}

.message-main {
  display: grid;
  gap: 8px;
}

.message-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.message-title-row strong {
  font-size: 17px;
}

.message-type {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 12px;
  font-weight: 900;
}

.message-type.product_status {
  color: #9b5a00;
  background: #fff3dc;
}

.message-type.purchase_feedback {
  color: #3158a4;
  background: #eaf0ff;
}

.unread-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--danger);
}

.message p {
  margin: 0;
  color: #3f4d48;
  line-height: 1.7;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  gap: 18px;
}

.account-card h3 {
  margin: 0 0 18px;
  font-size: 22px;
}

.account-info {
  display: grid;
  gap: 14px;
}

.account-info div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.account-info div:last-child {
  border-bottom: 0;
}

.account-info span {
  color: var(--muted);
  font-weight: 800;
}

.account-info strong {
  text-align: right;
}

.favorite-grid {
  display: grid;
  gap: 14px;
}

.favorites-search {
  margin-bottom: 16px;
}

.favorite-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.favorite-stats span {
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.favorite-list {
  display: grid;
  gap: 14px;
}

.favorite-group {
  padding: 18px;
}

.favorite-group-head {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
}

.favorite-showroom-main,
.favorite-product-main {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.favorite-showroom-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.favorite-showroom-main strong {
  font-size: 18px;
}

.favorite-showroom-main span {
  color: var(--muted);
  font-size: 14px;
}

.favorite-group-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  align-items: center;
}

.favorite-products {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  padding-left: 80px;
}

.favorite-product-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.favorite-product-main {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.favorite-product-main img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.favorite-product-main span {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.favorite-product-main strong,
.favorite-product-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-product-main small,
.favorite-empty-product {
  color: var(--muted);
}

.favorite-empty-product {
  padding: 10px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.recent-heading {
  margin-top: 28px;
}

.favorite-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
}

.favorite-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.favorite-remark {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  margin-bottom: 8px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--green);
  background: var(--green-soft);
  font-size: 13px;
  font-weight: 800;
}

.favorite-body p {
  margin: 0 0 8px;
  color: var(--muted);
}

.favorite-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: var(--muted);
  font-size: 14px;
}

.favorite-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.empty {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.platform-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  min-height: 100vh;
}

.platform-sidebar {
  border-right: 1px solid var(--line);
}

.platform-sidebar .btn {
  width: 100%;
  margin-top: auto;
}

.platform-login-wrap {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 88px);
  padding: 32px;
}

.platform-login-card {
  display: grid;
  width: min(460px, 100%);
  gap: 18px;
  padding: 34px;
}

.platform-login-card h1,
.section-head h1 {
  margin: 0;
  font-size: 34px;
}

.platform-login-card p,
.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.platform-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 16px;
}

.dashboard-group {
  display: grid;
  gap: 12px;
  margin-bottom: 22px;
}

.dashboard-group h2 {
  margin: 0;
  font-size: 20px;
}

.platform-stat {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  text-align: left;
  cursor: pointer;
}

.platform-stat.active {
  border-color: rgba(8, 123, 93, 0.45);
  box-shadow: 0 10px 28px rgba(8, 123, 93, 0.08);
}

.platform-stat span {
  color: var(--muted);
  font-weight: 800;
}

.platform-stat strong {
  font-size: 34px;
  line-height: 1;
}

.platform-stat em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.platform-chart {
  margin-top: 18px;
  padding: 22px;
}

.dashboard-trend-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chart-bars {
  display: grid;
  grid-template-columns: repeat(30, minmax(12px, 1fr));
  gap: 8px;
  align-items: end;
  min-height: 160px;
  padding-top: 18px;
}

.chart-bar-item {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.chart-bar-item i {
  display: block;
  width: 100%;
  max-width: 18px;
  border-radius: 999px 999px 4px 4px;
  background: var(--green);
}

.chart-bar-item span {
  color: var(--muted);
  font-size: 11px;
  writing-mode: vertical-rl;
}

.dashboard-rankings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.dashboard-ranking-card {
  padding: 22px;
}

.dashboard-ranking-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.dashboard-ranking-row {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfc;
}

.dashboard-ranking-row > strong {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(8, 123, 93, 0.1);
}

.dashboard-ranking-row > div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.dashboard-ranking-row span {
  color: var(--muted);
  font-size: 13px;
}

.platform-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto auto auto auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.platform-product-toolbar {
  grid-template-columns: minmax(280px, 1fr) auto auto auto auto;
}

.platform-table {
  overflow: hidden;
  padding: 0;
}

.platform-table-head,
.platform-table-row {
  display: grid;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.platform-table-head {
  color: var(--muted);
  background: #fbfdfc;
  font-weight: 900;
  text-align: center;
}

.platform-table-row:last-child {
  border-bottom: 0;
}

.platform-table-row > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.platform-table-row span {
  color: var(--muted);
  font-size: 14px;
}

.platform-merchant-table .platform-table-head,
.platform-merchant-table .platform-table-row {
  grid-template-columns: minmax(170px, 1.2fr) 110px minmax(190px, 1.2fr) minmax(220px, 1.4fr) 80px 70px 80px 250px;
}

.platform-product-table .platform-table-head,
.platform-product-table .platform-table-row {
  grid-template-columns: minmax(180px, 1.4fr) minmax(160px, 1fr) 120px 90px 100px 80px 90px;
}

.feedback-toolbar {
  grid-template-columns: auto;
  justify-content: flex-start;
}

.feedback-admin-list {
  display: grid;
  gap: 16px;
}

.feedback-admin-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.feedback-admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.feedback-admin-head > div {
  display: grid;
  gap: 6px;
}

.feedback-admin-head strong {
  font-size: 18px;
}

.feedback-admin-head span,
.feedback-admin-meta,
.feedback-reply-box span {
  color: var(--muted);
  font-size: 14px;
}

.feedback-admin-content,
.feedback-reply-box p {
  margin: 0;
  color: #3f4d48;
  line-height: 1.7;
  white-space: pre-wrap;
}

.feedback-admin-images {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-admin-images img {
  width: 96px;
  height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
}

.feedback-reply-box {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 8px;
  background: var(--green-soft);
}

.feedback-reply-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.feedback-reply-form .textarea {
  min-height: 96px;
}

.platform-actions {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.platform-user-modal-card {
  width: min(720px, 100%);
}

.status-on {
  color: var(--green);
}

.status-off {
  color: var(--danger);
}

.status-muted {
  color: var(--muted);
}

.strong-link {
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}

.price-text {
  color: var(--green);
  font-weight: 900;
}

.hidden {
  display: none;
}

@media (max-width: 900px) {
  .hero,
  .landing-hero,
  .layout,
  .platform-layout,
  .product-detail,
  .register-page,
  .account-grid,
  .favorite-card,
  .favorite-group-head,
  .favorite-product-row {
    grid-template-columns: 1fr;
  }

  .favorite-products {
    padding-left: 0;
  }

  .favorite-group-actions {
    justify-content: flex-start;
  }

  .register-page {
    padding: 32px 18px;
  }

  .register-copy h1 {
    font-size: 34px;
  }

  .top-nav {
    height: auto;
    min-height: 64px;
    padding: 12px 18px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn {
    min-height: 34px;
    padding: 0 10px;
    font-size: 13px;
  }

  .landing-hero {
    gap: 28px;
    padding: 36px 18px 30px;
  }

  .landing-preview {
    min-height: auto;
  }

  .phone-shell {
    max-width: 340px;
  }

  .landing-copy {
    padding-top: 0;
  }

  .landing-copy h1 {
    font-size: 40px;
  }

  .hero-lead {
    font-size: 20px;
  }

  .quick-points,
  .scene-grid,
  .compare-card.old,
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }

  .scene-card {
    grid-template-columns: 1fr;
  }

  .compare-card.ai {
    grid-template-columns: 1fr;
  }

  .vs-badge {
    position: static;
    margin: -8px auto;
    transform: none;
  }

  .landing-section,
  .landing-cta,
  .login-area {
    padding-left: 18px;
    padding-right: 18px;
  }

  .sidebar {
    position: static;
    height: auto;
  }

  .stats,
  .product-grid,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .main {
    padding: 24px 18px;
  }

  .manage-toolbar {
    grid-template-columns: 1fr;
  }

  .platform-stat-grid,
  .platform-toolbar,
  .dashboard-rankings {
    grid-template-columns: 1fr;
  }

  .platform-table {
    overflow-x: auto;
  }

  .platform-table-head,
  .platform-table-row {
    min-width: 980px;
  }

  .table-row {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .table-row > :nth-child(n + 3) {
    grid-column: 2;
  }
}

@media (max-width: 560px) {
  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .landing-copy h1 {
    font-size: 34px;
  }

  .nowrap {
    white-space: normal;
  }

  .quick-points,
  .scene-grid,
  .compare-card.old,
  .benefit-grid,
  .stats,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    padding: 10px;
  }

  .hero-actions .btn {
    width: 100%;
  }
}
