/*===================================================================
  Terra Haul Global — premium theme
  Loaded after style.css. Layout/markup classes are prefixed "pm-";
  everything else restyles the existing template classes.
=====================================================================*/
:root {
  --pm-ink: #0C1424;
  --pm-ink-2: #152036;
  --pm-ivory: #F6F3EC;
  --pm-paper: #FFFFFF;
  --pm-line: #E4DFD3;
  --pm-line-soft: #EEEAE0;
  --pm-text: #1A2233;
  --pm-muted: #5C6475;
  --pm-brass: #C98A2B;
  --pm-brass-light: #E0B066;
  --pm-brass-deep: #8A5A12;
  --pm-brass-wash: #FBF1DF;
  --pm-radius: 16px;
  --pm-font: "Inter", system-ui, -apple-system, sans-serif;
  --pm-display: "Space Grotesk", "Inter", sans-serif;
}

/* ---------- Base ---------- */
body {
  background: var(--pm-ivory);
  color: var(--pm-muted);
  font-family: var(--pm-font);
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--pm-ink);
  font-family: var(--pm-display);
  font-weight: 600;
  letter-spacing: -0.01em;
}
p { color: var(--pm-muted); }
a { color: var(--pm-brass-deep); }
a:hover, a:focus, a:active { color: #5E3D0A; }
::selection { background: var(--pm-brass); color: var(--pm-ink); }

.pm-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.pm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 16px; font-size: 13px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--pm-brass-deep);
}
.pm-eyebrow-light { color: var(--pm-brass-light); }
.pm-eyebrow-light::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.pm-h2 {
  margin: 0; font-family: var(--pm-display); font-weight: 600;
  font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.02em; color: var(--pm-ink);
}
.pm-lead { font-size: 17px; line-height: 1.75; color: var(--pm-muted); margin: 0 0 16px; }
.pm-h2 + .pm-lead { margin-top: 28px; }

/* ---------- Buttons ---------- */
.btn-theme, .pm-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--pm-brass); border: 0; border-radius: 999px;
  color: var(--pm-ink); font-family: var(--pm-font); font-weight: 600; font-size: 15px;
  padding: 13px 24px; line-height: 1.2; text-decoration: none;
  transition: background .2s, color .2s, transform .2s;
}
.btn-theme:hover, .btn-theme:focus, .pm-btn:hover, .pm-btn:focus {
  background: var(--pm-brass-light); color: var(--pm-ink);
}
.btn-theme::before, .btn-theme::after { display: none; }
.pm-btn-dark { background: var(--pm-ink); color: var(--pm-ivory); }
.pm-btn-dark:hover, .pm-btn-dark:focus { background: var(--pm-ink-2); color: var(--pm-ivory); }
.pm-btn svg, .btn-theme svg { flex: 0 0 auto; }
.pm-link-arrow {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  font-weight: 600; font-size: 16px; color: var(--pm-ink);
  border-bottom: 2px solid var(--pm-brass); padding-bottom: 4px;
}
.pm-link-arrow:hover { color: var(--pm-brass-deep); }

/* ---------- Header ---------- */
.header-area.header-default {
  padding: 22px 0;
  border-bottom: 1px solid rgba(246,243,236,.14);
  transition: background .25s, padding .25s;
}
.header-area.header-default.sticky {
  background: rgba(12,20,36,.96);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  box-shadow: 0 10px 30px -20px rgba(0,0,0,.6);
}
.pm-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--pm-ivory); text-decoration: none; }
.pm-brand:hover { color: var(--pm-ivory); }
.pm-brand-name { font-family: var(--pm-display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; white-space: nowrap; }
.pm-brand-name span { color: var(--pm-brass-light); }
.header-default .main-menu { justify-content: center; gap: 2px; flex-wrap: nowrap; }
.header-default .main-menu > li { margin: 0 !important; padding: 0 !important; }
.header-default .main-menu > li > a {
  color: rgba(246,243,236,.80) !important; font-family: var(--pm-font); font-weight: 500; font-size: 15px;
  padding: 10px 14px; border-radius: 999px; line-height: 1;
}
.header-default .main-menu > li > a::before, .header-default .main-menu > li > a::after { display: none; }
.header-default .main-menu > li > a:hover,
.header-default .main-menu > li.active > a { color: var(--pm-ivory) !important; background: rgba(246,243,236,.10); }
.header-action-area { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.header-action-area .header-action-btn .btn-theme { margin: 0; border-radius: 999px; padding: 13px 22px; line-height: 1.2; }
.btn-menu .icon-line { background: var(--pm-ivory); }

/* Mobile off-canvas menu */
.off-canvas-area { background: var(--pm-ink); }
.off-canvas-area .btn-close { filter: invert(1); opacity: .8; }
.offcanvas-menu ul li a { color: rgba(246,243,236,.85); font-family: var(--pm-display); font-size: 20px; border-bottom-color: rgba(246,243,236,.1); }
.offcanvas-menu ul li a:hover, .offcanvas-menu ul li a.color-theme { color: var(--pm-brass-light); }

/* ---------- Hero (home) ---------- */
.pm-hero {
  position: relative; color: var(--pm-ivory);
  background-color: var(--pm-ink); background-size: cover; background-position: center;
  padding: 220px 0 96px;
}
.pm-hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,20,36,.82) 0%, rgba(12,20,36,.55) 45%, rgba(12,20,36,.94) 100%);
}
.pm-hero > * { position: relative; }
.pm-hero h1 {
  margin: 0; max-width: 760px; color: var(--pm-ivory);
  font-size: clamp(44px, 6vw, 80px); line-height: 1.02; letter-spacing: -.03em;
}
.pm-hero-sub { margin: 24px 0 0; max-width: 600px; font-size: 18px; line-height: 1.65; color: rgba(246,243,236,.80); }
.pm-hero .pm-track { margin-top: 56px; }

