* {
  box-sizing: border-box;
}

:root {
  --bg: #0d0f10;
  --panel: #16191b;
  --panel-2: #1c2023;
  --text: #f5f6f6;
  --muted: #a8afb3;
  --line: rgba(255,255,255,.1);
  --accent: #f0b429;
  --accent-dark: #bf8500;
  --light: #f3f4f4;
  --ink: #161819;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

img {
  max-width: 100%;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,15,16,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

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

.brand-logo {
  height: 58px;
  width: auto;
  display: block;
  background: #fff;
  padding: 7px 10px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.footer-logo {
  height: 72px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 600;
}

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

.nav-cta {
  border: 1px solid rgba(240,180,41,.5);
  padding: 11px 16px;
  border-radius: 5px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

.hero {
  min-height: 690px;
  position: relative;
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 72% 24%, rgba(240,180,41,.17), transparent 30%),
    linear-gradient(120deg, #0d0f10 15%, #15191b 100%);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(240,180,41,.13);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(240,180,41,.025),
    0 0 0 140px rgba(240,180,41,.02);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 55px 55px;
  mask-image: linear-gradient(to right, #000, transparent 90%);
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr .7fr;
  gap: 75px;
  align-items: center;
  padding: 100px 0;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 2.4px;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 16px;
}

.eyebrow.dark {
  color: #8d6400;
}

.hero h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(52px, 7vw, 88px);
  line-height: .98;
  letter-spacing: -2px;
  margin: 0 0 28px;
  max-width: 820px;
}

.hero h1 span {
  color: var(--accent);
}

.hero-copy > p {
  color: #c7cccf;
  max-width: 700px;
  font-size: 18px;
  margin-bottom: 30px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 5px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: .2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #111;
}

.btn-primary:hover {
  background: #ffd05c;
  transform: translateY(-1px);
}

.btn-secondary {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.03);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-points {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 28px;
  color: #abb2b5;
  font-size: 13px;
}

.location-pill {
  display: inline-flex;
  margin-top: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  border-radius: 100px;
  color: #e4e7e8;
  font-size: 13px;
}

.hero-card {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.055);
  padding: 34px;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}

.hero-card-label {
  color: var(--accent);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 2px;
}

.hero-card h2 {
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  line-height: 1.05;
  margin: 13px 0;
}

.hero-card p {
  color: #b9c0c3;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #111415;
}

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

.stats-grid > div {
  padding: 25px 30px;
  border-right: 1px solid var(--line);
}

.stats-grid > div:first-child {
  border-left: 1px solid var(--line);
}

.stats strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  color: var(--accent);
}

.stats span {
  color: var(--muted);
  font-size: 12px;
}

.section {
  padding: 100px 0;
}

.stock-section,
.about,
.contact,
.privacy-page {
  background: var(--light);
  color: var(--ink);
}

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

.section-heading.centered {
  justify-content: center;
  text-align: center;
}

.section-heading h2,
.about h2,
.trust h2,
.contact h2,
.privacy-page h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -1px;
}

.section-heading p {
  max-width: 470px;
  color: #62686c;
  margin: 0;
}

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

.stock-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: -12px 0 30px;
  padding: 17px 20px;
  border-left: 4px solid var(--accent);
  background: #fff8e6;
  color: #5c4a1b;
  font-size: 13px;
}

.stock-notice strong {
  flex: 0 0 auto;
  color: #241d0c;
}

.inventory-loading,
.inventory-empty {
  grid-column: 1 / -1;
  padding: 48px;
  text-align: center;
  border: 1px dashed #c9ced0;
  border-radius: 9px;
  color: #687075;
  background: #fff;
}

.machine-card {
  background: #fff;
  border: 1px solid #dfe3e5;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(27,31,34,.06);
}

.machine-image {
  height: 230px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #dfe3e5;
}

.machine-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.machine-card:hover .machine-image img {
  transform: scale(1.025);
}

.image-count {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 9px;
  border-radius: 4px;
  color: #fff;
  background: rgba(10,12,13,.78);
  font-size: 10px;
  font-weight: 800;
}

