﻿:root{
  --bg:#ffffff;
  --section:#f7f7f7;
  --section-2:#faf9f6;
  --text:#1b1b1b;
  --muted:#6d6d6d;
  --muted-2:#8a8a8a;
  --line:#e5e5e5;
  --line-strong:#d9d9d9;
  --gold:#d5a647;
  --gold-dark:#b6882f;
  --gold-soft:#fcf7ea;
  --shadow-sm:0 8px 24px rgba(0,0,0,.05);
  --shadow-md:0 14px 36px rgba(0,0,0,.08);
  --radius:18px;
  --radius-sm:12px;
  --max:1200px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  line-height:1.6;
  position:relative;
  background-color:#f7f4ee;
  background-position:center;
  background-size:cover;
  background-attachment:fixed;
  background-repeat:no-repeat;
}

body.page-home{
  background-image:
    linear-gradient(90deg, rgba(247,244,238,.88) 0%, rgba(247,244,238,.64) 42%, rgba(247,244,238,.22) 100%),
    url('home-construction-bg.png');
}

body.page-products,
body.page-machine{
  background-image:
    linear-gradient(90deg, rgba(247,244,238,.86) 0%, rgba(247,244,238,.58) 46%, rgba(247,244,238,.20) 100%),
    url('products-tractor-bg.png');
}

body.page-contact{
  background-image:
    linear-gradient(90deg, rgba(247,244,238,.86) 0%, rgba(247,244,238,.58) 46%, rgba(247,244,238,.20) 100%),
    url('contact-implements-bg.png');
}

body.page-quote{
  background-image:
    linear-gradient(90deg, rgba(247,244,238,.86) 0%, rgba(247,244,238,.58) 46%, rgba(247,244,238,.20) 100%),
    url('quote-ppe-bg.png');
}

body::before{
  content:none;
}

a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
button,input,textarea{font:inherit}

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

.topbar{
  position:sticky;
  top:0;
  z-index:50;
  border-bottom:1px solid var(--line);
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(12px);
  transition:box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}

.topbar:hover{
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

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

.brand{
  display:inline-flex;
  align-items:center;
  min-width:0;
  flex-shrink:0;
}

.brand-logo{
  width:auto;
  height:62px;
  max-width:220px;
  object-fit:contain;
  background:transparent;
  padding:0;
  border-radius:0;
  box-shadow:none;
  flex-shrink:0;
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.nav a{
  color:#444;
  font-weight:700;
  padding:10px 14px;
  border-radius:999px;
  position:relative;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    background-color .28s ease,
    color .28s ease;
}

.nav a:hover{
  background:#f4f4f4;
  color:#000;
}

.nav a.active{
  background:var(--gold-soft);
  color:#5f4916;
  border:1px solid #ead7ab;
}

.nav a::after{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  bottom:6px;
  height:2px;
  border-radius:999px;
  background:var(--gold);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .22s ease;
}

.nav a:hover::after,
.nav a.active::after{
  transform:scaleX(1);
}

.section{
  padding:64px 0;
}

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

.section-title{
  margin:0;
  font-size:2rem;
  letter-spacing:-0.03em;
}

.section-copy{
  max-width:62ch;
  color:var(--muted);
  margin:0;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  background:var(--gold-soft);
  color:#6b5824;
  border:1px solid #ead7ab;
  border-radius:999px;
  font-size:.82rem;
  font-weight:700;
}

.small-muted{
  color:#666;
  line-height:1.7;
}

/* HOME HERO */
.page-home .hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  padding:54px 0 38px;
  border-bottom:1px solid var(--line);
  background:transparent;
}

.hero-overlay-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size:44px 44px;
  opacity:.1;
  pointer-events:none;
  z-index:0;
}

.hero-shell{
  position:relative;
  z-index:2;
  min-height:72vh;
  display:grid;
  grid-template-columns:minmax(300px, 440px) minmax(420px, 1fr);
  gap:76px;
  align-items:center;
}

.hero-copy{
  display:grid;
  gap:20px;
  align-content:center;
  padding:10px 0 24px;
}

.hero-badge{
  justify-self:start;
}

.hero-title{
  margin:0;
  font-size:clamp(2.6rem, 5vw, 4.8rem);
  line-height:.94;
  letter-spacing:-0.055em;
  max-width:11ch;
}

.hero-title span{
  display:block;
}

.hero-accent{
  color:#b6882f;
}

.hero-lead{
  margin:0;
  max-width:34ch;
  font-size:1.08rem;
  line-height:1.8;
  color:#2f2a24;
}

.hero-support{
  margin:0;
  max-width:32ch;
  font-size:1rem;
  line-height:1.8;
  color:#575047;
}

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

.hero-visual{
  position:relative;
}

.hero-stage{
  position:relative;
  min-height:520px;
  padding:24px 28px 112px;
  border-radius:34px;
  background:
    radial-gradient(circle at top right, rgba(213,166,71,.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.74), rgba(255,255,255,.38));
  border:1px solid rgba(0,0,0,.05);
  box-shadow:
    0 24px 48px rgba(0,0,0,.07),
    inset 0 1px 0 rgba(255,255,255,.6);
  backdrop-filter:blur(6px);
  overflow:hidden;
}

.hero-stage::before{
  content:"";
  position:absolute;
  inset:18px;
  border:1px solid rgba(213,166,71,.18);
  border-radius:26px;
  pointer-events:none;
}

.hero-slides{
  position:relative;
  min-height:384px;
}

.hero-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transform:translateX(24px) scale(.985);
  transition:opacity .5s ease, transform .5s ease;
  pointer-events:none;
}

.hero-slide.active{
  opacity:1;
  transform:translateX(0) scale(1);
  pointer-events:auto;
}

.hero-slide img{
  width:min(680px, 82%);
  max-height:352px;
  object-fit:contain;
  filter:drop-shadow(0 22px 30px rgba(0,0,0,.16));
}

.hero-stage-meta{
  position:absolute;
  left:24px;
  right:24px;
  bottom:22px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  z-index:4;
}

.hero-caption-wrap{
  display:grid;
  gap:6px;
  max-width:min(360px, calc(100% - 110px));
  padding:14px 18px;
  border-radius:22px;
  background:rgba(255,255,255,.78);
  border:1px solid rgba(213,166,71,.22);
  box-shadow:0 18px 34px rgba(0,0,0,.08);
  backdrop-filter:blur(12px);
}

.hero-caption-label{
  font-size:.7rem;
  font-weight:800;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:#8a7442;
}

.hero-caption{
  font-size:1.16rem;
  font-weight:800;
  letter-spacing:-0.02em;
  color:#1d1b18;
  min-height:28px;
}

.hero-dots{
  display:flex;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  padding:12px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.7);
  border:1px solid rgba(0,0,0,.05);
  box-shadow:0 10px 24px rgba(0,0,0,.06);
  backdrop-filter:blur(10px);
}

.hero-dot{
  width:11px;
  height:11px;
  border-radius:999px;
  border:none;
  padding:0;
  background:rgba(0,0,0,.18);
  cursor:pointer;
  transition:transform .2s ease, background-color .2s ease, width .2s ease;
}

.hero-dot.active{
  width:32px;
  background:var(--gold-dark);
}

.hero-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
  width:44px;
  height:44px;
  border:none;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  color:#2a2419;
  font-size:1.6rem;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.hero-arrow:hover{
  background:#fff;
  transform:translateY(-50%) scale(1.04);
  box-shadow:0 12px 24px rgba(0,0,0,.12);
}

.hero-arrow-prev{
  left:18px;
}

.hero-arrow-next{
  right:18px;
}

/* PAGE SYSTEM */
.page-shell{
  position:relative;
  overflow:hidden;
}

.page-top-accent{
  position:relative;
  overflow:hidden;
  background:transparent;
  border-bottom:1px solid var(--line);
  margin-bottom:28px;
}

.page-overlay-grid{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
  background-size:42px 42px;
  opacity:.15;
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.9), rgba(0,0,0,.18));
  pointer-events:none;
  z-index:0;
}

.page-orb{
  display:none;
}

.page-orb-a{
  width:280px;
  height:280px;
  right:-80px;
  top:-60px;
  background:radial-gradient(circle, rgba(213,166,71,.22), rgba(213,166,71,0) 70%);
  animation:pageFloatOne 9s ease-in-out infinite;
}

.page-orb-b{
  width:220px;
  height:220px;
  left:-60px;
  bottom:-80px;
  background:radial-gradient(circle, rgba(213,166,71,.14), rgba(213,166,71,0) 70%);
  animation:pageFloatTwo 11s ease-in-out infinite;
}

@keyframes pageFloatOne{
  0%,100%{ transform:translateY(0) translateX(0); }
  50%{ transform:translateY(18px) translateX(-14px); }
}

@keyframes pageFloatTwo{
  0%,100%{ transform:translateY(0) translateX(0); }
  50%{ transform:translateY(-14px) translateX(12px); }
}

.page-products .page-top-accent,
.page-machine .page-top-accent,
.page-contact .page-top-accent,
.page-quote .page-top-accent{
  background:transparent;
}

.page-intro{
  position:relative;
  z-index:2;
  padding:36px 0 18px;
}

.machine-page-top{
  margin-bottom:24px;
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 20px;
  border-radius:999px;
  background:var(--gold);
  color:#111;
  font-weight:800;
  border:1px solid var(--gold-dark);
  cursor:pointer;
  position:relative;
  overflow:hidden;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    background-color .28s ease,
    color .28s ease;
}

.btn:hover{
  background:var(--gold-dark);
  color:#fff;
  transform:translateY(-1px);
  box-shadow:0 12px 24px rgba(0,0,0,.10);
}

.btn.secondary{
  background:#fff;
  border:1px solid var(--line-strong);
  color:#222;
}

.btn.secondary:hover{
  background:#f6f6f6;
  color:#000;
  border-color:#cfcfcf;
  box-shadow:none;
}

.btn::after{
  content:"";
  position:absolute;
  top:0;
  left:-20%;
  width:0;
  height:100%;
  background:rgba(255,255,255,.24);
  transform:skewX(-20deg);
  transition:width .35s ease;
}

.btn:hover::after{
  width:140%;
}

/* PANELS */
.about-grid,
.contact-grid,
.quote-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
}

.panel{
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.58);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow-sm);
  position:relative;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.panel:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(0,0,0,.10);
  border-color:#dcc79c;
}

.panel h3{
  margin:0 0 12px;
  font-size:1.12rem;
  letter-spacing:-0.02em;
}

.panel p{
  margin:0;
  color:#555;
  line-height:1.8;
}

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

.stat{
  background:var(--section-2);
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.stat:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(0,0,0,.10);
  border-color:#dcc79c;
}

.stat strong{
  display:block;
  font-size:1.45rem;
  line-height:1;
  margin-bottom:8px;
}

.stat span{
  color:var(--muted);
  font-size:.95rem;
}

/* PRODUCTS */
.featured{
  padding:0 0 64px;
}

.filters{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:18px;
  position:relative;
  z-index:2;
}

.filter-btn{
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:#fff;
  color:#333;
  cursor:pointer;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease,
    background-color .28s ease,
    color .28s ease;
}

.filter-btn:hover{
  border-color:#d5c39a;
  background:#fcfaf4;
  transform:translateY(-2px);
  box-shadow:0 10px 20px rgba(0,0,0,.05);
}

.filter-btn.active{
  background:var(--gold-soft);
  color:#6b5824;
  border-color:#ead7ab;
  font-weight:700;
}

.search-row{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
  margin-bottom:24px;
  position:relative;
  z-index:2;
}

.search-row input{
  width:100%;
  border:1px solid var(--line);
  background:#fff;
  min-height:52px;
  border-radius:14px;
  padding:0 16px;
  outline:none;
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease,
    background-color .22s ease;
}

.search-row input:hover{
  border-color:#d8c39a;
  background:#fffefb;
}

.search-row input:focus{
  border-color:#d2b06a;
  box-shadow:0 0 0 4px rgba(213,166,71,.12);
  transform:translateY(-1px);
}

.results-count{
  color:var(--muted);
  font-size:.95rem;
  white-space:nowrap;
}

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

.product-card{
  display:flex;
  flex-direction:column;
  background:rgba(255,255,255,.90);
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,.62);
  border-radius:22px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
  position:relative;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.product-card:hover{
  border-color:#d4b067;
  box-shadow:0 24px 54px rgba(0,0,0,.12);
  transform:translateY(-4px);
}

.product-image{
  background:#fbfbfb;
  border-bottom:1px solid var(--line);
  padding:16px;
  overflow:hidden;
}

.product-image img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:contain;
  transition:transform .45s ease, filter .35s ease;
}

.product-card:hover .product-image img{
  transform:scale(1.05);
  filter:drop-shadow(0 14px 24px rgba(0,0,0,.12));
}

.product-body{
  display:flex;
  flex-direction:column;
  gap:12px;
  padding:18px;
}

.product-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.product-category{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 10px;
  border-radius:999px;
  background:#f7f7f7;
  border:1px solid var(--line);
  color:#666;
  font-size:.82rem;
  font-weight:700;
}

.product-body h3{
  margin:0;
  font-size:1.16rem;
  line-height:1.35;
  letter-spacing:-0.02em;
  transition:color .2s ease;
}

.product-body p{
  margin:0;
  color:#4f4f4f;
  line-height:1.7;
}

.product-card:hover .product-body h3{
  color:#7a5a17;
}

.read-more{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  font-weight:800;
  color:#111;
  transition:gap .2s ease, color .2s ease, transform .2s ease;
}

.read-more::after{
  content:"\2192";
}

.product-card:hover .read-more{
  gap:12px;
  color:var(--gold-dark);
  transform:translateX(2px);
}

.empty{
  display:none;
  padding:24px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  color:#666;
}

/* MACHINE PAGE */
.machine-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:18px;
  font-size:.92rem;
  color:var(--muted);
  position:relative;
  z-index:2;
}

.machine-breadcrumbs a:hover{
  color:#000;
}

.machine-top{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:24px;
  margin-bottom:24px;
  align-items:start;
}

.machine-image-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:18px;
  box-shadow:var(--shadow-sm);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.machine-image-box:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(0,0,0,.10);
  border-color:#dcc79c;
}

.machine-image-box img{
  width:100%;
  aspect-ratio:4 / 3;
  object-fit:contain;
  background:#fbfbfb;
  border-radius:18px;
}

.machine-info{
  background:#fff;
  border:1px solid var(--line);
  border-radius:26px;
  padding:24px;
  box-shadow:var(--shadow-sm);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.machine-info:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(0,0,0,.10);
  border-color:#dcc79c;
}

.machine-info h2{
  margin:0 0 8px;
  font-size:2rem;
  letter-spacing:-0.03em;
}

.machine-subtitle{
  margin:0 0 14px;
  color:var(--muted);
  font-size:1.05rem;
}

.quick-specs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
}

.quick-specs span,
.chip-list span{
  display:inline-flex;
  align-items:center;
  min-height:36px;
  padding:0 12px;
  background:#f3f3f3;
  border:1px solid #e4e4e4;
  border-radius:999px;
  font-size:.92rem;
  font-weight:700;
  color:#333;
}

.machine-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:22px;
  align-items:start;
}

.machine-sidebar{
  position:sticky;
  top:110px;
}

.spec-section{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  margin-bottom:18px;
  box-shadow:var(--shadow-sm);
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease;
}

.spec-section:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 42px rgba(0,0,0,.10);
  border-color:#dcc79c;
}

.spec-section h3{
  margin:0 0 14px;
  font-size:1.08rem;
  letter-spacing:-0.02em;
}

.spec-table{
  width:100%;
  border-collapse:collapse;
}

.spec-table td{
  padding:12px 0;
  border-bottom:1px solid #ececec;
  vertical-align:top;
}

.spec-table tr:last-child td{
  border-bottom:none;
}

.spec-table td:first-child{
  width:42%;
  color:#555;
  font-weight:700;
  padding-right:18px;
}

.note-box{
  background:var(--gold-soft);
  border:1px solid #ead7ab;
  border-radius:18px;
  padding:18px;
  margin-bottom:18px;
  color:#6b5824;
  line-height:1.7;
}

