/* 第二版首页：高端品牌感 + 专业裸石图录 + 清晰规格详情 */
.theme-v2 {
  --v2-ink: #11100d;
  --v2-ink-soft: #1c1a16;
  --v2-cream: #f4efe6;
  --v2-paper: #fffdf8;
  --v2-sand: #e8dfd0;
  --v2-line: #ddd2c1;
  --v2-gold: #b28a4d;
  --v2-gold-deep: #76572d;
  --v2-muted: #82796c;
  background:
    radial-gradient(circle at 88% 4%, rgba(178, 138, 77, .10), transparent 28rem),
    #f6f2ea;
}

.theme-v2 .site-header {
  grid-template-columns: minmax(210px, 1fr) auto minmax(210px, 1fr);
  padding-top: 13px;
  padding-bottom: 13px;
  background: rgba(17, 16, 13, .96);
  border-bottom-color: rgba(255, 255, 255, .09);
}
.theme-v2 .brand strong { letter-spacing: .18em; }
.theme-v2 .main-nav a { color: rgba(255, 255, 255, .62); }
.theme-v2 .main-nav a:hover { color: #fff; }
.theme-v2 .header-actions .icon-button { border-radius: 4px; }
.theme-v2 .header-actions .icon-button.primary { color: #fff; background: var(--v2-gold-deep); border-color: var(--v2-gold-deep); }

.theme-v2 .hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(500px, 1.12fr);
  gap: clamp(30px, 5vw, 90px);
  align-items: center;
  min-height: 680px;
  padding: 72px clamp(24px, 7vw, 118px) 76px;
  color: var(--v2-ink);
  background:
    linear-gradient(90deg, rgba(255,255,255,.46), rgba(255,255,255,0) 45%),
    linear-gradient(180deg, #f8f4ec, #f1eadf);
  border-bottom: 1px solid var(--v2-line);
}
.theme-v2 .hero::before {
  inset: 0;
  background:
    radial-gradient(circle at 14% 22%, rgba(178, 138, 77, .15), transparent 22rem),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(72, 54, 28, .045) 120px);
}
.theme-v2 .hero::after {
  content: "文";
  position: absolute;
  right: 3vw;
  bottom: -6vw;
  color: rgba(118, 87, 45, .045);
  font-family: var(--serif);
  font-size: min(34vw, 430px);
  line-height: .8;
  pointer-events: none;
}
.theme-v2 .hero-copy { max-width: 610px; }
.theme-v2 .hero .eyebrow { color: var(--v2-gold-deep); }
.theme-v2 .hero h1 {
  color: var(--v2-ink);
  font-size: clamp(54px, 6.6vw, 98px);
  line-height: 1.06;
  letter-spacing: -.055em;
}
.theme-v2 .hero h1 span { color: var(--v2-gold-deep); }
.theme-v2 .hero-text {
  max-width: 500px;
  margin: 24px 0 31px;
  color: #685f52;
  font-size: 15px;
  letter-spacing: .12em;
}
.theme-v2 .hero .button.primary { color: #fff; background: var(--v2-ink); box-shadow: none; }
.theme-v2 .hero .button.ghost { color: var(--v2-gold-deep); border-color: #beaa8a; }
.theme-v2 .stats { margin-top: 48px; gap: clamp(32px, 5vw, 72px); }
.theme-v2 .stats strong { color: var(--v2-ink); }
.theme-v2 .stats span { color: var(--v2-muted); }
.theme-v2 .hero-visual { min-height: 540px; }
.theme-v2 .hero-visual::before {
  content: "LOOSE GEM ARCHIVE";
  position: absolute;
  top: 8px;
  right: 6px;
  color: rgba(53, 43, 28, .18);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  writing-mode: vertical-rl;
}
.theme-v2 .hero-visual::after {
  content: "";
  position: absolute;
  top: 52%;
  left: 48%;
  width: 79%;
  height: 1px;
  background: rgba(118, 87, 45, .22);
  transform: rotate(-28deg);
}
.theme-v2 .lookbook { position: relative; width: 100%; height: 550px; }
.theme-v2 .look {
  position: absolute;
  z-index: 2;
  margin: 0;
  overflow: hidden;
  background: #171510;
  border: 1px solid rgba(255,255,255,.34);
  box-shadow: 0 34px 75px rgba(64, 46, 21, .22);
}
.theme-v2 .look img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.theme-v2 .look:hover img { transform: scale(1.035); }
.theme-v2 .look-main {
  top: 5%;
  left: 17%;
  width: 60%;
  height: 78%;
  border-radius: 220px 220px 18px 18px;
}
.theme-v2 .look-top {
  top: 1%;
  right: 0;
  width: 31%;
  height: 36%;
  border-radius: 120px 14px 14px 14px;
}
.theme-v2 .look-bottom {
  bottom: 1%;
  left: 0;
  width: 35%;
  height: 39%;
  border-radius: 14px 120px 14px 14px;
}
.theme-v2 .hero-note {
  right: 2%;
  bottom: 4%;
  color: #21190d;
  background: rgba(244, 232, 205, .94);
  border: 1px solid rgba(118, 87, 45, .18);
  border-radius: 7px;
  box-shadow: 0 20px 44px rgba(50, 36, 15, .16);
}

.theme-v2 .notice-strip {
  color: #52452f;
  background: #e7dcc5;
  border-bottom-color: #d6c7aa;
}
.theme-v2 .notice-label { background: var(--v2-ink); border-radius: 2px; }

.theme-v2 .catalog-section { padding-top: 96px; background: #f8f5ee; }
.theme-v2 .section-heading h2 {
  font-size: clamp(38px, 4.3vw, 60px);
  letter-spacing: -.04em;
}
.theme-v2 .catalog-toolbar {
  margin-top: 42px;
  padding: 15px;
  background: #fffdf9;
  border-color: #ded5c8;
  border-radius: 9px;
  box-shadow: 0 18px 48px rgba(57, 42, 20, .055);
}
.theme-v2 .search-box,
.theme-v2 .select-box,
.theme-v2 .price-filter { border-radius: 5px; border-color: #e3dacd; }
.theme-v2 .category-bar { gap: 7px; margin-top: 28px; }
.theme-v2 .category-chip,
.theme-v2 .status-chip { border-radius: 4px; border-color: #d5c8b4; background: rgba(255,255,255,.35); }
.theme-v2 .category-chip.active,
.theme-v2 .status-chip.active { background: var(--v2-ink); border-color: var(--v2-ink); color: #fff; }
.theme-v2 .inventory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 27px; }
.theme-v2 .goods-card {
  background: #fffdf9;
  border: 1px solid #e0d6c8;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(61, 45, 21, .055);
}
.theme-v2 .goods-card:hover { transform: translateY(-6px); border-color: #bfa77d; box-shadow: 0 25px 60px rgba(61, 43, 17, .14); }
.theme-v2 .goods-image { aspect-ratio: 1 / .92; background: #15130f; }
.theme-v2 .goods-body { padding: 20px 21px 22px; }
.theme-v2 .goods-category { color: var(--v2-gold-deep); letter-spacing: .19em; }
.theme-v2 .goods-card h3 { margin-top: 11px; font-size: 24px; letter-spacing: -.025em; }
.theme-v2 .goods-meta { color: #8b8275; }
.theme-v2 .goods-bottom { margin-top: 20px; padding-top: 17px; border-top-color: #ece4d8; }
.theme-v2 .goods-price { color: var(--v2-gold-deep); font-size: 25px; }
.theme-v2 .round-button { border-radius: 4px; border-color: #d6c4a3; }
.theme-v2 .round-button:hover { background: var(--v2-ink); border-color: var(--v2-ink); }
.theme-v2 .badge { border-radius: 3px; }
.theme-v2 .status-pill { border-radius: 3px; }

.theme-v2 .trust-section {
  gap: 0;
  margin-top: 10px;
  background: #d9cfbd;
  border-radius: 0;
  border-right: 0;
  border-left: 0;
}
.theme-v2 .trust-card { min-height: 230px; padding: 34px; background: #f3eee5; }
.theme-v2 .trust-card h3 { font-size: 23px; }
.theme-v2 .site-footer { background: #11100d; }

.theme-v2 .detail-dialog { border-radius: 8px; background: #fbf8f1; }
.theme-v2 .detail-gallery { background: #12110e; }
.theme-v2 .detail-main-image { border-radius: 4px; }
.theme-v2 .detail-thumbs button { border-radius: 4px; }
.theme-v2 .spec-grid { border-radius: 4px; }
.theme-v2 .detail-price { color: var(--v2-gold-deep); }
.theme-v2 .contact-dialog { border-radius: 8px; }

@media (max-width: 1120px) {
  .theme-v2 .hero { grid-template-columns: minmax(0, .9fr) minmax(410px, 1.1fr); }
  .theme-v2 .inventory-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 900px) {
  .theme-v2 .site-header { grid-template-columns: 1fr auto; }
  .theme-v2 .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 62px; }
  .theme-v2 .hero-copy { max-width: 680px; }
  .theme-v2 .hero-visual { width: min(100%, 650px); min-height: 480px; margin: 5px auto 0; }
  .theme-v2 .lookbook { height: 480px; }
  .theme-v2 .inventory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .theme-v2 .hero { padding: 48px 18px 52px; }
  .theme-v2 .hero h1 { font-size: clamp(45px, 13vw, 60px); }
  .theme-v2 .hero-text { font-size: 12px; letter-spacing: .08em; }
  .theme-v2 .hero-visual { min-height: 350px; margin-top: 10px; }
  .theme-v2 .lookbook { height: 350px; }
  .theme-v2 .look-main { left: 15%; width: 66%; height: 78%; }
  .theme-v2 .look-top { width: 33%; height: 35%; }
  .theme-v2 .look-bottom { width: 38%; height: 38%; }
  .theme-v2 .hero-note { right: 0; bottom: 0; padding: 11px 13px; }
  .theme-v2 .hero-note strong { max-width: 155px; font-size: 11px; }
  .theme-v2 .stats { justify-content: space-between; gap: 14px; }
  .theme-v2 .stats strong { font-size: 28px; }
  .theme-v2 .stats span { font-size: 9px; letter-spacing: .1em; }
  .theme-v2 .catalog-section { padding-top: 67px; }
  .theme-v2 .inventory-grid { gap: 15px; }
  .theme-v2 .goods-body { padding: 16px 16px 18px; }
  .theme-v2 .goods-card h3 { font-size: 21px; }
  .theme-v2 .goods-price { font-size: 22px; }
  .theme-v2 .trust-card { padding: 26px 22px; }
}

/* 云端后台连接栏 */
.theme-v2 .cloud-admin-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.theme-v2 .cloud-state { display: flex; align-items: center; gap: 11px; min-width: 0; }
.theme-v2 .cloud-state > div { display: grid; gap: 2px; }
.theme-v2 .cloud-state strong { font-size: 13px; }
.theme-v2 .cloud-state small { color: var(--muted); font-size: 10px; }
.theme-v2 .cloud-dot { flex: 0 0 auto; width: 9px; height: 9px; background: #b6ad9e; border-radius: 50%; box-shadow: 0 0 0 4px rgba(182,173,158,.14); }
.theme-v2 .cloud-dot.ready { background: #c38d31; box-shadow: 0 0 0 4px rgba(195,141,49,.14); }
.theme-v2 .cloud-dot.connected { background: #3d8b5d; box-shadow: 0 0 0 4px rgba(61,139,93,.14); }
.theme-v2 .cloud-dot.error { background: #b34b42; box-shadow: 0 0 0 4px rgba(179,75,66,.14); }
.theme-v2 .cloud-login { display: flex; gap: 8px; align-items: center; }
.theme-v2 .cloud-login input { width: 210px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; outline: 0; }
.theme-v2 .cloud-login input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(183,139,72,.11); }
@media (max-width: 720px) {
  .theme-v2 .cloud-admin-bar { align-items: stretch; flex-direction: column; }
  .theme-v2 .cloud-login { width: 100%; }
  .theme-v2 .cloud-login input { flex: 1; width: auto; min-width: 0; }
}

/* 品牌信任、看货流程与联系方式 */
.theme-v2 .brand-section {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  gap: clamp(40px, 7vw, 110px);
  padding: 94px clamp(20px, 5vw, 76px);
  background: #f8f5ee;
  border-top: 1px solid var(--line);
}
.theme-v2 .brand-lead { max-width: 520px; }
.theme-v2 .brand-lead h2,
.theme-v2 .process-heading h2,
.theme-v2 .brand-contact-section h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.04em;
}
.theme-v2 .brand-lead > p:not(.eyebrow),
.theme-v2 .process-heading > p:last-child,
.theme-v2 .brand-contact-section > div:first-child > p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.theme-v2 .brand-lead .button { margin-top: 18px; }
.theme-v2 .brand-promises { display: grid; align-content: start; }
.theme-v2 .brand-promises article {
  display: grid;
  grid-template-columns: 62px minmax(130px, .48fr) minmax(0, 1.52fr);
  gap: 18px;
  align-items: start;
  padding: 26px 0;
  border-top: 1px solid #ddd2c1;
}
.theme-v2 .brand-promises article:last-child { border-bottom: 1px solid #ddd2c1; }
.theme-v2 .brand-promises article > span { color: var(--gold); font-size: 11px; letter-spacing: .18em; }
.theme-v2 .brand-promises h3 { margin: 0; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.theme-v2 .brand-promises p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }

.theme-v2 .process-section { padding: 92px clamp(20px, 5vw, 76px) 100px; color: #fff; background: #151410; }
.theme-v2 .process-heading { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: end; }
.theme-v2 .process-heading .eyebrow { grid-column: 1 / -1; margin-bottom: -18px; color: #e8d4a8; }
.theme-v2 .process-heading h2 { grid-column: 1; }
.theme-v2 .process-heading > p:last-child { grid-column: 2; margin: 0; color: rgba(255,255,255,.56); }
.theme-v2 .process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 55px 0 0;
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.15);
  list-style: none;
}
.theme-v2 .process-steps li { min-height: 220px; padding: 28px 25px; background: #1b1915; }
.theme-v2 .process-steps span { color: #cda96b; font-size: 10px; letter-spacing: .2em; }
.theme-v2 .process-steps strong { display: block; margin-top: 38px; font-family: var(--serif); font-size: 22px; }
.theme-v2 .process-steps p { margin: 9px 0 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.8; }

.theme-v2 .brand-contact-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(40px, 8vw, 120px);
  padding: 90px clamp(20px, 5vw, 76px) 100px;
  background: #efe8dc;
}
.theme-v2 .brand-contact-card {
  display: grid;
  padding: 12px 28px 28px;
  background: rgba(255,253,248,.72);
  border: 1px solid #d8cbb7;
  border-radius: 8px;
}
.theme-v2 .brand-contact-card > div { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid #e1d6c6; }
.theme-v2 .brand-contact-card span { color: var(--muted); font-size: 11px; }
.theme-v2 .brand-contact-card strong { font-size: 13px; font-weight: 500; }
.theme-v2 .brand-contact-card .button { justify-self: start; margin-top: 20px; }

@media (max-width: 900px) {
  .theme-v2 .brand-section,
  .theme-v2 .brand-contact-section,
  .theme-v2 .process-heading { grid-template-columns: 1fr; }
  .theme-v2 .process-heading .eyebrow { grid-column: auto; }
  .theme-v2 .process-heading h2,
  .theme-v2 .process-heading > p:last-child { grid-column: auto; }
  .theme-v2 .process-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .theme-v2 .brand-section,
  .theme-v2 .process-section,
  .theme-v2 .brand-contact-section { padding: 68px 18px 72px; }
  .theme-v2 .brand-promises article { grid-template-columns: 40px 1fr; }
  .theme-v2 .brand-promises article p { grid-column: 2; }
  .theme-v2 .process-steps { grid-template-columns: 1fr; }
  .theme-v2 .process-steps li { min-height: 0; }
  .theme-v2 .brand-contact-card { padding: 9px 18px 22px; }
  .theme-v2 .brand-contact-card > div { grid-template-columns: 82px 1fr; }
}

/* 品类两行布局与预售状态 */
.theme-v2 .category-bar {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
  overflow: visible;
  padding-bottom: 0;
}
.theme-v2 .category-chip {
  width: 100%;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
}
.theme-v2 .status-pill.presale { background: #315f88; }
@media (max-width: 1120px) {
  .theme-v2 .category-bar { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .theme-v2 .category-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* 分页加载 */
.theme-v2 .load-more { display: grid; justify-items: center; gap: 8px; margin-top: 42px; }
.theme-v2 .load-more[hidden] { display: none; }
.theme-v2 .load-more p { margin: 0; color: var(--muted); font-size: 11px; }

/* 大库存后台分页 */
.theme-v2 .admin-list-actions { display: flex; gap: 9px; align-items: center; }
.theme-v2 .admin-list-actions input { width: 230px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; outline: 0; }
.theme-v2 .admin-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 20px; }
.theme-v2 .admin-pagination span { color: var(--muted); font-size: 11px; }
.theme-v2 .admin-pagination button[disabled] { opacity: .35; cursor: not-allowed; }
@media (max-width: 720px) {
  .theme-v2 .admin-list-actions { width: 100%; flex-direction: column; align-items: stretch; }
  .theme-v2 .admin-list-actions input { width: 100%; }
}
