:root {
  --navy: #08182e;
  --navy-2: #0d2a4a;
  --navy-3: #123f66;
  --blue: #2f80ed;
  --cyan: #7fd4ff;
  --ink: #0b1f3a;
  --muted: #7b8798;
  --soft: #9aa4b2;
  --line: #e3e9f2;
  --bg: #f2f5fa;
  --white: #ffffff;
  --orange: #e4572e;
  --shadow: 0 12px 40px rgba(11, 31, 58, 0.08);
  --shadow-lg: 0 30px 80px rgba(8, 24, 46, 0.22);
  --radius: 20px;
  --container: 1280px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

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

button,
input,
textarea { font: inherit; }

button { cursor: pointer; }

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(8, 24, 46, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.brand-mark {
  width: 38px;
  height: 48px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong {
  font-size: 16px;
  letter-spacing: 2.5px;
}

.brand-copy small {
  margin-top: 2px;
  font-size: 11px;
  color: rgba(226, 240, 255, 0.62);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  transition: color 0.2s ease;
}

.site-nav a:hover { color: var(--cyan); }

.cart-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(127, 212, 255, 0.42);
  border-radius: 22px;
  background: rgba(47, 128, 237, 0.16);
  color: var(--white);
  font-size: 14px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.cart-trigger:hover {
  background: rgba(47, 128, 237, 0.28);
  border-color: var(--cyan);
}

.cart-badge {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: var(--cyan);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  line-height: 22px;
  text-align: center;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 84px 0 72px;
  background:
    radial-gradient(circle at 82% 18%, rgba(55, 194, 255, 0.2), transparent 34%),
    linear-gradient(135deg, #08182e 0%, #0d2a4a 58%, #123f66 100%);
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent 75%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -160px;
  top: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 128, 237, 0.45), transparent 68%);
  filter: blur(10px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 64px;
  align-items: end;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: var(--cyan);
  font-size: 12px;
  letter-spacing: 2px;
}

.eyebrow img {
  width: 26px;
  height: 33px;
  object-fit: contain;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.16;
  letter-spacing: 1px;
  font-weight: 700;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(226, 240, 255, 0.74);
  font-size: 16px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 26px rgba(47, 128, 237, 0.28);
}

.btn-primary:hover { background: #1f6fdc; }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); }

.hero-panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.hero-stat {
  text-align: center;
  padding: 10px 4px;
}

.hero-stat b {
  display: block;
  color: var(--cyan);
  font-size: 32px;
  line-height: 1;
}

.hero-stat span {
  display: block;
  margin-top: 8px;
  color: rgba(226, 240, 255, 0.62);
  font-size: 12px;
}

.hero-panel-note {
  grid-column: 1 / -1;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-panel-note span {
  color: rgba(226, 240, 255, 0.5);
  font-size: 11px;
  letter-spacing: 0;
}

/* ---------- catalog ---------- */
.catalog {
  padding: 68px 0 20px;
}

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

.section-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}

.section-head h2,
.about h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
  letter-spacing: 0.5px;
}

.section-head p,
.about-copy p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  width: min(380px, 100%);
  height: 48px;
  padding: 0 16px 0 44px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(11, 31, 58, 0.04);
}

.search-icon {
  position: absolute;
  left: 18px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--soft);
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: -4px;
  width: 2px;
  height: 8px;
  border-radius: 1px;
  background: var(--soft);
  transform: rotate(45deg);
}

.search-box input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.search-clear {
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 18px;
}

.chip {
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: #5c6570;
  font-size: 13px;
  transition: all 0.18s ease;
}

.chip:hover { border-color: #b9cdf0; color: var(--blue); }

.chip.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
}

.result-line {
  margin: 4px 0 18px;
  color: var(--muted);
  font-size: 13px;
}

.result-line b { color: var(--ink); }

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(227, 233, 242, 0.9);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(11, 31, 58, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fbfcfe;
  border-bottom: 1px solid #f0f3f8;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.badge-off {
  position: absolute;
  top: 12px;
  right: 12px;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: rgba(11, 31, 58, 0.82);
  color: var(--white);
  font-size: 11px;
  line-height: 24px;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}

.card-name {
  min-height: 48px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.card-spec {
  margin-top: 6px;
  color: var(--soft);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.card-price {
  color: var(--orange);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
}

.card-price small {
  margin-right: 1px;
  font-size: 13px;
  font-weight: 600;
}

.card-price em {
  margin-left: 4px;
  color: #b0b8c4;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
}

.card-add {
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--blue);
  border-radius: 17px;
  background: #f4f8ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.card-add:hover { background: var(--blue); color: var(--white); }
.card-add.disabled { border-color: #d6dce6; background: #f5f7fa; color: var(--soft); }

.empty-state {
  padding: 90px 0 60px;
  text-align: center;
}

.empty-icon {
  color: #c3ccda;
  font-size: 42px;
  line-height: 1;
}

.empty-state h3,
.cart-empty h3 {
  margin: 14px 0 0;
  font-size: 20px;
}

.empty-state p,
.cart-empty p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- about ---------- */
.about {
  margin-top: 56px;
  padding: 56px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: center;
}

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

.about-card {
  padding: 22px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafd;
  text-align: center;
}

.about-card b {
  display: block;
  color: var(--blue);
  font-size: 28px;
  line-height: 1;
}

.about-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

/* ---------- footer ---------- */
.site-footer {
  padding: 30px 0;
  background: var(--navy);
  color: rgba(226, 240, 255, 0.62);
  font-size: 12px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}

.footer-brand img { width: 28px; height: 36px; object-fit: contain; }

.footer-brand strong {
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
}

.footer-brand span { font-size: 10px; color: rgba(226, 240, 255, 0.5); }

.site-footer p { margin: 0; }

/* ---------- modal / detail ---------- */
.modal,
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.modal.open,
.drawer.open { display: block; }

.modal-backdrop,
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 14, 28, 0.62);
  backdrop-filter: blur(4px);
}

.modal-card {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1120px, calc(100% - 40px));
  max-height: min(88vh, 900px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
}

.modal-close {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 31, 58, 0.08);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
}

.detail-card > .modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.12);
}