.info-list{
  display:grid;
  gap:14px;
  margin-top:10px;
}

.info-item{
  padding:14px 0;
  border-bottom:1px solid var(--line);
}

.info-item:last-child{
  border-bottom:none;
  padding-bottom:0;
}

.info-item strong{
  display:block;
  margin-bottom:5px;
  color:#111;
}

.range-products{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:12px;
}

.range-product-item{
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fafafa;
  font-weight:600;
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.range-product-item:hover{
  transform:translateY(-2px);
  border-color:#d9c08a;
  box-shadow:0 10px 20px rgba(0,0,0,.05);
}

/* FORMS */
.form{
  display:grid;
  gap:14px;
}

.form input,
.form textarea{
  width:100%;
  border:1px solid #d9d9d9;
  padding:14px 16px;
  background:#fff;
  border-radius:14px;
  outline:none;
  transition:
    border-color .22s ease,
    box-shadow .22s ease,
    transform .22s ease,
    background-color .22s ease;
}

.form textarea{
  min-height:150px;
  resize:vertical;
}

.form input:hover,
.form textarea:hover{
  border-color:#d8c39a;
  background:#fffefb;
}

.form input:focus,
.form textarea:focus{
  border-color:#d2b06a;
  box-shadow:0 0 0 4px rgba(213,166,71,.12);
  transform:translateY(-1px);
}

.footer{
  margin-top:64px;
  background:linear-gradient(180deg, rgba(248,245,239,.94), rgba(241,236,227,.96));
  backdrop-filter:blur(10px);
  border-top:1px solid rgba(0,0,0,.06);
}

.footer-inner{
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:40px;
  padding:48px 0;
}

/* LOGO */
.footer-logo{
  height:64px;
  filter:contrast(1.05);
}

/* TEXT */
.footer-copy{
  color:#5f5f5f;
  line-height:1.7;
  margin-bottom:18px;
  max-width:420px;
}

/* HEADINGS */
.footer-col h4{
  font-size:.85rem;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#9a9a9a;
  margin-bottom:14px;
}

/* LINKS */
.footer-col a{
  display:block;
  margin-bottom:10px;
  color:#2a2a2a;
  text-decoration:none;
  font-weight:600;
  transition:.25s;
}

.footer-col a:hover{
  color:var(--gold);
  transform:translateX(4px);
}

/* CONTACT TEXT */
.footer-col p{
  margin:0 0 10px;
  color:#555;
}

.footer-location{
  font-size:.9rem;
  opacity:.7;
}

/* CTA BUTTON */
.footer-cta{
  display:inline-block;
  padding:12px 20px;
  background:var(--gold);
  color:#fff;
  font-weight:700;
  border-radius:10px;
  text-decoration:none;
  transition:.25s;
  width:auto;              /* IMPORTANT: stops stretching */
}

.footer-cta:hover{
  background:#c89b3c;      /* slightly darker gold */
  color:#fff;              /* FORCE text color */
  transform:translateY(-2px);
}

.footer-cta{
  display:inline-block;
}

/* BOTTOM */
.footer-bottom{
  text-align:center;
  padding:18px 0;
  font-size:.85rem;
  color:#777;
  border-top:1px solid rgba(0,0,0,.05);
}

.footer-brand-col{
  max-width:420px;
}

/* MOBILE */
@media (max-width:768px){
  .footer-inner{
    grid-template-columns:1fr;
  }
}

/* REVEAL */
.reveal{
  opacity:0;
  transform:translateY(40px);
  transition:opacity .8s ease, transform .8s ease;
}

.reveal.active{
  opacity:1;
  transform:translateY(0);
}

/* RESPONSIVE */
@media (max-width:1100px){
  .hero-shell,
  .products-grid,
  .about-grid,
  .contact-grid,
  .quote-grid,
  .machine-top,
  .machine-layout{
    grid-template-columns:1fr;
  }

  .machine-sidebar{
    position:static;
  }

  .hero-shell{
    gap:34px;
    min-height:auto;
  }

  .hero-title{
    max-width:none;
  }

  .hero-copy{
    padding-bottom:0;
  }

  .hero-stage{
    min-height:470px;
    padding-bottom:104px;
  }

  .hero-slides{
    min-height:340px;
  }

  .hero-slide img{
    width:min(620px, 84%);
    max-height:300px;
  }
}

@media (max-width:760px){
  .topbar-inner{
    flex-direction:column;
    align-items:flex-start;
    padding:16px 0;
  }

  .nav{
    gap:8px;
  }

  .brand-logo{
    height:54px;
    max-width:180px;
  }

  .page-home .hero{
    padding:34px 0 24px;
  }

  .section{
    padding:48px 0;
  }

  .search-row,
  .stats-grid,
  .range-products{
    grid-template-columns:1fr;
  }

  .hero-title{
    font-size:clamp(2.2rem, 11vw, 3.6rem);
    line-height:1;
  }

  .hero-lead,
  .hero-support{
    max-width:none;
  }

  .hero-stage{
    min-height:360px;
    padding:18px 18px 94px;
    border-radius:24px;
  }

  .hero-stage::before{
    inset:12px;
    border-radius:18px;
  }

  .hero-slides{
    min-height:220px;
  }

  .hero-slide img{
    width:86%;
    max-height:200px;
  }

  .hero-arrow{
    width:38px;
    height:38px;
    font-size:1.4rem;
  }

  .hero-arrow-prev{
    left:10px;
  }

  .hero-arrow-next{
    right:10px;
  }

  .hero-stage-meta{
    left:18px;
    right:18px;
    bottom:16px;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
  }

  .hero-caption-wrap{
    max-width:none;
    padding:12px 14px;
    border-radius:18px;
  }

  .hero-caption-label{
    font-size:.66rem;
  }

  .hero-caption{
    font-size:1rem;
  }

  .hero-dots{
    justify-content:flex-start;
    padding:10px 12px;
  }
}

@media (prefers-reduced-motion: reduce){
  *{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
  }

  .reveal{
    opacity:1 !important;
    transform:none !important;
  }
}
/* ADD THIS AT THE VERY END OF styles.css */

html.js-page-transitions body main{
  opacity:0;
  transform:translateY(18px);
  transition:
    opacity .45s cubic-bezier(.22,1,.36,1),
    transform .45s cubic-bezier(.22,1,.36,1);
}

html.js-page-transitions body.page-ready main{
  opacity:1;
  transform:none;
}

html.js-page-transitions body.page-leaving main{
  opacity:0;
  transform:translateY(12px);
}

.page-transition-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  pointer-events:none;
  opacity:0;
  background:
    radial-gradient(circle at top right, rgba(213,166,71,.14), transparent 30%),
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(247,244,238,.92));
  transition:opacity .38s ease;
}

body.page-leaving .page-transition-overlay{
  opacity:1;
}

@media (prefers-reduced-motion: reduce){
  html.js-page-transitions body main,
  .page-transition-overlay{
    transition:none !important;
  }

  html.js-page-transitions body main{
    opacity:1 !important;
    transform:none !important;
  }
}

/* SHOP BY RANGE IMAGE CARDS */
.shop-range{
  position:relative;
  padding:58px 0 64px;
  background:
    linear-gradient(90deg, rgba(247,244,238,.96) 0%, rgba(247,244,238,.88) 48%, rgba(247,244,238,.76) 100%);
  border-top:1px solid rgba(0,0,0,.05);
  border-bottom:1px solid rgba(0,0,0,.06);
  overflow:hidden;
}

.shop-range::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 8% 14%, rgba(213,166,71,.14), transparent 28%),
    linear-gradient(135deg, rgba(255,255,255,.68), rgba(255,255,255,.18));
  pointer-events:none;
}

.shop-range .container{
  position:relative;
  z-index:1;
}

.range-card-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0, 1fr));
  gap:18px;
}

.range-card{
  display:flex;
  flex-direction:column;
  min-height:390px;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  box-shadow:0 16px 36px rgba(0,0,0,.08);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.range-card:hover{
  transform:translateY(-5px);
  border-color:rgba(213,166,71,.55);
  box-shadow:0 24px 54px rgba(0,0,0,.14);
}

.range-card-media{
  height:150px;
  overflow:hidden;
  background:#efe9dc;
  border-bottom:1px solid rgba(0,0,0,.07);
}

.range-card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .42s ease, filter .42s ease;
}

.range-card:hover .range-card-media img{
  transform:scale(1.06);
  filter:saturate(1.04) contrast(1.04);
}

.range-card-content{
  display:flex;
  flex-direction:column;
  flex:1;
  gap:12px;
  padding:18px;
}

.range-card-topline{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}

.range-initials{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:48px;
  height:42px;
  padding:0 10px;
  border-radius:14px;
  background:#111;
  color:#fff;
  font-weight:900;
  letter-spacing:.06em;
  font-size:.86rem;
}


.range-card h3{
  margin:2px 0 0;
  font-size:1.17rem;
  line-height:1.22;
  letter-spacing:-.025em;
}

.range-card p{
  margin:0;
  color:#4f4f4f;
  line-height:1.65;
}

.range-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:auto;
  font-weight:900;
  color:#1b1b1b;
}

.range-link::after{
  content:"\2192";
  color:var(--gold-dark);
  transition:transform .2s ease;
}

.range-card:hover .range-link::after{
  transform:translateX(4px);
}

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

@media (max-width:760px){
  .shop-range{
    padding:42px 0 48px;
  }

  .range-card-grid{
    grid-template-columns:1fr;
  }

  .range-card{
    min-height:auto;
  }

  .range-card-media{
    height:190px;
  }
}


/* ===== PAGE BACKGROUND UPDATE: FE INDUSTRIAL VISUAL SYSTEM ===== */
body.page-home{
  background-image:
    linear-gradient(90deg, rgba(247,244,238,.88) 0%, rgba(247,244,238,.64) 42%, rgba(247,244,238,.22) 100%),
    url('home-construction-bg.png');
}

body.page-products,
body.page-machine{
  background-image:
    linear-gradient(90deg, rgba(247,244,238,.86) 0%, rgba(247,244,238,.58) 46%, rgba(247,244,238,.20) 100%),
    url('products-tractor-bg.png');
}

body.page-contact{
  background-image:
    linear-gradient(90deg, rgba(247,244,238,.86) 0%, rgba(247,244,238,.58) 46%, rgba(247,244,238,.20) 100%),
    url('contact-implements-bg.png');
}

body.page-quote{
  background-image:
    linear-gradient(90deg, rgba(247,244,238,.86) 0%, rgba(247,244,238,.58) 46%, rgba(247,244,238,.20) 100%),
    url('quote-ppe-bg.png');
}

.page-home .hero,
.page-top-accent,
.page-products .page-top-accent,
.page-machine .page-top-accent,
.page-contact .page-top-accent,
.page-quote .page-top-accent{
  background:rgba(247,244,238,.30) !important;
}

.section:not(.page-shell),
.featured,
.shop-range{
  background:rgba(247,244,238,.58);
  backdrop-filter:blur(2px);
}

.panel,
.product-card,
.spec-section,
.machine-image-box,
.machine-info,
.quote-item-card,
.quote-empty-state{
  background:rgba(255,255,255,.88) !important;
  backdrop-filter:blur(8px);
}

.range-card{
  background:rgba(255,255,255,.90) !important;
  backdrop-filter:blur(8px);
}

.hero-stage{
  background:
    radial-gradient(circle at top right, rgba(213,166,71,.16), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.70), rgba(255,255,255,.38)) !important;
}

.conversion-bar,
.sticky-conversion-bar,
.bottom-rfq-bar,
.rfq-sticky-bar{
  display:none !important;
}

@media (max-width: 760px){
  body{
    background-attachment:scroll;
    background-position:center top;
  }

  body.page-home,
  body.page-products,
  body.page-machine,
  body.page-contact,
  body.page-quote{
    background-image:
      linear-gradient(180deg, rgba(247,244,238,.90) 0%, rgba(247,244,238,.70) 45%, rgba(247,244,238,.52) 100%),
      var(--mobile-bg, none);
  }

  body.page-home{ --mobile-bg:url('home-construction-bg.png'); }
  body.page-products,
  body.page-machine{ --mobile-bg:url('products-tractor-bg.png'); }
  body.page-contact{ --mobile-bg:url('contact-implements-bg.png'); }
  body.page-quote{ --mobile-bg:url('quote-ppe-bg.png'); }
}


/* =========================================================
   FE VISUAL CLEANUP PATCH
   Fixes: desktop hamburger dash, indistinct footer, black
   range initials, weak product-page backgrounds.
========================================================= */

/* 1) Header: hide the JS-inserted menu toggle on desktop */
.nav-toggle{
  display:none !important;
}

.topbar{
  background:rgba(255,255,255,.97) !important;
  border-bottom:1px solid rgba(0,0,0,.10) !important;
  box-shadow:0 8px 22px rgba(0,0,0,.04) !important;
}

.topbar-inner{
  min-height:84px !important;
}

.nav{
  align-items:center;
  gap:18px !important;
}

.nav a{
  border-radius:12px !important;
  padding:10px 14px !important;
  background:transparent !important;
  border:1px solid transparent !important;
  color:#242424 !important;
  font-weight:800 !important;
}

.nav a:hover{
  background:#f8f2e6 !important;
  border-color:#e6cf94 !important;
  color:#111 !important;
  transform:none !important;
}

.nav a.active{
  background:#fff7e6 !important;
  color:#5d4308 !important;
  border:1px solid #d5a647 !important;
  box-shadow:none !important;
}

.nav a[href="quote.html"]{
  background:transparent !important;
  color:#242424 !important;
  border-color:transparent !important;
}

.nav a[href="quote.html"]:hover{
  background:#d5a647 !important;
  color:#111 !important;
  border-color:#b6882f !important;
}

/* 2) Remove the black initial blobs from Shop by Range cards */
.range-card-topline,
.range-initials{
  display:none !important;
}

.range-label{
  display:inline-flex;
  align-self:flex-start;
  min-height:28px;
  align-items:center;
  padding:0 10px;
  border-radius:999px;
  background:#fff7e6;
  border:1px solid rgba(213,166,71,.42);
  color:#6b4b0a;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.range-card-content{
  gap:14px !important;
}

.range-card h3{
  margin-top:2px !important;
}

/* 3) Make Products / Machine / Contact / Quote pages actually use their backgrounds */
.page-products .page-top-accent,
.page-machine .page-top-accent,
.page-contact .page-top-accent,
.page-quote .page-top-accent{
  margin-bottom:34px !important;
  border-bottom:1px solid rgba(0,0,0,.10) !important;
  background-size:cover !important;
  background-position:center !important;
  background-repeat:no-repeat !important;
  position:relative;
}

.page-products .page-top-accent{
  background:
    linear-gradient(90deg, rgba(247,244,238,.94) 0%, rgba(247,244,238,.78) 45%, rgba(247,244,238,.42) 100%),
    url('products-tractor-bg.png') center/cover no-repeat !important;
}

.page-machine .page-top-accent{
  background:
    linear-gradient(90deg, rgba(247,244,238,.94) 0%, rgba(247,244,238,.78) 45%, rgba(247,244,238,.42) 100%),
    url('products-tractor-bg.png') center/cover no-repeat !important;
}

.page-contact .page-top-accent{
  background:
    linear-gradient(90deg, rgba(247,244,238,.94) 0%, rgba(247,244,238,.78) 45%, rgba(247,244,238,.42) 100%),
    url('contact-implements-bg.png') center/cover no-repeat !important;
}

.page-quote .page-top-accent{
  background:
    linear-gradient(90deg, rgba(247,244,238,.94) 0%, rgba(247,244,238,.78) 45%, rgba(247,244,238,.42) 100%),
    url('quote-ppe-bg.png') center/cover no-repeat !important;
}

.page-products .page-intro,
.page-machine .page-intro,
.page-contact .page-intro,
.page-quote .page-intro{
  padding:74px 0 26px !important;
  max-width:760px;
}

.page-products .filters,
.page-products .subfilters,
.page-products .search-row{
  position:relative;
  z-index:2;
}

.page-products .search-row{
  background:rgba(255,255,255,.82);
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 16px 36px rgba(0,0,0,.06);
  border-radius:20px;
  padding:14px;
  margin-top:28px;
}

