.languages > span,
.languages a {
  color: #fff;
  padding: 8px 0;
  opacity: .75;
}

.languages .active,
.languages .current-lang a,
.languages a:hover {
  opacity: 1;
}

.languages ul {
  display: flex;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.languages li,
.languages li > span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.archive-main,
.single-equipment,
.page-main {
  min-height: 55vh;
  padding: 0;
  background: #f8f9fb;
}

.inner-banner {
  padding: 48px 0 52px;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(0, 27, 56, .98), rgba(3, 54, 103, .9)),
    url('../images/hero-bakery.webp') center / cover;
}

.inner-banner h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.07;
  text-transform: uppercase;
}

.inner-banner .container > p:last-child:not(.eyebrow):not(.breadcrumbs) {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, .84);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
  margin: 0 0 25px;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

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

.catalog-browser {
  background: #f8f9fb;
}

.catalog-filters {
  display: grid;
  grid-template-columns: 2fr 1.2fr auto auto;
  align-items: end;
  gap: 10px;
  margin-bottom: 24px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(8, 35, 67, .07);
}

.catalog-filters label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog-filters label span {
  color: #526070;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.catalog-filters input,
.catalog-filters select {
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid #cdd5df;
}

.filter-reset {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 10px;
  color: #566171;
  font-size: 12px;
  font-weight: 700;
}

.catalog-summary {
  margin: 0 0 15px;
  color: #536071;
  font-size: 13px;
}

.catalog-summary strong {
  color: var(--navy);
  font-size: 18px;
}

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

.empty-catalog {
  grid-column: 1 / -1;
  padding: 45px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}

.empty-catalog h2 {
  margin-top: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 30px;
}

.page-numbers {
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--line);
}

.page-numbers.current {
  color: #fff;
  background: var(--navy);
}

.category-directory,
.product-description {
  background: #fff;
}

.category-list-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.category-list-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 62px;
  padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 700;
  transition: .2s;
}

.category-list-grid a:hover {
  transform: translateY(-2px);
  border-color: var(--orange);
}

.category-list-grid b {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  color: var(--navy);
  background: #eef3f8;
  border-radius: 50%;
  font-size: 11px;
}

.catalog-directory-tree {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.catalog-directory-tree > .directory-node {
  padding: 18px;
  background: #f8f9fb;
  border: 1px solid var(--line);
}

.directory-node > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 9px 11px;
  color: var(--navy);
  background: #fff;
  border-left: 3px solid var(--orange);
  font-size: 13px;
  font-weight: 800;
}

.directory-node > a:hover { color: var(--orange); }
.directory-children { display: grid; gap: 7px; margin-top: 8px; padding-left: 12px; }
.directory-level-1 > a { font-weight: 700; }
.directory-level-2 > a { border-left-color: #9aa8b8; font-weight: 600; }
.directory-node b { color: #59677a; font-size: 11px; }

.subcategory-section {
  padding-bottom: 0;
}

.term-description {
  max-width: 720px;
  color: rgba(255, 255, 255, .82);
}

.product-detail {
  padding: 35px 0 48px;
}

.product-detail .breadcrumbs {
  color: #667486;
}

.single-equipment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
}

.single-equipment-image {
  display: grid;
  place-items: center;
  min-height: 430px;
  background: #fbfcfd;
}

.single-equipment-image img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.single-equipment h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.equipment-terms {
  margin-bottom: 18px;
  color: #e96d00;
  font-size: 12px;
  font-weight: 700;
}

.equipment-lead {
  color: #3b4858;
  font-size: 17px;
}

.equipment-benefits {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.equipment-benefits li {
  position: relative;
  padding: 7px 0 7px 27px;
}

.equipment-benefits li::before {
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
  content: '✓';
}

.single-price {
  display: block;
  margin: 22px 0 14px;
  color: #e96d00;
}

.product-information {
  padding-top: 0;
  background: #fff;
}

.product-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  padding: 12px;
  background: #f4f7fa;
  border: 1px solid var(--line);
}

.product-section-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 16px;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 800;
}

.product-section-nav a:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.product-info-section {
  scroll-margin-top: 135px;
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
}

.product-info-section + .product-info-section {
  margin-top: 18px;
}

.product-info-section .section-title {
  margin-bottom: 28px;
}

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

.spec-table {
  width: 100%;
  border-collapse: collapse;
  color: #26384d;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  width: 50%;
  padding: 14px 18px;
  border: 1px solid #dfe5eb;
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  color: var(--navy);
  font-weight: 700;
}

