﻿/*
Theme Name: LuxeVault
Theme URI: https://www.luxevault.cn/
Author: LuxeVault
Description: Private luxury catalog theme for U.S. customers.
Version: 1.0.0
Requires at least: 6.0
Text Domain: luxevault
*/
:root {
  --ink: #171717;
  --muted: #6b6660;
  --paper: #f3f1ed;
  --white: #ffffff;
  --graphite: #202326;
  --gold: #b89658;
  --burgundy: #6d2537;
  --sage: #667464;
  --line: rgba(23, 23, 23, 0.12);
  --shadow: 0 20px 50px rgba(21, 18, 14, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: var(--white);
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(246, 242, 234, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 13px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 4vw, 48px);
  font-size: 14px;
}

.icon-button,
.icon-text-button,
.primary-button,
.secondary-button,
.filter {
  min-height: 44px;
  border: 0;
  cursor: pointer;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  border-radius: 50%;
  color: inherit;
  background: rgba(255, 255, 255, 0.16);
}

svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 12, 11, 0.78), rgba(13, 12, 11, 0.42) 44%, rgba(13, 12, 11, 0.06)),
    linear-gradient(0deg, rgba(20, 19, 16, 0.44), transparent 32%);
}

.hero-content {
  position: relative;
  width: min(720px, 92vw);
  padding: 96px clamp(20px, 7vw, 92px) 54px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.hero h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(58px, 11vw, 132px);
  font-weight: 500;
  line-height: 0.9;
}

.hero-copy {
  max-width: 540px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.icon-text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
}

.primary-button {
  color: var(--white);
  background: var(--burgundy);
}

.secondary-button {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.88);
}

.full {
  width: 100%;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.metrics div {
  min-height: 112px;
  padding: 26px clamp(18px, 3vw, 42px);
  background: var(--paper);
}

.metrics strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
}

.metrics span,
.product-card span,
.service-grid p,
.steps p,
.contact-copy p,
.form-status {
  color: var(--muted);
  line-height: 1.7;
}

.section,
.process {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

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

.section-note {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.catalog-toolbar {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px);
  gap: 12px;
  margin-bottom: 14px;
}

.search-wrap {
  position: relative;
}

.search-wrap svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.search-wrap input {
  padding-left: 46px;
}

.section-heading h2,
.contact-copy h2,
.workspace h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500;
}

.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.catalog-summary {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.filter {
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.filter.is-active {
  color: var(--white);
  background: var(--graphite);
}

.brand-grid,
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.brand-cover {
  position: relative;
  min-height: 320px;
  padding: 20px;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  color: var(--white);
  cursor: pointer;
  text-align: left;
  background: var(--graphite);
  box-shadow: 0 1px 0 var(--line);
}

.brand-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 16, 16, 0.08), rgba(16, 16, 16, 0.78));
}

.brand-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.brand-cover:hover img {
  transform: scale(1.04);
}

.brand-cover span,
.brand-cover strong,
.brand-cover em {
  position: relative;
  z-index: 1;
  display: block;
}

.brand-cover span {
  margin-top: 170px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-cover strong {
  margin-top: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 500;
}

.brand-cover em {
  margin-top: 10px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.76);
}

.product-card {
  display: grid;
  gap: 16px;
  padding: 12px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--line);
}

.catalog-card {
  grid-template-rows: auto auto 1fr auto auto;
}

.catalog-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  background: #ebe5db;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.product-meta span {
  color: var(--burgundy);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-card h3 {
  margin: 0;
  min-height: 48px;
  font-size: 16px;
  line-height: 1.5;
}

.catalog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.product-actions .icon-text-button {
  min-height: 38px;
  padding: 8px 12px;
}