.detail-gallery {
  padding: 26px;
  background: #fbfcfe;
  border-right: 1px solid #f0f3f8;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.gallery-stage {
  position: relative;
  flex: 1;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: var(--white);
  overflow: hidden;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  padding: 12px;
}

.gallery-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  height: 28px;
  padding: 0 12px;
  border-radius: 14px;
  background: rgba(11, 31, 58, 0.78);
  color: var(--white);
  font-size: 12px;
  line-height: 28px;
}

.gallery-placeholder {
  height: 100%;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  color: var(--muted);
}

.gallery-placeholder .ph-icon {
  color: #c3ccda;
  font-size: 46px;
}

.gallery-placeholder b {
  margin-top: 10px;
  color: #5c6570;
  font-size: 16px;
}

.gallery-placeholder span {
  margin-top: 4px;
  color: var(--soft);
  font-size: 12px;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.gallery-thumb {
  position: relative;
  height: 92px;
  padding: 8px;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
  cursor: pointer;
}

.gallery-thumb.active { border-color: var(--blue); }

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 4px;
  background: rgba(255, 255, 255, 0.88);
  color: #5c6570;
  font-size: 10px;
  text-align: center;
}

.thumb-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  border-radius: 8px;
  background: #f2f5fa;
  color: var(--soft);
  font-size: 11px;
}

.detail-body {
  padding: 34px 32px 28px;
  overflow-y: auto;
}

.detail-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 11px;
  border-radius: 13px;
  background: #e8f1ff;
  color: var(--blue);
  font-size: 11px;
}

.tag-dark {
  background: var(--navy);
  color: var(--cyan);
  letter-spacing: 1px;
}

.detail-body h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.35;
}

.detail-price {
  display: flex;
  align-items: baseline;
  margin-top: 18px;
  color: var(--orange);
}

.detail-price .cur { font-size: 18px; }

.detail-price b {
  margin: 0 3px;
  font-size: 44px;
  line-height: 1;
}

.detail-price .unit {
  margin-left: 6px;
  color: var(--soft);
  font-size: 12px;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 18px;
  padding: 14px 0;
  border-top: 1px solid #f0f3f8;
  border-bottom: 1px solid #f0f3f8;
}

.price-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.price-grid span { color: var(--muted); font-size: 11px; }
.price-grid b { font-size: 15px; }

.spec-list {
  margin-top: 14px;
  max-height: 180px;
  overflow-y: auto;
}

.spec-row {
  display: flex;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed #eef1f6;
  font-size: 13px;
}

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