.page-products .search-row input{
  background:#fff !important;
}

body.page-products,
body.page-machine,
body.page-contact,
body.page-quote{
  background-attachment:fixed;
  background-size:cover;
  background-position:center;
}

/* 4) Make footer clearly separate from cream page backgrounds */
.footer{
  margin-top:0 !important;
  background:
    linear-gradient(180deg, #171613 0%, #10100e 100%) !important;
  color:#fff !important;
  border-top:6px solid #d5a647 !important;
  box-shadow:0 -18px 45px rgba(0,0,0,.14);
  backdrop-filter:none !important;
}

.footer-inner{
  padding:54px 0 !important;
  align-items:start;
}

.footer-logo{
  height:66px !important;
  width:auto;
  background:#fff;
  border-radius:10px;
  padding:8px 12px;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
}

.footer-copy,
.footer-col p,
.footer-location{
  color:rgba(255,255,255,.70) !important;
}

.footer-col h4{
  color:#d5a647 !important;
  letter-spacing:.12em !important;
  font-weight:900 !important;
}

.footer-col a{
  color:#fff !important;
  font-weight:800 !important;
}

.footer-col a:hover{
  color:#d5a647 !important;
}

.footer-cta{
  background:#d5a647 !important;
  color:#111 !important;
  border:1px solid #b6882f !important;
  border-radius:12px !important;
  font-weight:900 !important;
}

.footer-cta:hover{
  background:#b6882f !important;
  color:#fff !important;
}

.footer-bottom{
  color:rgba(255,255,255,.62) !important;
  border-top:1px solid rgba(255,255,255,.10) !important;
  background:#0c0c0b;
}

/* 5) Mobile menu still works, but only on smaller screens */
@media (max-width:760px){
  .topbar-inner{
    min-height:auto !important;
    flex-direction:row !important;
    align-items:center !important;
    padding:12px 0 !important;
  }

  .brand-logo{
    height:52px !important;
  }

  .nav-toggle{
    display:inline-flex !important;
    width:44px;
    height:40px;
    margin-left:auto;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    border:1px solid rgba(0,0,0,.14);
    border-radius:12px;
    background:#fff;
    cursor:pointer;
  }

  .nav-toggle span{
    display:block;
    width:20px;
    height:2px;
    border-radius:999px;
    background:#171613;
  }

  .nav{
    display:none !important;
    width:100%;
    flex-basis:100%;
    gap:8px !important;
    padding:10px 0 4px;
  }

  body.nav-open .nav{
    display:flex !important;
    flex-direction:column;
  }

  .nav a{
    width:100%;
    justify-content:space-between;
  }

  .page-products .page-intro,
  .page-machine .page-intro,
  .page-contact .page-intro,
  .page-quote .page-intro{
    padding:48px 0 22px !important;
  }

  .page-products .search-row{
    grid-template-columns:1fr;
  }

  .footer-inner{
    grid-template-columns:1fr !important;
  }
}

/* =========================================================
   FE FINAL SOFT FOOTER + SHARPER PAGE BACKGROUND PATCH
   Fixes: footer too dark, fuzzy full-page backgrounds.
   Paste at the end of styles.css if applying manually.
========================================================= */

/* Keep image backgrounds as page hero bands, not behind the whole page. */
body.page-products,
body.page-machine,
body.page-contact,
body.page-quote{
  background:#f6f1e8 !important;
  background-image:none !important;
  background-attachment:scroll !important;
}

/* Stop glass blur from making backgrounds look smeared. */
.section:not(.page-shell),
.featured,
.shop-range,
.panel,
.product-card,
.spec-section,
.machine-image-box,
.machine-info,
.quote-item-card,
.quote-empty-state,
.range-card,
.page-products .search-row{
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

.section:not(.page-shell),
.featured,
.shop-range{
  background:#f6f1e8 !important;
}

.panel,
.product-card,
.spec-section,
.machine-image-box,
.machine-info,
.quote-item-card,
.quote-empty-state,
.range-card{
  background:#fff !important;
}

/* Sharper, less foggy page background bands. */
.page-products .page-top-accent,
.page-machine .page-top-accent,
.page-contact .page-top-accent,
.page-quote .page-top-accent{
  min-height:330px;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-color:#f6f1e8 !important;
  box-shadow:inset 0 -1px 0 rgba(0,0,0,.08);
}

.page-products .page-top-accent,
.page-machine .page-top-accent{
  background:
    linear-gradient(90deg, rgba(246,241,232,.88) 0%, rgba(246,241,232,.62) 48%, rgba(246,241,232,.28) 100%),
    url('products-tractor-bg.png') center 48%/cover no-repeat !important;
}

.page-contact .page-top-accent{
  background:
    linear-gradient(90deg, rgba(246,241,232,.88) 0%, rgba(246,241,232,.60) 48%, rgba(246,241,232,.24) 100%),
    url('contact-implements-bg.png') center 50%/cover no-repeat !important;
}

.page-quote .page-top-accent{
  background:
    linear-gradient(90deg, rgba(246,241,232,.86) 0%, rgba(246,241,232,.56) 48%, rgba(246,241,232,.18) 100%),
    url('quote-ppe-bg.png') center 50%/cover no-repeat !important;
}

/* Make the content below page heroes clean and readable. */
.page-products .page-top-accent + .container,
.page-machine .page-top-accent + .container,
.page-contact .page-top-accent + .container,
.page-quote .page-top-accent + .container{
  position:relative;
  z-index:2;
}

/* Softer footer: separated, but not a black block. */
.footer{
  margin-top:0 !important;
  background:
    linear-gradient(180deg, #eee4d3 0%, #e3d5bd 100%) !important;
  color:#181713 !important;
  border-top:5px solid #d5a647 !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.65), 0 -10px 24px rgba(32,28,22,.08) !important;
}

.footer-inner{
  padding:50px 0 !important;
}

.footer-logo{
  height:64px !important;
  width:auto !important;
  background:#fff !important;
  border:1px solid rgba(0,0,0,.08) !important;
  border-radius:10px !important;
  padding:7px 11px !important;
  box-shadow:0 10px 22px rgba(64,48,18,.10) !important;
}

.footer-copy,
.footer-col p,
.footer-location,
.footer p{
  color:#4f4a40 !important;
}

.footer-col h4{
  color:#8a6618 !important;
  letter-spacing:.12em !important;
  font-weight:900 !important;
}

.footer-col a{
  color:#181713 !important;
  font-weight:850 !important;
}

.footer-col a:hover{
  color:#8a6618 !important;
}

.footer-cta{
  background:#d5a647 !important;
  color:#111 !important;
  border:1px solid #b6882f !important;
  border-radius:12px !important;
  box-shadow:none !important;
}

.footer-cta:hover{
  background:#b6882f !important;
  color:#fff !important;
}

.footer-bottom{
  background:#d8c7aa !important;
  border-top:1px solid rgba(0,0,0,.08) !important;
  color:#514a3f !important;
}

@media (max-width:760px){
  .page-products .page-top-accent,
  .page-machine .page-top-accent,
  .page-contact .page-top-accent,
  .page-quote .page-top-accent{
    min-height:auto;
    background-position:center top !important;
  }

  .footer-inner{
    padding:38px 0 !important;
  }
}


/* =========================================================
   FOOTER DISTINCT SEPARATION FIX
   Keeps footer warm, but gives it a clearer section break.
========================================================= */

.footer{
  position:relative;
  background:
    linear-gradient(180deg, #efe3cc 0%, #e5d4b5 100%) !important;
  border-top:4px solid #d5a647 !important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    0 -18px 42px rgba(58,45,18,.10) !important;
}

.footer::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:18px;
  pointer-events:none;
  background:linear-gradient(180deg, rgba(70,50,14,.18), rgba(70,50,14,0));
}

.footer-inner{
  position:relative;
  z-index:1;
  padding-top:54px !important;
  padding-bottom:54px !important;
}

.footer-logo{
  background:#fff !important;
  border:1px solid rgba(181,135,35,.24);
  box-shadow:0 10px 24px rgba(48,36,12,.08);
}

.footer-col h4{
  color:#7d5a12 !important;
  letter-spacing:.16em;
}

.footer-bottom{
  background:#d7c4a3 !important;
  border-top:1px solid rgba(80,60,20,.16) !important;
  color:#3f3526 !important;
}

.spec-download-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border:1px solid rgba(181,135,35,.28);
  border-radius:18px;
  background:#fff8e8;
}

.spec-download-panel p{
  margin:4px 0 0;
}

.spec-download-panel .btn{
  flex-shrink:0;
}

.product-brand-chip,
.machine-brand-chip{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:0 10px;
  border-radius:999px;
  font-size:.78rem;
  font-weight:800;
  background:#111;
  color:#fff;
  border:1px solid rgba(0,0,0,.15);
}

.brandfilters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 18px;
}

.brandfilter-btn{
  border:1px solid rgba(181,135,35,.28);
  background:#fff;
  color:#241b08;
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  font:inherit;
  font-weight:800;
  cursor:pointer;
  transition:transform .18s ease, border-color .18s ease, background .18s ease;
}

.brandfilter-btn:hover{
  transform:translateY(-1px);
  border-color:#d5a647;
}

.brandfilter-btn.active{
  background:#111;
  color:#fff;
  border-color:#111;
}

@media (max-width:720px){
  .spec-download-panel{
    align-items:stretch;
    flex-direction:column;
  }
}

/* =========================================================
   PRODUCT DETAIL PAGE REDESIGN
   Cleaner supplier-style machine page, less background haze,
   stronger product focus and quote flow.
========================================================= */

body.page-machine{
  background:#f6f1e8 !important;
  background-image:none !important;
}

.machine-page-main{
  padding:0 !important;
  background:#f6f1e8 !important;
}

.machine-hero-clean{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:42px 0 92px;
  border-bottom:4px solid #d5a647;
  background:
    linear-gradient(90deg, rgba(246,241,232,.94) 0%, rgba(246,241,232,.76) 44%, rgba(246,241,232,.32) 100%),
    url('products-tractor-bg.png') center 48%/cover no-repeat;
}

.machine-hero-clean::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background-image:
    linear-gradient(rgba(0,0,0,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.025) 1px, transparent 1px);
  background-size:46px 46px;
  opacity:.35;
  pointer-events:none;
}

.machine-breadcrumbs-clean,
.machine-hero-clean .breadcrumbs{
  position:relative;
  z-index:2;
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin:0 0 28px;
  color:#514a40;
  font-size:.95rem;
  line-height:1.45;
}

.machine-breadcrumbs-clean a,
.machine-hero-clean .breadcrumbs a{
  color:#111;
  font-weight:850;
}

.machine-hero-copy{
  position:relative;
  z-index:2;
  max-width:760px;
}

.page-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 13px;
  border-radius:999px;
  background:#fff7e6;
  border:1px solid rgba(213,166,71,.55);
  color:#604507;
  font-weight:900;
  font-size:.82rem;
}

.machine-hero-copy h1{
  margin:16px 0 8px;
  font-size:clamp(2.8rem, 5vw, 5.4rem);
  line-height:.92;
  letter-spacing:-.07em;
  color:#151515;
}

.machine-hero-copy p{
  margin:0;
  max-width:56ch;
  color:#4f4940;
  font-size:1.08rem;
  line-height:1.75;
}

.machine-detail-clean{
  position:relative;
  z-index:3;
  margin-top:-58px;
  padding:0 0 72px;
  background:#f6f1e8;
}

.machine-product-card{
  display:grid;
  grid-template-columns:minmax(300px, .95fr) minmax(360px, 1.05fr);
  gap:24px;
  align-items:stretch;
  padding:24px;
  border:1px solid rgba(80,60,20,.14);
  border-radius:30px;
  background:#fff;
  box-shadow:0 24px 60px rgba(48,38,22,.12);
}

.machine-gallery-card,
.machine-summary-card{
  border-radius:24px;
}

.machine-gallery-card{
  padding:18px;
  border:1px solid #eadfcd;
  background:linear-gradient(180deg,#fffdf8,#f7efe1);
}

.machine-gallery-frame{
  min-height:430px;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:20px;
  background:#fff;
  overflow:hidden;
}

.machine-gallery-frame img{
  width:min(92%, 560px);
  max-height:390px;
  object-fit:contain;
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.12));
}

.machine-summary-card{
  padding:28px;
  border:1px solid #eadfcd;
  background:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.machine-summary-card h2{
  margin:4px 0 8px;
  font-size:clamp(2.2rem, 4vw, 4rem);
  line-height:.95;
  letter-spacing:-.06em;
  color:#151515;
}

.machine-summary-card .machine-subtitle{
  margin:0 0 16px;
  color:#5f574d;
  font-size:1.28rem;
  line-height:1.35;
}

.machine-summary-text{
  margin:18px 0 0;
  max-width:54ch;
  color:#514d46;
  font-size:1.05rem;
  line-height:1.75;
}

.machine-meta-row{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-bottom:16px;
}

.machine-meta-chip{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:850;
  border:1px solid rgba(0,0,0,.10);
  background:#fff;
  color:#34302a;
}

.machine-meta-chip-primary{
  background:#fff7e6;
  color:#684a09;
  border-color:rgba(213,166,71,.45);
}

.machine-brand-chip{
  background:#151515 !important;
  color:#fff !important;
  border-color:#151515 !important;
}

.machine-quick-cards,
.quick-specs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:0 0 4px;
}

.machine-quick-cards span,
.quick-specs span,
.chip-list span{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 13px;
  border-radius:999px;
  background:#f4efe6;
  border:1px solid #e4d8c5;
  color:#201e1a;
  font-size:.92rem;
  font-weight:850;
}

.machine-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:26px;
}

.machine-action-row .btn{
  border-radius:999px;
}

.machine-content-layout{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 360px;
  gap:24px;
  align-items:start;
  margin-top:24px;
}

.machine-spec-column{
  min-width:0;
}

.machine-quote-panel{
  position:sticky;
  top:112px;
  align-self:start;
}

.machine-quote-panel-inner{
  padding:24px;
  border-radius:24px;
  border:1px solid rgba(80,60,20,.14);
  background:#fff;
  box-shadow:0 18px 44px rgba(48,38,22,.10);
}