/* ---------- Track form (shared: home hero, /track) ---------- */
.pm-track { max-width: 820px; }
.pm-track-alert {
  margin: 0 0 12px; padding: 12px 16px; border-radius: 12px;
  background: #FCE8E6; color: #8C1D13; font-weight: 500; font-size: 15px;
}
.pm-track-form {
  display: flex; flex-wrap: wrap; gap: 10px; margin: 0;
  background: rgba(246,243,236,.97); border-radius: 18px; padding: 10px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
}
.pm-track-field {
  flex: 1 1 min(320px, 100%); display: flex; align-items: center; gap: 14px; margin: 0;
  padding: 0 18px; min-height: 64px; border-radius: 12px;
  background: var(--pm-paper); border: 1px solid var(--pm-line); cursor: text;
}
.pm-track-field:focus-within { border-color: var(--pm-brass); box-shadow: 0 0 0 3px rgba(201,138,43,.18); }
.pm-track-text { display: flex; flex-direction: column; flex: 1; min-width: 0; text-align: left; }
.pm-track-label { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-muted); line-height: 1.4; }
.pm-track-field input {
  border: 0; outline: 0; background: transparent; padding: 2px 0 0; width: 100%;
  font: inherit; font-size: 17px; color: var(--pm-text); height: auto; box-shadow: none;
}
.pm-track-field input::placeholder { color: #8B91A0; }
.pm-track-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 64px; padding: 0 34px; border: 0; border-radius: 12px;
  background: var(--pm-ink); color: var(--pm-ivory); font-weight: 600; font-size: 16px; cursor: pointer;
  transition: background .2s;
}
.pm-track-btn:hover, .pm-track-btn:focus { background: var(--pm-ink-2); }
@media (max-width: 575px) { .pm-track-btn { flex: 1 1 100%; } }

/* /track page uses the page-title area */
.page-title-area .pm-track { margin: 0 auto; }
.page-title-area .pm-track-title { color: var(--pm-ivory); font-size: clamp(32px, 4vw, 48px); margin: 0 0 28px; text-align: center; }

/* ---------- Carriage strip ---------- */
.pm-strip { background: var(--pm-ink); color: var(--pm-ivory); }
.pm-strip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.pm-strip-item { padding: 40px 32px 44px; border-right: 1px solid rgba(246,243,236,.12); }
.pm-strip-item:first-child { padding-left: 0; }
.pm-strip-item:last-child { border-right: 0; padding-right: 0; }
.pm-strip-item h3 { margin: 16px 0 8px; color: var(--pm-ivory); font-size: 21px; }
.pm-strip-item p { margin: 0; font-size: 15px; line-height: 1.6; color: rgba(246,243,236,.70); }
@media (max-width: 860px) {
  .pm-strip-item, .pm-strip-item:first-child, .pm-strip-item:last-child { padding: 32px 0; border-right: 0; border-bottom: 1px solid rgba(246,243,236,.12); }
  .pm-strip-item:last-child { border-bottom: 0; }
}

/* ---------- Split sections ---------- */
.pm-section { padding: 128px 0; }
.pm-split { display: flex; flex-wrap: wrap; gap: 72px; align-items: center; }
.pm-split > * { flex: 1 1 min(420px, 100%); min-width: 0; }
.pm-media { position: relative; }
.pm-media img { display: block; width: 100%; height: 560px; object-fit: cover; border-radius: 20px; }
.pm-float-card {
  position: absolute; left: -24px; bottom: 32px; display: flex; align-items: center; gap: 16px;
  background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 16px; padding: 20px 24px;
  box-shadow: 0 20px 40px -20px rgba(12,20,36,.35);
}
.pm-float-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--pm-ink); display: flex; align-items: center; justify-content: center; }
.pm-float-card strong { display: block; font-family: var(--pm-display); font-weight: 600; font-size: 18px; color: var(--pm-ink); }
.pm-float-card span { font-size: 14px; color: var(--pm-muted); }
@media (max-width: 767px) {
  .pm-section { padding: 88px 0; }
  .pm-split { gap: 40px; }
  .pm-media img { height: 380px; }
  .pm-float-card { left: 16px; bottom: 16px; }
}

/* ---------- Services ---------- */
.pm-services { background: var(--pm-paper); border-top: 1px solid var(--pm-line); border-bottom: 1px solid var(--pm-line); padding: 120px 0; }
.pm-services-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pm-services-head p { margin: 0; font-size: 16px; }
.pm-services-head p a { font-weight: 600; }
.pm-service-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.pm-service-card { display: flex; flex-direction: column; gap: 18px; color: inherit; text-decoration: none; }
.pm-service-card img { display: block; width: 100%; height: 320px; object-fit: cover; border-radius: 16px; transition: transform .4s; }
.pm-service-card .pm-service-media { overflow: hidden; border-radius: 16px; }
.pm-service-card:hover img { transform: scale(1.04); }
.pm-service-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pm-service-foot strong { font-family: var(--pm-display); font-weight: 600; font-size: 20px; color: var(--pm-ink); }
.pm-round-arrow {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--pm-line);
  display: flex; align-items: center; justify-content: center; color: var(--pm-ink); transition: background .2s, border-color .2s;
}
.pm-service-card:hover .pm-round-arrow { background: var(--pm-brass); border-color: var(--pm-brass); }
@media (max-width: 767px) { .pm-services { padding: 88px 0; } }

/* ---------- Stat band ---------- */
.pm-band-wrap { padding: 96px 0 32px; }
.pm-band {
  background: var(--pm-ink); color: var(--pm-ivory); border-radius: 24px; padding: 64px;
  display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
}
.pm-band > p { margin: 0; flex: 1 1 min(360px, 100%); font-size: 20px; line-height: 1.6; color: rgba(246,243,236,.80); }
.pm-band-figure { margin: 0; font-family: var(--pm-display); font-weight: 600; font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -.03em; color: var(--pm-brass-light); }
.pm-band-caption { margin: 10px 0 0; font-size: 16px; color: rgba(246,243,236,.70); }
@media (max-width: 575px) { .pm-band { padding: 40px 28px; } }