.spec-row span {
  width: 84px;
  flex: none;
  color: var(--soft);
}

.spec-row b {
  color: var(--ink);
  font-weight: 500;
  line-height: 1.55;
}

.detail-buy {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.qty-control {
  display: flex;
  align-items: center;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 23px;
  overflow: hidden;
}

.qty-control button {
  width: 46px;
  height: 46px;
  border: 0;
  background: #f7f9fc;
  color: var(--ink);
  font-size: 20px;
}

.qty-control input {
  width: 56px;
  height: 46px;
  border: 0;
  outline: 0;
  text-align: center;
  font-size: 14px;
  -moz-appearance: textfield;
}

.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.detail-buy .btn { flex: 1; }

.detail-note {
  margin: 12px 0 0;
  color: var(--soft);
  font-size: 11px;
}

/* ---------- drawer / cart ---------- */
.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(480px, 100%);
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: -20px 0 60px rgba(8, 24, 46, 0.24);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 { margin: 0; font-size: 24px; }

.drawer-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 18px 24px 24px;
}

.cart-empty {
  padding: 50px 10px;
  text-align: center;
}

.cart-empty .btn { margin-top: 20px; }

.cart-list { display: flex; flex-direction: column; gap: 12px; }

.cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.cart-item img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 8px;
  background: #fbfcfe;
}

.cart-item-name {
  padding-right: 26px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.cart-item-spec {
  margin-top: 3px;
  color: var(--soft);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.cart-item-price { color: var(--orange); font-size: 16px; font-weight: 700; }

.cart-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #f2f5fa;
  color: var(--soft);
  font-size: 14px;
  line-height: 1;
}

.mini-qty {
  display: flex;
  align-items: center;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 15px;
  overflow: hidden;
}

.mini-qty button {
  width: 30px;
  height: 30px;
  border: 0;
  background: #f7f9fc;
  color: var(--ink);
  font-size: 14px;
}

.mini-qty span {
  width: 34px;
  text-align: center;
  font-size: 12px;
}

.cart-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 6px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.cart-summary b { color: var(--ink); font-size: 16px; }

.summary-total { text-align: right; }

.summary-total b {
  display: block;
  color: var(--orange);
  font-size: 24px;
  line-height: 1.2;
}

.supplier-form {
  margin-top: 18px;
}

.supplier-form h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.supplier-form label {
  display: block;
  margin-bottom: 10px;
  color: #5c6570;
  font-size: 12px;
}

.supplier-form label > span { color: var(--orange); }

.supplier-form input,
.supplier-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #fbfcfe;
  color: var(--ink);
  font-size: 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.supplier-form input:focus,
.supplier-form textarea:focus {
  border-color: var(--blue);
  background: var(--white);
}

.supplier-form textarea { resize: vertical; }

.form-tip {
  margin: 4px 0 0;
  color: var(--soft);
  font-size: 11px;
  line-height: 1.6;
}

.drawer-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--white);
}

.drawer-total { flex: none; }

.drawer-total span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.drawer-total b {
  color: var(--orange);
  font-size: 26px;
  line-height: 1.2;
}

.drawer-foot .btn { flex: 1; }

/* ---------- success ---------- */
.order-success {
  padding: 34px 0 10px;
  text-align: center;
}

.success-check {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 34px;
  line-height: 64px;
  font-weight: 700;
}

.order-success h2 { margin: 14px 0 2px; font-size: 22px; }

.order-no { margin: 0; color: var(--muted); font-size: 12px; }

.success-summary {
  margin: 18px 0;
  padding: 14px;
  border-radius: 12px;
  background: #f8fafd;
  text-align: left;
  font-size: 12px;
  line-height: 1.8;
}

.success-summary .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.success-summary .row span { color: var(--muted); }

.order-success .btn {
  display: flex;
  width: 100%;
  margin-top: 10px;
}

.order-success .btn-ghost {
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
}

