/* Wijaya Motor — adaptasi acuan untuk UI css.css.
   Token ada di style.css; class lama dipakai agar alur demo tetap kompatibel.
   Semua konten terlihat secara default, tanpa font/aset eksternal. */

/* Dasar dan tipografi */
.wm-site {
  min-width: 0;
  background: var(--wm-bg);
  color: var(--wm-ink);
  color-scheme: dark;
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
.wm-site ::selection { background: var(--wm-accent); color: var(--wm-on-accent); }
.wm-site :where(h1, h2, h3, h4, p, a, button) { overflow-wrap: anywhere; }
.wm-site :where(h1, h2, h3) { text-wrap: balance; }
.wm-site :where(button, input, select, textarea) { font-family: inherit; }
.wm-site :focus-visible { outline: 2px solid var(--wm-accent-hover); outline-offset: 4px; }
.wm-site .container {
  width: min(calc(100% - var(--wm-gutter) * 2), var(--wm-width));
  max-width: none;
  padding-inline: 0;
  margin-inline: auto;
}
.wm-site .eyebrow { color: var(--wm-accent-hover); letter-spacing: .15em; font-size: 11px; }
.wm-site .skip-link { background: var(--wm-ink); color: var(--wm-bg); }
.wm-site .skip-link:not(:focus) { clip-path: inset(50%); }
.wm-site .grid > *, .wm-site .form-row > *, .wm-site .checkout > * { min-width: 0; }
.wm-site .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wm-site .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Aksen kuat hanya untuk aksi utama. */
.wm-site .btn {
  min-height: 48px;
  border-width: 1px;
  border-radius: var(--wm-radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: normal;
  text-align: center;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}
.wm-site .btn-primary { background: var(--wm-accent); color: var(--wm-on-accent); }
.wm-site .btn-outline { background: transparent; border-color: var(--wm-line); color: var(--wm-ink); }
.wm-site .btn-ghost { color: var(--wm-sub); }
.wm-site .btn-sm { min-height: 44px; font-size: 13px; }
.wm-site .btn:disabled, .wm-site .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.wm-site .icon-btn { width: 44px; height: 44px; flex-shrink: 0; background: transparent; }
.wm-site .brand-mark { border-radius: 3px; background: var(--wm-accent); color: var(--wm-on-accent); flex-shrink: 0; }
.wm-site .icon-btn .count { background: var(--wm-accent); color: var(--wm-on-accent); }
.wm-site .badge { border-radius: 3px; padding: 5px 8px; letter-spacing: .015em; }
.wm-site .badge-blue { color: var(--wm-accent-ink); }

/* Header dan navigasi */
.wm-site .demo-banner { background: var(--wm-surface); color: var(--wm-sub); border-color: var(--wm-line); font-size: 11px; padding: 8px 0; }
.wm-site .demo-banner strong { color: var(--wm-ink); font-weight: 600; }
.wm-site .demo-banner .container { gap: 4px 20px; }
.wm-site .demo-banner a, .wm-site .demo-banner button { text-underline-offset: 3px; }
.wm-site .navbar { background: var(--wm-bg); }
.wm-site .brand { font-size: 17px; letter-spacing: -.025em; min-width: 0; }
.wm-site .brand > [data-site-text="brand"] { min-width: 0; overflow-wrap: anywhere; white-space: normal; }
.wm-site .navbar .brand { flex: 0 1 240px; }
.wm-site [data-site-text] { overflow-wrap: anywhere; }
.wm-site .brand-mark img { max-width: 100%; max-height: 100%; }
.wm-site .footer .container > * { min-width: 0; }
.wm-site .footer [data-site-text="brand"] { flex: 1; }
.wm-site .footer-bottom { overflow-wrap: anywhere; }
.wm-site .navbar .brand > [data-site-text="brand"] { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wm-site .brand span em { color: var(--wm-ink); }
.wm-site .nav-links { font-size: 13px; gap: 26px; color: var(--wm-sub); }
.wm-site .nav-links a { display: inline-flex; align-items: center; min-height: 44px; position: relative; }
.wm-site .nav-links a.active { color: var(--wm-ink); }
.wm-site .nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wm-accent); }
.wm-site .nav-actions > .btn { min-height: 44px; font-size: 12px; padding: 10px 16px; }

/* Hero tipografi, tanpa foto bengkel rekaan */
.wm-site .hero { background: var(--wm-bg); padding-block: clamp(48px, 7vw, 100px); border-bottom: 0; }
.wm-site .hero .container { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); }
.wm-hero-copy { min-width: 0; }
.wm-site .hero h1 { font-size: clamp(2.35rem, 5.6vw, 4.75rem); line-height: 1.07; font-weight: 800; letter-spacing: -.055em; margin-block: 20px 24px; }
.wm-site .hero h1 em { color: var(--wm-accent); }
.wm-site .hero p.lead { color: var(--wm-sub); font-size: clamp(1rem, 1.35vw, 1.125rem); max-width: 46ch; margin-bottom: 0; }
.wm-site .hero-actions { gap: 12px; margin-top: 30px; }
.wm-site .hero-actions .btn { gap: 24px; }
.wm-site .hero-caption { color: var(--wm-sub); font-size: 11px; margin-top: 22px; }
.wm-industrial-art {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  min-height: 400px;
  padding: 30px;
  border-left: 3px solid var(--wm-accent);
  background: var(--wm-surface);
  isolation: isolate;
  overflow: hidden;
}
.wm-art-top, .wm-art-bottom { display: flex; justify-content: space-between; gap: 12px; color: var(--wm-sub); font-size: 10px; letter-spacing: .12em; }
.wm-art-top > span:first-child { display: inline-flex; gap: 8px; align-items: center; }
.wm-dot { display: inline-block; width: 6px; height: 6px; flex-shrink: 0; background: var(--wm-accent); }
.wm-emblem { position: relative; z-index: 1; }
.wm-site .wm-emblem h2 { font-size: clamp(2.8rem, 4.5vw, 4.3rem); line-height: .97; letter-spacing: -.045em; font-weight: 800; }
.wm-emblem h2 > span, .contact-intro h3 > span { color: var(--wm-accent); }
.wm-art-label { display: block; color: var(--wm-sub); font-size: 10px; letter-spacing: .22em; margin-top: 18px; }
.wm-tool-art { position: absolute; z-index: -1; width: 180px; height: 180px; right: -28px; bottom: 44px; color: #515659; opacity: .55; transform: rotate(-12deg); }
.wm-art-bottom { border-top: 1px solid var(--wm-line); padding-top: 16px; align-items: center; }
.wm-art-bottom > span:last-child { font-size: 25px; color: var(--wm-accent); line-height: 1; }
.workshop-strip { border-block: 1px solid var(--wm-line); }
.workshop-strip .container { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.workshop-strip a { display: flex; align-items: center; gap: 18px; padding: 22px 24px; font-size: 13px; font-weight: 600; border-right: 1px solid var(--wm-line); }
.workshop-strip a:first-child { padding-left: 0; }
.workshop-strip a:last-child { border-right: 0; padding-right: 0; }
.workshop-strip a > span:first-child { font-size: 11px; color: var(--wm-accent-hover); font-family: ui-monospace, Consolas, monospace; }
.workshop-strip a > span:last-child { margin-left: auto; color: var(--wm-sub); }

/* Bagian halaman, layanan, dan katalog */
.wm-site .section { padding-block: clamp(44px, 6vw, 80px); }
.wm-site section[id] { scroll-margin-top: 100px; }
.wm-site .section-alt { background: #191c1e; }
.wm-site .section-head { gap: 16px 32px; margin-bottom: 32px; }
.wm-site .section-head h2 { font-size: clamp(1.55rem, 2.8vw, 2.5rem); line-height: 1.2; letter-spacing: -.035em; margin-top: 10px; }
.wm-site .section-head p { font-size: 14px; max-width: 64ch; margin-top: 12px; }
.wm-site .section-head > .btn { flex-shrink: 0; }
.wm-site .card { background: var(--wm-surface); box-shadow: none; }
.wm-site .service-card { padding: 28px; display: flex; flex-direction: column; }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 26px; }
.wm-site .service-card .icon { background: transparent; width: 28px; height: 28px; margin: 0; color: var(--wm-accent-hover); }
.service-number { font-family: ui-monospace, Consolas, monospace; color: var(--wm-sub); font-size: 12px; }
.wm-site .service-card h3 { font-size: 18px; margin-bottom: 10px; }
.wm-site .service-card p { font-size: 14px; margin-bottom: 24px; }
.wm-site .service-card .price { font-size: 13px; font-weight: 600; color: var(--wm-ink); padding-top: 16px; border-top: 1px solid var(--wm-line); margin-top: auto; }
.wm-site .product-card { transition: transform 220ms var(--wm-ease), border-color 220ms ease, box-shadow 220ms ease; }
.wm-site .product-thumb { aspect-ratio: 1; background: #24282b; color: #cecbc4; overflow: hidden; }
.wm-site .product-thumb .product-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.wm-site .product-photo-fallback { position: absolute; inset: 0; display: grid; place-items: center; }
.wm-site .product-thumb .badge { z-index: 1; }
.wm-site .product-thumb svg { width: 38%; height: 38%; max-width: 106px; }
.wm-site .product-thumb small { bottom: 12px; font-size: 10px; letter-spacing: .03em; }
.wm-site .product-body { padding: 20px; }
.wm-site .product-cat { text-transform: uppercase; font-size: 10px; letter-spacing: .12em; margin-bottom: 8px; }
.wm-site .product-name { font-size: 15px; font-weight: 600; line-height: 1.5; margin-bottom: 16px; }
.wm-site .product-availability { margin-block: 8px 12px; min-width: 0; }
.wm-site .product-availability .badge { max-width: 100%; white-space: normal; overflow-wrap: anywhere; font-size: 10px; }
.wm-site .product-estimate, .wm-site .product-order-status { display: block; margin-top: 6px; font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--wm-sub); white-space: normal; overflow-wrap: anywhere; }
.wm-site .product-details { min-width: 0; margin-bottom: 12px; font-size: 12px; overflow-wrap: anywhere; }
.wm-site .product-details summary { min-height: 44px; padding-block: 12px; cursor: pointer; color: var(--wm-accent-hover); }
.wm-site .product-description { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--wm-sub); margin-top: 4px; }
.wm-site .product-price { font-size: 18px; font-weight: 700; color: var(--wm-ink); font-variant-numeric: tabular-nums; }
.wm-site .product-stock { margin-block: 4px 18px; }
.wm-site .product-body .btn { font-size: 12px; }
.wm-site .product-card.out .product-thumb { opacity: .6; }
.wm-site .feature { padding-top: 20px; border-top: 1px solid var(--wm-line); gap: 12px; }
.wm-site .feature .icon { background: transparent; color: var(--wm-accent-hover); width: 26px; height: 26px; }
.wm-site .feature h4 { font-size: 14px; margin-bottom: 8px; }
.wm-site .feature p { font-size: 13px; }
.wm-site .page-head { padding-block: clamp(36px, 5vw, 64px); background: var(--wm-bg); }
.wm-site .page-head h1 { font-size: clamp(2rem, 4vw, 3.3rem); letter-spacing: -.045em; margin-top: 10px; }
.wm-site .page-head p { max-width: 68ch; font-size: 14px; margin-top: 14px; }
.wm-site .toolbar { gap: 16px; margin-bottom: 30px; align-items: flex-start; }
.wm-site .chips { gap: 8px; flex: 1 1 540px; min-width: 0; }
.wm-site .chip { min-height: 44px; max-width: 100%; overflow-wrap: anywhere; padding: 8px 13px; border-radius: var(--wm-radius); font-size: 12px; border-color: var(--wm-line); background: transparent; }
.wm-site .chip.active { color: var(--wm-ink); background: var(--wm-surface); border-color: var(--wm-accent); }
.wm-site .search { min-height: 46px; background: var(--wm-surface); border-color: var(--wm-line); flex: 1 1 240px; min-width: 0; }
.wm-site .search input { background: transparent; min-width: 0; font-size: 16px; }
.wm-site .search svg { flex-shrink: 0; }
.wm-site .search:focus-within { outline: 2px solid var(--wm-accent-hover); outline-offset: 3px; }
.wm-site input::placeholder, .wm-site textarea::placeholder { color: var(--wm-sub); opacity: 1; }

/* Antrian, formulir dan drawer tetap menggunakan kontrak UI lama */
.wm-site .queue-head { padding: 20px 24px; }
.wm-site .queue-head .live { font-size: 11px; }
.wm-site .queue-head .pulse { animation: none; background: var(--wm-accent); border-radius: 1px; width: 6px; height: 6px; }
.wm-site .queue-summary { background: var(--wm-bg); }
.wm-site .queue-summary div { padding: 20px 24px; }
.wm-site .queue-summary strong { font-size: 32px; color: var(--wm-ink); font-variant-numeric: tabular-nums; }
.wm-site .queue-summary span { font-size: 12px; }
.wm-site .queue-mechanics { padding: 20px 24px; border-bottom: 1px solid var(--wm-line); background: var(--wm-bg); }
.mechanic-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.mechanic-heading h4 { font-size: 14px; }
.mechanic-chips { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.mechanic-chips li { display: flex; align-items: center; gap: 10px; max-width: 100%; min-width: 0; padding: 8px 12px; background: var(--green-100); border: 1px solid #48694f; border-radius: var(--wm-radius); color: var(--green-600); font-size: 13px; }
.mechanic-chips strong { min-width: 0; overflow-wrap: anywhere; }
.mechanic-chips .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.mechanic-empty { margin-top: 14px; color: var(--wm-sub); font-size: 13px; }
.wm-site .mechanic-panel { margin-bottom: 24px; }
.mechanic-list { list-style: none; padding: 0; margin: 0; }
.mechanic-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--wm-line); }
.mechanic-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mechanic-info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; min-width: 0; flex: 1 1 160px; }
.mechanic-info strong { max-width: 100%; overflow-wrap: anywhere; font-size: 14px; }
.mechanic-actions, .mechanic-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mechanic-actions { min-width: 0; }
.wm-site .mechanic-actions .mini-btn { min-height: 44px; white-space: normal; }
.wm-site .mechanic-status [aria-pressed="true"] { background: var(--wm-surface-hover); border-color: var(--wm-sub); color: var(--wm-ink); }
.wm-site .mechanic-status [data-available="true"][aria-pressed="true"] { background: var(--green-100); border-color: #48694f; color: var(--green-600); }
.mechanic-error { color: var(--red-600); font-size: 13px; overflow-wrap: anywhere; }
.mechanic-error:not(:empty) { margin-top: 12px; }
@media (max-width: 640px) {
  .wm-site .queue-mechanics { padding: 16px; }
  .mechanic-actions { width: 100%; }
}
.wm-site .queue-table th { font-size: 10px; letter-spacing: .09em; background: var(--wm-surface); }
.wm-site .queue-table th, .wm-site .queue-table td { padding: 14px 24px; }
.wm-site .queue-table tr.working { background: #292622; }
.wm-site .queue-no { background: var(--wm-surface-hover); color: var(--wm-ink); border: 1px solid var(--wm-line); }
.wm-site .queue-table tr.working .queue-no { background: var(--yellow-100); color: var(--yellow-600); border-color: #665331; }
.wm-site .queue-table tr.done .queue-no { background: var(--wm-surface-hover); color: var(--wm-sub); }
.wm-site .queue-foot { padding: 14px 24px; font-size: 11px; }
.wm-site .stat { border-top: 2px solid var(--wm-line); }
.wm-site .stat.now { border-top-color: var(--wm-accent); }
.wm-site .stat strong { margin-top: 14px; }
.wm-site .input, .wm-site .select, .wm-site .textarea { background: var(--wm-bg); font-size: 16px; min-height: 48px; min-width: 0; border-color: var(--wm-line); }
.wm-site .input:focus, .wm-site .select:focus, .wm-site .textarea:focus { border-color: var(--wm-accent); box-shadow: 0 0 0 2px var(--blue-100); }
.wm-site .form-group label { font-size: 13px; }
.wm-site .radio-card { border-width: 1px; border-color: var(--wm-line); }
.wm-site .radio-card:has(input:checked) { border-color: var(--wm-accent); }
.wm-site .card-title { padding-bottom: 18px; border-bottom: 1px solid var(--wm-line); }
.wm-site .summary-total { gap: 14px; flex-wrap: wrap; }
.wm-site .summary-item > :first-child { min-width: 0; overflow-wrap: anywhere; }
.wm-site .summary-total span:last-child { color: var(--wm-ink); font-variant-numeric: tabular-nums; }
.wm-site .note { font-size: 12px; line-height: 1.7; }
.wm-site .success-box { background: var(--green-100); border-color: #48694f; color: var(--wm-ink); }
.wm-site .drawer { height: 100dvh; width: 400px; border-left: 1px solid var(--wm-line); box-shadow: var(--wm-shadow); }
.wm-site .drawer-backdrop { background: rgb(0 0 0 / 65%); }
.wm-site .drawer-head { padding: 22px 24px; }
.wm-site .drawer-body { padding-inline: 24px; }
.wm-site .drawer-foot { padding: 20px 24px max(20px, env(safe-area-inset-bottom)); }
.wm-site .cart-item { grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; padding-block: 20px; }
.wm-site .cart-item .thumb { width: 48px; height: 56px; display: grid; place-items: center; color: var(--wm-sub); }
.wm-site .cart-item .thumb svg { width: 34px; height: 34px; }
.wm-site .cart-item .name { font-size: 12px; line-height: 1.5; }
.wm-site .cart-item .price { font-size: 11px; margin-top: 5px; }
.wm-site .qty button { width: 32px; height: 44px; }
.wm-site .qty span { min-width: 22px; font-size: 12px; }
.wm-site .toast { background: var(--wm-ink); color: var(--wm-bg); box-shadow: var(--wm-shadow); font-size: 13px; }

/* Kontak dan footer */
.wm-site .location { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.contact-intro { padding: clamp(24px, 4vw, 40px); border-left: 3px solid var(--wm-accent); background: var(--wm-surface); display: flex; flex-direction: column; align-items: flex-start; }
.wm-site .contact-intro h3 { font-size: clamp(1.8rem, 3vw, 2.7rem); letter-spacing: -.04em; line-height: 1.15; margin-block: 22px; }
.contact-intro p { color: var(--wm-sub); font-size: 14px; max-width: 42ch; margin-bottom: 30px; }
.contact-note { font-size: 9px; letter-spacing: .08em; border-top: 1px solid var(--wm-line); padding-top: 18px; margin-top: auto; width: 100%; display: flex; align-items: center; gap: 12px; justify-content: space-between; color: var(--wm-sub); }
.contact-note > span { font-size: 22px; color: var(--wm-accent); }
.wm-site .info-list li { font-size: 14px; }
.wm-site .info-list li strong { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.wm-site .footer { background: var(--wm-bg); color: var(--wm-sub); border-top: 1px solid var(--wm-line); padding-block: 48px 24px; font-size: 13px; }
.wm-site .footer .brand, .wm-site .footer h4 { color: var(--wm-ink); }
.wm-site .footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.wm-site .footer p { max-width: 36ch; }
.wm-site .footer li a { display: inline-flex; min-height: 32px; align-items: center; }
.wm-site .footer-bottom { border-color: var(--wm-line); font-size: 11px; text-align: left; margin-top: 10px; }
.wm-site.wm-has-floating-contact { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
.wm-site .wa-float { right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); width: 48px; height: 48px; border-radius: var(--wm-radius); background: var(--wm-accent); color: var(--wm-on-accent); }
.wm-site .wa-float svg { width: 23px; height: 23px; }

/* Dashboard dan login: tenang, padat, kontras jelas */
.wm-site.admin { background: var(--wm-bg); }
.wm-site .sidebar { background: var(--wm-bg); padding: 26px 14px; }
.wm-site .sidebar .brand { font-size: 15px; padding-inline: 8px; }
.wm-site .sidebar-section { font-size: 10px; letter-spacing: .12em; padding-top: 28px; padding-bottom: 10px; }
.wm-site .side-link { min-height: 46px; font-size: 12px; border-left: 2px solid transparent; }
.wm-site .side-link.active { background: var(--wm-surface); color: var(--wm-ink); border-left-color: var(--wm-accent); }
.wm-site .side-link.active > span:first-child { color: var(--wm-accent-hover); }
.wm-site .side-link .pill { border-radius: 3px; background: var(--blue-100); color: var(--wm-accent-ink); }
.wm-site .avatar { border-radius: 3px; background: var(--wm-surface); color: var(--wm-ink); border: 1px solid var(--wm-line); }
.wm-site .topbar { background: var(--wm-bg); height: 76px; }
.wm-site .topbar h1 { font-size: 16px; font-weight: 600; }
.wm-site #adminContent { scroll-margin-top: 96px; }
.wm-site .content { padding: 28px; max-width: 1600px; margin-inline: auto; }
.wm-site .demo-notice { background: var(--wm-surface); color: var(--wm-sub); border-color: var(--wm-line); border-left: 2px solid var(--wm-accent); font-size: 11px; border-radius: 3px; }
.wm-site .view-heading h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); letter-spacing: -.035em; margin-block: 8px; }
.wm-site .view-heading p { font-size: 13px; }
.wm-site .stat-card { border-top: 2px solid var(--wm-line); padding: 20px; gap: 12px; }
.wm-site .stat-card:first-child { border-top-color: var(--wm-accent); }
.wm-site .stat-card .label, .wm-site .stat-card .delta { font-size: 11px; }
.wm-site .stat-card .value { font-variant-numeric: tabular-nums; }
.wm-site .panel-head { padding: 20px; }
.wm-site .panel-head h3 { font-size: 14px; }
.wm-site .table { font-size: 13px; }
.wm-site .table th { font-size: 10px; }
.wm-site .mini-btn { min-height: 36px; background: transparent; border-color: var(--wm-line); }
.wm-site .status-select { background: var(--wm-bg); color: var(--wm-ink); min-height: 40px; border-color: var(--wm-line); }
.wm-site .status-select.working { color: var(--yellow-600); }
.wm-site .status-select.done { color: var(--green-600); }
.wm-site .bar .fill { background: var(--wm-accent); border-radius: 2px 2px 0 0; }
.wm-site .bar .fill.modal { background: #6f777b; }
.wm-site .admin-dialog { border-color: var(--wm-line); box-shadow: var(--wm-shadow); }
.wm-site .admin-dialog::backdrop, .wm-site .side-backdrop { background: rgb(0 0 0 / 65%); }
.wm-site .admin-dialog .panel-head { position: sticky; top: 0; z-index: 1; background: var(--wm-surface); }
.wm-site .margin-preview { gap: 12px; flex-wrap: wrap; font-size: 12px; }
.wm-site .login-wrap { background: var(--wm-bg); padding: 24px 18px; }
.wm-site .login-card { max-width: 440px; padding: 38px; border-top: 3px solid var(--wm-accent); }
.wm-site .login-card .brand { justify-content: flex-start; margin-bottom: 36px; }
.wm-site .login-card h1 { font-size: 28px; text-align: left; letter-spacing: -.04em; margin-block: 12px; }
.wm-site .login-card p { text-align: left; font-size: 13px; }

@media (hover: hover) and (pointer: fine) {
  .wm-site .btn-primary:not(:disabled):not([aria-disabled="true"]):hover, .wm-site .wa-float:hover { background: var(--wm-accent-hover); }
  .wm-site .btn-outline:not(:disabled):not([aria-disabled="true"]):hover { background: var(--wm-surface-hover); border-color: var(--wm-sub); }
  .wm-site .btn-ghost:hover, .wm-site .icon-btn:hover { background: var(--wm-surface-hover); }
  .wm-site .nav-links a:hover, .wm-site .footer a:hover { color: var(--wm-ink); }
  .wm-site .chip:hover { background: var(--wm-surface-hover); border-color: var(--wm-sub); color: var(--wm-ink); }
  .wm-site .product-card:hover { transform: translateY(-3px); border-color: var(--wm-accent); box-shadow: var(--wm-shadow); }
  .workshop-strip a:hover { color: var(--wm-accent-hover); }
}

@media (max-width: 1000px) {
  .wm-site .nav-links { gap: 16px; font-size: 12px; }
  .wm-site .nav-actions > .btn { display: none; }
}
@media (max-width: 960px) {
  .wm-site .hero .container { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; }
  .wm-industrial-art { min-height: 340px; padding: 24px; }
  .wm-site .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wm-site .service-card { padding: 20px; }
  .wm-site .grid-3 { gap: 14px; }
  .wm-site .location { grid-template-columns: 1fr; }
  .workshop-strip a { padding-inline: 16px; font-size: 12px; gap: 10px; }
}
@media (max-width: 860px) {
  .wm-site .content { padding: 20px; }
  .wm-site .sidebar { height: 100dvh; }
  .wm-site .topbar { padding-inline: 20px; }
}
@media (max-width: 720px) {
  .wm-site .nav-links.open { background: var(--wm-bg); padding: 8px 18px; }
  .wm-site .nav-links.open a { padding: 12px; font-size: 14px; }
  .wm-site .nav-links a.active::after { display: none; }
  .wm-site .nav-links a.active { color: var(--wm-accent-hover); }
  .wm-site .navbar:not(.nav-ready) { height: auto; }
  .wm-site .navbar:not(.nav-ready) .container { flex-wrap: wrap; padding-block: 14px; }
  .wm-site .navbar:not(.nav-ready) .nav-links { display: flex; order: 3; width: 100%; flex-wrap: wrap; gap: 4px 16px; }
  .wm-site .navbar:not(.nav-ready) .nav-toggle { display: none; }
  .wm-site .section-head { align-items: flex-start; }
  .wm-site .section-head p { font-size: 13px; }
  .wm-site .product-body { padding: 16px; }
  .wm-site .queue-summary div { padding: 16px; }
  .wm-site .queue-summary strong { font-size: 26px; }
  .wm-site .queue-summary span { font-size: 11px; }
}
@media (max-width: 640px) {
  .wm-site { --nav-height: 72px; }
  .wm-site .brand { font-size: 16px; }
  .wm-site .hero .container { grid-template-columns: 1fr; gap: 32px; }
  .wm-site .hero h1 { font-size: clamp(2.65rem, 11vw, 4rem); }
  .wm-site .hero-actions .btn { gap: 14px; padding-inline: 16px; }
  .wm-industrial-art { min-height: 300px; gap: 28px; }
  .wm-site .wm-emblem h2 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .workshop-strip .container { grid-template-columns: 1fr; }
  .workshop-strip a, .workshop-strip a:first-child, .workshop-strip a:last-child { border-right: 0; padding: 16px 0; }
  .workshop-strip a + a { border-top: 1px solid var(--wm-line); }
  .wm-site .grid-3 { grid-template-columns: 1fr; }
  .wm-site .service-card { padding: 24px; }
  .service-top { margin-bottom: 20px; }
  .wm-site .grid-4 { gap: 12px; }
  .wm-site .product-body { padding: 12px; }
  .wm-site .product-name { font-size: 13px; margin-bottom: 12px; }
  .wm-site .product-price { font-size: 15px; }
  .wm-site .product-stock { font-size: 10px; margin-bottom: 12px; }
  .wm-site .product-body .btn { font-size: 11px; padding-inline: 5px; }
  .wm-site .product-thumb small { font-size: 8px; bottom: 8px; }
  .wm-site .product-thumb .badge { top: 8px; left: 8px; font-size: 9px; }
  .wm-site .feature { display: block; }
  .wm-site .feature .icon { margin-bottom: 14px; }
  .wm-site .feature h4 { font-size: 13px; }
  .wm-site .feature p { font-size: 12px; }
  .wm-site .queue-head, .wm-site .queue-foot { padding: 16px; }
  .wm-site .queue-table th, .wm-site .queue-table td { padding: 12px 16px; }
  .wm-site .queue-page-summary { gap: 12px; }
  .wm-site .stat { padding: 16px; }
  .wm-site .stat span { font-size: 11px; }
  .wm-site .card-body { padding: 20px; }
  .wm-site .content { padding: 16px; }
  .wm-site .stat-card { padding: 16px; }
  .wm-site .topbar { padding-inline: 16px; gap: 8px; }
  .wm-site .topbar h1 { font-size: 14px; }
  .wm-site .topbar .badge { font-size: 9px; }
  .wm-site .mini-btn { min-height: 44px; }
  .wm-site .login-card { padding: 26px; }
  .wm-site .login-card h1 { font-size: 26px; }
}
@media (max-width: 360px) {
  .wm-site .drawer-head, .wm-site .drawer-body, .wm-site .drawer-foot { padding-inline: 16px; }
  .wm-site .cart-item { grid-template-columns: 38px minmax(0, 1fr) auto; gap: 8px; }
  .wm-site .cart-item .thumb { width: 38px; }
  .wm-site .qty button { width: 28px; }
  .wm-site .qty span { min-width: 18px; }
  .wm-site .modal-foot { padding: 14px; }
  .wm-site .modal-foot .btn { padding-inline: 12px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wm-site *, .wm-site *::before, .wm-site *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .wm-site .product-card:hover { transform: none; }
}