/* ==========================================================================
   公鸡打印店 · 1-411 PRINT ROOM
   A warm, paper-inspired design system.
   ========================================================================== */

:root {
  --paper: #f4efe4;
  --paper-deep: #e9dfce;
  --paper-light: #fbf8f1;
  --card: #fffdf8;
  --ink: #1d1a15;
  --ink-2: #302b23;
  --ink-soft: #514a3f;
  --muted: #7c7364;
  --line: #ddd3c2;
  --line-strong: #c9bda9;
  --red: #cf4a32;
  --red-deep: #a73621;
  --red-soft: #f3d8d0;
  --amber: #e2a33c;
  --amber-soft: #f7e5bd;
  --green: #2f7058;
  --green-soft: #dcebe3;
  --blue: #3e6288;
  --blue-soft: #dce5ef;
  --shadow-sm: 0 10px 28px rgba(50, 39, 23, 0.07);
  --shadow: 0 24px 64px rgba(50, 39, 23, 0.12);
  --shadow-lg: 0 36px 90px rgba(35, 27, 16, 0.2);
  --radius: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB",
    "Segoe UI", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", "Times New Roman",
    serif;
  --mono: "SFMono-Regular", "Cascadia Code", "Consolas", monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(91, 74, 48, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 74, 48, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 14% 8%, rgba(226, 163, 60, 0.13), transparent 28%),
    radial-gradient(circle at 88% 4%, rgba(207, 74, 50, 0.09), transparent 24%);
  background-size: 32px 32px, 32px 32px, 100% 100%, 100% 100%;
}

body.overlay-open {
  overflow: hidden;
}

::selection {
  color: #fff;
  background: var(--red);
}

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

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

button {
  cursor: pointer;
}

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

p,
h1,
h2,
h3,
h4,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid rgba(207, 74, 50, 0.42);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.container.is-narrow {
  width: min(880px, calc(100% - 48px));
}

.serif {
  font-family: var(--serif);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--red-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.eyebrow.is-light {
  color: var(--amber);
}

.icon {
  flex: none;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --------------------------------------------------------------------------
   Buttons, pills and common bits
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    background-color 0.22s,
    border-color 0.22s,
    color 0.22s;
}

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

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn-primary {
  color: #fffaf1;
  background: var(--red);
  box-shadow: 0 12px 28px rgba(207, 74, 50, 0.24);
}

.btn-primary:hover {
  background: var(--red-deep);
  box-shadow: 0 16px 34px rgba(167, 54, 33, 0.28);
}

.btn-ink {
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: 0 12px 26px rgba(29, 26, 21, 0.2);
}

.btn-ink:hover {
  background: #000;
}

.btn-ghost {
  color: var(--ink);
  background: transparent;
  border-color: var(--line-strong);
}

.btn-ghost:hover {
  background: rgba(255, 253, 248, 0.7);
  border-color: var(--ink-soft);
}

.btn-light {
  color: var(--ink);
  background: var(--paper-light);
  border-color: transparent;
}

.btn-light:hover {
  background: #fff;
}

.btn-soft {
  color: var(--red-deep);
  background: var(--red-soft);
}

.btn-soft:hover {
  background: #efc8bd;
}

.btn-danger {
  color: #fff;
  background: var(--red-deep);
}

.btn-sm {
  min-height: 38px;
  padding: 8px 15px;
  font-size: 12.5px;
}

.btn-block {
  width: 100%;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: var(--ink-soft);
  background: none;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 4px;
}

.btn-link:hover {
  color: var(--red-deep);
  text-decoration-color: currentColor;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.4;
  white-space: nowrap;
}

.pill-red {
  color: var(--red-deep);
  background: var(--red-soft);
}

.pill-green {
  color: var(--green);
  background: var(--green-soft);
}

.pill-amber {
  color: #7c5813;
  background: var(--amber-soft);
}

.pill-dark {
  color: var(--paper-light);
  background: var(--ink);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(207, 74, 50, 0.12);
}

.avatar {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  color: #fffaf1;
  background: var(--red);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 800;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
}

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

/* --------------------------------------------------------------------------
   Header and navigation
   -------------------------------------------------------------------------- */

.announce {
  color: rgba(255, 250, 241, 0.9);
  background: var(--ink);
  font-size: 12px;
}

.announce-inner {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.announce-copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 9px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.announce-scroll {
  display: flex;
  min-width: 0;
  white-space: nowrap;
}

.announce-copy .announce-scroll > span + span {
  display: none;
}

@keyframes announce-scroll {
  to {
    transform: translateX(-50%);
  }
}

.announce-copy .icon {
  width: 14px;
  height: 14px;
  color: var(--amber);
}

.announce a {
  flex: none;
  color: var(--amber);
  font-weight: 800;
}

.announce a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(244, 239, 228, 0.86);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background-color 0.25s;
}

.site-header.is-scrolled {
  background: rgba(250, 247, 240, 0.94);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(35, 27, 16, 0.05);
}

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

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 45px;
  height: 45px;
  filter: drop-shadow(0 7px 12px rgba(207, 74, 50, 0.18));
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-4deg) scale(1.04);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.brand-sub {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

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

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 650;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.24s var(--ease);
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.header-auth-slot {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-user {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px 5px 5px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
}

.header-user .avatar {
  width: 30px;
  height: 30px;
  font-size: 14px;
}

.header-user-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.header-user-copy strong {
  max-width: 110px;
  overflow: hidden;
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.header-user-copy span {
  color: var(--muted);
  font-size: 8.5px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}

.mobile-toggle .icon {
  width: 20px;
  height: 20px;
}

.mobile-nav {
  display: none;
  padding: 14px 0 22px;
  border-top: 1px solid var(--line);
}

.mobile-nav.is-open {
  display: grid;
  gap: 4px;
}

.mobile-nav a {
  padding: 11px 4px;
  font-weight: 700;
  border-bottom: 1px solid rgba(221, 211, 194, 0.6);
}

.mobile-nav .btn {
  margin-top: 12px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 76px 0 68px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -8%;
  z-index: -1;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(207, 74, 50, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 62px rgba(207, 74, 50, 0.035),
    0 0 0 124px rgba(207, 74, 50, 0.02);
}

.hero::after {
  content: "PRINT";
  position: absolute;
  right: -22px;
  bottom: -68px;
  z-index: -1;
  color: rgba(29, 26, 21, 0.035);
  font-family: var(--serif);
  font-size: clamp(130px, 20vw, 290px);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(42px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
}

.hero-copy-block {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  padding: 7px 13px 7px 8px;
  color: var(--green);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(47, 112, 88, 0.22);
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  box-shadow: 0 0 0 4px rgba(47, 112, 88, 0.13);
  animation: pulse 2.8s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.42;
  }
}

.hero h1 {
  max-width: 700px;
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 92px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 1.02;
}

.hero h1 .accent {
  position: relative;
  display: inline-block;
  color: var(--red);
  white-space: nowrap;
}

.hero h1 .accent::after {
  content: "";
  position: absolute;
  right: 1%;
  bottom: 5%;
  left: 1%;
  z-index: -1;
  height: 18%;
  background: rgba(226, 163, 60, 0.34);
  border-radius: 40% 60% 45% 55%;
  transform: rotate(-1.2deg);
}

.hero-lead {
  max-width: 560px;
  margin-top: 25px;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.85;
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  margin-top: 33px;
}

.hero-actions .btn {
  min-height: 54px;
  padding-inline: 27px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 650;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.hero-side {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 25px 0;
}

.hero-sticker {
  position: absolute;
  top: -1px;
  left: max(8px, calc(50% - 230px));
  z-index: 3;
  display: flex;
  width: 102px;
  height: 102px;
  align-items: center;
  justify-content: center;
  padding: 17px;
  color: var(--ink);
  background: var(--amber);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
  text-align: center;
  transform: rotate(-11deg);
  box-shadow: 5px 7px 0 rgba(29, 26, 21, 0.12);
}

.receipt {
  position: relative;
  width: min(100%, 404px);
  padding: 27px 27px 23px;
  background:
    linear-gradient(rgba(255, 253, 248, 0.94), rgba(255, 253, 248, 0.94)),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(92, 73, 43, 0.08) 31px 32px);
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  box-shadow: var(--shadow);
  transform: rotate(1.6deg);
}

.receipt::before,
.receipt::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 54px;
  height: 22px;
  background: rgba(226, 163, 60, 0.72);
  transform: rotate(-7deg);
}

.receipt::before {
  left: -8px;
}

.receipt::after {
  right: -9px;
  transform: rotate(8deg);
}

.receipt-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 19px;
  border-bottom: 2px solid var(--ink);
}

.receipt-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.receipt-brand img {
  width: 37px;
  height: 37px;
}

.receipt-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

.receipt-brand small {
  display: block;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
}

.receipt-number {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  text-align: right;
}

.receipt-number strong {
  display: block;
  color: var(--red-deep);
  font-size: 13px;
}

.receipt-title {
  margin: 20px 0 16px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.receipt-lines {
  display: grid;
  gap: 11px;
}

.receipt-line {
  display: grid;
  align-items: baseline;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  font-size: 13px;
}

.receipt-line .name {
  overflow: hidden;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.receipt-line .dots {
  min-width: 12px;
  height: 1px;
  background-image: linear-gradient(90deg, var(--line-strong) 50%, transparent 50%);
  background-size: 6px 1px;
}

.receipt-line .price {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 900;
  white-space: nowrap;
}

.receipt-line .price small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
}

.receipt-rule {
  height: 1px;
  margin: 19px 0;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 5px, transparent 5px 10px);
}

.receipt-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--amber-soft);
  border-radius: 8px;
}