/* ---------- toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 120;
  transform: translateX(-50%);
  max-width: calc(100% - 40px);
  padding: 11px 20px;
  border-radius: 22px;
  background: rgba(11, 31, 58, 0.92);
  color: var(--white);
  font-size: 13px;
  box-shadow: 0 12px 30px rgba(8, 24, 46, 0.3);
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .hero { padding: 60px 0 50px; }
  .hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .hero-panel { max-width: 460px; }
  .detail-card {
    display: block;
    overflow-y: auto;
  }
  .detail-gallery {
    border-right: 0;
    border-bottom: 1px solid #f0f3f8;
    padding: 16px;
  }
  .gallery-stage { min-height: 300px; }
  .gallery-stage img { max-height: 340px; }
  .detail-body { padding: 24px 22px 22px; overflow: visible; }
  .about-inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .header-inner { height: 64px; }
  .brand-mark { width: 30px; height: 38px; }
  .brand-copy strong { font-size: 14px; }
  .brand-copy small { font-size: 10px; }
  .site-nav { gap: 12px; }
  .site-nav a { display: none; }
  .cart-trigger { height: 38px; padding: 0 14px; font-size: 12px; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 14px; }
  .hero-panel { grid-template-columns: repeat(3, 1fr); padding: 16px; }
  .hero-stat b { font-size: 26px; }
  .section-head { flex-direction: column; align-items: stretch; gap: 14px; }
  .search-box { width: 100%; }
  .section-head h2, .about h2 { font-size: 26px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-media { height: 170px; padding: 12px; }
  .card-body { padding: 12px; }
  .card-name { min-height: 42px; font-size: 14px; }
  .card-price { font-size: 20px; }
  .card-add { height: 30px; padding: 0 10px; font-size: 11px; }
  .about { margin-top: 36px; padding: 36px 0; }
  .about-cards { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .about-card { padding: 14px 6px; }
  .about-card b { font-size: 22px; }
  .detail-card { width: calc(100% - 20px); max-height: 92vh; }
  .modal-card { border-radius: 18px; }
  .gallery-thumbs { gap: 8px; }
  .gallery-thumb { height: 70px; }
  .detail-body h2 { font-size: 22px; }
  .detail-price b { font-size: 36px; }
  .price-grid { gap: 4px; }
  .drawer-panel { width: 100%; }
  .drawer-head, .drawer-scroll, .drawer-foot { padding-left: 18px; padding-right: 18px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 380px) {
  .product-grid { grid-template-columns: 1fr; }
  .card-media { height: 220px; }
}

/* ---------- company / large model pages ---------- */
.site-nav a.active { color: var(--cyan); }