/* ---------- Tracker band (tracker.php) ---------- */
.divider-area.divider-default-area {
  background: var(--pm-ink) !important; padding: 96px 0;
}
.divider-default-area .shape-group { display: none; }
.divider-default-area .title { font-size: clamp(30px, 3.5vw, 44px); color: var(--pm-ivory) !important; margin-bottom: 28px; }
.tracking-searchbox .form-control {
  height: 60px; border-radius: 12px; border: 1px solid rgba(246,243,236,.16);
  background: rgba(246,243,236,.06); color: var(--pm-ivory); padding: 0 20px; font-size: 16px;
}
.tracking-searchbox .form-control::placeholder { color: rgba(246,243,236,.55); }
.tracking-searchbox .form-control:focus { border-color: var(--pm-brass); box-shadow: 0 0 0 3px rgba(201,138,43,.22); background: rgba(246,243,236,.08); }
.tracking-searchbox .btn-dark {
  margin-top: 12px; background: var(--pm-brass); border: 0; color: var(--pm-ink);
  font-weight: 600; border-radius: 999px; padding: 14px 30px;
}
.tracking-searchbox .btn-dark:hover { background: var(--pm-brass-light); color: var(--pm-ink); }
.tracking-searchbox .btn-dark i { margin-left: 6px; }

/* ---------- Inner page titles (about, services, faq, contact, track) ---------- */
.page-title-area { position: relative; padding: 150px 0 70px; background-color: var(--pm-ink); }
.page-title-area .page-title-content { padding: 0; }
@media (max-width: 991px) { .page-title-area { padding: 130px 0 56px; } }
@media (max-width: 575px) { .page-title-area { padding: 115px 0 44px; } }
.about-style1-area { padding-top: 100px; }
@media (max-width: 991px) { .about-style1-area { padding-top: 80px; } }
.page-title-area .bg-overlay3, .page-title-area .bg-overlay {
  background: linear-gradient(180deg, rgba(12,20,36,.85), rgba(12,20,36,.72) 60%, rgba(12,20,36,.95)) !important; opacity: 1 !important;
}
.page-title-area .container { position: relative; z-index: 1; }
.page-title-area .page-title-content .title { color: var(--pm-ivory); font-size: clamp(40px, 5vw, 64px); letter-spacing: -.02em; }
.page-title-area .page-title-content .bread-crumbs a, .page-title-area .page-title-content .bread-crumbs span { color: rgba(246,243,236,.75); }
.page-title-area .page-title-content .bread-crumbs .active { color: var(--pm-brass-light); }

/* ---------- Template sections on inner pages ---------- */
.section-title .subtitle { color: var(--pm-brass-deep); font-family: var(--pm-font); font-weight: 600; letter-spacing: .14em; font-size: 13px; }
.section-title .title { color: var(--pm-ink); letter-spacing: -.02em; }
.service-item, .post-item, .post-item2, .contact-info-item, .testimonial-item, .team-member, .featured-item {
  border-radius: var(--pm-radius);
}
.service-item .thumb, .service-item .thumb img, .post-item .thumb img, .post-item2 .thumb img { border-radius: var(--pm-radius); overflow: hidden; }
.service-item .content .title a, .post-item .title a, .post-item2 .title a { color: var(--pm-ink); }
.service-item:hover .content .title a, .post-item .title a:hover, .post-item2 .title a:hover { color: var(--pm-brass-deep); }
.testimonial-item { background: var(--pm-paper); border: 1px solid var(--pm-line); box-shadow: none; }
.contact-info-item { background: var(--pm-paper); border: 1px solid var(--pm-line); }
.contact-form-wrapper { background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 20px; }
.contact-form-wrapper .form-control, .contact-form .form-control {
  border-radius: 12px; border: 1px solid var(--pm-line); background: #FBFAF7; color: var(--pm-text);
}
.contact-form-wrapper .form-control:focus, .contact-form .form-control:focus { border-color: var(--pm-brass); box-shadow: 0 0 0 3px rgba(201,138,43,.18); }
.service-area.service-default-area, .service-grid-area, .about-area { background-color: transparent; }

/* ---------- Footer ---------- */
.pm-footer { background: var(--pm-ink); color: rgba(246,243,236,.72); }
.pm-footer-main { padding: 88px 0 40px; }
.pm-footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 48px; }
.pm-footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.pm-footer-col p { margin: 0; font-size: 15px; line-height: 1.7; color: rgba(246,243,236,.72); }
.pm-footer-col p b { color: var(--pm-ivory); font-weight: 600; }
.pm-footer-col a { color: rgba(246,243,236,.72); }
.pm-footer-col a:hover { color: var(--pm-brass-light); }
.pm-footer-col .pm-footer-email { color: var(--pm-brass-light); }
.pm-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.pm-footer-heading { font-family: var(--pm-font); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-ivory); margin: 0 0 6px; }
.pm-footer-bottom {
  margin-top: 72px; padding-top: 28px; border-top: 1px solid rgba(246,243,236,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px;
}
.pm-footer-bottom p { margin: 0; color: rgba(246,243,236,.72); }
.pm-footer-bottom a { color: var(--pm-brass-light); }
.scroll-to-top { background: var(--pm-brass); color: var(--pm-ink); border-radius: 999px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.5); }
.scroll-to-top:hover { background: var(--pm-brass-light); }

/* ---------- Tracking result (track-details.php) ---------- */
.pm-track-hero { background: var(--pm-ink); color: var(--pm-ivory); padding-bottom: 120px; }
.pm-track-hero .pm-topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 0; border-bottom: 1px solid rgba(246,243,236,.12); }
.pm-track-hero .pm-topbar nav { display: flex; flex-wrap: wrap; gap: 4px; }
.pm-track-hero .pm-topbar nav a { color: rgba(246,243,236,.78); font-size: 15px; font-weight: 500; padding: 10px 14px; border-radius: 999px; }
.pm-track-hero .pm-topbar nav a:hover { color: var(--pm-ivory); background: rgba(246,243,236,.10); }
.pm-track-head { padding-top: 64px; display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; }
.pm-track-head h1 { margin: 0; color: var(--pm-ivory); font-size: clamp(32px, 5vw, 56px); letter-spacing: -.02em; word-break: break-all; }
.pm-mini-track { flex: 0 1 460px; display: flex; gap: 8px; margin: 0; background: rgba(246,243,236,.08); border: 1px solid rgba(246,243,236,.16); border-radius: 14px; padding: 6px; }
.pm-mini-track input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--pm-ivory); font: inherit; font-size: 16px; padding: 0 14px; min-height: 48px; }
.pm-mini-track input::placeholder { color: rgba(246,243,236,.55); }
.pm-mini-track button { border: 0; border-radius: 10px; background: var(--pm-brass); color: var(--pm-ink); font-weight: 600; font-size: 15px; padding: 0 22px; min-height: 48px; cursor: pointer; }
.pm-mini-track button:hover { background: var(--pm-brass-light); }