.receipt-callout span {
  font-size: 11px;
  font-weight: 800;
  line-height: 1.5;
}

.receipt-callout strong {
  color: var(--red-deep);
  font-family: var(--serif);
  font-size: 20px;
  white-space: nowrap;
}

.receipt-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.receipt-bottom p {
  max-width: 190px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.6;
}

.stamp {
  display: grid;
  width: 76px;
  height: 76px;
  flex: none;
  place-items: center;
  color: var(--red);
  border: 2px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-align: center;
  transform: rotate(-9deg);
  opacity: 0.86;
  box-shadow: inset 0 0 0 3px var(--card), inset 0 0 0 4px currentColor;
}

.receipt-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px dashed var(--line-strong);
  font-size: 11.5px;
  font-weight: 750;
}

.receipt-cta a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--red-deep);
}

.receipt-cta a:hover {
  gap: 9px;
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  overflow: hidden;
  padding: 12px 0;
  color: var(--ink);
  background: var(--amber);
  border-top: 1px solid rgba(29, 26, 21, 0.16);
  border-bottom: 1px solid rgba(29, 26, 21, 0.16);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 42s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  flex: none;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 850;
  letter-spacing: 0.06em;
  white-space: nowrap;
  text-transform: uppercase;
}

.ticker-group span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.ticker-group .sep {
  width: 6px;
  height: 6px;
  background: var(--red-deep);
  border-radius: 50%;
  transform: rotate(45deg);
  border-radius: 0;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  position: relative;
  padding: 96px 0;
}

.section-tint {
  background: rgba(233, 223, 206, 0.54);
  border-top: 1px solid rgba(201, 189, 169, 0.38);
  border-bottom: 1px solid rgba(201, 189, 169, 0.38);
}

.section-dark {
  color: var(--paper-light);
  background: var(--ink);
}

.section-head {
  max-width: 680px;
  margin-bottom: 46px;
}

.section-head.is-split {
  display: flex;
  max-width: none;
  align-items: flex-end;
  justify-content: space-between;
  gap: 38px;
}

.section-head h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 54px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.section-head h2 em {
  color: var(--red);
  font-style: normal;
}