.panel-label{
  display:inline-flex;
  margin-bottom:10px;
  color:#7d5a12;
  font-size:.78rem;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.machine-quote-panel h3{
  margin:0 0 8px;
  font-size:1.45rem;
  line-height:1.1;
  letter-spacing:-.04em;
}

.machine-quote-panel p{
  margin:0 0 18px;
  color:#5d554a;
  line-height:1.65;
}

.btn-wide{
  width:100%;
  margin-top:10px;
}

.machine-service-list{
  display:grid;
  gap:14px;
  margin-top:18px;
  padding-top:18px;
  border-top:1px solid #eadfcd;
}

.machine-service-list div{
  display:grid;
  gap:4px;
}

.machine-service-list strong{
  color:#151515;
}

.machine-service-list span{
  color:#625b51;
  font-size:.94rem;
  line-height:1.55;
}

.page-machine .spec-section,
.page-machine .note-box{
  background:#fff !important;
  border:1px solid rgba(80,60,20,.14) !important;
  border-radius:22px !important;
  box-shadow:0 14px 34px rgba(48,38,22,.08) !important;
  padding:24px !important;
}

.page-machine .spec-section:hover,
.page-machine .machine-product-card:hover,
.page-machine .machine-gallery-card:hover,
.page-machine .machine-summary-card:hover{
  transform:none !important;
}

.page-machine .spec-section h3{
  margin:0 0 16px;
  font-size:1.28rem;
  line-height:1.1;
  letter-spacing:-.035em;
}

.page-machine .spec-table td{
  padding:13px 0;
  border-bottom:1px solid #eee5d7;
}

.page-machine .spec-table td:first-child{
  color:#3b352d;
  font-weight:900;
}

.spec-download-panel{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border:1px solid rgba(181,135,35,.30);
  border-radius:18px;
  background:#fff8e8;
}

.spec-download-panel p{
  margin:4px 0 0;
}

.spec-download-panel .btn{
  flex-shrink:0;
}

.quote-basket-bar{
  margin-top:16px;
  padding:14px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  background:#f7f1e6;
}

.quote-basket-copy{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.add-to-quote-btn.is-added{
  opacity:.92;
}

@media (max-width:1100px){
  .machine-product-card,
  .machine-content-layout{
    grid-template-columns:1fr;
  }

  .machine-quote-panel{
    position:static;
  }

  .machine-gallery-frame{
    min-height:340px;
  }
}

@media (max-width:760px){
  .machine-hero-clean{
    padding:30px 0 72px;
    background:
      linear-gradient(180deg, rgba(246,241,232,.95) 0%, rgba(246,241,232,.75) 60%, rgba(246,241,232,.42) 100%),
      url('products-tractor-bg.png') center top/cover no-repeat;
  }

  .machine-detail-clean{
    margin-top:-42px;
    padding-bottom:48px;
  }

  .machine-product-card{
    padding:14px;
    border-radius:24px;
  }

  .machine-gallery-card,
  .machine-summary-card{
    padding:16px;
    border-radius:18px;
  }

  .machine-gallery-frame{
    min-height:260px;
  }

  .machine-gallery-frame img{
    max-height:230px;
  }

  .machine-action-row .btn,
  .spec-download-panel .btn{
    width:100%;
  }

  .spec-download-panel{
    flex-direction:column;
    align-items:stretch;
  }

  .machine-content-layout{
    margin-top:18px;
  }
}

/* =========================================================
   FINAL PRODUCT DETAIL REFINEMENT
   Removes the oversized hero treatment and turns the machine
   page into a cleaner supplier-style product sheet.
========================================================= */

body.page-machine{
  background:#f5efe4 !important;
  background-image:none !important;
}

.machine-page-main{
  background:#f5efe4 !important;
}

.machine-page-refined{
  position:relative;
  padding:34px 0 72px;
  background:
    radial-gradient(circle at 12% 0%, rgba(213,166,71,.10), transparent 28%),
    linear-gradient(180deg, #fbf7ef 0%, #f5efe4 52%, #efe2cf 100%);
}

.machine-page-refined::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:
    linear-gradient(rgba(0,0,0,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.018) 1px, transparent 1px);
  background-size:46px 46px;
  opacity:.45;
}

.machine-page-refined .container{
  position:relative;
  z-index:1;
}

.machine-page-refined .machine-breadcrumbs-clean,
.machine-page-refined .breadcrumbs{
  margin:0 0 20px !important;
  padding:0 !important;
  color:#6b6257 !important;
  font-size:.92rem !important;
}

.machine-page-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:22px;
}

.machine-page-title-row h1{
  margin:14px 0 4px;
  max-width:14ch;
  color:#141414;
  font-size:clamp(2.6rem, 5vw, 5.2rem);
  line-height:.9;
  letter-spacing:-.075em;
}

.machine-page-title-row p{
  margin:0;
  color:#5b544c;
  font-size:1.18rem;
}

.machine-back-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  border:1px solid #d8cbb9;
  background:#fff;
  color:#181818;
  font-weight:900;
  white-space:nowrap;
  box-shadow:0 8px 20px rgba(48,38,22,.05);
}

.machine-back-link::before{
  content:"\2190";
  margin-right:8px;
  color:#9a6a0a;
}

.refined-machine-card,
.machine-page-refined .machine-product-card{
  display:grid !important;
  grid-template-columns:minmax(360px, .95fr) minmax(420px, 1.05fr) !important;
  gap:0 !important;
  align-items:stretch !important;
  padding:0 !important;
  overflow:hidden;
  border-radius:24px !important;
  border:1px solid rgba(80,60,20,.16) !important;
  background:#fff !important;
  box-shadow:0 18px 46px rgba(48,38,22,.10) !important;
}

.machine-page-refined .machine-gallery-card{
  padding:24px !important;
  border:none !important;
  border-right:1px solid #eadfcd !important;
  border-radius:0 !important;
  background:linear-gradient(180deg,#fffdf8,#f7efe2) !important;
}

.machine-page-refined .machine-gallery-frame{
  min-height:420px !important;
  height:100% !important;
  border-radius:18px !important;
  border:1px solid #efe4d2;
  background:#fff !important;
}

.machine-page-refined .machine-gallery-frame img{
  width:min(88%, 520px) !important;
  max-height:360px !important;
  object-fit:contain !important;
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.10)) !important;
}

.machine-page-refined .machine-summary-card{
  padding:34px 38px !important;
  border:none !important;
  border-radius:0 !important;
  background:#fff !important;
  justify-content:flex-start !important;
  min-height:420px;
}

.machine-page-refined .machine-meta-row{
  margin-bottom:20px !important;
}

.machine-page-refined .machine-meta-chip{
  min-height:32px !important;
  padding:0 12px !important;
  font-size:.82rem !important;
}

.machine-page-refined .machine-summary-card h2{
  margin:0 0 8px !important;
  max-width:12ch;
  font-size:clamp(2.25rem, 4.4vw, 4.2rem) !important;
  line-height:.92 !important;
  letter-spacing:-.07em !important;
}

.machine-page-refined .machine-subtitle{
  margin:0 0 18px !important;
  color:#5a5247 !important;
  font-size:1.28rem !important;
}

.machine-page-refined .machine-quick-cards{
  margin:0 0 18px !important;
}

.machine-page-refined .machine-quick-cards span{
  min-height:36px !important;
  padding:0 12px !important;
  border-radius:10px !important;
  background:#f7f1e7 !important;
  border-color:#e4d7c4 !important;
  font-size:.9rem !important;
}

.machine-page-refined .machine-summary-text{
  margin:0 !important;
  color:#4f4940 !important;
  font-size:1.03rem !important;
  line-height:1.7 !important;
}