.page-hero {
  padding: 64px 0 58px;
  background:
    radial-gradient(circle at 82% 20%, rgba(55, 194, 255, 0.16), transparent 34%),
    linear-gradient(135deg, #08182e 0%, #0d2a4a 58%, #123f66 100%);
  color: #fff;
}

.page-hero .section-kicker { color: var(--cyan); }
.page-hero h1 { margin: 10px 0 12px; font-size: clamp(36px, 5vw, 58px); line-height: 1.1; letter-spacing: -1px; }
.page-hero p { max-width: 760px; margin: 0; color: rgba(226, 240, 255, 0.7); font-size: 16px; }
.page-hero-meta { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 24px; color: rgba(226, 240, 255, 0.62); font-size: 13px; }
.page-hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.page-hero-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

.text-link { color: var(--blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.gallery-page { padding: 42px 0 80px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.filter {
  height: 40px; padding: 0 18px; border: 1px solid var(--line); border-radius: 20px;
  background: #fff; color: #5c6570; font-size: 13px;
}
.filter.active { background: var(--navy); border-color: var(--navy); color: #fff; }

.album-section { margin-bottom: 54px; }
.album-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.album-head h2 { margin: 4px 0 0; font-size: 28px; }
.album-count { color: var(--soft); font-size: 13px; }
.album-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.shot {
  padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: #fff;
  text-align: left; box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.shot:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #f8fafd; }
.shot span { display: block; padding: 10px 12px 12px; font-size: 12px; line-height: 1.45; color: #5c6570; }

.lightbox {
  position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center;
  background: rgba(3, 10, 20, 0.94); padding: 40px 70px;
}
.lightbox img { max-width: min(1180px, 92vw); max-height: 82vh; object-fit: contain; border-radius: 6px; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; border: 0; background: rgba(255, 255, 255, 0.1); color: #fff;
  width: 46px; height: 46px; border-radius: 50%; font-size: 28px; line-height: 1;
}
.lb-close { top: 22px; right: 24px; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }
.lb-caption { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); max-width: 86vw; color: rgba(255,255,255,0.72); font-size: 13px; text-align: center; }
.load-error { padding: 40px 0; color: var(--muted); }

.home-large { padding: 72px 0 64px; background: #fff; }
.home-large .section-head { align-items: flex-end; }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.preview-card { position: relative; border-radius: 18px; overflow: hidden; background: #f8fafd; box-shadow: var(--shadow); }
.preview-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 0.4s ease; }
.preview-card:hover img { transform: scale(1.04); }
.preview-card-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 16px 14px; color: #fff; background: linear-gradient(to top, rgba(8,24,46,0.86), transparent); }
.preview-card-body b { display: block; font-size: 16px; }
.preview-card-body span { font-size: 12px; opacity: 0.72; }

.home-company { padding: 64px 0; background: var(--bg); }
.home-company-card {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: center;
  padding: 42px; border-radius: 26px; background: linear-gradient(135deg, #08182e, #123f66); color: #fff;
  box-shadow: var(--shadow-lg);
}
.home-company-copy .section-kicker { color: var(--cyan); }
.home-company-copy h2 { margin: 8px 0 12px; font-size: 34px; }
.home-company-copy p { margin: 0 0 18px; color: rgba(226, 240, 255, 0.68); font-size: 14px; }
.home-company-copy .text-link { color: var(--cyan); }
.factory-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.factory-shot { position: relative; border-radius: 14px; overflow: hidden; }
.factory-shot img { width: 100%; height: 200px; object-fit: cover; }
.factory-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: 12px; color: #fff; background: linear-gradient(to top, rgba(8,24,46,0.8), transparent); }

.company-page { padding: 48px 0 80px; }
.company-profile {
  display: grid; grid-template-columns: 1.35fr 0.65fr; gap: 40px; align-items: center;
  padding: 38px; border-radius: 24px; background: #fff; box-shadow: var(--shadow);
}
.company-profile h2 { margin: 8px 0 14px; font-size: 30px; }
.company-profile p { margin: 0; color: #5c6570; font-size: 14px; line-height: 1.9; }
.company-address { margin-top: 16px; padding: 12px 14px; border-radius: 10px; background: var(--bg); color: var(--muted); font-size: 12px; }
.company-stats { display: grid; grid-template-columns: 1fr; gap: 10px; }
.company-stat { padding: 14px 16px; border-radius: 12px; background: var(--bg); text-align: center; }
.company-stat b { display: block; font-size: 24px; color: var(--blue); }
.company-stat span { font-size: 12px; color: var(--soft); }

.album-block { margin-top: 48px; }
.company-albums { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 20px; }
.company-album { display: flex; gap: 16px; padding: 12px; border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.company-album img { width: 150px; height: 104px; object-fit: cover; border-radius: 10px; }
.company-album-body { display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.company-album-body b { font-size: 15px; }
.company-album-body span { color: var(--soft); font-size: 12px; }

@media (max-width: 1024px) {
  .album-grid { grid-template-columns: repeat(3, 1fr); }
  .preview-grid { grid-template-columns: repeat(2, 1fr); }
  .home-company-card { grid-template-columns: 1fr; gap: 28px; }
  .company-profile { grid-template-columns: 1fr; }
  .company-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .site-nav { gap: 12px; }
  .site-nav a { font-size: 12px; }
  .brand-copy strong { font-size: 14px; letter-spacing: 1px; }
  .brand-copy small { font-size: 10px; }
  .page-hero { padding: 44px 0 40px; }
  .gallery-page { padding: 28px 0 56px; }
  .album-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .shot span { padding: 8px 9px 10px; font-size: 11px; }
  .lightbox { padding: 30px 12px; }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-close { right: 12px; top: 12px; }
  .home-large { padding: 48px 0 44px; }
  .home-company-card { padding: 26px; }
  .factory-shot img { height: 150px; }
  .company-profile { padding: 26px; }
  .company-stats { grid-template-columns: 1fr; }
  .company-albums { grid-template-columns: 1fr; }
  .company-album img { width: 120px; height: 88px; }
}

@media (max-width: 760px) {
  .header-inner { gap: 10px; }
  .brand-copy small { display: none; }
  .site-nav { gap: 9px; }
  .site-nav a { font-size: 11px; }
  .site-nav a:nth-of-type(4) { display: none; }
  .cart-trigger { padding: 0 10px; height: 38px; font-size: 12px; }
  .brand-mark { width: 28px; height: 36px; }
  .brand-copy strong { font-size: 13px; letter-spacing: 0; }
}