.source-link {
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-card .icon-text-button {
  min-height: 38px;
  padding: 8px 12px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
}

.product-card.is-hidden {
  display: none;
}

.product-visual {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background:
    radial-gradient(circle at 65% 30%, rgba(255, 255, 255, 0.65), transparent 22%),
    linear-gradient(145deg, var(--gold), var(--graphite));
}

.product-visual.bag {
  background:
    radial-gradient(circle at 50% 35%, #d8c49c 0 7%, transparent 8%),
    linear-gradient(135deg, #4c1f2f, #171717 62%, #b89658);
}

.product-visual.watch {
  background:
    radial-gradient(circle, #e7e1d4 0 18%, #1f2326 19% 30%, transparent 31%),
    linear-gradient(135deg, #a7b1ad, #202326);
}

.product-visual.jewelry {
  background:
    radial-gradient(circle at 42% 42%, #ffffff 0 6%, transparent 7%),
    radial-gradient(circle at 58% 58%, #d6bb75 0 10%, transparent 11%),
    linear-gradient(135deg, #6d2537, #202326);
}

.product-visual.trunk {
  background:
    linear-gradient(90deg, transparent 48%, rgba(255, 255, 255, 0.38) 49% 51%, transparent 52%),
    linear-gradient(135deg, #2d453f, #b89658 54%, #171717);
}

.product-card p,
.service-grid h3,
.steps strong {
  margin: 0 0 4px;
  font-weight: 800;
}

.product-card strong {
  font-size: 18px;
}

.service-band,
.contact-band {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background: var(--graphite);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.service-grid article {
  min-height: 240px;
  padding: 30px;
  background: #252a2c;
}

.service-grid svg {
  color: var(--gold);
  margin-bottom: 24px;
}

.service-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.steps li {
  min-height: 210px;
  padding: 28px;
  background: var(--paper);
}

.steps span {
  display: block;
  margin-bottom: 34px;
  color: var(--burgundy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(30px, 6vw, 88px);
  align-items: center;
  background: linear-gradient(135deg, var(--graphite), #2f3431 54%, var(--burgundy));
}

.contact-links {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-links a {
  width: fit-content;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
}

.lead-form,
.login-panel,
.admin-section,
.stat-grid article {
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 34px);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 13px;
  background: #fbfaf7;
  color: var(--ink);
}

textarea {
  resize: vertical;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #111;
  color: rgba(255, 255, 255, 0.72);
}

.product-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: min(820px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.product-dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
}

.dialog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  min-height: 640px;
}

.gallery-main {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #eeeae3;
}

.gallery-main img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  border-radius: 6px;
}

.dialog-info {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 34px;
  overflow: auto;
}

.dialog-info h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
}

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

.gallery-count {
  font-weight: 800;
  color: var(--burgundy) !important;
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.thumb-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  padding-top: 10px;
}

.thumb-grid button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  background: #eeeae3;
}

.thumb-grid button.is-active {
  border-color: var(--burgundy);
}

.thumb-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(109, 37, 55, 0.1), transparent 38%),
    var(--paper);
}

.admin-shell {
  min-height: 100vh;
}

.login-panel {
  width: min(430px, calc(100vw - 32px));
  margin: 10vh auto;
  padding: 32px;
  box-shadow: var(--shadow);
}

.admin-brand {
  margin-bottom: 34px;
}

.login-panel h1 {
  margin: 0 0 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 500;
}

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

.is-hidden {
  display: none !important;
}

.dashboard {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px;
  color: var(--white);
  background: var(--graphite);
}

.sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 42px;
}

.sidebar nav a {
  padding: 12px 14px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.74);
}

.sidebar nav a.is-active,
.sidebar nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.workspace {
  padding: 30px;
}

.workspace-head,
.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.icon-text-button {
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.stat-grid article {
  padding: 24px;
}

.stat-grid span {
  color: var(--muted);
}

.stat-grid strong {
  display: block;
  margin-top: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 44px;
  font-weight: 500;
}

.admin-section {
  margin-top: 18px;
  padding: 22px;
  box-shadow: 0 1px 0 var(--line);
}

.admin-section h2 {
  margin: 0;
}

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

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  min-width: 720px;
}

th,
td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 13px;
}

.inventory-form {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr auto;
  gap: 10px;
  margin: 18px 0;
}

.inventory-list {
  display: grid;
  gap: 10px;
}

.inventory-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfaf7;
}

@media (max-width: 920px) {
  .main-nav {
    display: none;
  }

  .metrics,
  .brand-grid,
  .collection-grid,
  .service-grid,
  .steps,
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-band,
  .dashboard {
    grid-template-columns: 1fr;
  }

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

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

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

@media (max-width: 560px) {
  .hero {
    min-height: 82vh;
  }

  .hero-content {
    padding-top: 92px;
  }

  .metrics,
  .brand-grid,
  .collection-grid,
  .service-grid,
  .steps,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .workspace-head,
  .section-title-row {
    align-items: start;
    flex-direction: column;
  }

  .product-card:not(.catalog-card) {
    grid-template-columns: 96px 1fr;
    align-items: center;
  }

  .product-card:not(.catalog-card) strong {
    grid-column: 2;
  }

  .dialog-layout {
    grid-template-columns: 1fr;
  }

  .dialog-info {
    padding: 22px;
  }

  .thumb-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