.placeholder {
  background:
    linear-gradient(130deg, rgba(0,0,0,.3), rgba(0,0,0,.08)),
    repeating-linear-gradient(135deg, #2b3135 0, #2b3135 20px, #30373b 20px, #30373b 40px);
  color: rgba(255,255,255,.38);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 800;
}

.placeholder.alt {
  background:
    linear-gradient(130deg, rgba(0,0,0,.2), rgba(0,0,0,.03)),
    repeating-linear-gradient(45deg, #363b3e 0, #363b3e 20px, #303538 20px, #303538 40px);
}

.status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 7px 9px;
  border-radius: 4px;
  background: var(--accent);
  color: #111;
  font-weight: 900;
  font-size: 10px;
  letter-spacing: 1px;
}

.status-badge.muted {
  background: #e3e6e7;
  color: #333;
}

.status-badge.reserved {
  background: #f1d17a;
}

.status-badge.sold {
  background: #343a3e;
  color: #fff;
}

.machine-body {
  padding: 25px;
}

.machine-meta {
  color: #8e6500;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.machine-body h3 {
  font-family: "Oswald", sans-serif;
  font-size: 29px;
  margin: 4px 0 18px;
}

.spec-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #e7eaeb;
  border-bottom: 1px solid #e7eaeb;
  padding: 13px 0;
  gap: 10px;
  color: #757b7f;
  font-size: 10px;
}

.spec-row strong {
  color: #1d2022;
  font-size: 12px;
}

.machine-body > p {
  color: #656b6f;
  font-size: 14px;
  min-height: 68px;
}

.machine-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 5px;
}

.machine-footer strong {
  font-family: "Oswald", sans-serif;
  font-size: 21px;
}

.machine-footer a {
  color: #8e6500;
  font-weight: 800;
  font-size: 13px;
}

.machine-actions {
  display: flex;
  align-items: center;
  gap: 13px;
}

.machine-actions button {
  border: 0;
  padding: 0;
  background: transparent;
  color: #4d5559;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.machine-actions button:hover,
.machine-actions a:hover {
  color: #5f4300;
}

.machine-dialog {
  width: min(980px, calc(100% - 28px));
  max-height: min(900px, calc(100vh - 32px));
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 30px 100px rgba(0,0,0,.45);
}

.machine-dialog::backdrop {
  background: rgba(5,7,8,.78);
  backdrop-filter: blur(4px);
}

.dialog-close {
  position: absolute;
  z-index: 5;
  top: 13px;
  right: 13px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(10,12,13,.82);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.machine-detail-gallery {
  background: #15191b;
}

.machine-detail-main {
  width: 100%;
  height: min(52vw, 510px);
  object-fit: contain;
  display: block;
}

.machine-thumbnails {
  display: flex;
  gap: 9px;
  padding: 12px;
  overflow-x: auto;
}

.machine-thumbnails button {
  flex: 0 0 86px;
  height: 62px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 5px;
  overflow: hidden;
  background: #2a3033;
  cursor: pointer;
}

.machine-thumbnails button.active {
  border-color: var(--accent);
}

.machine-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-detail-body {
  padding: 32px;
}

.machine-detail-heading {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: start;
}

.machine-detail-heading h2 {
  margin: 3px 0 0;
  font-family: "Oswald", sans-serif;
  font-size: 40px;
  line-height: 1.05;
}

.machine-detail-price {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  white-space: nowrap;
}

.machine-detail-description {
  color: #555e62;
  white-space: pre-line;
}

.detail-specs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 24px 0;
  background: #dfe3e5;
  border: 1px solid #dfe3e5;
}

.detail-specs div {
  padding: 14px;
  background: #f7f8f8;
}

.detail-specs span {
  display: block;
  color: #788085;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.detail-specs strong {
  display: block;
  margin-top: 3px;
  font-size: 14px;
}

.detail-disclaimer {
  padding: 13px 15px;
  border-left: 3px solid var(--accent);
  background: #fff7df;
  color: #65531f;
  font-size: 12px;
}

.services {
  background: #111415;
}

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

.services-grid article {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
  min-height: 280px;
}

.services-grid .icon {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(240,180,41,.5);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
}

.services-grid h3 {
  font-family: "Oswald", sans-serif;
  font-size: 25px;
  margin: 35px 0 10px;
}

.services-grid p {
  color: var(--muted);
  font-size: 14px;
}

.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-panel {
  min-height: 470px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(240,180,41,.3), transparent 28%),
    #202527;
  overflow: hidden;
  padding: 30px;
}

.about-logo {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0,0,0,.24);
  width: min(90%, 460px);
}

.about-copy > p,
.privacy-page p,
.privacy-page li {
  color: #5d6468;
  font-size: 16px;
}