.pm-card { background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 20px; padding: 32px; }
.pm-card-dark { background: var(--pm-ink); border-color: var(--pm-ink); color: var(--pm-ivory); }
.pm-status-wrap { margin-top: -80px; position: relative; }
.pm-status { box-shadow: 0 30px 60px -30px rgba(12,20,36,.30); }
.pm-status-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; align-items: center; }
.pm-pill { display: inline-flex; align-items: center; gap: 10px; background: var(--pm-brass-wash); color: var(--pm-brass-deep); font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.pm-pill::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--pm-brass); }
.pm-route { margin-top: 32px; display: grid; grid-template-columns: minmax(0,1fr) minmax(120px,1fr) minmax(0,1fr); gap: 24px; align-items: center; }
.pm-route-end small { display: block; font-size: 13px; color: var(--pm-muted); }
.pm-route-end strong { display: block; margin-top: 6px; font-family: var(--pm-display); font-weight: 600; font-size: 24px; color: var(--pm-ink); line-height: 1.2; word-break: break-word; }
.pm-route-end span { display: block; margin-top: 4px; font-size: 14px; color: var(--pm-muted); }
.pm-route-end.is-end { text-align: right; }
.pm-route-line { display: flex; align-items: center; gap: 10px; }
.pm-route-line i { flex: 1; height: 2px; background: var(--pm-ink); }
.pm-route-line i.is-dashed { background: repeating-linear-gradient(90deg, #C9C2B2 0 6px, transparent 6px 12px); }
.pm-dot { width: 12px; height: 12px; border-radius: 999px; background: var(--pm-ink); flex: 0 0 auto; }
.pm-dot.is-open { background: transparent; border: 2px solid #C9C2B2; }
.pm-route-truck { width: 40px; height: 40px; border-radius: 999px; background: var(--pm-brass); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
@media (max-width: 767px) {
  .pm-route { grid-template-columns: 1fr; }
  .pm-route-end.is-end { text-align: left; }
}

.pm-track-body { padding: 48px 0 120px; }
.pm-track-cols { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.pm-track-main { flex: 999 1 min(560px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pm-track-side { flex: 1 1 min(340px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pm-card h2 { margin: 0; font-size: 24px; }
.pm-card-label { margin: 0 0 18px; font-family: var(--pm-font); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--pm-brass-deep); }
.pm-card-dark .pm-card-label { color: var(--pm-brass-light); }
.pm-dl { margin: 0; display: grid; grid-template-columns: 96px minmax(0,1fr); row-gap: 12px; column-gap: 12px; font-size: 15px; }
.pm-dl dt { font-weight: 400; color: var(--pm-muted); }
.pm-dl dd { margin: 0; color: var(--pm-text); overflow-wrap: anywhere; }
.pm-card-dark .pm-dl dt { color: rgba(246,243,236,.65); }
.pm-card-dark .pm-dl dd { color: var(--pm-ivory); }
.pm-barcode { margin-top: 20px; background: #FFFFFF; border-radius: 12px; padding: 12px; text-align: center; }
.pm-barcode img { max-width: 100%; height: auto; }

.pm-timeline { list-style: none; margin: 28px 0 0; padding: 0; }
.pm-timeline li { display: flex; gap: 20px; }
.pm-timeline-rail { display: flex; flex-direction: column; align-items: center; flex: 0 0 16px; }
.pm-timeline-rail b { width: 12px; height: 12px; border-radius: 999px; background: var(--pm-ink); margin-top: 6px; }
.pm-timeline-rail i { flex: 1; width: 2px; background: var(--pm-line); margin-top: 8px; }
.pm-timeline li:first-child .pm-timeline-rail b { width: 16px; height: 16px; margin-top: 4px; background: var(--pm-brass); box-shadow: 0 0 0 6px var(--pm-brass-wash); }
.pm-timeline li:last-child .pm-timeline-rail i { display: none; }
.pm-timeline-body { padding-bottom: 32px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pm-timeline li:last-child .pm-timeline-body { padding-bottom: 0; }
.pm-timeline-body strong { font-weight: 600; font-size: 16px; color: var(--pm-ink); }
.pm-timeline-body span { font-size: 14px; color: var(--pm-muted); }
.pm-timeline-body p { margin: 0; font-size: 15px; color: var(--pm-text); }

.pm-totals { margin: 0; display: grid; grid-template-columns: minmax(0,1fr) auto; row-gap: 12px; font-size: 15px; }
.pm-totals dt { font-weight: 400; color: var(--pm-muted); }
.pm-totals dd { margin: 0; text-align: right; color: var(--pm-text); font-weight: 500; }
.pm-totals .is-total { padding-top: 14px; border-top: 1px solid var(--pm-line-soft); font-family: var(--pm-display); font-size: 20px; font-weight: 600; color: var(--pm-ink); }

.pm-notfound { max-width: 640px; margin: 0 auto; text-align: center; }
.pm-notfound h2 { margin: 0 0 12px; word-break: break-all; }
.pm-notfound p { margin: 0 0 28px; font-size: 17px; }

.header-navigation-area .main-menu { align-items: center; height: 100%; }
.header-default .main-menu > li > a { padding: 10px 14px !important; white-space: nowrap; display: inline-block; }
@media (max-width: 991px) { .pm-track-hero .pm-topbar nav { display: none; } }

/* About page stat band: brass panel needs dark text for contrast */
.divider-wrap { border-radius: 20px; overflow: hidden; }
.divider-wrap .column-left .content p,
.divider-wrap .column-left .content .title { color: var(--pm-ink) !important; }

/* ---------- Small-screen guards ---------- */
html, body { overflow-x: hidden; }
.pm-track-head > div { min-width: 0; }
.pm-mini-track { flex: 1 1 min(460px, 100%); }
@media (max-width: 575px) {
  .pm-hero { padding: 150px 0 72px; }
  .pm-card { padding: 24px; }
  .pm-band-figure { font-size: 56px; }
}

/* ---------- Logo ---------- */
.pm-logo { display: block; height: 52px; width: auto; }
.sticky .pm-logo { height: 46px; }
.pm-footer .pm-logo { height: 48px; }
@media (max-width: 575px) { .pm-logo { height: 44px; } }

/* ---------- Contact page ---------- */
.pm-contact { padding-top: 112px; }
.pm-contact-grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.pm-contact-main { flex: 999 1 min(560px, 100%); min-width: 0; }
.pm-contact-side { flex: 1 1 min(400px, 100%); min-width: 0; display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.pm-contact-form {
  margin-top: 36px; background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 20px;
  padding: 32px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start;
}
.pm-field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; width: 100%; }
.pm-field { display: flex; flex-direction: column; gap: 8px; width: 100%; margin: 0; font-size: 13px; font-weight: 600; color: var(--pm-text); }
.pm-contact-form .form-control {
  height: auto; min-height: 50px; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--pm-line);
  background: #FBFAF7; color: var(--pm-text); font-family: var(--pm-font); font-size: 15px; font-weight: 400; box-shadow: none;
}
.pm-contact-form textarea.form-control { min-height: 160px; resize: vertical; }
.pm-contact-form .form-control::placeholder { color: #8B91A0; }
.pm-contact-form .form-control:focus { border-color: var(--pm-brass); box-shadow: 0 0 0 3px rgba(201,138,43,.18); background: var(--pm-paper); }
.pm-contact-form .pm-btn { padding: 15px 28px; font-size: 16px; }

.pm-contact-card {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px;
  background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 16px;
  color: inherit; text-decoration: none; transition: border-color .2s, transform .2s;
}
a.pm-contact-card:hover { border-color: var(--pm-brass); color: inherit; transform: translateY(-1px); }
.pm-contact-icon {
  flex: 0 0 52px; width: 52px; height: 52px; border-radius: 14px; background: var(--pm-ink); color: var(--pm-brass-light);
  display: flex; align-items: center; justify-content: center;
}
.pm-contact-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pm-contact-label { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-muted); }
.pm-contact-value { font-family: var(--pm-display); font-size: 16px; font-weight: 600; color: var(--pm-ink); line-height: 1.35; overflow-wrap: anywhere; }
.pm-contact-value b { font-weight: 600; }
.pm-contact-note { margin-top: 8px; padding: 22px; border-radius: 16px; background: var(--pm-ink); color: rgba(246,243,236,.75); font-size: 15px; line-height: 1.6; }
.pm-contact-note strong { display: block; margin-bottom: 4px; font-family: var(--pm-display); font-size: 18px; font-weight: 600; color: var(--pm-brass-light); }
.pm-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.pm-ticket-link { margin: 16px 0 0; font-size: 15px; color: var(--pm-muted); }
.pm-ticket-link a { color: var(--pm-brass-deep); font-weight: 600; }

/* ---------- Contact result modal ---------- */
.pm-modal {
  position: relative; padding: 36px 32px 30px; border: 0; border-radius: 20px;
  background: var(--pm-paper); color: var(--pm-text); text-align: center; box-shadow: 0 24px 60px rgba(12,20,36,.22);
}
.pm-modal-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 0; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; background: transparent; color: var(--pm-muted);
}
.pm-modal-close:hover { background: var(--pm-ivory); color: var(--pm-ink); }
.pm-modal-icon { width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 999px; display: none; align-items: center; justify-content: center; }
.pm-modal-icon-success { background: var(--pm-brass-wash); color: var(--pm-brass-deep); }
.pm-modal-icon-error { background: #FBE9E7; color: #A3261B; }
.pm-modal.is-success .pm-modal-icon-success, .pm-modal.is-error .pm-modal-icon-error { display: flex; }
.pm-modal-title { margin: 0 0 10px; font-family: var(--pm-display); font-size: 24px; font-weight: 600; color: var(--pm-ink); }
.pm-modal-text { margin: 0 auto; max-width: 380px; font-size: 16px; line-height: 1.65; color: var(--pm-muted); }
.pm-modal-ticket {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 14px 16px 14px 20px;
  border-radius: 14px; background: var(--pm-ivory); text-align: left;
}
.pm-modal-ticket-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-muted); }
.pm-modal-ticket-no { display: block; margin-top: 2px; font-family: var(--pm-display); font-size: 22px; font-weight: 700; letter-spacing: .04em; color: var(--pm-ink); }
.pm-modal-copy {
  flex: 0 0 auto; min-height: 38px; padding: 0 16px; border: 1px solid var(--pm-line); border-radius: 999px;
  background: var(--pm-paper); color: var(--pm-ink); font-size: 14px; font-weight: 600;
}
.pm-modal-copy:hover { border-color: var(--pm-brass); }
.pm-modal-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.pm-modal-actions .pm-btn { padding: 13px 24px; font-size: 15px; }
.pm-btn-ghost { background: transparent; color: var(--pm-ink); border: 1px solid var(--pm-line); }
.pm-btn-ghost:hover, .pm-btn-ghost:focus { background: var(--pm-ivory); color: var(--pm-ink); }
.pm-modal .pm-modal-close:focus-visible, .pm-modal-copy:focus-visible, .pm-modal-actions .pm-btn:focus-visible { outline: 2px solid var(--pm-brass); outline-offset: 2px; }
@media (max-width: 575px) {
  .modal-dialog:has(.pm-modal) { margin: 16px; }
  .pm-modal { padding: 32px 20px 24px; }
  .pm-modal-actions .pm-btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Ticket status page ---------- */
.pm-ticket-wrap { max-width: 860px; }
.pm-ticket-error { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #FBE9E7; color: #A3261B; font-weight: 500; }
.pm-ticket { margin-top: 28px; padding: 28px 32px; background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 20px; }
.pm-ticket-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 20px; }
.pm-ticket-no { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--pm-brass-deep); }
.pm-ticket-subject { margin: 0; font-family: var(--pm-display); font-size: 22px; font-weight: 600; color: var(--pm-ink); overflow-wrap: anywhere; }
/* Ticket status pill (scoped so it doesn't restyle the tracking page's .pm-status card) */
span.pm-status { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pm-status-open { background: var(--pm-brass-wash); color: var(--pm-brass-deep); }
.pm-status-in_progress { background: #E6EEF9; color: #1F4A8A; }
.pm-status-resolved { background: #E3F2E8; color: #1E6B3A; }
.pm-ticket-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 20px 0 0; padding: 16px 0; border-top: 1px solid var(--pm-line-soft); border-bottom: 1px solid var(--pm-line-soft); }
.pm-ticket-meta dt { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--pm-muted); }
.pm-ticket-meta dd { margin: 2px 0 0; font-size: 15px; color: var(--pm-text); }
.pm-thread { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.pm-thread-item { padding: 16px 18px; border-radius: 14px; background: #FBFAF7; border: 1px solid var(--pm-line-soft); }
.pm-thread-staff { background: var(--pm-paper); border-left: 3px solid var(--pm-brass); }
.pm-thread-author { margin: 0 0 6px; font-weight: 600; color: var(--pm-ink); }
.pm-thread-author span { font-weight: 400; font-size: 14px; color: var(--pm-muted); }
.pm-thread-body { font-size: 15px; line-height: 1.7; color: var(--pm-text); overflow-wrap: anywhere; }
.pm-ticket-wait { margin: 16px 0 0; color: var(--pm-muted); }

@media (max-width: 575px) {
  .pm-contact { padding-top: 72px; }
  .pm-contact-form { padding: 22px; }
  .pm-ticket { padding: 22px; }
}

/* =========================================================
   New features: quote, booking, accounts, live tracking
   ========================================================= */

/* ---------- Header account link ---------- */
.pm-account-link { align-items: center; gap: 8px; color: rgba(246,243,236,.85); font-weight: 500; font-size: 15px; padding: 10px 12px; border-radius: 999px; white-space: nowrap; }
.pm-account-link:hover, .pm-account-link:focus { color: var(--pm-ivory); background: rgba(246,243,236,.10); }

/* ---------- Shipment status pill ---------- */
.pm-ship-status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-family: var(--pm-font); font-style: normal; font-size: 13px; font-weight: 600; line-height: 1.4; white-space: nowrap; vertical-align: middle; }
.pm-ship-status::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: currentColor; }
.pm-ship-status.is-brass { background: var(--pm-brass-wash); color: var(--pm-brass-deep); }
.pm-ship-status.is-info { background: #E6EEF9; color: #1F4A8A; }
.pm-ship-status.is-warn { background: #FBEFD6; color: #8A5300; }
.pm-ship-status.is-ok { background: #E3F2E8; color: #1E6B3A; }
.pm-ship-status.is-bad { background: #FBE9E7; color: #A3261B; }
.pm-ship-status.is-muted { background: var(--pm-line-soft); color: var(--pm-muted); }
.pm-ship-status.is-lg { font-size: 15px; padding: 8px 16px; }

/* ---------- Form messages ---------- */
.pm-form-errors { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; background: #FBE9E7; color: #8C1D13; font-size: 15px; font-weight: 500; width: 100%; }
.pm-form-errors ul { margin: 6px 0 0; padding-left: 20px; }
.pm-form-ok { margin: 0 0 20px; padding: 14px 18px; border-radius: 12px; background: #E3F2E8; color: #1E6B3A; font-size: 15px; font-weight: 500; width: 100%; }
.pm-hint, .pm-optional { font-size: 12px; font-weight: 400; color: var(--pm-muted); }

/* ---------- Quote calculator ---------- */
.pm-quote-intro { max-width: 720px; margin-bottom: 40px; }
.pm-quote { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .pm-quote { grid-template-columns: 1fr; } }
.pm-quote .pm-contact-form { margin-top: 0; }
.pm-quote .pm-contact-form .form-control, .pm-book-step select.form-control { appearance: auto; }
.pm-quote-dims, .pm-quote-modes, .pm-slots { border: 0; padding: 0; margin: 0; width: 100%; min-width: 0; }
.pm-quote-dims legend, .pm-quote-modes legend, .pm-slots legend { float: none; width: auto; margin: 0 0 8px; padding: 0; font-family: var(--pm-font); font-size: 13px; font-weight: 600; color: var(--pm-text); }
.pm-quote-dims { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pm-quote-dims legend { grid-column: 1 / -1; }
.pm-quote-dims .pm-field span { font-size: 12px; font-weight: 500; color: var(--pm-muted); }
.pm-quote-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pm-quote-modes legend { grid-column: 1 / -1; }
.pm-quote-modes input, .pm-slots input { position: absolute; opacity: 0; pointer-events: none; }
.pm-quote-modes label { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0; padding: 12px 8px; border: 1px solid var(--pm-line); border-radius: 12px; background: #FBFAF7; cursor: pointer; font-weight: 600; font-size: 15px; color: var(--pm-ink); text-align: center; transition: border-color .15s, background .15s; }
.pm-quote-modes label small { font-weight: 400; font-size: 12px; color: var(--pm-muted); }
.pm-quote-modes input:checked + label, .pm-slots input:checked + label { border-color: var(--pm-brass); background: var(--pm-brass-wash); box-shadow: inset 0 0 0 1px var(--pm-brass); }
.pm-quote-modes input:focus-visible + label, .pm-slots input:focus-visible + label { outline: 2px solid var(--pm-brass); outline-offset: 2px; }
.pm-quote-modes input:disabled + label { opacity: .45; cursor: not-allowed; }
.pm-quote-result { position: sticky; top: 110px; background: var(--pm-ink); color: var(--pm-ivory); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.pm-quote-result .pm-card-label { margin: 0; color: var(--pm-brass-light); }
.pm-quote-price { margin: 0; font-family: var(--pm-display); font-weight: 700; font-size: clamp(30px, 4vw, 42px); line-height: 1.05; letter-spacing: -.02em; color: var(--pm-ivory); font-variant-numeric: tabular-nums; }
.pm-quote-price small { font-size: 15px; font-weight: 500; color: rgba(246,243,236,.6); letter-spacing: 0; }
.pm-quote-warn { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(224,176,102,.14); color: var(--pm-brass-light); font-size: 14px; }
.pm-quote-grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding-top: 16px; border-top: 1px solid rgba(246,243,236,.14); }
.pm-quote-grid dt { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(246,243,236,.55); }
.pm-quote-grid dd { margin: 2px 0 0; font-family: var(--pm-display); font-weight: 600; font-size: 17px; color: var(--pm-ivory); font-variant-numeric: tabular-nums; }
.pm-quote-book { justify-content: center; width: 100%; padding: 15px 24px; font-size: 16px; }
.pm-quote-book.is-disabled { opacity: .45; pointer-events: none; }
.pm-quote-note { margin: 0; font-size: 13px; line-height: 1.55; color: rgba(246,243,236,.6); }
@media (max-width: 900px) { .pm-quote-result { position: static; } }
@media (max-width: 420px) { .pm-quote-modes { grid-template-columns: 1fr; } .pm-quote-grid { grid-template-columns: 1fr; } }

/* ---------- Booking ---------- */
.pm-book-steps { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.pm-book-step { border: 1px solid var(--pm-line); margin: 0; min-width: 0; }
.pm-book-step > legend { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 4px; padding: 0; font-family: var(--pm-display); font-size: 20px; font-weight: 600; color: var(--pm-ink); }
.pm-book-step > legend + * { clear: both; }
.pm-book-step > legend span { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: var(--pm-ink); color: var(--pm-brass-light); font-size: 14px; }
.pm-slots { display: flex; flex-wrap: wrap; gap: 8px; }
.pm-slots legend { width: 100%; }
.pm-slots label { margin: 0; padding: 9px 14px; border: 1px solid var(--pm-line); border-radius: 999px; background: #FBFAF7; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--pm-ink); font-variant-numeric: tabular-nums; }
.pm-book-done { max-width: 720px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.pm-book-done .pm-modal-icon { margin: 0; }
.pm-book-done .pm-modal-ticket { width: 100%; max-width: 420px; margin: 0; }
.pm-book-summary { margin: 0; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 16px; font-size: 15px; }
.pm-book-summary dt { font-weight: 400; color: var(--pm-muted); }
.pm-book-summary dd { margin: 0; color: var(--pm-text); }

/* ---------- Log in / sign up ---------- */
.pm-auth .pm-container { display: flex; justify-content: center; }
.pm-auth-card { width: 100%; max-width: 560px; margin-top: 0; align-items: stretch; }
.pm-auth-card .pm-eyebrow { margin-bottom: 8px; }
.pm-auth-title { margin: 0; font-size: 30px; }
.pm-auth-sub { margin: 8px 0 0; font-size: 15px; line-height: 1.6; }
.pm-auth-card .pm-btn { justify-content: center; }
.pm-auth-card .pm-form-errors, .pm-auth-card .pm-form-ok { margin: 0; }
.pm-auth-links { margin: 0; font-size: 14px; color: var(--pm-muted); }
.pm-auth-links a { font-weight: 600; }
.pm-auth-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); width: 100%; max-width: 980px; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -40px rgba(12,20,36,.45); }
.pm-auth-split .pm-auth-card { max-width: none; border-radius: 0; border: 0; padding: 44px; }
.pm-code-input { font-family: Menlo, Consolas, monospace; font-size: 18px !important; letter-spacing: .14em; text-transform: uppercase; }
.pm-code-input::placeholder { letter-spacing: .14em; opacity: .45; }
.pm-auth-panel { position: relative; background: var(--pm-ink); color: rgba(246,243,236,.78); padding: 48px 44px; display: flex; flex-direction: column; gap: 22px; }
.pm-auth-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--pm-brass); }
.pm-auth-panel .pm-eyebrow { color: var(--pm-brass-light); margin: 0; }
.pm-auth-panel h3 { color: var(--pm-ivory); font-size: 26px; line-height: 1.25; margin: 0; }
.pm-auth-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.pm-auth-steps li { display: flex; gap: 16px; align-items: flex-start; }
.pm-auth-steps span { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(224,176,102,.5); color: var(--pm-brass-light); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.pm-auth-steps strong { color: var(--pm-ivory); display: block; font-size: 16px; }
.pm-auth-steps p { margin: 4px 0 0; font-size: 14px; line-height: 1.55; color: rgba(246,243,236,.7); }
.pm-auth-panel-foot { margin: auto 0 0; padding-top: 18px; border-top: 1px solid rgba(246,243,236,.14); font-size: 14px; }
.pm-auth-panel-foot a { color: var(--pm-brass-light); font-weight: 600; }
@media (max-width: 767px) {
  .pm-auth-split { grid-template-columns: 1fr; border-radius: 18px; }
  .pm-auth-panel { padding: 32px 24px; }
  .pm-auth-split .pm-auth-card { padding: 28px 24px; }
}

/* ---------- Customer account ---------- */
.pm-account-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.pm-account-head .pm-h2 { font-size: clamp(28px, 3.5vw, 40px); }
.pm-account-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.pm-account-actions form { margin: 0; }
.pm-verify-note { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 20px; margin: 0 0 24px; padding: 16px 20px; border-radius: 14px; background: var(--pm-brass-wash); border: 1px solid #F0DDB8; }
.pm-verify-note p { margin: 0; flex: 1 1 360px; color: var(--pm-text); font-size: 15px; }
.pm-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--pm-line); margin-bottom: 24px; overflow-x: auto; }
.pm-tabs a { padding: 12px 16px; font-weight: 600; font-size: 15px; color: var(--pm-muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.pm-tabs a span { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--pm-line-soft); font-size: 12px; color: var(--pm-muted); }
.pm-tabs a[aria-current="page"] { color: var(--pm-ink); border-color: var(--pm-brass); }
.pm-table-wrap { overflow-x: auto; background: var(--pm-paper); border: 1px solid var(--pm-line); border-radius: 16px; }
.pm-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.pm-table th { padding: 14px 18px; text-align: left; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-muted); border-bottom: 1px solid var(--pm-line); }
.pm-table td { padding: 16px 18px; border-bottom: 1px solid var(--pm-line-soft); color: var(--pm-text); vertical-align: top; }
.pm-table tr:last-child td { border-bottom: 0; }
.pm-table td small { display: block; margin-top: 2px; font-size: 13px; color: var(--pm-muted); }
.pm-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.pm-mono a, .pm-mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 14px; color: var(--pm-ink); font-weight: 600; }
.pm-row-actions { white-space: nowrap; text-align: right; }
.pm-row-actions a { font-weight: 600; font-size: 14px; margin-left: 14px; }
.pm-empty { padding: 48px 32px; text-align: center; background: var(--pm-paper); border: 1px dashed var(--pm-line); border-radius: 16px; }
.pm-empty h3 { margin: 0 0 8px; font-size: 22px; }
.pm-empty p { margin: 0 auto 20px; max-width: 460px; }
.pm-account-forms { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 24px; align-items: start; }
.pm-account-forms .pm-contact-form { margin-top: 0; }
.pm-account-forms h3 { margin: 0; font-size: 20px; }

/* ---------- Tracking page ---------- */
.pm-status-now { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.pm-status-where { font-size: 15px; color: var(--pm-muted); }
.pm-eta { text-align: right; }
.pm-eta small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pm-muted); }
.pm-eta strong { display: block; margin-top: 2px; font-family: var(--pm-display); font-weight: 600; font-size: 26px; color: var(--pm-ink); }
.pm-eta span { font-size: 14px; color: #1E6B3A; }
.pm-eta span.is-late { color: #A3261B; }
@media (max-width: 575px) { .pm-eta { text-align: left; } }
.pm-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pm-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; color: var(--pm-muted); }
.pm-steps li::before { content: ""; position: absolute; top: 11px; right: 50%; width: 100%; height: 3px; background: var(--pm-line); }
.pm-steps li:first-child::before { display: none; }
.pm-steps li.is-done::before, .pm-steps li.is-current::before { background: var(--pm-brass); }
.pm-steps i { position: relative; z-index: 1; width: 24px; height: 24px; border-radius: 999px; background: var(--pm-paper); border: 3px solid var(--pm-line); }
.pm-steps li.is-done i { background: var(--pm-brass); border-color: var(--pm-brass); }
.pm-steps li.is-current i { border-color: var(--pm-brass); box-shadow: 0 0 0 6px var(--pm-brass-wash); }
.pm-steps li.is-current { color: var(--pm-ink); font-weight: 600; }
@media (max-width: 640px) {
  .pm-steps { grid-template-columns: 1fr; gap: 0; }
  .pm-steps li { flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 6px 0; }
  .pm-steps li::before { top: auto; bottom: 50%; right: auto; left: 10.5px; width: 3px; height: 100%; }
}
.pm-exception { margin: 24px 0 0; padding: 14px 18px; border-radius: 12px; background: #FBE9E7; color: #8C1D13; font-weight: 500; }
.pm-map-card { padding: 0; overflow: hidden; }
.pm-map-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; padding: 24px 28px 16px; }
.pm-map-head span { font-size: 14px; color: var(--pm-muted); }
.pm-map { height: 360px; width: 100%; background: #EEEAE0; }
.pm-map .leaflet-tooltip { font-family: var(--pm-font); font-weight: 600; }
.pm-timeline-body strong .pm-ship-status { margin-left: 8px; font-size: 12px; padding: 2px 10px; }
.pm-share-row { display: flex; gap: 18px; align-items: flex-start; }
.pm-qr { flex: 0 0 112px; width: 112px; border: 1px solid var(--pm-line); border-radius: 12px; overflow: hidden; background: #FFFFFF; }
.pm-qr svg { display: block; width: 100%; height: auto; }
.pm-share-text { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; }
.pm-share-text p { margin: 0; font-size: 14px; line-height: 1.55; }
.pm-share-url { width: 100%; min-width: 0; padding: 9px 12px; border: 1px solid var(--pm-line); border-radius: 10px; background: #FBFAF7; font-size: 13px; color: var(--pm-text); }
.pm-copy { justify-content: center; padding: 11px 18px; font-size: 14px; }
@media (max-width: 400px) { .pm-share-row { flex-direction: column; } }
.pm-multi-list { list-style: none; margin: 0; padding: 0; }
.pm-multi-list li + li { border-top: 1px solid var(--pm-line-soft); }
.pm-multi-list a, .pm-multi-list .is-missing { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.5fr) auto minmax(0, .9fr); gap: 8px 20px; align-items: center; padding: 18px 0; color: inherit; }
.pm-multi-list a:hover .pm-multi-no { color: var(--pm-brass-deep); }
.pm-multi-no { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 600; color: var(--pm-ink); }
.pm-multi-no small { display: block; font-family: var(--pm-font); font-weight: 400; font-size: 13px; color: var(--pm-muted); }
.pm-multi-route, .pm-multi-eta { font-size: 15px; color: var(--pm-text); }
.pm-multi-eta { text-align: right; }
.pm-multi-list .is-missing { grid-template-columns: minmax(0, 1.2fr) minmax(0, 3fr); }
.pm-multi-list .is-missing .pm-multi-route { color: #A3261B; }
@media (max-width: 760px) { .pm-multi-list a, .pm-multi-list .is-missing { grid-template-columns: 1fr; } .pm-multi-eta { text-align: left; } }

/* ---------- Home: quote call-to-action ---------- */
.pm-quote-cta { padding: 0 0 32px; }
.pm-quote-cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; padding: 48px 56px; border-radius: 24px; background: var(--pm-paper); border: 1px solid var(--pm-line); }
.pm-quote-cta-inner > div { flex: 1 1 min(460px, 100%); }
.pm-quote-cta-inner .pm-h2 { font-size: clamp(28px, 3.4vw, 40px); }
.pm-quote-cta-inner p.pm-lead { margin: 12px 0 0; }
.pm-quote-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 575px) { .pm-quote-cta-inner { padding: 32px 24px; } }
.pm-map .leaflet-tile-pane { filter: grayscale(.85) sepia(.12) brightness(1.04); }

/* Header: logo and buttons take what they need, the menu gets the rest */
.pm-header-row { min-width: 0; }
.pm-header-nav { min-width: 0; }
.header-action-area .header-action-btn .btn-theme { white-space: nowrap; }
.pm-account-link span { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
  .header-default .main-menu > li > a { padding: 10px 9px !important; font-size: 14px; }
}
.header-area.header-default .header-navigation-area { padding-left: 0; }
.header-area.header-default .header-navigation-area .main-menu > li > a { margin: 0 !important; }

/* Contact form result shown inline when the result modal isn't available */
.contact-form-status { margin: 14px 0 0; padding: 12px 16px; border-radius: 12px; background: #E7F3EC; color: #1F5C3A; font-weight: 500; }
.contact-form-status.is-error { background: #FCE8E6; color: #8C1D13; }