.machine-page-refined .machine-action-row{
  margin-top:24px !important;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.machine-page-refined .machine-action-row .btn{
  border-radius:12px !important;
  min-height:48px !important;
}

.machine-page-refined .machine-action-row .btn.secondary:last-child{
  background:transparent !important;
  border-color:transparent !important;
  padding-left:0 !important;
  padding-right:0 !important;
  color:#5e4308 !important;
  box-shadow:none !important;
}

.machine-page-refined .machine-content-layout{
  margin-top:24px !important;
  grid-template-columns:minmax(0, 1fr) 340px !important;
  gap:22px !important;
}

.machine-page-refined .spec-section,
.machine-page-refined .note-box,
.machine-page-refined .machine-quote-panel-inner{
  border-radius:18px !important;
  box-shadow:0 10px 28px rgba(48,38,22,.07) !important;
}

.machine-page-refined .machine-quote-panel-inner{
  border-top:4px solid #d5a647 !important;
}

@media (max-width:1100px){
  .machine-page-title-row,
  .refined-machine-card,
  .machine-page-refined .machine-product-card,
  .machine-page-refined .machine-content-layout{
    grid-template-columns:1fr !important;
  }

  .machine-page-title-row{
    align-items:flex-start;
    flex-direction:column;
  }

  .machine-page-refined .machine-gallery-card{
    border-right:none !important;
    border-bottom:1px solid #eadfcd !important;
  }

  .machine-page-refined .machine-quote-panel{
    position:static !important;
  }
}

@media (max-width:760px){
  .machine-page-refined{
    padding:24px 0 48px;
  }

  .machine-page-title-row h1{
    max-width:none;
    font-size:clamp(2.45rem, 13vw, 4rem);
  }

  .machine-page-refined .machine-gallery-card,
  .machine-page-refined .machine-summary-card{
    padding:18px !important;
  }

  .machine-page-refined .machine-gallery-frame{
    min-height:260px !important;
  }

  .machine-page-refined .machine-gallery-frame img{
    max-height:230px !important;
  }

  .machine-page-refined .machine-action-row .btn{
    width:100%;
  }

  .machine-page-refined .machine-action-row .btn.secondary:last-child{
    width:auto;
  }
}

/* =========================================================
   PRODUCT PAGE SINGLE-TITLE REFINEMENT
   Removes duplicated product name and turns machine page into
   a cleaner supplier spec-sheet layout.
========================================================= */

.page-machine,
.machine-page-main{
  background:#f4ead9 !important;
}

.machine-page-single-title{
  padding:28px 0 70px !important;
  background:
    linear-gradient(180deg, #fbf6ec 0%, #f4ead9 46%, #ead9bc 100%) !important;
}

.machine-page-single-title::before{
  opacity:.24 !important;
}

.machine-topbar-clean{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:0 0 18px;
}

.machine-topbar-clean .machine-breadcrumbs-clean,
.machine-topbar-clean .breadcrumbs{
  margin:0 !important;
}

.machine-page-single-title .machine-back-link{
  background:#fffaf0 !important;
  border-color:#d8c4a2 !important;
  color:#231c10 !important;
  box-shadow:0 10px 24px rgba(72,52,18,.06) !important;
}

.machine-page-single-title .product-sheet-card,
.machine-page-single-title .machine-product-card{
  grid-template-columns:minmax(420px, 1fr) minmax(420px, .98fr) !important;
  border-radius:22px !important;
  background:#fffaf0 !important;
  border:1px solid rgba(111,82,28,.18) !important;
  box-shadow:0 18px 42px rgba(59,42,16,.09) !important;
}

.machine-page-single-title .machine-gallery-card{
  padding:28px !important;
  background:
    radial-gradient(circle at 50% 44%, rgba(213,166,71,.10), transparent 42%),
    linear-gradient(180deg,#fffdf7 0%, #f5ead7 100%) !important;
  border-right:1px solid rgba(111,82,28,.16) !important;
}

.machine-page-single-title .machine-gallery-frame{
  min-height:500px !important;
  border-radius:18px !important;
  border:1px solid rgba(111,82,28,.12) !important;
  background:#fff !important;
  box-shadow:inset 0 0 0 10px rgba(250,246,239,.75) !important;
}

.machine-page-single-title .machine-gallery-frame img{
  width:min(92%, 620px) !important;
  max-height:440px !important;
  object-fit:contain !important;
  filter:drop-shadow(0 20px 24px rgba(0,0,0,.12)) !important;
}

.machine-page-single-title .machine-summary-card{
  position:relative;
  padding:38px 44px !important;
  background:#fff !important;
  min-height:500px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  overflow:hidden;
}

.machine-page-single-title .machine-summary-card::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:6px;
  background:#d5a647;
}

.machine-page-single-title .product-page-pill{
  align-self:flex-start;
  margin-bottom:16px !important;
  background:#fff7e5 !important;
  color:#6b4a07 !important;
  border:1px solid #d9bf84 !important;
}

.machine-page-single-title .machine-meta-row{
  margin:0 0 18px !important;
}

.machine-page-single-title .machine-card-title{
  margin:0 !important;
  max-width:11ch;
  color:#141414;
  font-size:clamp(2.7rem, 5vw, 5.6rem);
  line-height:.86;
  letter-spacing:-.078em;
}

.machine-page-single-title .machine-subtitle{
  margin:16px 0 0 !important;
  color:#4f4638 !important;
  font-size:1.35rem !important;
  line-height:1.25 !important;
}

.machine-page-single-title .machine-title-rule{
  width:86px;
  height:4px;
  border-radius:999px;
  background:#d5a647;
  margin:22px 0 20px;
}

.machine-page-single-title .machine-quick-cards{
  display:flex !important;
  gap:10px !important;
  flex-wrap:wrap !important;
  margin:0 0 20px !important;
}

.machine-page-single-title .machine-quick-cards span{
  min-height:38px !important;
  padding:0 13px !important;
  border-radius:11px !important;
  background:#f5ead9 !important;
  border:1px solid #ddc9a8 !important;
  color:#171717 !important;
  font-weight:900 !important;
}

.machine-page-single-title .machine-overview-box{
  margin:0;
  padding:16px 18px;
  border-radius:16px;
  background:#fbf6ec;
  border:1px solid #e3d2b5;
}

.machine-page-single-title .machine-overview-box span{
  display:block;
  margin:0 0 6px;
  color:#8a6519;
  font-size:.78rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.machine-page-single-title .machine-overview-box p{
  margin:0 !important;
  color:#3e3830 !important;
  font-size:1.02rem !important;
  line-height:1.65 !important;
}

.machine-page-single-title .machine-action-row{
  margin-top:22px !important;
  display:flex !important;
  gap:12px !important;
  flex-wrap:wrap !important;
}

.machine-page-single-title .machine-action-row .btn{
  min-height:50px !important;
  border-radius:12px !important;
  padding-left:22px !important;
  padding-right:22px !important;
}

.machine-page-single-title .machine-content-layout{
  margin-top:24px !important;
}

@media (max-width:1100px){
  .machine-topbar-clean{
    align-items:flex-start;
    flex-direction:column;
  }

  .machine-page-single-title .product-sheet-card,
  .machine-page-single-title .machine-product-card{
    grid-template-columns:1fr !important;
  }

  .machine-page-single-title .machine-gallery-card{
    border-right:none !important;
    border-bottom:1px solid rgba(111,82,28,.16) !important;
  }

  .machine-page-single-title .machine-summary-card{
    min-height:auto !important;
  }
}

@media (max-width:760px){
  .machine-page-single-title{
    padding:22px 0 48px !important;
  }

  .machine-page-single-title .machine-gallery-card,
  .machine-page-single-title .machine-summary-card{
    padding:18px !important;
  }

  .machine-page-single-title .machine-gallery-frame{
    min-height:300px !important;
  }

  .machine-page-single-title .machine-gallery-frame img{
    max-height:260px !important;
  }

  .machine-page-single-title .machine-card-title{
    max-width:none;
    font-size:clamp(2.5rem, 13vw, 4.2rem);
  }

  .machine-page-single-title .machine-action-row .btn{
    width:100%;
  }
}

/* =========================================================
   PREMIUM PRODUCT DETAIL PAGE FIX
   Cleaner buying/spec-sheet layout, single title, less plain text.
========================================================= */
body.page-machine{
  background:
    radial-gradient(circle at 18% 0%, rgba(213,166,71,.10), transparent 34%),
    linear-gradient(180deg, #fbf7ee 0%, #f4ead8 52%, #efe0c8 100%) !important;
}

.machine-page-premium{
  padding:34px 0 74px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.38), rgba(255,255,255,0) 240px),
    linear-gradient(90deg, rgba(213,166,71,.045) 1px, transparent 1px),
    linear-gradient(rgba(213,166,71,.035) 1px, transparent 1px) !important;
  background-size:auto, 58px 58px, 58px 58px !important;
}

.machine-topbar-clean{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:18px !important;
  margin:0 0 22px !important;
}

.machine-breadcrumbs-clean{
  margin:0 !important;
  font-size:.98rem !important;
  color:#4b4438 !important;
}

.machine-breadcrumbs-clean a{
  color:#111 !important;
  font-weight:900 !important;
}

.machine-back-link{
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  min-height:46px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  background:#fffdf8 !important;
  border:1px solid rgba(181,136,47,.35) !important;
  color:#111 !important;
  font-weight:900 !important;
  box-shadow:0 10px 22px rgba(60,45,18,.055) !important;
}

.machine-back-link::before{
  content:"\2190";
  color:#9b6e12;
}

.premium-product-sheet{
  display:grid !important;
  grid-template-columns:minmax(420px, .95fr) minmax(420px, 1.05fr) !important;
  gap:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border-radius:28px !important;
  border:1px solid rgba(120,92,37,.22) !important;
  background:#fff !important;
  box-shadow:0 22px 70px rgba(60,45,18,.12) !important;
}

.premium-product-sheet::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}

.machine-gallery-card{
  position:relative !important;
  padding:34px !important;
  background:
    radial-gradient(circle at 58% 38%, rgba(213,166,71,.12), transparent 36%),
    linear-gradient(180deg,#fffdf8,#f6efe3) !important;
  border-right:1px solid rgba(120,92,37,.16) !important;
  min-height:620px !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.machine-gallery-card::before{
  content:"";
  position:absolute;
  inset:24px;
  border:1px solid rgba(213,166,71,.18);
  border-radius:22px;
  pointer-events:none;
}

.machine-gallery-badge{
  position:absolute;
  left:34px;
  top:30px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#151515;
  color:#fff;
  font-size:.82rem;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.machine-gallery-frame{
  width:100% !important;
  min-height:470px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  border-radius:24px !important;
  background:linear-gradient(180deg,#fff,#fbfaf6) !important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.045) !important;
  padding:26px !important;
  overflow:hidden !important;
}

.machine-gallery-frame img{
  width:100% !important;
  height:100% !important;
  max-height:500px !important;
  object-fit:contain !important;
  filter:drop-shadow(0 24px 22px rgba(0,0,0,.14)) !important;
}

.machine-gallery-footnote{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-top:18px;
  color:#6b6254;
  font-size:.92rem;
  font-weight:800;
}

.machine-gallery-footnote a{
  color:#8b6415;
  font-weight:900;
}

.premium-summary-card{
  padding:46px 46px 40px !important;
  background:
    linear-gradient(135deg, rgba(255,255,255,.96), rgba(255,250,240,.92)) !important;
  border:0 !important;
  box-shadow:none !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
}

.machine-summary-topline{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:18px;
}

.product-page-pill,
.machine-status-pill{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  font-size:.82rem;
  font-weight:900;
}

.product-page-pill{
  background:#fff8e8 !important;
  border:1px solid rgba(213,166,71,.35) !important;
  color:#6b4c0e !important;
}

.machine-status-pill{
  background:#eef7ed;
  border:1px solid rgba(47,126,57,.22);
  color:#255f2c;
}

.machine-meta-row{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:9px !important;
  margin:0 0 20px !important;
}

.machine-meta-chip{
  min-height:36px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  background:#fff !important;
  border:1px solid rgba(0,0,0,.10) !important;
  color:#26231e !important;
  font-weight:900 !important;
}

.machine-meta-chip-primary{
  background:#fff6e1 !important;
  border-color:rgba(213,166,71,.38) !important;
  color:#634600 !important;
}

.machine-brand-chip{
  background:#151515 !important;
  color:#fff !important;
  border-color:#151515 !important;
}

.machine-model-lockup{
  margin:0 !important;
  letter-spacing:-.065em !important;
  line-height:.9 !important;
  color:#121212 !important;
}

.machine-title-brand{
  display:block;
  font-size:clamp(2.55rem, 5.2vw, 5rem);
  font-weight:950;
}

.machine-title-code{
  display:block;
  font-size:clamp(3rem, 6vw, 6.15rem);
  font-weight:950;
  color:#1a1712;
}

.premium-machine-subtitle{
  margin:18px 0 0 !important;
  font-size:clamp(1.25rem, 1.8vw, 1.75rem) !important;
  line-height:1.2 !important;
  color:#4a3921 !important;
}

.premium-overview-box{
  margin:28px 0 0 !important;
  padding:18px 20px !important;
  border-radius:18px !important;
  background:#fff8e9 !important;
  border:1px solid rgba(213,166,71,.28) !important;
}

.premium-overview-box span,
.machine-section-label{
  display:block;
  margin-bottom:6px;
  color:#7e5b14;
  font-size:.78rem;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.premium-overview-box p{
  margin:0 !important;
  color:#2f2b25 !important;
  font-size:1.04rem !important;
  line-height:1.65 !important;
}

.machine-spec-snapshot{
  margin-top:22px;
}

.machine-quick-cards{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:10px !important;
  margin:0 !important;
}

.machine-quick-cards span{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:48px !important;
  padding:8px 10px !important;
  text-align:center !important;
  border-radius:14px !important;
  background:#f4ead8 !important;
  border:1px solid rgba(120,92,37,.14) !important;
  color:#151515 !important;
  font-weight:900 !important;
  font-size:.9rem !important;
}

.premium-action-row{
  display:flex !important;
  gap:12px !important;
  margin-top:28px !important;
  flex-wrap:wrap !important;
}

.premium-action-row .btn{
  min-height:54px !important;
  border-radius:14px !important;
  padding:0 22px !important;
  font-weight:950 !important;
}

.machine-sales-note{
  margin-top:20px;
  display:grid;
  gap:4px;
  padding-top:18px;
  border-top:1px solid rgba(120,92,37,.16);
  color:#6b6254;
}

.machine-sales-note strong{
  color:#181818;
}

.machine-content-layout{
  margin-top:24px !important;
}

.spec-section{
  border-radius:20px !important;
  border:1px solid rgba(120,92,37,.16) !important;
  box-shadow:0 12px 32px rgba(60,45,18,.06) !important;
}

@media (max-width:1120px){
  .premium-product-sheet{
    grid-template-columns:1fr !important;
  }

  .machine-gallery-card{
    min-height:auto !important;
    border-right:0 !important;
    border-bottom:1px solid rgba(120,92,37,.16) !important;
  }

  .machine-gallery-frame{
    min-height:380px !important;
  }
}

@media (max-width:760px){
  .machine-page-premium{
    padding:20px 0 46px !important;
  }

  .machine-topbar-clean{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .machine-back-link{
    width:100% !important;
    justify-content:center !important;
  }

  .machine-gallery-card,
  .premium-summary-card{
    padding:22px !important;
  }

  .machine-gallery-card::before{
    inset:14px;
  }

  .machine-gallery-frame{
    min-height:280px !important;
    padding:16px !important;
  }

  .machine-gallery-badge{
    left:22px;
    top:20px;
  }

  .machine-title-brand{
    font-size:clamp(2.2rem, 13vw, 3.5rem);
  }

  .machine-title-code{
    font-size:clamp(2.7rem, 15vw, 4.2rem);
  }

  .machine-quick-cards{
    grid-template-columns:1fr !important;
  }

  .premium-action-row .btn{
    width:100% !important;
  }
}

/* =========================================================
   MASTER PRODUCT PAGE DIRECTOR FIX
   One confident product story: details left, machine right,
   no duplicate-title feeling, no heavy split-screen card.
========================================================= */

body.page-machine{
  background:#f4ead8 !important;
  background-image:
    radial-gradient(circle at 18% -10%, rgba(213,166,71,.12), transparent 34%),
    linear-gradient(180deg,#fbf7ef 0%, #f4ead8 58%, #ead9bd 100%) !important;
}

.machine-page-director{
  padding:32px 0 74px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.58), rgba(255,255,255,0) 230px),
    linear-gradient(90deg, rgba(150,112,38,.035) 1px, transparent 1px),
    linear-gradient(rgba(150,112,38,.028) 1px, transparent 1px) !important;
  background-size:auto, 56px 56px, 56px 56px !important;
}

.machine-page-director .machine-topbar-clean{
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:20px !important;
  margin:0 0 22px !important;
}

.machine-page-director .machine-breadcrumbs-clean{
  margin:0 !important;
  color:#5f5548 !important;
  font-size:.96rem !important;
}

.machine-page-director .machine-breadcrumbs-clean a{
  color:#111 !important;
  font-weight:900 !important;
}

.machine-page-director .machine-back-link{
  min-height:46px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  background:#fffaf0 !important;
  border:1px solid rgba(181,136,47,.42) !important;
  box-shadow:0 10px 24px rgba(56,42,18,.06) !important;
}

.machine-director-card{
  position:relative;
  display:grid;
  grid-template-columns:minmax(440px, .92fr) minmax(460px, 1.08fr);
  gap:0;
  overflow:hidden;
  border:1px solid rgba(117,84,25,.18);
  border-radius:30px;
  background:#fffdf8;
  box-shadow:0 24px 68px rgba(62,47,20,.13);
}

.machine-director-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius:inherit;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85);
}

.machine-director-copy{
  position:relative;
  z-index:2;
  padding:48px 48px 44px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,249,238,.92));
}

.machine-director-copy::before{
  content:"";
  position:absolute;
  left:0;
  top:42px;
  bottom:42px;
  width:6px;
  border-radius:0 999px 999px 0;
  background:linear-gradient(180deg,#d5a647,#a97914);
}

.machine-family-line{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 18px;
}

.machine-family-line span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#fff6e5;
  border:1px solid rgba(213,166,71,.36);
  color:#684900;
  font-size:.82rem;
  font-weight:900;
}

.machine-family-line span + span{
  background:#fff;
  border-color:rgba(0,0,0,.10);
  color:#29251f;
}

.machine-director-title{
  margin:0;
  color:#131313;
  line-height:.88;
  letter-spacing:-.07em;
}

.machine-director-title span{
  display:block;
  color:#8a650f;
  font-size:clamp(1.25rem, 1.9vw, 1.95rem);
  letter-spacing:.08em;
  line-height:1;
  text-transform:uppercase;
  font-weight:950;
  margin-bottom:12px;
}

.machine-director-title strong{
  display:block;
  max-width:9.5ch;
  font-size:clamp(4rem, 7vw, 7.4rem);
  font-weight:950;
}

.machine-director-subtitle{
  margin:18px 0 0 !important;
  color:#3d3325 !important;
  font-size:clamp(1.35rem, 1.9vw, 1.9rem) !important;
  line-height:1.15 !important;
  letter-spacing:-.025em;
}

.machine-director-summary{
  max-width:52ch;
  margin:22px 0 0 !important;
  color:#4d473d !important;
  font-size:1.06rem !important;
  line-height:1.72 !important;
}

.machine-page-director .machine-spec-snapshot{
  margin-top:26px !important;
}

.machine-page-director .machine-section-label{
  margin-bottom:9px !important;
  color:#7d5a12 !important;
  font-size:.76rem !important;
  font-weight:950 !important;
  letter-spacing:.15em !important;
  text-transform:uppercase !important;
}

.machine-page-director .machine-quick-cards{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:10px !important;
  margin:0 !important;
}

.machine-page-director .machine-quick-cards span{
  min-height:52px !important;
  padding:8px 10px !important;
  border-radius:14px !important;
  background:#f3e7d3 !important;
  border:1px solid rgba(112,82,26,.14) !important;
  color:#151515 !important;
  text-align:center !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-size:.9rem !important;
  font-weight:900 !important;
}

.director-action-row{
  margin-top:28px !important;
  display:flex !important;
  flex-wrap:wrap !important;
  gap:12px !important;
}

.director-action-row .btn{
  min-height:54px !important;
  border-radius:14px !important;
  padding:0 22px !important;
  font-weight:950 !important;
}

.machine-director-note{
  margin-top:20px;
  padding:16px 0 0;
  border-top:1px solid rgba(117,84,25,.16);
  display:grid;
  gap:3px;
}

.machine-director-note strong{
  color:#171717;
}

.machine-director-note span{
  color:#6a604f;
  line-height:1.55;
}

.machine-director-media{
  position:relative;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  background:
    radial-gradient(circle at 50% 45%, rgba(213,166,71,.17), transparent 34%),
    linear-gradient(180deg,#fff9ed,#f2e3ca);
  border-left:1px solid rgba(117,84,25,.16);
}

.machine-director-media::before{
  content:"";
  position:absolute;
  inset:24px;
  pointer-events:none;
  border-radius:24px;
  border:1px solid rgba(213,166,71,.20);
}

.machine-director-media-top{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.machine-director-media-top span{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#151515;
  color:#fff;
  font-size:.8rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.machine-director-media-top a{
  color:#7d5a12;
  font-weight:950;
}

.machine-director-image-frame{
  position:relative;
  z-index:2;
  min-height:500px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  overflow:hidden;
  border-radius:24px;
  background:#fff;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,.045),
    0 20px 46px rgba(62,47,20,.10);
}

.machine-director-image-frame img{
  width:100%;
  height:100%;
  max-height:500px;
  object-fit:contain;
  filter:drop-shadow(0 24px 22px rgba(0,0,0,.14));
}

.machine-page-director .machine-content-layout{
  margin-top:24px !important;
}

.machine-page-director .spec-section,
.machine-page-director .note-box,
.machine-page-director .machine-quote-panel-inner{
  border-radius:20px !important;
  border:1px solid rgba(117,84,25,.16) !important;
  box-shadow:0 12px 32px rgba(62,47,20,.06) !important;
}

@media (max-width:1120px){
  .machine-director-card{
    grid-template-columns:1fr;
  }

  .machine-director-media{
    border-left:0;
    border-top:1px solid rgba(117,84,25,.16);
  }

  .machine-director-image-frame{
    min-height:380px;
  }
}

@media (max-width:760px){
  .machine-page-director{
    padding:22px 0 48px !important;
  }

  .machine-page-director .machine-topbar-clean{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .machine-page-director .machine-back-link{
    width:100% !important;
    justify-content:center !important;
  }

  .machine-director-copy,
  .machine-director-media{
    padding:24px;
  }

  .machine-director-copy::before{
    top:24px;
    bottom:auto;
    right:24px;
    left:24px;
    width:auto;
    height:5px;
    border-radius:999px;
  }

  .machine-director-title strong{
    max-width:none;
    font-size:clamp(3.2rem, 18vw, 5.2rem);
  }

  .machine-page-director .machine-quick-cards{
    grid-template-columns:1fr !important;
  }

  .director-action-row .btn{
    width:100% !important;
  }

  .machine-director-media-top{
    align-items:flex-start;
    flex-direction:column;
  }

  .machine-director-media::before{
    inset:14px;
  }

  .machine-director-image-frame{
    min-height:280px;
    padding:16px;
  }
}

/* =========================================================
   PRODUCT PAGE CLEANUP OVERRIDES
   Paste this at the very bottom of styles.css.
   Removes extra product-page clutter and calms headline sizes.
========================================================= */

/* Hide the bits we don't need on the product page */
.machine-spec-snapshot,
.machine-director-note,
.machine-director-media-top,
.standard-quick-list,
.standard-help-line,
.machine-section-label,
.machine-page-director .machine-spec-snapshot,
.machine-page-director .machine-section-label{
  display:none !important;
}

/* Keep the product page clean and supplier-like */
.machine-director-card,
.standard-product-sheet{
  border-radius:24px !important;
  box-shadow:0 14px 36px rgba(48,36,12,.08) !important;
}

/* Calm down the oversized model/title typography */
.machine-director-title span,
.machine-title-brand,
.standard-product-eyebrow{
  font-size:clamp(.82rem, .9vw, 1rem) !important;
  letter-spacing:.16em !important;
  margin-bottom:8px !important;
}

.machine-director-title strong,
.machine-title-code,
.standard-product-info-wrap h1{
  font-size:clamp(2.7rem, 4vw, 4.25rem) !important;
  line-height:.94 !important;
  letter-spacing:-.048em !important;
}

.machine-director-subtitle,
.premium-machine-subtitle,
.standard-product-type{
  font-size:clamp(1.28rem, 1.6vw, 1.75rem) !important;
  line-height:1.15 !important;
  font-weight:800 !important;
  margin-top:12px !important;
}

.machine-director-summary,
.standard-product-summary{
  margin-top:18px !important;
  font-size:1rem !important;
  line-height:1.65 !important;
  max-width:54ch !important;
}

/* Pull the buttons closer now that the clutter is gone */
.director-action-row,
.premium-action-row,
.standard-action-row{
  margin-top:22px !important;
}

/* Make buttons feel consistent and less chunky */
.director-action-row .btn,
.premium-action-row .btn,
.standard-action-row .btn{
  min-height:46px !important;
  padding:0 18px !important;
  border-radius:12px !important;
}

/* Make the media card less busy after removing the top label */
.machine-director-media,
.standard-product-image-wrap{
  padding-top:24px !important;
}

/* Mobile title shouldn't dominate the whole screen */
@media (max-width:760px){
  .machine-director-title strong,
  .machine-title-code,
  .standard-product-info-wrap h1{
    font-size:clamp(2.25rem, 11vw, 3.15rem) !important;
  }

  .machine-director-subtitle,
  .premium-machine-subtitle,
  .standard-product-type{
    font-size:1.28rem !important;
  }
}

/* =========================================================
   PRODUCT PAGE FINAL BALANCE FIX
   Paste at the very bottom of styles.css.
   Goal: calmer product sheet, less dead space, better rhythm.
========================================================= */

/* Make the product-page area breathe without becoming huge */
body.page-machine{
  background:#f4ead8 !important;
}

.machine-page-director,
.machine-page-premium,
.machine-page-single-title,
.machine-page-refined{
  padding:26px 0 58px !important;
}

.machine-page-director .container,
.machine-page-premium .container,
.machine-page-single-title .container,
.machine-page-refined .container{
  width:min(1420px, calc(100% - 72px)) !important;
}

/* Top row: tighter, cleaner, less empty height */
.machine-topbar-clean,
.machine-page-director .machine-topbar-clean{
  margin:0 0 18px !important;
  align-items:center !important;
}

.machine-breadcrumbs-clean,
.machine-page-director .machine-breadcrumbs-clean,
.breadcrumbs{
  font-size:.92rem !important;
  line-height:1.35 !important;
}

.machine-back-link,
.machine-page-director .machine-back-link{
  min-height:42px !important;
  padding:0 16px !important;
  font-size:.95rem !important;
}

/* Main product sheet: slightly narrower, more balanced columns */
.machine-director-card,
.premium-product-sheet,
.product-sheet-card,
.standard-product-sheet,
.machine-product-card{
  max-width:1420px !important;
  margin:0 auto !important;
  display:grid !important;
  grid-template-columns:minmax(500px, 1.06fr) minmax(420px, .94fr) !important;
  border-radius:24px !important;
  overflow:hidden !important;
  border:1px solid rgba(117,84,25,.15) !important;
  box-shadow:0 18px 44px rgba(62,47,20,.09) !important;
}

/* Left image panel: strong but not oversized */
.machine-director-media,
.machine-gallery-card,
.standard-product-image-wrap{
  padding:26px !important;
  background:linear-gradient(180deg,#fffdf8,#f4ead8) !important;
  border-left:0 !important;
  border-right:1px solid rgba(117,84,25,.13) !important;
}

.machine-director-media::before,
.machine-gallery-card::before{
  inset:18px !important;
  border-radius:20px !important;
  opacity:.7 !important;
}

.machine-director-image-frame,
.machine-gallery-frame,
.standard-product-image-frame{
  min-height:390px !important;
  max-height:440px !important;
  padding:22px !important;
  border-radius:20px !important;
  background:#fff !important;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.045) !important;
}

.machine-director-image-frame img,
.machine-gallery-frame img,
.standard-product-image-frame img{
  width:100% !important;
  height:100% !important;
  max-height:390px !important;
  object-fit:contain !important;
  filter:drop-shadow(0 18px 18px rgba(0,0,0,.10)) !important;
}

/* Right product info: vertically balanced, less lonely white space */
.machine-director-copy,
.premium-summary-card,
.machine-summary-card,
.standard-product-info-wrap{
  padding:42px 46px !important;
  min-height:0 !important;
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  background:#fff !important;
}

.machine-director-copy::before,
.machine-summary-card::before{
  top:34px !important;
  bottom:34px !important;
  width:5px !important;
  opacity:.95 !important;
}

/* Category chips: smaller and closer to the title */
.machine-family-line,
.machine-meta-row{
  margin:0 0 14px !important;
  gap:8px !important;
}

.machine-family-line span,
.machine-meta-chip,
.product-page-pill{
  min-height:30px !important;
  padding:0 11px !important;
  border-radius:999px !important;
  font-size:.78rem !important;
  font-weight:850 !important;
}

/* Typography: still strong, but less shouty */
.machine-director-title span,
.machine-title-brand,
.standard-product-eyebrow{
  font-size:clamp(.78rem, .75vw, .92rem) !important;
  line-height:1 !important;
  letter-spacing:.18em !important;
  color:#875f10 !important;
  margin-bottom:8px !important;
}

.machine-director-title strong,
.machine-title-code,
.standard-product-info-wrap h1,
.machine-card-title{
  font-size:clamp(2.65rem, 3.6vw, 3.95rem) !important;
  line-height:.95 !important;
  letter-spacing:-.048em !important;
  max-width:11ch !important;
}

.machine-director-subtitle,
.premium-machine-subtitle,
.standard-product-type,
.machine-subtitle{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  margin:12px 0 0 !important;
  font-size:clamp(1.22rem, 1.42vw, 1.55rem) !important;
  line-height:1.2 !important;
  font-weight:850 !important;
  color:#151515 !important;
}

.machine-director-subtitle::before,
.premium-machine-subtitle::before,
.standard-product-type::before{
  content:"";
  width:46px;
  height:4px;
  border-radius:999px;
  background:#d5a647;
  flex:0 0 auto;
}

.machine-director-summary,
.standard-product-summary,
.machine-summary-text{
  margin-top:22px !important;
  max-width:46ch !important;
  font-size:.98rem !important;
  line-height:1.68 !important;
  color:#3f392f !important;
}

/* Actions: line up cleanly and remove awkward gaps */
.director-action-row,
.premium-action-row,
.standard-action-row,
.machine-action-row{
  margin-top:24px !important;
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  flex-wrap:wrap !important;
}

.director-action-row .btn,
.premium-action-row .btn,
.standard-action-row .btn,
.machine-action-row .btn{
  min-height:46px !important;
  padding:0 20px !important;
  border-radius:12px !important;
  font-size:.96rem !important;
  font-weight:900 !important;
}

/* Make the spec sheet link behave like a clean secondary action */
.director-action-row .btn.secondary,
.premium-action-row .btn.secondary,
.standard-action-row .btn.secondary,
.machine-action-row .btn.secondary{
  background:transparent !important;
  border-color:transparent !important;
  box-shadow:none !important;
  padding-left:0 !important;
  padding-right:0 !important;
  color:#6b4a07 !important;
}

.director-action-row .btn.secondary:hover,
.premium-action-row .btn.secondary:hover,
.standard-action-row .btn.secondary:hover,
.machine-action-row .btn.secondary:hover{
  color:#111 !important;
  transform:none !important;
}

/* Keep any hidden old pieces truly collapsed */
.machine-spec-snapshot,
.machine-director-note,
.machine-director-media-top,
.standard-quick-list,
.standard-help-line,
.machine-section-label{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}

/* Spec sections below should not crash into the hero card */
.machine-content-layout{
  margin-top:26px !important;
}

/* Responsive */
@media (max-width:1120px){
  .machine-page-director .container,
  .machine-page-premium .container,
  .machine-page-single-title .container,
  .machine-page-refined .container{
    width:min(100% - 32px, 960px) !important;
  }

  .machine-director-card,
  .premium-product-sheet,
  .product-sheet-card,
  .standard-product-sheet,
  .machine-product-card{
    grid-template-columns:1fr !important;
  }

  .machine-director-media,
  .machine-gallery-card,
  .standard-product-image-wrap{
    border-right:0 !important;
    border-bottom:1px solid rgba(117,84,25,.13) !important;
  }

  .machine-director-image-frame,
  .machine-gallery-frame,
  .standard-product-image-frame{
    min-height:320px !important;
  }
}

@media (max-width:760px){
  .machine-page-director,
  .machine-page-premium,
  .machine-page-single-title,
  .machine-page-refined{
    padding:20px 0 44px !important;
  }

  .machine-topbar-clean{
    align-items:flex-start !important;
    flex-direction:column !important;
  }

  .machine-back-link{
    width:100% !important;
    justify-content:center !important;
  }

  .machine-director-media,
  .machine-gallery-card,
  .standard-product-image-wrap,
  .machine-director-copy,
  .premium-summary-card,
  .machine-summary-card,
  .standard-product-info-wrap{
    padding:20px !important;
  }

  .machine-director-title strong,
  .machine-title-code,
  .standard-product-info-wrap h1,
  .machine-card-title{
    font-size:clamp(2.35rem, 12vw, 3.2rem) !important;
    max-width:none !important;
  }

  .machine-director-subtitle,
  .premium-machine-subtitle,
  .standard-product-type,
  .machine-subtitle{
    font-size:1.22rem !important;
  }

  .machine-director-image-frame,
  .machine-gallery-frame,
  .standard-product-image-frame{
    min-height:255px !important;
    max-height:none !important;
  }

  .director-action-row .btn,
  .premium-action-row .btn,
  .standard-action-row .btn,
  .machine-action-row .btn{
    width:100% !important;
  }

  .director-action-row .btn.secondary,
  .premium-action-row .btn.secondary,
  .standard-action-row .btn.secondary,
  .machine-action-row .btn.secondary{
    width:auto !important;
  }
}

/* =========================================================
   PRODUCT DETAIL SYSTEM V2
   Two consistent layouts:
   1) Equipment detail pages for machinery/implements
   2) Supply detail pages for PPE/footwear/workwear
========================================================= */

body.page-machine,
.product-detail-main{
  background:#f4ead8 !important;
  background-image:none !important;
}

.product-detail-system{
  min-height:calc(100vh - 88px);
  padding:30px 0 72px;
  background:
    radial-gradient(circle at 14% -8%, rgba(213,166,71,.12), transparent 34%),
    linear-gradient(180deg,#fbf7ef 0%, #f4ead8 54%, #ead8ba 100%);
}

.product-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin-bottom:22px;
}

.product-breadcrumbs{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:7px;
  color:#645b4f;
  font-size:.94rem;
  line-height:1.45;
}

.product-breadcrumbs a{
  color:#111;
  font-weight:900;
}

.product-back-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:999px;
  background:#fffaf0;
  border:1px solid rgba(181,136,47,.38);
  color:#171717;
  font-weight:900;
  box-shadow:0 10px 22px rgba(57,41,15,.055);
  white-space:nowrap;
}

.product-back-link::before{
  content:"\2190";
  margin-right:8px;
  color:#9a6a0a;
}

.product-detail-sheet{
  display:grid;
  overflow:hidden;
  border-radius:26px;
  border:1px solid rgba(112,82,26,.18);
  background:#fff;
  box-shadow:0 22px 58px rgba(62,47,20,.11);
}

.product-detail-sheet-equipment{
  grid-template-columns:minmax(420px, 1.08fr) minmax(380px, .92fr);
}

.product-detail-sheet-equipment .product-visual-panel{
  order:1;
}

.product-detail-sheet-equipment .product-copy-panel{
  order:2;
}

.product-detail-sheet-supply{
  grid-template-columns:minmax(420px, 1.1fr) minmax(300px, .72fr);
}

.product-detail-sheet-supply .product-copy-panel{
  order:1;
}

.product-detail-sheet-supply .product-visual-panel{
  order:2;
}

.product-copy-panel{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(30px, 4vw, 48px);
  background:#fff;
}

.product-detail-sheet-equipment .product-copy-panel::before,
.product-detail-sheet-supply .product-copy-panel::before{
  content:"";
  position:absolute;
  left:0;
  top:34px;
  bottom:34px;
  width:5px;
  border-radius:0 999px 999px 0;
  background:linear-gradient(180deg,#d5a647,#aa7715);
}

.product-category-line{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}

.product-category-line span{
  display:inline-flex;
  align-items:center;
  min-height:31px;
  padding:0 11px;
  border-radius:999px;
  background:#fff7e6;
  border:1px solid rgba(213,166,71,.36);
  color:#634708;
  font-size:.78rem;
  font-weight:900;
}

.product-category-line span + span{
  background:#fff;
  border-color:rgba(0,0,0,.10);
  color:#2c2822;
}

.product-eyebrow{
  margin:0 0 8px;
  color:#876113;
  font-size:.86rem;
  font-weight:950;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.product-title-main{
  margin:0;
  max-width:12ch;
  color:#151515;
  font-size:clamp(2.55rem, 4.2vw, 4.55rem);
  line-height:.92;
  letter-spacing:-.06em;
  font-weight:950;
}

.product-detail-sheet-supply .product-title-main{
  max-width:15ch;
  font-size:clamp(2.35rem, 3.5vw, 3.85rem);
  line-height:.96;
}

.product-type-line{
  margin:13px 0 0;
  color:#3f3526;
  font-size:clamp(1.18rem, 1.5vw, 1.55rem);
  line-height:1.22;
  font-weight:850;
}

.product-summary-text{
  margin:18px 0 0;
  max-width:58ch;
  color:#51493f;
  font-size:1.02rem;
  line-height:1.68;
}

.product-visual-panel{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 52% 46%, rgba(213,166,71,.13), transparent 36%),
    linear-gradient(180deg,#fffaf0,#f3e5cd);
}

.product-detail-sheet-equipment .product-visual-panel{
  border-right:1px solid rgba(112,82,26,.15);
  min-height:460px;
}

.product-detail-sheet-supply .product-visual-panel{
  border-left:1px solid rgba(112,82,26,.13);
  min-height:390px;
  background:
    radial-gradient(circle at 50% 46%, rgba(213,166,71,.10), transparent 38%),
    linear-gradient(180deg,#fffdf8,#f4ead8);
}

.product-visual-frame{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(0,0,0,.05);
  box-shadow:inset 0 0 0 10px rgba(250,246,239,.55);
  overflow:hidden;
}

.product-detail-sheet-equipment .product-visual-frame{
  min-height:400px;
  padding:28px;
}

.product-detail-sheet-supply .product-visual-frame{
  min-height:310px;
  padding:26px;
  max-width:390px;
}

.product-visual-frame img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 18px 20px rgba(0,0,0,.10));
}

.product-detail-sheet-equipment .product-visual-frame img{
  max-height:390px;
}

.product-detail-sheet-supply .product-visual-frame img{
  max-height:260px;
}

.product-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.product-action-row .btn{
  min-height:48px !important;
  padding:0 19px !important;
  border-radius:12px !important;
  font-weight:950 !important;
}

.equipment-info-grid,
.supply-info-grid{
  display:grid;
  gap:10px;
  margin-top:22px;
}

.equipment-info-grid{
  grid-template-columns:repeat(3, minmax(0, 1fr));
}

.equipment-info-grid div,
.supply-info-card{
  border:1px solid rgba(112,82,26,.12);
  border-radius:16px;
  background:#fbf6ec;
  padding:14px;
}

.equipment-info-grid span,
.supply-info-card span{
  display:block;
  margin-bottom:5px;
  color:#876113;
  font-size:.72rem;
  font-weight:950;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.equipment-info-grid strong{
  display:block;
  color:#171717;
  line-height:1.18;
}

.supply-info-grid{
  grid-template-columns:1fr 1fr;
}

.supply-info-card p{
  margin:0;
  color:#484138;
  font-size:.95rem;
  line-height:1.55;
}

.supply-info-card-wide{
  grid-column:1 / -1;
}

.product-detail-lower{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 320px;
  gap:22px;
  align-items:start;
  margin-top:24px;
}

.product-detail-sections{
  min-width:0;
}

.product-next-panel{
  position:sticky;
  top:112px;
}

.product-next-panel-inner{
  padding:22px;
  border-radius:20px;
  border:1px solid rgba(112,82,26,.16);
  border-top:4px solid #d5a647;
  background:#fff;
  box-shadow:0 12px 32px rgba(62,47,20,.07);
}

.product-next-panel h3{
  margin:0 0 8px;
  color:#171717;
  font-size:1.34rem;
  line-height:1.1;
  letter-spacing:-.035em;
}

.product-next-panel p{
  margin:0 0 16px;
  color:#5f5549;
  line-height:1.58;
}

.product-next-panel .btn-wide{
  width:100%;
  margin-top:9px;
}

.product-detail-system .spec-section,
.product-detail-system .note-box{
  background:#fff !important;
  border:1px solid rgba(112,82,26,.16) !important;
  border-radius:20px !important;
  box-shadow:0 10px 28px rgba(62,47,20,.055) !important;
}

.product-detail-system .spec-section h3{
  font-size:1.18rem !important;
  line-height:1.12 !important;
}

.product-detail-system .range-products{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

@media (max-width:1120px){
  .product-detail-sheet,
  .product-detail-sheet-equipment,
  .product-detail-sheet-supply,
  .product-detail-lower{
    grid-template-columns:1fr !important;
  }

  .product-detail-sheet-equipment .product-visual-panel,
  .product-detail-sheet-supply .product-visual-panel{
    order:1;
    min-height:auto;
    border-right:0;
    border-left:0;
    border-bottom:1px solid rgba(112,82,26,.13);
  }

  .product-detail-sheet-equipment .product-copy-panel,
  .product-detail-sheet-supply .product-copy-panel{
    order:2;
  }

  .product-next-panel{
    position:static;
  }
}

@media (max-width:760px){
  .product-detail-system{
    padding:22px 0 48px;
  }

  .product-topbar{
    align-items:flex-start;
    flex-direction:column;
  }

  .product-back-link{
    width:100%;
  }

  .product-copy-panel,
  .product-visual-panel{
    padding:20px;
  }

  .product-copy-panel::before{
    top:20px !important;
    bottom:auto !important;
    left:20px !important;
    right:20px !important;
    width:auto !important;
    height:5px !important;
    border-radius:999px !important;
  }

  .product-category-line{
    margin-top:14px;
  }

  .product-title-main,
  .product-detail-sheet-supply .product-title-main{
    max-width:none;
    font-size:clamp(2.15rem, 11vw, 3.25rem);
  }

  .product-type-line{
    font-size:1.18rem;
  }

  .product-detail-sheet-equipment .product-visual-frame,
  .product-detail-sheet-supply .product-visual-frame{
    min-height:260px;
    padding:18px;
  }

  .product-detail-sheet-equipment .product-visual-frame img,
  .product-detail-sheet-supply .product-visual-frame img{
    max-height:230px;
  }

  .equipment-info-grid,
  .supply-info-grid,
  .product-detail-system .range-products{
    grid-template-columns:1fr;
  }

  .product-action-row .btn{
    width:100%;
  }
}

/* =========================================================
   PPE / SUPPLY RANGE DETAIL LAYOUT
   A calmer procurement-style page for PPE, workwear and footwear.
   Machinery pages keep the existing equipment layout.
========================================================= */

.product-detail-system-supply{
  background:
    radial-gradient(circle at 16% -10%, rgba(213,166,71,.10), transparent 32%),
    linear-gradient(180deg,#fbf7ef 0%, #f4ead8 58%, #ead9bd 100%) !important;
}

.supply-range-sheet{
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(300px, 390px);
  gap:34px;
  align-items:center;
  overflow:hidden;
  min-height:430px;
  padding:34px;
  border-radius:26px;
  border:1px solid rgba(112,82,26,.18);
  background:#fff;
  box-shadow:0 18px 46px rgba(62,47,20,.09);
}

.supply-range-copy{
  position:relative;
  padding:16px 0 16px 24px;
}

.supply-range-copy::before{
  content:"";
  position:absolute;
  left:0;
  top:20px;
  bottom:20px;
  width:5px;
  border-radius:999px;
  background:linear-gradient(180deg,#d5a647,#ad7715);
}

.supply-range-label{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  margin-bottom:18px;
  border-radius:999px;
  background:#fff7e6;
  border:1px solid rgba(213,166,71,.42);
  color:#684900;
  font-size:.82rem;
  font-weight:900;
}

.supply-range-copy h1{
  margin:0;
  max-width:16ch;
  color:#151515;
  font-size:clamp(2.05rem, 3.2vw, 3.45rem);
  line-height:1.02;
  letter-spacing:-.055em;
  font-weight:950;
}

.supply-range-type{
  margin:12px 0 0;
  color:#332a1f;
  font-size:clamp(1.1rem, 1.4vw, 1.42rem);
  line-height:1.25;
  font-weight:850;
}

.supply-range-summary{
  margin:18px 0 0;
  max-width:58ch;
  color:#4c453b;
  font-size:1.02rem;
  line-height:1.65;
}

.supply-range-action-row{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:24px;
}

.supply-range-action-row .btn{
  min-height:46px !important;
  padding:0 18px !important;
  border-radius:12px !important;
  font-weight:950 !important;
}

.supply-range-guidance{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:26px;
  max-width:760px;
}

.supply-range-card{
  padding:16px 17px;
  border-radius:16px;
  border:1px solid rgba(112,82,26,.13);
  background:#fbf6ec;
}

.supply-range-card span{
  display:block;
  margin-bottom:10px;
  color:#7d5a12;
  font-size:.74rem;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.supply-range-card ul{
  display:grid;
  gap:6px;
  margin:0;
  padding-left:18px;
  color:#29241d;
  line-height:1.45;
}

.supply-range-card li::marker{
  color:#b6882f;
}

.supply-range-visual{
  display:grid;
  gap:12px;
  align-content:center;
  justify-items:center;
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg,#fffaf0,#f4ead8);
  border:1px solid rgba(112,82,26,.12);
}

.supply-range-image-card{
  width:100%;
  max-width:330px;
  aspect-ratio:1 / 1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(0,0,0,.055);
  box-shadow:inset 0 0 0 9px rgba(250,246,239,.62);
  overflow:hidden;
}

.supply-range-image-card img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 13px 16px rgba(0,0,0,.08));
}

.supply-range-visual p{
  max-width:32ch;
  margin:0;
  color:#6b6256;
  font-size:.9rem;
  line-height:1.45;
  text-align:center;
}

.product-detail-system-supply .product-detail-lower{
  grid-template-columns:1fr;
  max-width:980px;
  margin-left:auto;
  margin-right:auto;
}

.product-detail-system-supply .product-next-panel{
  display:none !important;
}

.product-detail-system-supply .product-detail-sections .spec-section:first-child{
  margin-top:0;
}

.product-detail-system-supply .range-products{
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
}

@media (max-width:1120px){
  .supply-range-sheet{
    grid-template-columns:1fr;
    gap:22px;
    min-height:auto;
  }

  .supply-range-visual{
    justify-self:start;
    width:min(100%, 430px);
  }
}

@media (max-width:760px){
  .supply-range-sheet{
    padding:20px;
    border-radius:22px;
  }

  .supply-range-copy{
    padding:18px 0 0;
  }

  .supply-range-copy::before{
    left:0;
    right:0;
    top:0;
    bottom:auto;
    width:auto;
    height:5px;
    border-radius:999px;
  }

  .supply-range-copy h1{
    max-width:none;
    font-size:clamp(2rem, 10vw, 3rem);
  }

  .supply-range-guidance,
  .product-detail-system-supply .range-products{
    grid-template-columns:1fr !important;
  }

  .supply-range-action-row .btn{
    width:100%;
  }

  .supply-range-visual{
    width:100%;
  }
}


/* =========================================================
   PPE SUPPLY PAGE CLEANUP
   Removes repeated typical-products content and makes PPE pages
   read as a simple range summary + quote guidance + product list.
========================================================= */

.product-detail-system-supply .supply-range-sheet-clean{
  grid-template-columns:minmax(0, 1fr) minmax(250px, 330px) !important;
  gap:28px !important;
  min-height:auto !important;
  padding:34px 36px !important;
  align-items:center !important;
}

.product-detail-system-supply .supply-range-copy{
  padding:10px 0 10px 24px !important;
}

.product-detail-system-supply .supply-range-copy::before{
  top:8px !important;
  bottom:8px !important;
}

.product-detail-system-supply .supply-range-label{
  margin-bottom:16px !important;
}

.product-detail-system-supply .supply-range-copy h1{
  max-width:18ch !important;
  font-size:clamp(2rem, 3vw, 3.15rem) !important;
  line-height:1.03 !important;
  letter-spacing:-.052em !important;
}

.product-detail-system-supply .supply-range-type{
  margin-top:8px !important;
  font-size:clamp(1rem, 1.25vw, 1.22rem) !important;
  letter-spacing:-.015em !important;
}

.product-detail-system-supply .supply-range-summary{
  margin-top:14px !important;
  max-width:58ch !important;
  font-size:.98rem !important;
  line-height:1.58 !important;
}

.product-detail-system-supply .supply-range-action-row{
  margin-top:20px !important;
}

.product-detail-system-supply .supply-range-guidance{
  display:none !important;
}

.supply-quote-strip{
  margin-top:22px;
  padding:16px 18px;
  border-radius:16px;
  border:1px solid rgba(112,82,26,.13);
  background:#fbf6ec;
}

.supply-quote-strip > span{
  display:block;
  margin-bottom:10px;
  color:#7d5a12;
  font-size:.74rem;
  font-weight:950;
  letter-spacing:.13em;
  text-transform:uppercase;
}

.supply-quote-strip > div{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.supply-quote-strip strong{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 10px;
  border-radius:999px;
  border:1px solid rgba(213,166,71,.26);
  background:#fff;
  color:#211d17;
  font-size:.84rem;
  font-weight:850;
}

.product-detail-system-supply .supply-range-visual{
  padding:16px !important;
  border-radius:20px !important;
  align-self:center !important;
}

.product-detail-system-supply .supply-range-image-card{
  max-width:260px !important;
  padding:18px !important;
  border-radius:18px !important;
}

.product-detail-system-supply .supply-range-visual p{
  max-width:28ch !important;
  font-size:.82rem !important;
  line-height:1.38 !important;
}

.product-detail-system-supply .product-detail-lower{
  max-width:none !important;
  margin-top:18px !important;
}

.product-detail-system-supply .product-detail-sections .spec-section{
  padding:22px !important;
  border-radius:20px !important;
}

.product-detail-system-supply .product-detail-sections .spec-section h3{
  margin-bottom:14px !important;
  font-size:1.05rem !important;
  letter-spacing:-.02em !important;
}

.product-detail-system-supply .range-products{
  grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
  gap:10px !important;
}

.product-detail-system-supply .range-product-item{
  min-height:42px !important;
  padding:11px 13px !important;
  border-radius:12px !important;
  background:#fff !important;
  font-size:.9rem !important;
  font-weight:800 !important;
}

@media (max-width:1120px){
  .product-detail-system-supply .supply-range-sheet-clean{
    grid-template-columns:1fr !important;
  }

  .product-detail-system-supply .supply-range-visual{
    width:min(100%, 330px) !important;
  }

  .product-detail-system-supply .range-products{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width:760px){
  .product-detail-system-supply .supply-range-sheet-clean{
    padding:20px !important;
  }

  .product-detail-system-supply .supply-range-copy{
    padding:18px 0 0 !important;
  }

  .product-detail-system-supply .supply-range-copy h1{
    max-width:none !important;
    font-size:clamp(2rem, 10vw, 2.8rem) !important;
  }

  .supply-quote-strip > div,
  .product-detail-system-supply .range-products{
    grid-template-columns:1fr !important;
  }

  .supply-quote-strip strong{
    width:100%;
  }
}

/* ===== PRODUCT BROWSING MOTION ===== */
.catalog-progress{
  position:fixed;
  top:0;
  left:0;
  right:0;
  height:4px;
  z-index:140;
  pointer-events:none;
  background:rgba(255,255,255,.34);
}

.catalog-progress span{
  display:block;
  width:100%;
  height:100%;
  transform:scaleX(0);
  transform-origin:left center;
  background:linear-gradient(90deg, #b6882f, #d5a647 55%, #f3d98b);
  box-shadow:0 0 18px rgba(213,166,71,.34);
  will-change:transform;
}

.page-products .page-top-accent{
  background-position:
    center,
    center calc(48% + var(--products-hero-shift, 0px)) !important;
}

.page-products .page-top-accent .page-overlay-grid{
  opacity:.2;
  transform:translateY(calc(var(--products-hero-shift, 0px) * -.35));
  transition:transform .1s linear;
}

.catalog-toolbar{
  position:sticky;
  top:104px;
  z-index:35;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  margin:-4px 0 22px;
  padding:12px 14px 12px 18px;
  border:1px solid rgba(0,0,0,.08);
  border-radius:18px;
  background:rgba(255,255,255,.84);
  box-shadow:0 12px 28px rgba(54,43,22,.08);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  transition:
    box-shadow .25s ease,
    border-color .25s ease,
    background-color .25s ease,
    transform .25s ease;
}

.catalog-toolbar.is-floating{
  border-color:rgba(213,166,71,.32);
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 38px rgba(54,43,22,.14);
}

.catalog-toolbar-copy{
  display:grid;
  gap:1px;
  min-width:0;
}

.catalog-toolbar-copy span{
  color:#7d714f;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.12em;
  line-height:1.2;
  text-transform:uppercase;
}

.catalog-toolbar-copy strong{
  color:#15130f;
  font-size:1rem;
  line-height:1.25;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.catalog-toolbar-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.catalog-toolbar-actions span{
  min-height:38px;
  display:inline-flex;
  align-items:center;
  padding:0 13px;
  border-radius:999px;
  background:#f8f2e2;
  border:1px solid rgba(213,166,71,.24);
  color:#6b5824;
  font-size:.9rem;
  font-weight:800;
  white-space:nowrap;
}

.catalog-jump-btn{
  min-height:38px;
  padding:0 15px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#181713;
  color:#fff;
  cursor:pointer;
  font-weight:850;
  transition:
    transform .2s ease,
    background-color .2s ease,
    box-shadow .2s ease;
}

.catalog-jump-btn:hover,
.catalog-jump-btn:focus-visible{
  transform:translateY(-1px);
  background:#6f5118;
  box-shadow:0 10px 20px rgba(54,43,22,.14);
}

.products-grid{
  perspective:1200px;
}

.products-grid .product-card{
  opacity:0;
  transform:translateY(26px) scale(.985);
  transform-origin:center top;
  transition:
    opacity .46s cubic-bezier(.22,1,.36,1),
    transform .46s cubic-bezier(.22,1,.36,1),
    box-shadow .28s ease,
    border-color .28s ease;
  transition-delay:calc(var(--card-index, 0) * 34ms);
  will-change:opacity, transform;
}

.products-grid .product-card.in-view{
  opacity:1;
  transform:translateY(0) scale(1);
}

.products-grid .product-card.in-view:hover{
  transform:translateY(-6px) scale(1.008);
}

.products-grid .product-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:0;
  background:
    linear-gradient(120deg, transparent 0%, rgba(255,255,255,.58) 46%, transparent 62%);
  transform:translateX(-120%);
  transition:opacity .24s ease, transform .7s ease;
}

.products-grid .product-card:hover::after{
  opacity:1;
  transform:translateX(120%);
}

.product-image{
  position:relative;
}

.product-image::after{
  content:"";
  position:absolute;
  left:16px;
  right:16px;
  bottom:10px;
  height:22px;
  border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(0,0,0,.12), transparent 70%);
  opacity:.32;
  transform:scaleX(.78);
  transition:opacity .32s ease, transform .32s ease;
}

.product-card:hover .product-image::after{
  opacity:.5;
  transform:scaleX(.96);
}

@media (max-width:760px){
  .catalog-toolbar{
    top:78px;
    align-items:stretch;
    flex-direction:column;
    gap:10px;
    margin-bottom:18px;
    padding:12px;
  }

  .catalog-toolbar-actions{
    width:100%;
  }

  .catalog-toolbar-actions span,
  .catalog-jump-btn{
    flex:1 1 0;
    justify-content:center;
  }

  .catalog-toolbar-copy strong{
    white-space:normal;
  }
}

@media (prefers-reduced-motion: reduce){
  .catalog-progress span,
  .page-products .page-top-accent .page-overlay-grid,
  .products-grid .product-card,
  .products-grid .product-card::after,
  .product-image::after{
    transition:none !important;
    animation:none !important;
  }

  .products-grid .product-card{
    opacity:1 !important;
    transform:none !important;
  }
}

/* ===== SITE-WIDE SCROLL ENGAGEMENT ===== */
.page-home .hero{
  background-position:center calc(50% + var(--page-hero-shift, 0px));
}

.page-products .page-top-accent,
.page-machine .page-top-accent{
  background-position:
    center,
    center calc(48% + var(--page-hero-shift, var(--products-hero-shift, 0px))) !important;
}

.page-contact .page-top-accent,
.page-quote .page-top-accent{
  background-position:
    center,
    center calc(50% + var(--page-hero-shift, 0px)) !important;
}

.page-top-accent .page-overlay-grid,
.hero-overlay-grid{
  transform:translateY(calc(var(--page-hero-shift, 0px) * -.35));
  transition:transform .1s linear;
}

html.js-page-transitions .motion-item:not(.product-card):not(.reveal){
  opacity:0;
  transform:translateY(24px) scale(.988);
  transition:
    opacity .56s cubic-bezier(.22,1,.36,1),
    transform .56s cubic-bezier(.22,1,.36,1);
  transition-delay:calc(var(--motion-index, 0) * 28ms);
  will-change:opacity, transform;
}

html.js-page-transitions .motion-item.motion-in-view:not(.product-card):not(.reveal){
  opacity:1;
  transform:translateY(0) scale(1);
}

html.js-page-transitions .footer-col.motion-item{
  transform:translateY(18px);
}

.quote-item-card.in-view .quote-item-media img,
.product-detail-sheet.in-view .product-visual-frame img,
.supply-range-sheet.in-view .supply-range-image-card img{
  animation:mediaSettle .7s cubic-bezier(.22,1,.36,1) both;
}

@keyframes mediaSettle{
  0%{
    opacity:.82;
    transform:translateY(10px) scale(.97);
  }
  100%{
    opacity:1;
    transform:translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce){
  .page-home .hero,
  .page-top-accent .page-overlay-grid,
  .hero-overlay-grid,
  html.js-page-transitions .motion-item,
  .quote-item-card.in-view .quote-item-media img,
  .product-detail-sheet.in-view .product-visual-frame img,
  .supply-range-sheet.in-view .supply-range-image-card img{
    animation:none !important;
    transition:none !important;
    transform:none !important;
  }

  html.js-page-transitions .motion-item{
    opacity:1 !important;
  }
}

/* ===== FE HOME HERO FINAL REFINEMENT ===== */
.page-home .hero{
  position:relative;
  min-height:auto;
  padding:34px 0 32px;
  overflow:hidden;
  isolation:isolate;
  border-bottom:1px solid rgba(36,31,23,.10);
  background:
    linear-gradient(90deg, rgba(246,241,232,.97) 0%, rgba(246,241,232,.88) 42%, rgba(246,241,232,.58) 100%),
    url('home-construction-bg.png') center calc(50% + var(--page-hero-shift, 0px))/cover no-repeat;
}

.page-home .hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:linear-gradient(90deg, rgba(255,250,240,.38) 0%, transparent 42%, rgba(36,31,23,.22) 100%);
}

.hero-overlay-grid{
  opacity:.055;
}

.hero-shell{
  position:relative;
  z-index:2;
  min-height:clamp(440px, 56vh, 540px);
  display:grid;
  grid-template-columns:minmax(340px, 46fr) minmax(500px, 54fr);
  gap:34px;
  align-items:center;
}

.hero-copy{
  position:relative;
  display:grid;
  gap:12px;
  align-content:center;
  max-width:570px;
  padding:0;
}

.hero-copy::before{
  content:"";
  position:absolute;
  inset:-18px -16px -16px -18px;
  z-index:-1;
  pointer-events:none;
  background:radial-gradient(ellipse at 28% 42%, rgba(255,250,240,.82), rgba(255,250,240,0) 68%);
}

.hero-badge{
  justify-self:start;
  min-height:34px;
  padding:0 12px;
  border-radius:999px;
  background:#fff8e8;
  border:1px solid rgba(181,130,31,.30);
  color:#5f450f;
  font-size:.74rem;
  font-weight:850;
}

.hero-title{
  max-width:14ch;
  margin:0;
  color:#15130f;
  font-size:clamp(2.35rem, 4.05vw, 4.05rem);
  line-height:.9;
  letter-spacing:-.05em;
}

.hero-title span{
  display:block;
}

.hero-title strong,
.hero-accent{
  color:#b6882f;
  font:inherit;
}

.hero-lead{
  max-width:46ch;
  margin:0;
  color:#242018;
  font-size:clamp(.98rem, 1.08vw, 1.08rem);
  line-height:1.55;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:2px;
}

.hero-actions .btn{
  min-height:46px;
  padding:0 18px;
  border-radius:12px;
  font-weight:900;
}

.hero-actions .hero-quote-btn{
  background:#d5a647;
  color:#111;
  border-color:#b6882f;
}

.hero-actions .hero-quote-btn:hover{
  background:#b6882f;
  color:#fff;
}

.hero-actions .hero-products-btn{
  background:#fff;
  color:#17140f;
  border-color:rgba(36,31,23,.14);
}

.hero-actions .hero-products-btn:hover{
  background:#f7f0df;
  color:#17140f;
}

.hero-trust-row{
  display:flex;
  flex-wrap:nowrap;
  gap:12px;
  margin-top:0;
  max-width:none;
}

.hero-trust-row span{
  position:relative;
  display:inline-flex;
  align-items:center;
  min-height:22px;
  padding-left:14px;
  color:#453d32;
  font-size:.78rem;
  font-weight:800;
  line-height:1.15;
  white-space:nowrap;
}

.hero-trust-row span::before{
  content:"";
  position:absolute;
  left:0;
  width:6px;
  height:6px;
  border-radius:999px;
  background:#b6882f;
}

.hero-visual{
  perspective:none;
}

.hero-equipment-card{
  position:relative;
  display:grid;
  grid-template-rows:minmax(288px, 1fr) auto;
  min-height:405px;
  overflow:hidden;
  border-radius:19px;
  border:1px solid rgba(73,62,45,.16);
  background:#ece2d0;
  box-shadow:0 20px 42px rgba(39,31,19,.14);
  transform:translateY(-22px);
}

.hero-equipment-media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:302px;
  padding:12px 46px 4px;
  background:
    radial-gradient(ellipse at 50% 60%, rgba(181,130,31,.10), transparent 50%),
    linear-gradient(180deg, #eee5d5 0%, #e1d5c3 100%);
}

.hero-equipment-media::after{
  content:"";
  position:absolute;
  left:20%;
  right:20%;
  bottom:20px;
  height:34px;
  border-radius:50%;
  background:radial-gradient(ellipse at center, rgba(0,0,0,.15), transparent 68%);
  pointer-events:none;
}

.hero-slides{
  position:relative;
  z-index:2;
  width:100%;
  min-height:286px;
}

.hero-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
  opacity:0;
  transform:translateX(14px);
  pointer-events:none;
  transition:opacity .34s ease, transform .34s ease;
}

.hero-slide.active{
  opacity:1;
  transform:translateX(0);
  pointer-events:auto;
}

.hero-machine-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  min-height:286px;
  color:inherit;
  text-decoration:none;
}

.hero-machine-link::before,
.hero-machine-link::after,
.hero-machine-backdrop{
  display:none !important;
}

.hero-slide img{
  position:relative;
  z-index:2;
  width:min(780px, 104%);
  max-height:318px;
  object-fit:contain;
  mix-blend-mode:multiply;
  filter:
    saturate(1.03)
    contrast(1.04)
    drop-shadow(0 18px 16px rgba(0,0,0,.13));
}

.hero-slide.active img,
.hero-slide.active .hero-machine-link{
  animation:none !important;
}

.hero-arrow{
  position:absolute;
  top:50%;
  z-index:6;
  width:30px;
  height:40px;
  border:1px solid rgba(73,62,45,.14);
  border-radius:9px;
  background:rgba(255,255,255,.84);
  color:#17140f;
  box-shadow:0 8px 16px rgba(39,31,19,.10);
  font-size:1.08rem;
  line-height:1;
  transform:translateY(-50%);
}

.hero-arrow:hover{
  background:#fff;
  transform:translateY(-50%);
  box-shadow:0 10px 18px rgba(39,31,19,.13);
}

.hero-arrow-prev{
  left:10px;
}

.hero-arrow-next{
  right:10px;
}

.hero-equipment-bar{
  position:relative;
  z-index:4;
  display:flex;
  gap:12px;
  align-items:center;
  padding:10px 14px;
  border-top:1px solid rgba(73,62,45,.11);
  background:#fbf6ec;
}

.hero-equipment-copy{
  min-width:0;
}

.hero-equipment-copy span,
.hero-stage-header,
.hero-stage-badge,
.hero-stage-rail,
.hero-stage-link,
.hero-machine-backdrop,
.hero-caption-wrap,
.hero-caption,
.hero-caption-label,
.hero-stage-meta,
.hero-spec-row{
  display:none !important;
}

.hero-equipment-copy strong{
  display:block;
  color:#15130f;
  font-size:clamp(1.55rem, 2.55vw, 2.2rem);
  font-weight:950;
  letter-spacing:-.04em;
  line-height:.95;
}

.hero-equipment-copy p{
  margin:4px 0 0;
  color:#3d362c;
  font-size:.96rem;
  font-weight:800;
  line-height:1.18;
}

.hero-equipment-controls{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  margin-left:2px;
}

.hero-product-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:0 13px;
  border-radius:10px;
  background:#17140f;
  color:#fff;
  font-size:.86rem;
  font-weight:900;
  text-decoration:none;
  white-space:nowrap;
  transition:background-color .2s ease, transform .2s ease;
}

.hero-product-link:hover{
  background:#78530f;
  transform:translateY(-1px);
}

.hero-dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:28px;
  padding:0 4px;
  border-radius:999px;
  border:none;
  background:transparent;
  box-shadow:none;
  backdrop-filter:none;
}

.hero-dot{
  width:6px;
  height:6px;
  border:none;
  border-radius:999px;
  background:rgba(23,20,15,.18);
  cursor:pointer;
  transition:width .2s ease, background-color .2s ease;
}

.hero-dot.active{
  width:16px;
  background:rgba(182,136,47,.68);
}

.hero-stage{
  all:unset;
}

.page-home .hero + .shop-range{
  padding-top:38px;
}

@media (max-width:1120px){
  .hero-shell{
    grid-template-columns:1fr;
    gap:28px;
    min-height:auto;
  }

  .hero-copy{
    max-width:660px;
  }

  .hero-title{
    max-width:13ch;
  }
}

@media (max-width:760px){
  .page-home .hero{
    padding:30px 0 32px;
  }

  .hero-shell{
    gap:22px;
  }

  .hero-title{
    font-size:clamp(2.25rem, 10vw, 3.25rem);
  }

  .hero-actions .btn{
    flex:1 1 100%;
  }

  .hero-trust-row{
    gap:7px 12px;
  }

  .hero-trust-row span{
    white-space:normal;
  }

  .hero-equipment-card{
    grid-template-rows:minmax(230px, auto) auto;
    min-height:auto;
    border-radius:17px;
    transform:none;
  }

  .hero-equipment-media{
    min-height:240px;
    padding:16px 42px 6px;
  }

  .hero-slides,
  .hero-machine-link{
    min-height:220px;
  }

  .hero-slide img{
    width:min(470px, 96%);
    max-height:205px;
  }

  .hero-arrow{
    width:32px;
    height:40px;
    font-size:1.1rem;
  }

  .hero-arrow-prev{
    left:7px;
  }

  .hero-arrow-next{
    right:7px;
  }

  .hero-equipment-bar{
    grid-template-columns:1fr;
    gap:10px;
    padding:14px;
  }

  .hero-equipment-controls{
    justify-content:space-between;
  }
}


/* =========================================================
   MOBILE NAV + HOME HERO RESPONSIVE FIX
   Fixes hidden mobile navigation and makes the homepage hero
   usable on phone screens without changing desktop structure.
========================================================= */

.nav-toggle{
  display:none;
  appearance:none;
  -webkit-appearance:none;
  border:1px solid rgba(36,31,23,.16);
  background:#fff;
  color:#17140f;
  cursor:pointer;
  border-radius:12px;
  width:46px;
  height:42px;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  box-shadow:0 8px 18px rgba(39,31,19,.06);
}

.nav-toggle span{
  display:block;
  width:20px;
  height:2px;
  border-radius:999px;
  background:#17140f;
  transition:transform .22s ease, opacity .22s ease;
}

.nav-toggle.is-open span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2){
  opacity:0;
}

.nav-toggle.is-open span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

@media (max-width:760px){
  .topbar{
    position:sticky !important;
    top:0;
    background:rgba(255,255,255,.98) !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }

  .topbar-inner{
    min-height:72px !important;
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:12px !important;
    padding:10px 0 !important;
  }

  .brand-logo{
    height:52px !important;
    max-width:190px !important;
  }

  .nav-toggle{
    display:inline-flex !important;
    flex:0 0 auto;
    margin-left:auto;
  }

  .nav{
    position:absolute;
    left:16px;
    right:16px;
    top:calc(100% + 8px);
    display:none !important;
    flex-direction:column !important;
    gap:8px !important;
    padding:12px !important;
    border:1px solid rgba(36,31,23,.12);
    border-radius:18px;
    background:#fffdf8 !important;
    box-shadow:0 18px 44px rgba(39,31,19,.16);
    z-index:100;
  }

  body.nav-open .nav{
    display:flex !important;
  }

  .nav a{
    width:100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    min-height:44px;
    padding:0 14px !important;
    border-radius:12px !important;
  }

  .nav a[href="quote.html"]{
    background:#d5a647 !important;
    border-color:#b6882f !important;
    color:#111 !important;
  }

  .page-home .hero{
    padding:28px 0 30px !important;
    min-height:auto !important;
    background:
      linear-gradient(180deg, rgba(246,241,232,.98) 0%, rgba(246,241,232,.90) 48%, rgba(246,241,232,.70) 100%),
      url('home-construction-bg.png') center top/cover no-repeat !important;
  }

  .page-home .hero::after{
    background:linear-gradient(180deg, rgba(255,250,240,.46), rgba(36,31,23,.10)) !important;
  }

  .hero-shell{
    width:min(100% - 28px, var(--max)) !important;
    grid-template-columns:1fr !important;
    gap:22px !important;
    min-height:auto !important;
    align-items:start !important;
  }

  .hero-copy{
    max-width:none !important;
    gap:11px !important;
  }

  .hero-copy::before{
    inset:-12px -8px -10px;
    opacity:.72;
  }

  .hero-badge{
    min-height:31px !important;
    padding:0 11px !important;
    font-size:.74rem !important;
  }

  .hero-title{
    max-width:12.5ch !important;
    font-size:clamp(2.15rem, 11vw, 3.05rem) !important;
    line-height:.93 !important;
    letter-spacing:-.055em !important;
  }

  .hero-lead{
    max-width:38ch !important;
    font-size:.98rem !important;
    line-height:1.48 !important;
  }

  .hero-actions{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:10px !important;
    margin-top:5px !important;
  }

  .hero-actions .btn{
    width:100%;
    min-height:46px !important;
    padding:0 12px !important;
    border-radius:13px !important;
    font-size:.94rem !important;
    flex:initial !important;
  }

  .hero-trust-row{
    display:grid !important;
    grid-template-columns:1fr 1fr;
    gap:8px 12px !important;
    margin-top:3px !important;
  }

  .hero-trust-row span{
    white-space:normal !important;
    font-size:.77rem !important;
    line-height:1.18 !important;
    min-height:18px !important;
  }

  .hero-equipment-card{
    width:100% !important;
    min-height:auto !important;
    grid-template-rows:auto auto !important;
    border-radius:18px !important;
    transform:none !important;
    box-shadow:0 16px 34px rgba(39,31,19,.12) !important;
  }

  .hero-equipment-media{
    min-height:230px !important;
    padding:14px 42px 4px !important;
  }

  .hero-equipment-media::after{
    left:25% !important;
    right:25% !important;
    bottom:16px !important;
    height:24px !important;
    opacity:.75;
  }

  .hero-slides,
  .hero-machine-link{
    min-height:214px !important;
  }

  .hero-slide img{
    width:min(500px, 98%) !important;
    max-height:202px !important;
  }

  .hero-arrow{
    width:34px !important;
    height:42px !important;
    border-radius:10px !important;
    font-size:1rem !important;
  }

  .hero-arrow-prev{ left:8px !important; }
  .hero-arrow-next{ right:8px !important; }

  .hero-equipment-bar{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:11px !important;
    padding:13px 14px 14px !important;
  }

  .hero-equipment-copy strong{
    font-size:clamp(1.55rem, 8vw, 2.1rem) !important;
  }

  .hero-equipment-copy p{
    font-size:.93rem !important;
  }

  .hero-equipment-controls{
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    gap:12px !important;
    margin-left:0 !important;
  }

  .hero-product-link{
    min-height:38px !important;
    padding:0 14px !important;
    border-radius:11px !important;
    font-size:.85rem !important;
  }

  .hero-dots{
    gap:5px !important;
    flex:0 0 auto;
  }

  .hero-dot{
    width:6px !important;
    height:6px !important;
  }

  .hero-dot.active{
    width:16px !important;
  }

  .page-home .hero + .shop-range{
    padding-top:32px !important;
  }
}

@media (max-width:420px){
  .hero-title{
    font-size:clamp(2rem, 12vw, 2.65rem) !important;
  }

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

  .hero-trust-row{
    grid-template-columns:1fr !important;
  }
}