.spec-table tr:nth-child(odd) {
  background: #f5f7f9;
}

.spec-empty {
  margin: 0;
  padding: 18px 20px;
  color: #536274;
  background: #f5f7f9;
  border-left: 4px solid var(--orange);
}

.samples-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.samples-grid a {
  display: block;
  overflow: hidden;
  background: #f4f6f8;
  border: 1px solid var(--line);
}

.samples-grid img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform .25s ease;
}

.samples-grid a:hover img {
  transform: scale(1.04);
}

.narrow-content {
  max-width: 850px;
}

.left-title {
  text-align: left;
}

.left-title h2::after {
  left: 0;
  transform: none;
}

.entry-content {
  color: #374151;
  line-height: 1.8;
}

.entry-content h2 {
  margin-top: 28px;
  color: var(--ink);
}

.entry-content a {
  color: #e96d00;
  text-decoration: underline;
}

.entry-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.entry-content th,
.entry-content td {
  padding: 10px 12px;
  border: 1px solid var(--line);
  text-align: left;
}

.page-content {
  padding: 36px;
  background: #fff;
  border: 1px solid var(--line);
}

.quote-form .consent-field {
  display: flex;
  grid-column: 1 / -1;
  align-items: flex-start;
  gap: 9px;
  color: #fff;
  font-size: 11px;
}

.quote-form .consent-field input {
  width: auto;
  min-height: 0;
  margin-top: 3px;
}

.quote-form .consent-field span {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
}

.project-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-story {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 260px;
  background: #fff;
  border: 1px solid var(--line);
}

.project-story-image {
  background: url('../images/project-factory.webp') center / cover;
}

.project-story-image.project-1 { background-position: 10% center; }
.project-story-image.project-2 { background-position: 35% center; }
.project-story-image.project-3 { background-position: 65% center; }
.project-story-image.project-4 { background-position: 90% center; }

.project-story > div:last-child {
  padding: 27px;
}

.project-story span {
  color: var(--orange);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-story h2 {
  margin: 5px 0 12px;
}

.project-story p,
.service-grid p,
.contact-grid p {
  color: #536071;
  font-size: 13px;
}

.cta-strip {
  padding: 30px 0;
  color: #fff;
  background: var(--navy);
}

.cta-strip .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cta-strip h2 {
  margin: 0;
  text-transform: uppercase;
}

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

.service-grid article {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 16px rgba(8, 35, 67, .05);
}

.service-grid article > span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
}

.service-grid h2 {
  margin: 10px 0;
  font-size: 19px;
}

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

.about-grid > div:first-child > p {
  color: #475569;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.about-stats article {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 145px;
  padding: 22px;
  color: #fff;
  background: var(--navy);
}

.about-stats strong {
  color: var(--orange);
  font-size: 34px;
}

.about-stats span {
  font-size: 12px;
}

.values-section {
  padding: 38px 0;
  background: #eef2f6;
}

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

.contact-grid article {
  padding: 27px;
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
}

.contact-grid article > span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 13px;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 50%;
  font-size: 22px;
}

.contact-grid h2 {
  margin: 0 0 8px;
  font-size: 18px;
}

.contact-grid a {
  color: #e96d00;
  font-weight: 800;
}

@media (max-width: 1000px) {
  .archive-grid { grid-template-columns: repeat(3, 1fr); }
  .category-list-grid { grid-template-columns: repeat(3, 1fr); }
  .catalog-filters { grid-template-columns: 1fr 1fr; }
  .project-page-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .samples-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .single-equipment-grid,
  .about-grid { grid-template-columns: 1fr; }
  .single-equipment-image { min-height: 320px; }
  .category-list-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-strip .container { align-items: flex-start; flex-direction: column; }
  .samples-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog-directory-tree { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .archive-grid,
  .category-list-grid,
  .service-grid { grid-template-columns: 1fr; }
  .single-equipment-grid { padding: 20px; }
  .catalog-filters { grid-template-columns: 1fr; }
  .project-story { grid-template-columns: 1fr; }
  .project-story-image { min-height: 210px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .page-content { padding: 23px; }
  .inner-banner { padding: 38px 0; }
  .inner-banner h1 { font-size: 32px; }
  .product-info-section { padding: 22px 18px; }
  .product-section-nav { flex-direction: column; }
  .product-section-nav a { width: 100%; }
  .spec-table th,
  .spec-table td { width: auto; padding: 12px; }
  .samples-grid { grid-template-columns: 1fr; }
  .samples-grid img { height: 240px; }
}