.section-head p {
  max-width: 560px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.section-dark .section-head p {
  color: rgba(251, 248, 241, 0.6);
}

.section-head.is-split > p {
  max-width: 360px;
  margin-top: 0;
  padding-bottom: 5px;
  text-align: right;
}

.section-link {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 7px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.section-link:hover {
  color: var(--red-deep);
  border-color: var(--red);
}

/* Reveal */

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 0.08s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.16s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.24s;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-layout {
  display: grid;
  align-items: stretch;
  gap: 22px;
  grid-template-columns: 1fr 1fr;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.price-card.is-featured {
  color: var(--paper-light);
  background:
    radial-gradient(circle at 88% 0%, rgba(207, 74, 50, 0.32), transparent 34%),
    var(--ink);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}

.price-card-badge {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 6px 11px;
  color: var(--ink);
  background: var(--amber);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.price-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--line);
}

.price-card.is-featured .price-card-top {
  border-color: rgba(251, 248, 241, 0.15);
}

.price-kicker {
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.price-card.is-featured .price-kicker {
  color: rgba(251, 248, 241, 0.55);
}

.price-card h3 {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.price-from {
  text-align: right;
}

.price-from strong {
  display: block;
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-from span {
  color: var(--muted);
  font-size: 10px;
}

.price-card.is-featured .price-from span {
  color: rgba(251, 248, 241, 0.55);
}

.price-table {
  display: grid;
  gap: 0;
  margin-top: 9px;
}

.price-row {
  display: grid;
  align-items: center;
  gap: 10px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(221, 211, 194, 0.7);
  grid-template-columns: minmax(0, 1.35fr) repeat(2, minmax(0, 0.68fr));
}

.price-card.is-featured .price-row {
  border-color: rgba(251, 248, 241, 0.1);
}

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

.price-row.is-head {
  padding: 12px 0 7px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.price-card.is-featured .price-row.is-head {
  color: rgba(251, 248, 241, 0.46);
}

.price-row.is-head span:not(:first-child) {
  text-align: center;
}

.price-service {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  font-weight: 750;
}

.price-dot {
  width: 8px;
  height: 8px;
  flex: none;
  background: var(--red);
  border-radius: 50%;
}

.price-dot.half {
  background: var(--amber);
}

.price-dot.full {
  background: linear-gradient(135deg, var(--red) 50%, var(--amber) 50%);
}

.price-card.is-featured .price-dot {
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.price-value {
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.price-value small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
}

.price-card.is-featured .price-value small {
  color: rgba(251, 248, 241, 0.45);
}

.price-card-foot {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: auto;
  padding-top: 22px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.65;
}

.price-card.is-featured .price-card-foot {
  color: rgba(251, 248, 241, 0.55);
}

.price-card-foot .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--amber);
}

.price-belt {
  display: grid;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  padding: 20px 24px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.price-belt-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 50%;
}

.price-belt-icon .icon {
  width: 21px;
  height: 21px;
}

.price-belt strong {
  display: block;
  font-size: 14px;
}

.price-belt p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
}

.price-belt-price {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 900;
  white-space: nowrap;
}

.price-belt-price small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

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

.service-card {
  position: relative;
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

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

.service-card:nth-child(2) {
  background: var(--ink);
  color: var(--paper-light);
  border-color: var(--ink);
}

.service-card:nth-child(3) {
  background: var(--red-soft);
  border-color: transparent;
}

.service-icon {
  display: grid;
  width: 51px;
  height: 51px;
  place-items: center;
  color: var(--red-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 15px;
}

.service-card:nth-child(2) .service-icon {
  color: var(--amber);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
}

.service-icon .icon {
  width: 23px;
  height: 23px;
}

.service-card h3 {
  margin-top: 31px;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.service-card p {
  max-width: 280px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.75;
}

.service-card:nth-child(2) p {
  color: rgba(251, 248, 241, 0.58);
}

.service-card:nth-child(3) p {
  color: #7e5b50;
}

.service-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 750;
  letter-spacing: 0.04em;
}

.service-card:nth-child(2) .service-foot {
  color: rgba(251, 248, 241, 0.45);
  border-color: rgba(255, 255, 255, 0.1);
}

.service-card:nth-child(3) .service-foot {
  color: #8a5f52;
  border-color: rgba(167, 54, 33, 0.16);
}

.service-foot .icon {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */

.process-grid {
  display: grid;
  gap: 0;
  margin-top: 12px;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(251, 248, 241, 0.16);
}

.process-step {
  position: relative;
  padding: 30px 28px 12px 0;
  border-right: 1px solid rgba(251, 248, 241, 0.12);
}

.process-step:last-child {
  border-right: 0;
  padding-right: 0;
}

.process-step:not(:first-child) {
  padding-left: 28px;
}

.process-number {
  color: rgba(251, 248, 241, 0.22);
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

.process-icon {
  display: grid;
  width: 39px;
  height: 39px;
  margin: 19px 0 17px;
  place-items: center;
  color: var(--amber);
  border: 1px solid rgba(226, 163, 60, 0.3);
  border-radius: 50%;
}

.process-icon .icon {
  width: 17px;
  height: 17px;
}

.process-step h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
}

.process-step p {
  margin-top: 8px;
  color: rgba(251, 248, 241, 0.55);
  font-size: 11.5px;
  line-height: 1.75;
}

.process-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding: 15px 18px;
  color: rgba(251, 248, 241, 0.72);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-size: 11.5px;
}

.process-note .icon {
  color: var(--amber);
}

/* --------------------------------------------------------------------------
   Notice board
   -------------------------------------------------------------------------- */

.notice-layout {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.notice-paper {
  position: relative;
  padding: 33px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(207, 74, 50, 0.97), rgba(167, 54, 33, 0.99));
  border-radius: var(--radius);
  color: #fff4e8;
  box-shadow: var(--shadow);
  transform: rotate(-0.6deg);
}

.notice-paper::after {
  content: "!";
  position: absolute;
  right: 17px;
  bottom: -50px;
  color: rgba(255, 255, 255, 0.07);
  font-family: var(--serif);
  font-size: 230px;
  font-weight: 900;
  line-height: 1;
}

.notice-paper .eyebrow {
  color: var(--amber-soft);
}

.notice-paper .eyebrow::before {
  background: var(--amber-soft);
}

.notice-paper h2 {
  max-width: 380px;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: clamp(31px, 3.5vw, 45px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.notice-paper > p {
  max-width: 350px;
  margin-top: 14px;
  color: rgba(255, 244, 232, 0.7);
  font-size: 12.5px;
  line-height: 1.8;
}

.pay-card {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  padding: 17px;
  background: rgba(29, 26, 21, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
}

.pay-card-label {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 244, 232, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pay-card-label .icon {
  width: 13px;
  height: 13px;
}

.pay-id-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.pay-id {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pay-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  color: var(--ink);
  background: var(--amber-soft);
  border: 0;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
}

.pay-copy:hover {
  background: #fff;
}

.pay-copy .icon {
  width: 13px;
  height: 13px;
}

.notice-rules {
  display: grid;
  gap: 11px;
}

.rule-row {
  display: grid;
  align-items: start;
  gap: 15px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  grid-template-columns: 34px minmax(0, 1fr);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s;
}

.rule-row:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
}

.rule-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 50%;
}

.rule-icon .icon {
  width: 15px;
  height: 15px;
}

.rule-row h3 {
  font-size: 13.5px;
  font-weight: 850;
}

.rule-row p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.75;
}

.rule-row strong {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.faq-layout {
  display: grid;
  align-items: start;
  gap: 48px;
  grid-template-columns: 0.8fr 1.2fr;
}

.faq-aside {
  position: sticky;
  top: 120px;
}

.faq-aside h2 {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(35px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.faq-aside p {
  max-width: 300px;
  margin-top: 15px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.faq-contact {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 12px 17px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
}

.faq-contact .icon {
  color: var(--green);
}

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

.faq-item {
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 19px 22px;
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 800;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary .icon {
  transform: rotate(180deg);
  color: var(--red-deep);
}

.faq-answer {
  padding: 0 22px 21px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.85;
}

.faq-answer strong {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   CTA + Footer
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(circle at 88% 18%, rgba(226, 163, 60, 0.18), transparent 28%),
    var(--ink);
  color: var(--paper-light);
}

.cta-band::before {
  content: "鸡";
  position: absolute;
  top: 50%;
  right: 4%;
  color: rgba(255, 255, 255, 0.035);
  font-family: var(--serif);
  font-size: 440px;
  font-weight: 900;
  line-height: 0.8;
  transform: translateY(-50%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cta-inner h2 {
  max-width: 700px;
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.cta-inner h2 em {
  color: var(--amber);
  font-style: normal;
}

.cta-inner p {
  max-width: 480px;
  margin-top: 18px;
  color: rgba(251, 248, 241, 0.58);
  font-size: 14px;
}

.cta-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer {
  padding: 54px 0 30px;
  background: #12100d;
  color: rgba(251, 248, 241, 0.62);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.footer-brand img {
  width: 45px;
  height: 45px;
}

.footer-brand strong {
  display: block;
  color: var(--paper-light);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.footer-brand span {
  display: block;
  margin-top: 3px;
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  font-size: 12px;
  font-weight: 650;
}

.footer-links a:hover {
  color: var(--paper-light);
}

.footer-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 26px;
  padding-top: 22px;
  font-size: 10.5px;
  line-height: 1.8;
}

.footer-bottom p {
  max-width: 610px;
}

.footer-meta {
  flex: none;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  text-align: right;
}

/* --------------------------------------------------------------------------
   Auth page
   -------------------------------------------------------------------------- */

.auth-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(360px, 0.92fr) minmax(480px, 1.08fr);
}

.auth-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 36px 54px 44px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 70% 12%, rgba(226, 163, 60, 0.16), transparent 30%),
    radial-gradient(circle at 12% 80%, rgba(207, 74, 50, 0.2), transparent 30%),
    var(--ink);
}

.auth-aside::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 580px;
  height: 580px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  box-shadow:
    0 0 0 80px rgba(255, 255, 255, 0.018),
    0 0 0 160px rgba(255, 255, 255, 0.012);
  transform: translate(-50%, -50%);
}

.auth-aside > * {
  position: relative;
  z-index: 1;
}

.auth-aside .brand {
  align-self: flex-start;
}

.auth-aside .brand-name {
  color: var(--paper-light);
}

.auth-aside .brand-sub {
  color: rgba(251, 248, 241, 0.4);
}

.auth-quote {
  max-width: 470px;
  padding: 50px 0;
}

.auth-quote .eyebrow {
  color: var(--amber);
}

.auth-quote .eyebrow::before {
  background: var(--amber);
}

.auth-quote h1 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(40px, 4.6vw, 66px);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1.06;
}

.auth-quote h1 em {
  color: var(--amber);
  font-style: normal;
}

.auth-quote p {
  max-width: 390px;
  margin-top: 22px;
  color: rgba(251, 248, 241, 0.6);
  font-size: 13.5px;
  line-height: 1.85;
}

.auth-ticket {
  width: min(100%, 370px);
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  backdrop-filter: blur(5px);
}

.auth-ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.auth-ticket-top span:last-child {
  color: var(--green-soft);
}

.auth-ticket-price {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-top: 13px;
}

.auth-ticket-price strong {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
}

.auth-ticket-price span {
  color: rgba(251, 248, 241, 0.46);
  font-size: 10.5px;
}

.auth-aside-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(251, 248, 241, 0.4);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.auth-aside-foot a {
  color: rgba(251, 248, 241, 0.65);
}

.auth-aside-foot a:hover {
  color: var(--amber);
}

.auth-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 42px;
  background: var(--paper);
}

.auth-panel {
  width: min(100%, 448px);
}

.auth-mobile-brand {
  display: none;
}

.auth-panel-head .eyebrow {
  margin-bottom: 13px;
}

.auth-panel-head h2 {
  font-family: var(--serif);
  font-size: clamp(33px, 3.5vw, 44px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.auth-panel-head p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.auth-tabs {
  display: grid;
  gap: 4px;
  margin-top: 28px;
  padding: 5px;
  background: var(--paper-deep);
  border-radius: 999px;
  grid-template-columns: 1fr 1fr;
}

.auth-tab {
  padding: 10px 16px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 800;
  transition:
    background-color 0.2s,
    color 0.2s,
    box-shadow 0.2s;
}

.auth-tab.is-active {
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 4px 14px rgba(50, 39, 23, 0.09);
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 27px;
}

.auth-form[hidden] {
  display: none;
}

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

.field-row {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.field label,
.field-label {
  color: var(--ink-soft);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.field label .optional {
  color: var(--muted);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 49px;
  padding: 12px 15px;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  outline: 0;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    background-color 0.2s;
}

.field textarea {
  min-height: 104px;
  resize: vertical;
  line-height: 1.7;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #a49a8a;
}

.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--line-strong);
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  background: #fff;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(207, 74, 50, 0.11);
}

.field-hint {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: var(--ink);
  background: var(--paper);
}

.password-toggle .icon {
  width: 17px;
  height: 17px;
}

.form-error {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 11px 13px;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.6;
}

.form-error .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
}

.auth-submit {
  min-height: 54px;
  margin-top: 4px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 23px 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.auth-note {
  padding: 14px 16px;
  color: var(--muted);
  background: rgba(255, 253, 248, 0.62);
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 10.5px;
  line-height: 1.75;
}

.auth-note strong {
  color: var(--ink-soft);
}

.auth-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 650;
}

.auth-back:hover {
  color: var(--red-deep);
}

.auth-back .icon {
  width: 15px;
  height: 15px;
  transform: rotate(180deg);
}

/* --------------------------------------------------------------------------
   App shell (customer + admin)
   -------------------------------------------------------------------------- */

.app-page {
  min-height: 100vh;
  background: transparent;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 239, 228, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

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

.app-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.app-nav a {
  padding: 8px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 750;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.app-nav a:hover,
.app-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 253, 248, 0.82);
}

.app-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-user-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
  text-align: right;
}

.app-user-copy strong {
  font-size: 12px;
}

.app-user-copy span {
  color: var(--muted);
  font-size: 9.5px;
}

.icon-button {
  display: inline-grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.icon-button:hover {
  color: var(--red-deep);
  background: var(--card);
  border-color: var(--line-strong);
}

.icon-button .icon {
  width: 16px;
  height: 16px;
}

.app-main {
  padding: 43px 0 78px;
}

.app-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 28px;
}

.app-hero h1 {
  margin-top: 8px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 57px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1.1;
}

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

.app-hero p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 13px;
}

.app-hero-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: 10px;
}

.app-stats {
  display: grid;
  gap: 13px;
  margin-bottom: 26px;
  grid-template-columns: repeat(3, 1fr);
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 17px 19px;
  background: rgba(255, 253, 248, 0.68);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.mini-stat-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 11px;
}

.mini-stat-icon.is-green {
  color: var(--green);
  background: var(--green-soft);
}

.mini-stat-icon.is-amber {
  color: #7c5813;
  background: var(--amber-soft);
}

.mini-stat-icon .icon {
  width: 17px;
  height: 17px;
}

.mini-stat-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.mini-stat-copy span {
  color: var(--muted);
  font-size: 10px;
}

.panel {
  background: rgba(255, 253, 248, 0.75);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 23px;
  border-bottom: 1px solid var(--line);
}

.panel-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
  letter-spacing: -0.025em;
}

.panel-title .count {
  display: inline-grid;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  place-items: center;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 850;
}

.panel-tools {
  display: flex;
  align-items: center;
  gap: 9px;
}

.panel-body {
  padding: 23px;
}

/* Filters */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 750;
  transition:
    background-color 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.filter-button:hover {
  color: var(--ink);
  background: rgba(244, 239, 228, 0.8);
}

.filter-button.is-active {
  color: var(--ink);
  background: var(--card);
  border-color: var(--line-strong);
  box-shadow: 0 3px 9px rgba(50, 39, 23, 0.05);
}

.filter-button .filter-count {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
}

.filter-button.is-active .filter-count {
  color: var(--red-deep);
}

.search-box {
  position: relative;
  min-width: 220px;
}

.search-box .icon {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 15px;
  height: 15px;
  color: var(--muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  min-height: 38px;
  padding: 8px 12px 8px 34px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  outline: 0;
}

.search-box input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(207, 74, 50, 0.1);
}

/* --------------------------------------------------------------------------
   Customer order cards
   -------------------------------------------------------------------------- */

.order-list {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.order-card {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    transform 0.25s var(--ease);
}

.order-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 15px 35px rgba(50, 39, 23, 0.07);
  transform: translateY(-2px);
}

.order-card::before {
  content: "";
  position: absolute;
  top: 20px;
  bottom: 20px;
  left: 0;
  width: 3px;
  background: var(--line-strong);
  border-radius: 0 4px 4px 0;
}

.order-card.status-pending::before {
  background: var(--amber);
}

.order-card.status-processing::before {
  background: var(--blue);
}

.order-card.status-completed::before {
  background: var(--green);
}

.order-card.status-cancelled::before {
  background: var(--line-strong);
}

.order-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.order-file {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.file-badge {
  display: grid;
  width: 44px;
  height: 51px;
  flex: none;
  place-items: center;
  color: var(--red-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px 12px 12px 7px;
  font-family: var(--mono);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: inset 3px 0 0 var(--red-soft);
}

.file-badge.is-image {
  color: var(--green);
  box-shadow: inset 3px 0 0 var(--green-soft);
}

.file-copy {
  min-width: 0;
}

.file-copy h3 {
  overflow: hidden;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file-copy p {
  margin-top: 3px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.03em;
}

.order-amount {
  flex: none;
  text-align: right;
}

.order-amount small {
  display: block;
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.order-amount strong {
  display: block;
  margin-top: 1px;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.order-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid rgba(221, 211, 194, 0.75);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
}

.spec-chip.is-strong {
  color: var(--red-deep);
  background: var(--red-soft);
  border-color: transparent;
}

.spec-chip.is-ranges {
  max-width: 100%;
  white-space: normal;
  line-height: 1.4;
  text-align: left;
}

.order-note {
  padding: 9px 11px;
  color: var(--muted);
  background: rgba(244, 239, 228, 0.65);
  border-radius: 8px;
  font-size: 10.5px;
  line-height: 1.65;
}

.order-note strong {
  color: var(--ink-soft);
}

.order-note-delivery {
  color: var(--green);
  background: var(--green-soft);
}

.order-note-delivery strong {
  color: var(--green);
}

.order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 13px;
  border-top: 1px dashed var(--line);
}

.order-status {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 850;
  line-height: 1.4;
  white-space: nowrap;
}

.status-pill .icon {
  width: 12px;
  height: 12px;
}

.status-pending {
  color: #7c5813;
  background: var(--amber-soft);
}

.status-processing {
  color: var(--blue);
  background: var(--blue-soft);
}

.status-completed {
  color: var(--green);
  background: var(--green-soft);
}

.status-cancelled {
  color: var(--muted);
  background: var(--paper-deep);
}

.order-time {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.photo-thumb {
  display: flex;
  flex: none;
  align-items: center;
  gap: 9px;
  padding: 5px 9px 5px 5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 750;
}

.photo-thumb img {
  width: 29px;
  height: 29px;
  object-fit: cover;
  border-radius: 50%;
}

.photo-thumb:hover {
  border-color: var(--green);
}

.order-empty {
  display: grid;
  place-items: center;
  padding: 58px 25px 68px;
  text-align: center;
}

.empty-illustration {
  position: relative;
  width: 104px;
  height: 90px;
  margin-bottom: 23px;
}

.empty-sheet {
  position: absolute;
  width: 59px;
  height: 76px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  box-shadow: var(--shadow-sm);
}

.empty-sheet:nth-child(1) {
  top: 7px;
  left: 7px;
  transform: rotate(-9deg);
}

.empty-sheet:nth-child(2) {
  top: 1px;
  left: 23px;
  transform: rotate(3deg);
}

.empty-sheet:nth-child(3) {
  top: 9px;
  left: 39px;
  transform: rotate(10deg);
}

.empty-sheet::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 10px;
  left: 10px;
  height: 2px;
  background: var(--line);
  box-shadow:
    0 9px 0 var(--line),
    0 18px 0 var(--line),
    0 27px 0 var(--line);
}

.order-empty h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.order-empty p {
  max-width: 320px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 11.5px;
}

.order-empty .btn {
  margin-top: 22px;
}

/* Loading / empty */

.loading-block {
  display: grid;
  gap: 11px;
  padding: 22px;
}

.skeleton {
  height: 116px;
  background: linear-gradient(
    100deg,
    rgba(255, 253, 248, 0.55) 20%,
    rgba(255, 255, 255, 0.92) 42%,
    rgba(255, 253, 248, 0.55) 64%
  );
  background-size: 200% 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position-x: -200%;
  }
}

/* --------------------------------------------------------------------------
   Modal / sheet
   -------------------------------------------------------------------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(20, 17, 13, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayIn 0.2s ease-out;
}

@keyframes overlayIn {
  from {
    opacity: 0;
  }
}

.sheet {
  display: flex;
  max-height: min(94vh, 960px);
  flex-direction: column;
  width: min(970px, 100%);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 27px;
  box-shadow: var(--shadow-lg);
  animation: sheetIn 0.35s var(--ease);
}

@keyframes sheetIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.985);
  }
}

.sheet.is-small {
  width: min(540px, 100%);
}

.sheet-form {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
}

.sheet-head {
  display: flex;
  flex: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 27px 20px;
  border-bottom: 1px solid var(--line);
}

.sheet-head h2 {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.sheet-head p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
}

.sheet-close {
  display: grid;
  width: 35px;
  height: 35px;
  flex: none;
  place-items: center;
  color: var(--muted);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.sheet-close:hover {
  color: var(--red-deep);
  border-color: var(--line-strong);
}

.sheet-close .icon {
  width: 16px;
  height: 16px;
}

.sheet-body {
  overflow: auto;
  padding: 24px 27px;
}

.sheet-foot {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 27px;
  background: rgba(255, 253, 248, 0.75);
  border-top: 1px solid var(--line);
}

.sheet-foot-note {
  color: var(--muted);
  font-size: 10px;
}

.sheet-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.order-form-grid {
  display: grid;
  align-items: start;
  gap: 24px;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.88fr);
}

.form-section {
  display: grid;
  gap: 13px;
}

.form-section + .form-section {
  margin-top: 22px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.form-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-section-title span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.drop-zone {
  position: relative;
  display: grid;
  min-height: 142px;
  place-items: center;
  padding: 21px;
  text-align: center;
  background:
    linear-gradient(rgba(255, 253, 248, 0.82), rgba(255, 253, 248, 0.82)),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(207, 74, 50, 0.07) 8px 9px);
  border: 1.5px dashed var(--line-strong);
  border-radius: 15px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background-color 0.2s;
}

.drop-zone:hover,
.drop-zone.is-dragging {
  background: var(--card);
  border-color: var(--red);
}

.drop-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.drop-zone-icon {
  display: grid;
  width: 42px;
  height: 42px;
  margin: 0 auto 9px;
  place-items: center;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 50%;
}

.drop-zone-icon .icon {
  width: 19px;
  height: 19px;
}

.drop-zone strong {
  display: block;
  font-size: 12px;
}

.drop-zone p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.6;
}

.drop-zone.has-file {
  background: var(--card);
  border-style: solid;
  border-color: var(--green);
}

.file-selected {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.file-selected .file-badge {
  width: 40px;
  height: 46px;
}

.file-selected-copy {
  min-width: 0;
}

.file-selected-copy strong {
  display: block;
  overflow: hidden;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.file-selected-copy span {
  color: var(--muted);
  font-size: 9.5px;
}

.file-remove {
  margin-left: auto;
  padding: 5px 9px;
  color: var(--red-deep);
  background: var(--red-soft);
  border: 0;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 750;
}

.option-grid {
  display: grid;
  gap: 8px;
}

.option-grid.is-three {
  grid-template-columns: repeat(3, 1fr);
}

.option-grid.is-two {
  grid-template-columns: repeat(2, 1fr);
}

.option {
  position: relative;
  display: block;
}

.option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.option-body {
  display: flex;
  min-height: 62px;
  flex-direction: column;
  justify-content: center;
  padding: 10px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
  cursor: pointer;
  transition:
    border-color 0.18s,
    background-color 0.18s,
    box-shadow 0.18s;
}

.option-body strong {
  font-size: 12px;
  line-height: 1.3;
}

.option-body small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
  line-height: 1.4;
}

.option:hover .option-body {
  border-color: var(--line-strong);
}

.option input:checked + .option-body {
  background: var(--red-soft);
  border-color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.option input:checked + .option-body strong {
  color: var(--red-deep);
}

.option input:focus-visible + .option-body {
  outline: 3px solid rgba(207, 74, 50, 0.3);
  outline-offset: 2px;
}

.mini-fields {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.mini-field {
  display: grid;
  gap: 5px;
}

.mini-field label {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 750;
}

.mini-field input {
  width: 100%;
  min-height: 42px;
  padding: 8px 11px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12px;
  outline: 0;
}

.mini-field input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(207, 74, 50, 0.1);
}

.order-summary {
  position: sticky;
  top: 0;
  display: grid;
  gap: 14px;
  padding: 20px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 90% 6%, rgba(207, 74, 50, 0.35), transparent 33%),
    var(--ink);
  border-radius: 19px;
}

.order-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px dashed rgba(251, 248, 241, 0.18);
}

.order-summary-head span {
  color: rgba(251, 248, 241, 0.55);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.order-summary-head strong {
  color: var(--amber);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 700;
}

.estimate-price {
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.estimate-price .currency {
  color: var(--amber);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 800;
}

.estimate-price strong {
  font-family: var(--serif);
  font-size: 51px;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.estimate-price small {
  color: rgba(251, 248, 241, 0.45);
  font-size: 9px;
}

.estimate-note {
  min-height: 30px;
  color: rgba(251, 248, 241, 0.55);
  font-size: 9.5px;
  line-height: 1.65;
}

.estimate-rows {
  display: grid;
  gap: 7px;
  padding-top: 12px;
  border-top: 1px dashed rgba(251, 248, 241, 0.16);
}

.estimate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: rgba(251, 248, 241, 0.56);
  font-size: 9.5px;
}

.estimate-row strong {
  color: var(--paper-light);
  font-size: 10px;
  font-weight: 750;
}

.use-estimate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 12px;
  color: var(--ink);
  background: var(--amber);
  border: 0;
  border-radius: 9px;
  font-size: 9.5px;
  font-weight: 850;
}

.use-estimate:disabled {
  cursor: default;
  opacity: 0.4;
}

.amount-field {
  position: relative;
}

.amount-field .currency-prefix {
  position: absolute;
  top: 50%;
  left: 14px;
  z-index: 1;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 850;
  transform: translateY(-50%);
}

.amount-field input {
  min-height: 55px;
  padding-left: 36px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 900;
}

.form-helper {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.55;
}

.upload-doc-hint {
  margin-top: 8px;
}

.single-page-sides-hint {
  margin-top: 8px;
}

.option input:disabled + .option-body {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-helper .icon {
  width: 12px;
  height: 12px;
  margin-top: 1px;
  color: var(--amber);
}

/* Detail drawer */

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  justify-content: flex-end;
  background: rgba(20, 17, 13, 0.44);
  backdrop-filter: blur(3px);
}

.drawer {
  width: min(510px, 100%);
  height: 100%;
  overflow: auto;
  background: var(--paper);
  box-shadow: -30px 0 80px rgba(20, 17, 13, 0.2);
  animation: drawerIn 0.3s var(--ease);
}

@keyframes drawerIn {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}

.drawer-head {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  background: rgba(244, 239, 228, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.drawer-head h2 {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.drawer-head p {
  margin-top: 4px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
}

.drawer-body {
  display: grid;
  gap: 17px;
  padding: 21px 24px 30px;
}

.detail-block {
  padding: 17px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.detail-label {
  color: var(--muted);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.customer-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.customer-line .avatar {
  width: 38px;
  height: 38px;
  font-size: 16px;
}

.customer-line strong {
  display: block;
  font-size: 13px;
}

.customer-line span {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9.5px;
}

.detail-grid {
  display: grid;
  gap: 13px;
  margin-top: 12px;
  grid-template-columns: 1fr 1fr;
}

.detail-grid > div span {
  display: block;
  color: var(--muted);
  font-size: 9px;
}

.detail-grid > div strong {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 750;
  word-break: break-all;
}

.detail-file {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.detail-file .file-badge {
  width: 35px;
  height: 41px;
}

.detail-file-copy {
  min-width: 0;
  flex: 1;
}

.detail-file-copy strong {
  display: block;
  overflow: hidden;
  font-size: 11px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.detail-file-copy span {
  color: var(--muted);
  font-size: 9px;
}

.detail-note {
  margin-top: 9px;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: var(--paper);
  border-left: 2px solid var(--amber);
  border-radius: 0 8px 8px 0;
  font-size: 11px;
  line-height: 1.7;
}

.detail-note-delivery {
  color: var(--green);
  background: var(--green-soft);
  border-left-color: var(--green);
}

.detail-timeline {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.timeline-row {
  display: grid;
  align-items: start;
  gap: 11px;
  grid-template-columns: 16px 1fr;
}

.timeline-dot {
  width: 8px;
  height: 8px;
  margin-top: 5px;
  background: var(--line-strong);
  border-radius: 50%;
}

.timeline-row.is-done .timeline-dot {
  background: var(--green);
  box-shadow: 0 0 0 4px var(--green-soft);
}

.timeline-row.is-current .timeline-dot {
  background: var(--amber);
  box-shadow: 0 0 0 4px var(--amber-soft);
}

.timeline-row strong {
  display: block;
  font-size: 10.5px;
}

.timeline-row span {
  display: block;
  margin-top: 1px;
  color: var(--muted);
  font-size: 9px;
}

.completion-photo {
  display: block;
  width: 100%;
  margin-top: 11px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.completion-photo img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}

.completion-photo:hover img {
  transform: scale(1.025);
}

.detail-actions {
  display: grid;
  gap: 8px;
}

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

/* Upload completion */

.complete-preview {
  display: grid;
  width: 100%;
  min-height: 200px;
  place-items: center;
  overflow: hidden;
  background: var(--card);
  border: 1.5px dashed var(--line-strong);
  border-radius: 15px;
}

.complete-preview img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
}

.complete-preview-placeholder {
  padding: 30px;
  text-align: center;
}

.complete-preview-placeholder .icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  color: var(--muted);
}

.complete-preview-placeholder strong {
  display: block;
  font-size: 12px;
}

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

.photo-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}

.photo-action {
  position: relative;
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 10.5px;
  font-weight: 750;
  cursor: pointer;
}

.photo-action:hover {
  border-color: var(--line-strong);
}

.photo-action input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.photo-action .icon {
  width: 15px;
  height: 15px;
  color: var(--red-deep);
}

.complete-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 13px 15px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 11px;
}

.complete-summary strong {
  display: block;
  font-size: 12px;
}

.complete-summary span {
  color: var(--muted);
  font-size: 9.5px;
}

.complete-summary .amount {
  flex: none;
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(10, 9, 7, 0.9);
  animation: overlayIn 0.2s;
}

.lightbox img {
  max-width: min(100%, 1000px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --------------------------------------------------------------------------
   Admin
   -------------------------------------------------------------------------- */

.admin-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 25px;
}

.admin-hero h1 {
  margin-top: 7px;
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.admin-hero h1 em {
  color: var(--red);
  font-style: normal;
  white-space: nowrap;
}

.admin-hero p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12.5px;
}

.admin-hero-side {
  display: flex;
  flex: none;
  align-items: center;
  gap: 10px;
}

.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 14px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
}

.date-chip .icon {
  width: 14px;
  height: 14px;
  color: var(--red-deep);
}

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

.stat-card {
  position: relative;
  padding: 20px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.stat-card.is-primary {
  color: var(--paper-light);
  background:
    radial-gradient(circle at 92% 0%, rgba(207, 74, 50, 0.4), transparent 35%),
    var(--ink);
  border-color: var(--ink);
}

.stat-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.stat-card.is-primary .stat-card-top {
  color: rgba(251, 248, 241, 0.53);
}

.stat-icon {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 9px;
}

.stat-card.is-primary .stat-icon {
  color: var(--amber);
  background: rgba(255, 255, 255, 0.08);
}

.stat-icon .icon {
  width: 15px;
  height: 15px;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 35px;
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
}

.stat-value .currency {
  font-size: 17px;
  font-weight: 800;
}

.stat-value small {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0;
}

.stat-card.is-primary .stat-value small {
  color: rgba(251, 248, 241, 0.45);
}

.stat-foot {
  margin-top: 10px;
  color: var(--muted);
  font-size: 9.5px;
}

.stat-card.is-primary .stat-foot {
  color: rgba(251, 248, 241, 0.52);
}

.admin-lower {
  display: grid;
  align-items: stretch;
  gap: 18px;
  margin-bottom: 22px;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
}

.chart-card {
  display: flex;
  flex-direction: column;
  padding: 21px 23px 17px;
}

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

.chart-head h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.chart-head p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 9.5px;
}

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

.chart-total strong {
  display: block;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.chart-total span {
  color: var(--muted);
  font-size: 8.5px;
}

.chart-bars {
  display: grid;
  flex: 1;
  height: auto;
  min-height: 140px;
  align-items: end;
  gap: 9px;
  grid-template-columns: repeat(7, 1fr);
}

.chart-column {
  display: grid;
  height: 100%;
  align-items: end;
  gap: 7px;
  grid-template-rows: 1fr auto;
}

.chart-bar-track {
  display: flex;
  height: 100%;
  align-items: flex-end;
  justify-content: center;
}

.chart-bar {
  width: min(31px, 70%);
  min-height: 3px;
  background: var(--paper-deep);
  border-radius: 6px 6px 2px 2px;
  transition:
    height 0.6s var(--ease),
    background-color 0.2s;
}

.chart-column.is-today .chart-bar {
  background: var(--red);
}

.chart-column:hover .chart-bar {
  background: var(--amber);
}

.chart-label {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
  text-align: center;
}

.chart-column.is-today .chart-label {
  color: var(--red-deep);
  font-weight: 800;
}

.quick-card {
  display: flex;
  flex-direction: column;
  padding: 21px 23px;
  color: var(--paper-light);
  background:
    radial-gradient(circle at 95% 8%, rgba(226, 163, 60, 0.18), transparent 30%),
    var(--ink);
  border-radius: var(--radius-md);
}

.quick-card h2 {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 900;
}

.quick-card > p {
  margin-top: 4px;
  color: rgba(251, 248, 241, 0.46);
  font-size: 9.5px;
}

.quick-rows {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.quick-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.quick-row span {
  color: rgba(251, 248, 241, 0.55);
  font-size: 10px;
}

.quick-row strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
}

.quick-tip {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: auto;
  padding-top: 17px;
  color: rgba(251, 248, 241, 0.43);
  font-size: 9px;
  line-height: 1.65;
}

.quick-tip .icon {
  width: 13px;
  height: 13px;
  color: var(--amber);
}

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

.orders-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
}

.orders-table th {
  padding: 11px 14px;
  color: var(--muted);
  background: rgba(244, 239, 228, 0.56);
  border-bottom: 1px solid var(--line);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.orders-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(221, 211, 194, 0.62);
  vertical-align: middle;
}

.orders-table tbody tr {
  cursor: pointer;
  transition: background-color 0.18s;
}

.orders-table tbody tr:hover {
  background: rgba(255, 253, 248, 0.7);
}

.orders-table tbody tr:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: -2px;
}

.orders-table tbody tr:last-child td {
  border-bottom: 0;
}

.table-order {
  display: flex;
  align-items: center;
  gap: 10px;
}

.table-order .file-badge {
  width: 32px;
  height: 38px;
  font-size: 7px;
}

.table-order strong {
  display: block;
  max-width: 190px;
  overflow: hidden;
  font-size: 10.5px;
  font-weight: 800;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.table-order span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 8px;
}

.table-customer strong {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
}

.table-customer span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8.5px;
}

.table-spec {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  max-width: 190px;
}

.table-spec .spec-chip {
  padding: 3px 7px;
  font-size: 8.5px;
}

.table-amount {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.table-actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.table-actions .icon-button {
  width: 31px;
  height: 31px;
}

.table-actions .icon-button .icon {
  width: 14px;
  height: 14px;
}

.table-delivery-note {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 230px;
}

.table-customer-note {
  max-width: 200px;
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.table-customer-note.is-empty {
  color: var(--muted);
}

.delivery-note-text {
  color: var(--ink-soft);
  font-size: 10.5px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.delivery-note-text.is-empty {
  color: var(--muted);
}

.note-action {
  flex: none;
  padding: 3px 9px;
  color: var(--red-deep);
  background: var(--red-soft);
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.note-action.is-ghost {
  color: var(--muted);
  background: transparent;
  border-color: var(--line);
}

.delivery-note-editor {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 280px;
}

.delivery-note-input {
  width: 150px;
  padding: 5px 8px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 10.5px;
}

.delivery-note-input:focus {
  border-color: var(--red);
  outline: none;
}

.table-empty {
  display: grid;
  place-items: center;
  min-height: 230px;
  padding: 40px;
  text-align: center;
}

.table-empty .icon {
  width: 34px;
  height: 34px;
  margin-bottom: 9px;
  color: var(--line-strong);
}

.table-empty strong {
  font-family: var(--serif);
  font-size: 18px;
}

.table-empty p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10.5px;
}

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: grid;
  gap: 8px;
  width: min(360px, calc(100vw - 40px));
  pointer-events: none;
}

.toast {
  display: grid;
  align-items: start;
  gap: 10px;
  padding: 12px 12px 12px 14px;
  color: var(--paper-light);
  background: rgba(29, 26, 21, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 13px;
  box-shadow: var(--shadow);
  grid-template-columns: 17px 1fr 24px;
  animation: toastIn 0.3s var(--ease);
  pointer-events: auto;
  backdrop-filter: blur(10px);
}

.toast > .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--amber);
}

.toast-success > .icon {
  color: #87c7a6;
}

.toast-error > .icon {
  color: #ff9b87;
}

.toast-copy {
  font-size: 10.5px;
  line-height: 1.6;
}

.toast-close {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  border: 0;
  border-radius: 50%;
}

.toast-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.toast-close .icon {
  width: 13px;
  height: 13px;
}

.toast-leaving {
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 30px;
  text-align: center;
}

.not-found-inner {
  max-width: 540px;
}

.not-found-inner .brand {
  justify-content: center;
  margin-bottom: 28px;
}

.not-found-code {
  color: var(--red);
  font-family: var(--serif);
  font-size: clamp(100px, 22vw, 210px);
  font-weight: 900;
  letter-spacing: -0.09em;
  line-height: 0.85;
}

.not-found h1 {
  margin-top: 12px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.not-found p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
}

.not-found-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .site-nav {
    gap: 20px;
  }

  .hero-grid {
    gap: 38px;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  }

  .hero h1 {
    font-size: clamp(50px, 6.2vw, 78px);
  }

  .service-grid {
    gap: 14px;
  }

  .process-step {
    padding-right: 20px;
  }

  .process-step:not(:first-child) {
    padding-left: 20px;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  .announce-inner {
    justify-content: center;
  }

  .announce-copy {
    justify-content: flex-start;
  }

  .announce-copy .icon {
    display: none;
  }

  .announce-scroll {
    flex: none;
    width: max-content;
    animation: announce-scroll 15s linear infinite;
  }

  .announce-copy .announce-scroll > span + span {
    display: inline;
  }

  .announce-scroll > span {
    padding-right: 56px;
  }

  .announce-inner > a {
    display: none;
  }

  .site-nav {
    display: none;
  }

  .mobile-toggle {
    display: grid;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    justify-content: flex-start;
    padding-top: 8px;
  }

  .receipt {
    width: min(100%, 440px);
  }

  .hero-sticker {
    left: auto;
    right: 12px;
  }

  .section-head.is-split {
    display: block;
  }

  .section-head.is-split > p {
    margin-top: 13px;
    padding-bottom: 0;
    text-align: left;
  }

  .section-link {
    margin-top: 16px;
  }

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

  .price-card.is-featured {
    order: 0;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 220px;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
  }

  .process-step {
    border-right: 0;
    border-bottom: 1px solid rgba(251, 248, 241, 0.12);
  }

  .process-step:nth-child(odd) {
    border-right: 1px solid rgba(251, 248, 241, 0.12);
  }

  .process-step:nth-child(3),
  .process-step:nth-child(4) {
    border-bottom: 0;
  }

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

  .notice-paper {
    transform: none;
  }

  .faq-layout {
    gap: 28px;
    grid-template-columns: 1fr;
  }

  .faq-aside {
    position: static;
  }

  .cta-inner {
    display: block;
  }

  .cta-actions {
    margin-top: 28px;
  }

  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-aside {
    display: none;
  }

  .auth-main {
    min-height: 100vh;
    padding: 38px 26px 50px;
  }

  .auth-mobile-brand {
    display: inline-flex;
    margin-bottom: 40px;
  }

  .admin-lower {
    grid-template-columns: 1fr;
  }

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

  .order-summary {
    position: static;
    order: -1;
  }
}

@media (max-width: 760px) {
  .container,
  .container.is-narrow {
    width: 100%;
    max-width: none;
    padding-inline: 16px;
  }

  .header-inner {
    min-height: 69px;
  }

  .brand-mark {
    width: 39px;
    height: 39px;
  }

  .brand-name {
    font-size: 17px;
  }

  .brand-sub {
    font-size: 7.5px;
  }

  .header-actions .btn {
    display: none;
  }

  .header-user-copy {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .hero {
    padding: 42px 0 46px;
  }

  .hero::before {
    right: -40%;
    width: 330px;
    height: 330px;
  }

  .hero::after {
    display: none;
  }

  .hero h1 {
    font-size: clamp(46px, 13.2vw, 67px);
    letter-spacing: -0.06em;
  }

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

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

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

  .hero-side {
    padding-top: 20px;
  }

  .hero-sticker {
    top: -10px;
    right: 0;
    width: 80px;
    height: 80px;
    padding: 11px;
    font-size: 9.5px;
  }

  .receipt {
    width: 100%;
    padding: 22px 20px 20px;
  }

  .receipt-line {
    font-size: 12px;
  }

  .receipt-line .price {
    font-size: 15px;
  }

  .receipt-bottom p {
    max-width: 155px;
  }

  .stamp {
    width: 64px;
    height: 64px;
    font-size: 9px;
  }

  .price-card {
    padding: 22px 20px;
  }

  .price-card h3 {
    font-size: 25px;
  }

  .price-from strong {
    font-size: 30px;
  }

  .price-row {
    padding: 13px 0;
    grid-template-columns: minmax(0, 1.25fr) repeat(2, minmax(0, 0.62fr));
  }

  .price-value {
    font-size: 19px;
  }

  .price-belt {
    grid-template-columns: auto 1fr;
  }

  .price-belt-price {
    grid-column: 2;
    font-size: 25px;
  }

  .process-step {
    padding: 25px 16px 25px 0;
  }

  .process-step:not(:first-child) {
    padding-left: 16px;
  }

  .process-number {
    font-size: 45px;
  }

  .process-step h3 {
    font-size: 17px;
  }

  .process-step p {
    font-size: 10px;
  }

  .notice-paper {
    padding: 26px 22px;
  }

  .rule-row {
    padding: 16px;
  }

  .faq-aside h2 {
    font-size: 34px;
  }

  .cta-band {
    padding: 65px 0;
  }

  .cta-inner h2 {
    font-size: clamp(35px, 9vw, 50px);
  }

  .cta-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

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

  .footer-top {
    display: block;
  }

  .footer-links {
    margin-top: 23px;
    gap: 17px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-meta {
    margin-top: 14px;
    text-align: left;
  }

  .app-header-inner {
    min-height: 67px;
  }

  .app-nav {
    display: none;
  }

  .app-main {
    padding: 29px 0 60px;
  }

  .app-hero {
    display: block;
    margin-bottom: 21px;
  }

  .app-hero h1 {
    font-size: 37px;
  }

  .app-hero-actions {
    margin-top: 17px;
  }

  .app-hero-actions .btn {
    flex: 1;
  }

  .app-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .mini-stat {
    padding: 13px 15px;
  }

  .panel-head {
    padding: 16px 17px;
  }

  .panel-title {
    font-size: 18px;
  }

  .order-list {
    padding: 12px;
  }

  .order-card {
    padding: 16px;
  }

  .order-card-main {
    gap: 10px;
  }

  .order-amount strong {
    font-size: 22px;
  }

  .order-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .order-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .order-actions .btn {
    flex: 1;
  }

  .filter-bar {
    display: block;
    padding: 13px;
  }

  .filter-group {
    gap: 3px;
    overflow-x: auto;
    padding-bottom: 9px;
    scrollbar-width: none;
  }

  .filter-group::-webkit-scrollbar {
    display: none;
  }

  .filter-button {
    flex: none;
    padding: 6px 10px;
    font-size: 10px;
  }

  .search-box {
    min-width: 0;
    margin-top: 5px;
  }

  .admin-hero {
    display: block;
  }

  .admin-hero h1 {
    font-size: 38px;
  }

  .admin-hero-side {
    margin-top: 15px;
  }

  .admin-stats {
    gap: 9px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 28px;
  }

  .stat-value .currency {
    font-size: 14px;
  }

  .chart-card {
    padding: 18px 17px 14px;
  }

  .chart-bars {
    flex: none;
    height: 115px;
    min-height: 115px;
    gap: 4px;
  }

  .quick-card {
    padding: 18px;
  }

  .orders-table thead {
    display: none;
  }

  .orders-table,
  .orders-table tbody,
  .orders-table tr,
  .orders-table td {
    display: block;
    width: 100%;
  }

  .orders-table tr {
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
  }

  .orders-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 5px 0;
    border: 0;
  }

  .orders-table td::before {
    content: attr(data-label);
    flex: none;
    color: var(--muted);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .orders-table td:first-child {
    padding-bottom: 9px;
  }

  .orders-table td:first-child::before,
  .orders-table td:last-child::before {
    display: none;
  }

  .orders-table td:last-child {
    padding-top: 10px;
  }

  .table-order,
  .table-customer {
    margin-left: auto;
    text-align: right;
  }

  .table-order strong {
    max-width: 215px;
  }

  .table-spec {
    max-width: 65%;
    justify-content: flex-end;
  }

  .table-delivery-note,
  .delivery-note-editor {
    max-width: 68%;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .table-customer-note {
    max-width: 65%;
    text-align: right;
  }

  .delivery-note-input {
    width: 120px;
  }

  .table-actions {
    width: 100%;
    justify-content: flex-end;
  }

  .sheet {
    max-height: 94vh;
    border-radius: 22px;
  }

  .sheet-head {
    padding: 19px 19px 16px;
  }

  .sheet-head h2 {
    font-size: 24px;
  }

  .sheet-body {
    padding: 18px 19px;
  }

  .sheet-foot {
    padding: 14px 19px;
  }

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

  .sheet-foot-actions {
    width: 100%;
  }

  .sheet-foot-actions .btn {
    flex: 1;
  }

  .overlay {
    align-items: end;
    padding: 0;
  }

  .sheet {
    width: 100%;
    max-height: 95vh;
    border-radius: 22px 22px 0 0;
  }

  .sheet.is-small {
    width: 100%;
  }

  .drawer {
    width: 100%;
  }

  .toast-stack {
    right: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
  }
}

@media (max-width: 480px) {
  .brand-copy .brand-sub {
    display: none;
  }

  .announce {
    font-size: 10.5px;
  }

  .announce-inner {
    min-height: 34px;
  }

  .hero-badge {
    margin-bottom: 20px;
    font-size: 10px;
  }

  .hero-trust {
    gap: 7px 14px;
    font-size: 10.5px;
  }

  .receipt-callout {
    display: block;
  }

  .receipt-callout strong {
    display: block;
    margin-top: 2px;
  }

  .price-row.is-head {
    font-size: 8px;
  }

  .price-service {
    gap: 7px;
    font-size: 12px;
  }

  .price-value {
    font-size: 17px;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-step,
  .process-step:not(:first-child) {
    padding: 21px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(251, 248, 241, 0.12);
  }

  .process-step:nth-child(3) {
    border-bottom: 1px solid rgba(251, 248, 241, 0.12);
  }

  .process-number {
    font-size: 40px;
  }

  .pay-id {
    font-size: 14px;
  }

  .auth-main {
    padding: 27px 18px 42px;
  }

  .auth-mobile-brand {
    margin-bottom: 30px;
  }

  .field-row,
  .mini-fields {
    grid-template-columns: 1fr;
  }

  .auth-panel-head h2 {
    font-size: 33px;
  }

  .option-grid.is-three {
    grid-template-columns: 1fr;
  }

  .option-grid.is-two {
    grid-template-columns: 1fr 1fr;
  }

  .option-body {
    min-height: 52px;
  }

  .photo-actions {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .sheet-foot {
    display: block;
  }

  .sheet-foot-note {
    margin-bottom: 10px;
  }

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

  .photo-thumb {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .announce-scroll {
    animation-duration: 15s !important;
    animation-iteration-count: infinite !important;
  }
}

/* ---------- Customer order wizard ---------- */
.order-sheet {
  width: min(820px, 100%);
}

.order-sheet [hidden] {
  display: none !important;
}

.order-steps {
  display: flex;
  flex: none;
  gap: 8px;
  padding: 13px 27px;
  background: rgba(255, 253, 248, 0.55);
  border-bottom: 1px solid var(--line);
}

.order-step {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  color: var(--muted);
  border-radius: 12px;
  transition:
    color 0.2s,
    background-color 0.2s;
}

.order-step.is-active {
  color: var(--ink);
  background: var(--card);
  box-shadow: 0 3px 14px rgba(41, 32, 20, 0.05);
}

.order-step.is-done {
  color: var(--green);
}

.order-step-num {
  display: grid;
  width: 25px;
  height: 25px;
  flex: none;
  place-items: center;
  font-family: var(--serif);
  font-size: 14px;
  font-weight: 900;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.order-step.is-active .order-step-num {
  color: var(--paper);
  background: var(--red);
  border-color: var(--red);
}

.order-step.is-done .order-step-num {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(47, 112, 88, 0.25);
}

.order-step-copy {
  display: grid;
  min-width: 0;
  gap: 1px;
}

.order-step-copy strong {
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.order-step-copy small {
  overflow: hidden;
  font-size: 8.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-sheet .sheet-body {
  padding: 22px 27px 24px;
}

.order-step-panel {
  display: block;
}

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

.type-card {
  position: relative;
  display: flex;
  min-height: 124px;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 16px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
}

.type-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.type-card.is-selected {
  background: linear-gradient(145deg, var(--red-soft), var(--card));
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(207, 74, 50, 0.1);
}

.type-card > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.type-card:focus-within {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.type-card-icon {
  display: grid;
  width: 40px;
  height: 40px;
  flex: none;
  place-items: center;
  color: var(--red-deep);
  background: var(--red-soft);
  border-radius: 11px;
}

.type-card-icon .icon {
  width: 19px;
  height: 19px;
}

.type-card-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.type-card-copy strong {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.type-card-copy > span {
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.45;
}

.type-card-copy small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.type-card-check {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: var(--paper);
  background: var(--red);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity 0.2s,
    transform 0.2s;
}

.type-card-check .icon {
  width: 12px;
  height: 12px;
}

.type-card.is-selected .type-card-check {
  opacity: 1;
  transform: scale(1);
}

.upload-block {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.upload-status {
  margin-top: 10px;
  padding: 9px 12px;
  color: var(--amber-deep);
  font-size: 10px;
  background: var(--amber-soft);
  border-radius: 9px;
}

.manual-pages {
  margin-top: 10px;
  padding: 12px 13px;
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
}

.manual-pages strong {
  display: block;
  font-size: 11px;
}

.manual-pages p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9.5px;
  line-height: 1.55;
}

.manual-pages-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.manual-pages-row input {
  flex: 1 1 140px;
  min-width: 0;
  padding: 9px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
}

.manual-pages-row .btn {
  flex: 1 1 auto;
  white-space: nowrap;
}

.manual-pages .form-error {
  margin-top: 8px;
}

.page-conflict {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(20, 17, 13, 0.62);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: overlayIn 0.2s ease-out;
}

.page-conflict-card {
  width: min(100%, 420px);
  padding: 24px;
  background: var(--card);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 80px rgba(50, 39, 23, 0.25);
}

.page-conflict-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 900;
}

.page-conflict-card p {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.page-conflict-card strong {
  color: var(--red-deep);
  font-size: 16px;
}

.page-conflict-card .page-conflict-hint {
  color: var(--muted);
  font-size: 10px;
}

.page-conflict-actions {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.page-detect {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 10px;
  padding: 11px 13px;
  background: var(--green-soft);
  border: 1px solid rgba(47, 112, 88, 0.18);
  border-radius: 11px;
}

.page-detect > .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  color: var(--green);
}

.page-detect strong {
  display: block;
  font-size: 11px;
}

.page-detect p {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.55;
}

.page-detect.is-warn {
  background: var(--amber-soft);
  border-color: rgba(226, 163, 60, 0.28);
}

.page-detect.is-warn > .icon {
  color: var(--amber-deep);
}

.color-sub {
  display: grid;
  gap: 10px;
  padding: 13px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.color-explain {
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.6;
}

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

.sides-grid {
  margin-bottom: 14px;
}

.sheet-form.is-mixed #plainSidesGroup {
  display: none !important;
}

.mixed-color {
  display: grid;
  gap: 10px;
  padding: 13px;
  background: linear-gradient(150deg, var(--amber-soft), var(--paper-deep));
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mixed-color[hidden] {
  display: none;
}

.mixed-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.mixed-defaults {
  display: flex;
  flex: none;
  gap: 7px;
}

.mixed-head strong {
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
}

.mixed-head p {
  max-width: 330px;
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.55;
}

.mixed-default {
  display: grid;
  flex: none;
  gap: 4px;
  color: var(--ink-soft);
  font-size: 8.5px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.mixed-default select {
  height: 34px;
  padding: 0 24px 0 9px;
  color: var(--ink);
  font: inherit;
  font-size: 10px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.color-range-list {
  display: grid;
  gap: 6px;
}

.color-range-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  padding: 7px 8px;
  color: var(--ink-soft);
  font-size: 9px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 9px;
}

.color-range-row .range-page-input {
  width: 58px;
  height: 32px;
  padding: 0 6px;
  color: var(--ink);
  font: inherit;
  font-size: 10px;
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.color-range-row .range-sides,
.color-range-row .range-color {
  flex: 1 1 130px;
  min-width: 96px;
  height: 32px;
  padding: 0 22px 0 8px;
  color: var(--ink);
  font: inherit;
  font-size: 9.5px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.color-range-row .range-sides {
  flex: 0 0 72px;
  min-width: 72px;
  padding-right: 16px;
}

.color-range-row .range-remove {
  display: grid;
  width: 30px;
  height: 32px;
  place-items: center;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.color-range-row .range-remove:hover {
  color: var(--red);
  background: var(--red-soft);
}

.color-range-row .range-remove .icon {
  width: 14px;
  height: 14px;
}

.range-add {
  justify-self: start;
  margin-top: 1px;
}

.mixed-note {
  color: var(--ink-soft);
  font-size: 8.5px;
  line-height: 1.6;
}

@media (max-width: 520px) {
  .mixed-head {
    display: grid;
    gap: 8px;
  }

  .mixed-default {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
  }

  .mixed-default select {
    width: 100%;
  }
}

.ppt-layout {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  background: var(--card);
  border: 1px solid rgba(226, 163, 60, 0.22);
  border-radius: 12px;
}

.ppt-layout-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 10px;
  color: var(--muted);
}

.ppt-layout-head strong {
  font-size: 10.5px;
  color: var(--ink);
}

.ppt-layout .form-helper {
  margin: 0;
}

.ppt-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 10px 12px;
  color: var(--amber-deep);
  font-size: 9.5px;
  line-height: 1.55;
  background: var(--amber-soft);
  border-radius: 10px;
}

.ppt-notice .icon {
  width: 15px;
  height: 15px;
  flex: none;
  margin-top: 1px;
}

.ppt-notice strong {
  color: var(--ink);
}

.photo-price-banner {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 15px;
  color: var(--ink);
  background: linear-gradient(145deg, var(--amber-soft), var(--card));
  border: 1px solid rgba(226, 163, 60, 0.22);
  border-radius: 14px;
}

.photo-price-icon {
  display: grid;
  width: 38px;
  height: 38px;
  flex: none;
  place-items: center;
  color: var(--amber-deep);
  background: rgba(255, 253, 248, 0.72);
  border-radius: 10px;
}

.photo-price-icon .icon {
  width: 18px;
  height: 18px;
}

.photo-price-banner strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 900;
}

.photo-price-banner p {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9.5px;
  line-height: 1.6;
}

.mini-fields.is-single {
  grid-template-columns: minmax(0, 180px);
}

.delivery-fields {
  padding: 14px;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.quote-card {
  margin-top: 22px;
  padding: 19px 20px;
  color: var(--paper);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(207, 74, 50, 0.22), transparent 55%),
    var(--ink);
  border-radius: 18px;
}

.quote-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(244, 239, 228, 0.58);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quote-head strong {
  color: var(--amber);
  font-size: 8.5px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.quote-amount {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin: 8px 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(244, 239, 228, 0.2);
}

.quote-amount .currency {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
}

.quote-amount strong {
  font-family: var(--serif);
  font-size: clamp(38px, 7vw, 54px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}

.quote-amount small {
  margin-left: auto;
  padding: 4px 8px;
  color: var(--amber);
  font-size: 8.5px;
  background: rgba(226, 163, 60, 0.12);
  border-radius: 999px;
}

.quote-rows {
  display: grid;
  gap: 7px;
}

.quote-rows div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 9.5px;
}

.quote-rows span {
  color: rgba(244, 239, 228, 0.52);
}

.quote-rows strong {
  font-weight: 700;
  text-align: right;
}

.quote-note {
  margin-top: 12px;
  color: rgba(244, 239, 228, 0.5);
  font-size: 8.5px;
  line-height: 1.55;
}

.order-sheet-foot {
  gap: 10px;
}

.order-sheet-foot .sheet-foot-note {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  color: var(--muted);
  font-size: 9.5px;
}

.order-sheet-foot .sheet-foot-note strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 900;
}

.order-sheet-foot .foot-divider {
  color: var(--line-strong);
}

.order-sheet-foot .sheet-foot-actions {
  margin-left: auto;
}

@media (max-width: 700px) {
  .order-sheet {
    max-height: 95vh;
  }

  .order-steps {
    gap: 4px;
    padding: 10px 19px;
  }

  .order-step {
    gap: 7px;
    padding: 6px;
  }

  .order-step-copy small {
    display: none;
  }

  .order-sheet .sheet-body {
    padding: 18px 19px 20px;
  }

  .type-grid {
    grid-template-columns: 1fr;
  }

  .type-card {
    min-height: 96px;
    padding: 14px;
  }

  .order-sheet-foot {
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
    padding: 12px 19px 14px;
  }

  .order-sheet-foot .sheet-foot-note {
    justify-content: space-between;
    font-size: 9px;
  }

  .order-sheet-foot .sheet-foot-actions {
    width: 100%;
    margin-left: 0;
  }

  .order-sheet-foot .sheet-foot-actions .btn {
    flex: 1;
  }

  .quote-card {
    padding: 17px;
  }
}

/* Admin: new order fields */
.spec-chip.is-warn {
  color: var(--amber-deep);
  background: var(--amber-soft);
  border-color: rgba(226, 163, 60, 0.26);
}

.spec-chip.is-delivery {
  color: var(--green);
  background: var(--green-soft);
  border-color: rgba(47, 112, 88, 0.2);
}

.delivery-alert {
  margin-top: 10px;
  padding: 9px 11px;
  color: var(--amber-deep);
  font-size: 9px;
  line-height: 1.55;
  background: var(--amber-soft);
  border-radius: 9px;
}

.detail-page-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
}

.detail-page-note .icon {
  width: 13px;
  height: 13px;
  flex: none;
  margin-top: 1px;
}

/* ==========================================================================
   支付步骤
   ========================================================================== */

.payment-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.payment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 2px;
}

.payment-head strong {
  font-size: 15px;
  font-weight: 850;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  color: var(--paper-light);
  background: var(--red);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.payment-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 10px 14px;
  background: var(--paper-light);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.payment-label {
  flex: none;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.payment-order-no {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.05em;
  word-break: break-all;
}

.payment-amount {
  flex: 1;
  color: var(--red-deep);
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 900;
}

.payment-wechat {
  flex: 1;
  min-width: 0;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 800;
  word-break: break-all;
}

.payment-copy {
  flex: none;
  padding: 7px 11px;
  color: var(--red-deep);
  background: var(--red-soft);
  border: 1px solid rgba(207, 74, 50, 0.25);
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 0.2s,
    border-color 0.2s;
}

.payment-copy:hover {
  background: #f8e4de;
  border-color: var(--red);
}

.payment-warning {
  margin: 0;
  padding: 12px 14px;
  color: var(--red-deep);
  background: var(--amber-soft);
  border: 1px solid rgba(226, 163, 60, 0.55);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
}

.payment-warning strong {
  display: block;
  font-size: 13px;
  font-weight: 900;
}

.payment-warning span {
  display: inline-block;
  margin-top: 2px;
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.payment-hint {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.payment-hint strong {
  color: var(--ink-soft);
}

.order-no-copy {
  margin-left: 4px;
  padding: 0;
  color: var(--red-deep);
  background: none;
  border: 0;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

@media (max-width: 700px) {
  .payment-row {
    flex-wrap: wrap;
  }

  .payment-order-no,
  .payment-amount,
  .payment-wechat {
    flex: 1 1 100%;
    order: 3;
  }

  .payment-copy {
    margin-left: auto;
  }
}

.wechat-upload-tip {
  margin: 12px 0 14px;
  padding: 13px 14px;
  color: var(--ink-soft);
  background: var(--amber-soft);
  border: 1px solid rgba(226, 163, 60, 0.55);
  border-radius: var(--radius-sm);
  font-size: 12px;
  line-height: 1.6;
}

.wechat-upload-tip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 900;
}

.wechat-upload-tip p {
  margin: 0 0 6px;
}

.wechat-upload-tip .btn-link {
  font-size: 11px;
  font-weight: 800;
}