.about-callout {
  margin-top: 28px;
  padding: 22px;
  border-left: 4px solid var(--accent);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.about-callout span {
  color: #5f6569;
  margin-top: 4px;
}

.trust {
  background: #171a1c;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.trust ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.trust li {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  color: #c8cdcf;
}

.trust li span {
  color: var(--accent);
  margin-right: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.contact > .container > div > p {
  color: #62696d;
}

.contact-details {
  margin-top: 35px;
  display: grid;
  gap: 18px;
}

.contact-details div {
  border-top: 1px solid #d8dcde;
  padding-top: 14px;
}

.contact-details span {
  display: block;
  color: #8d9498;
  text-transform: uppercase;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.6px;
}

.contact-details a,
.contact-details strong {
  font-size: 15px;
}

.small-note {
  margin-top: 26px;
  font-size: 12px;
  font-style: italic;
}

.enquiry-form {
  background: #fff;
  padding: 32px;
  border: 1px solid #dfe3e5;
  border-radius: 8px;
  box-shadow: 0 15px 50px rgba(0,0,0,.07);
}

.enquiry-form label {
  display: block;
  font-weight: 700;
  font-size: 12px;
  margin-bottom: 16px;
}

.enquiry-form input,
.enquiry-form textarea,
.enquiry-form select {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #ccd2d5;
  background: #fafbfb;
  border-radius: 5px;
  padding: 13px;
  font: inherit;
  outline: none;
}

.enquiry-form input:focus,
.enquiry-form textarea:focus,
.enquiry-form select:focus {
  border-color: #b98609;
  box-shadow: 0 0 0 3px rgba(240,180,41,.14);
}

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

.full {
  width: 100%;
}

.form-note {
  color: #8b9195;
  font-size: 10px;
  text-align: center;
  margin: 10px 0 0;
}

.privacy-page {
  padding: 100px 0;
}

.privacy-wrap {
  max-width: 850px;
}

.privacy-wrap h2 {
  font-family: "Oswald", sans-serif;
  letter-spacing: -.5px;
  margin-top: 34px;
  margin-bottom: 8px;
}

footer {
  border-top: 1px solid var(--line);
  background: #0a0c0d;
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 12px;
}

footer p {
  color: #767e82;
  font-size: 12px;
  margin: 6px 0;
}

.footer-links {
  display: grid;
  gap: 9px;
  font-size: 13px;
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--accent);
}

.footer-legal {
  text-align: right;
}

@media (max-width: 980px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-card {
    max-width: 650px;
  }

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

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

  .about-grid,
  .contact-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .about-panel {
    min-height: 330px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand-logo {
    height: 46px;
    padding: 6px 8px;
  }

  .footer-logo {
    height: 58px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    top: 88px;
    left: 0;
    right: 0;
    background: #111415;
    padding: 20px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 72px 0;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-points {
    flex-direction: column;
    gap: 7px;
  }

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

  .stats-grid > div {
    border-bottom: 1px solid var(--line);
  }

  .section,
  .privacy-page {
    padding: 70px 0;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .stock-notice,
  .machine-detail-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-specs {
    grid-template-columns: 1fr 1fr;
  }

  .machine-detail-body {
    padding: 24px 19px;
  }

  .stock-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-legal {
    text-align: left;
  }
}

/* SEO / multi-page website additions */
.inline-link {
  color: #755200;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.section-action {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 78px;
  background:
    radial-gradient(circle at 82% 18%, rgba(240,180,41,.15), transparent 28%),
    linear-gradient(120deg, #0d0f10 15%, #171b1d 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 370px;
  height: 370px;
  right: -110px;
  top: -140px;
  border-radius: 50%;
  border: 1px solid rgba(240,180,41,.14);
  box-shadow: 0 0 0 60px rgba(240,180,41,.025), 0 0 0 120px rgba(240,180,41,.018);
}

.page-hero.compact {
  padding: 26px 0;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: clamp(46px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -1.5px;
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #c0c6c9;
  font-size: 17px;
}

.breadcrumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #aeb5b8;
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.inventory-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0 0 28px;
}

.inventory-filter {
  border: 1px solid #cbd1d4;
  border-radius: 100px;
  padding: 9px 14px;
  background: #fff;
  color: #4f575b;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.inventory-filter:hover,
.inventory-filter.active {
  border-color: #aa7700;
  background: #fff6dc;
  color: #5f4300;
}

.seo-copy {
  max-width: 900px;
  margin: 70px auto 0;
  padding-top: 38px;
  border-top: 1px solid #d9dddf;
  text-align: center;
}

.seo-copy h2,
.seller-copy h2,
.machine-page-info h2,
.seller-form h2 {
  margin: 0 0 15px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
}

.seo-copy p,
.seller-copy > p {
  color: #62696d;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  min-height: 22px;
  margin: 13px 0 0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.form-status.success { color: #23603a; }
.form-status.error { color: #a4372d; }

.enquiry-form button:disabled {
  opacity: .58;
  cursor: wait;
}

.seller-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 75px;
  align-items: start;
}

.process-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 30px 0;
  padding: 0;
}

.process-list li {
  padding: 20px;
  border: 1px solid #dfe3e5;
  border-radius: 7px;
  background: #fff;
}

.process-list strong,
.process-list span {
  display: block;
}

.process-list strong {
  margin-bottom: 4px;
  color: #1d2022;
}

.process-list span {
  color: #6b7276;
  font-size: 13px;
}

.seller-note {
  padding: 20px;
  border-left: 4px solid var(--accent);
  background: #fff7df;
  color: #62501d;
}

.seller-note p {
  margin: 5px 0 0;
  font-size: 13px;
}

.seller-form h2 {
  margin-bottom: 24px;
}

.seller-photo-label > span {
  float: right;
  color: #8b9195;
  font-weight: 500;
}

.seller-photo-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: -4px 0 18px;
}

.seller-photo-preview span {
  max-width: 100%;
  padding: 7px 9px;
  border-radius: 4px;
  background: #eef1f2;
  color: #596166;
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.seller-photo-preview .photo-warning {
  background: #fff0ee;
  color: #8e3027;
}

.policy-note {
  margin-top: 35px;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #fff;
  font-size: 13px !important;
}

.machine-page-section {
  background: var(--light);
  color: var(--ink);
}

.machine-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: 34px;
  align-items: start;
}

.machine-page-gallery {
  overflow: hidden;
  border-radius: 10px;
  background: #171b1d;
  box-shadow: 0 18px 55px rgba(0,0,0,.12);
}

.machine-page-gallery.placeholder {
  min-height: 500px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.45);
  letter-spacing: 2px;
  font-size: 12px;
}

.machine-page-main {
  width: 100%;
  height: min(58vw, 610px);
  display: block;
  object-fit: contain;
}

.machine-page-thumbs {
  display: flex;
  gap: 9px;
  padding: 12px;
  overflow-x: auto;
}

.machine-page-thumbs button {
  flex: 0 0 96px;
  height: 70px;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 5px;
  background: #2a3033;
  cursor: pointer;
}

.machine-page-thumbs button.active {
  border-color: var(--accent);
}

.machine-page-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.machine-summary-card {
  position: sticky;
  top: 112px;
  padding: 30px;
  border: 1px solid #dce1e3;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0,0,0,.07);
}

.status-badge.static {
  position: static;
  display: inline-flex;
  margin-top: 12px;
}

.machine-summary-card h1 {
  margin: 13px 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 4vw, 52px);
  line-height: 1;
}

.machine-page-price {
  margin: 16px 0;
  font-family: "Oswald", sans-serif;
  font-size: 29px;
}

.machine-summary-card > p {
  color: #636b6f;
  font-size: 14px;
}

.machine-back-link {
  display: block;
  margin-top: 17px;
  color: #6e767a;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.machine-back-link:hover { color: #765300; }

.machine-page-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  margin-top: 58px;
  padding-top: 48px;
  border-top: 1px solid #d8dddf;
}

.long-description {
  color: #5d6569;
  white-space: pre-line;
}

.machine-page-info .detail-specs {
  grid-template-columns: 1fr 1fr;
  margin-top: 22px;
}

.machine-enquiry-section {
  border-top: 1px solid #d8dddf;
}

@media (max-width: 980px) {
  .page-hero-inner,
  .seller-layout,
  .machine-page-grid,
  .machine-page-info {
    grid-template-columns: 1fr;
  }

  .page-hero-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .seller-layout {
    gap: 42px;
  }

  .machine-summary-card {
    position: static;
  }

  .machine-page-main {
    height: min(72vw, 590px);
  }
}

@media (max-width: 760px) {
  .page-hero {
    padding: 66px 0 58px;
  }

  .page-hero.compact {
    padding: 22px 0;
  }

  .page-hero h1 {
    font-size: 46px;
  }

  .inventory-toolbar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 5px;
  }

  .inventory-filter {
    flex: 0 0 auto;
  }

  .machine-page-main {
    height: 72vw;
  }

  .machine-page-info .detail-specs {
    grid-template-columns: 1fr;
  }
}
