/* Worldpo RU — main styles
   Industrial B2B Russian theme (WORLDPO brand) */

:root {
  --wpo-ink: #0a1628;
  --wpo-ink-soft: #1c2d45;
  --wpo-steel: #2f4560;
  --wpo-mist: #e8eef4;
  --wpo-paper: #f5f7fa;
  --wpo-white: #ffffff;
  --wpo-accent: #c82019;
  --wpo-accent-hover: #a61a14;
  --wpo-blue: #1e5aff;
  --wpo-brand-blue: #1e5aff;
  --wpo-line: rgba(10, 22, 40, 0.12);
  --wpo-radius: 2px;
  --wpo-shadow: 0 18px 50px rgba(7, 26, 43, 0.12);
  --wpo-container: 1140px; /* align with mococonnectors.com/ru container */
  --wpo-font: "Manrope", "IBM Plex Sans", "Segoe UI", sans-serif;
  --wpo-display: "Manrope", "IBM Plex Sans", sans-serif;
  --wpo-header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.wpo-ru {
  margin: 0;
  font-family: var(--wpo-font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--wpo-ink);
  background: var(--wpo-white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  font-family: var(--wpo-display);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
  color: var(--wpo-ink);
}

p {
  margin: 0 0 1em;
}

.wpo-container {
  width: min(100% - 30px, var(--wpo-container));
  margin-inline: auto;
  padding-left: 0;
  padding-right: 0;
}

.wpo-center {
  text-align: center;
}

.wpo-muted {
  color: var(--wpo-steel);
}

.wpo-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wpo-accent);
  margin-bottom: 12px;
}

.wpo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid var(--wpo-ink);
  background: var(--wpo-ink);
  color: var(--wpo-white);
  font: 600 14px/1 var(--wpo-font);
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.wpo-btn:hover {
  background: var(--wpo-ink-soft);
  border-color: var(--wpo-ink-soft);
}

.wpo-btn--accent {
  background: var(--wpo-accent);
  border-color: var(--wpo-accent);
}

.wpo-btn--accent:hover {
  background: var(--wpo-accent-hover);
  border-color: var(--wpo-accent-hover);
}

.wpo-btn--ghost {
  background: transparent;
  color: var(--wpo-white);
  border-color: rgba(255, 255, 255, 0.55);
}

.wpo-btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

.wpo-btn--outline {
  background: transparent;
  color: var(--wpo-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.wpo-btn--sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 13px;
}

.wpo-link-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--wpo-accent);
}

/* Header */
.wpo-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--wpo-line);
  transition: box-shadow 0.3s ease;
}

.wpo-header.is-scrolled {
  box-shadow: 0 8px 24px rgba(7, 26, 43, 0.08);
}

/* Header spans nearly full viewport so Russian nav has room to breathe */
.wpo-header .wpo-container {
  width: min(100% - 40px, 1480px);
}

.wpo-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--wpo-header-h);
  gap: 28px;
}

.wpo-logo {
  flex: 0 0 auto;
}

.wpo-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.wpo-logo__text {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.04em;
}

.wpo-nav {
  flex: 1 1 auto;
  min-width: 0;
  align-self: stretch;
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.wpo-nav__list {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 6px;
  height: 100%;
}

.wpo-nav__list > li {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.wpo-nav__list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--wpo-ink-soft);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.wpo-nav__list > li > a:hover {
  color: var(--wpo-accent);
}

.wpo-nav__cta {
  margin-left: 6px;
  background: var(--wpo-accent) !important;
  color: #fff !important;
  padding: 10px 16px !important;
}

.wpo-caret {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.55;
}

.wpo-sub {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--wpo-line);
  border-top: 0;
  box-shadow: var(--wpo-shadow);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 120;
}

.has-sub:hover > .wpo-sub {
  opacity: 1;
  visibility: visible;
}

.wpo-sub a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: var(--wpo-ink-soft);
}

.wpo-sub a:hover {
  background: var(--wpo-paper);
  color: var(--wpo-accent);
}

/* Products mega — layout/logic from storefront-son .menu-pro-sub */
.wpo-header__bar {
  position: relative;
}

.wpo-nav__list > li.has-mega {
  position: static;
}

.wpo-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100%;
  transform: none;
  background: #fafafa;
  border: 0;
  border-top: 2px solid var(--wpo-accent);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  padding: 0;
  z-index: 120;
  max-height: calc(100vh - var(--wpo-header-h));
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.has-mega:hover > .wpo-mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wpo-mega .wpo-mega__inner.wpo-container {
  width: min(100% - 40px, var(--wpo-container));
  margin-inline: auto;
  max-width: none;
  padding: 28px 0 32px;
}

.wpo-mega__title {
  margin: 0 0 20px;
  padding: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--wpo-ink);
  border-bottom: 2px solid var(--wpo-accent);
}

.wpo-mega__layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.wpo-mega__left {
  width: 280px;
  flex-shrink: 0;
  background: #fff;
  padding: 12px 18px;
  border: 1px solid var(--wpo-line);
}

.wpo-mega__left a {
  display: block;
  padding: 9px 0;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.wpo-mega__left a:last-child {
  border-bottom: 0;
}

.wpo-mega__left a:hover {
  color: var(--wpo-accent);
  padding-left: 6px;
}

.wpo-mega__right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fff;
  padding: 16px;
  border: 1px solid var(--wpo-line);
}

.wpo-mega__intro {
  padding: 12px 14px;
  background: #fff5f4;
  border-left: 3px solid var(--wpo-accent);
}

.wpo-mega__intro p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: #555;
}

.wpo-mega__products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.wpo-mega__products li {
  background: #fff;
  border: 1px solid #eee;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.wpo-mega__products li:hover {
  border-color: var(--wpo-accent);
  transform: translateY(-2px);
}

.wpo-mega__products a {
  display: block;
  padding: 8px;
  color: #333;
}

.wpo-mega__product-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f5f5f5;
  overflow: hidden;
  margin-bottom: 6px;
}

.wpo-mega__product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.wpo-mega__product-title {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #555;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wpo-header-search {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--wpo-line);
  background: #fff;
  height: 38px;
}

.wpo-header-search input[type="search"] {
  border: 0;
  outline: none;
  width: 120px;
  padding: 0 10px;
  font: 400 13px/1 var(--wpo-font);
  background: transparent;
  color: var(--wpo-ink);
}

.wpo-header-search button {
  border: 0;
  background: var(--wpo-ink);
  color: #fff;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 16px;
}

@media (max-width: 1360px) and (min-width: 1101px) {
  .wpo-header .wpo-container {
    width: min(100% - 32px, 1400px);
  }

  .wpo-header__inner {
    gap: 18px;
  }

  .wpo-nav__list {
    gap: 2px;
  }

  .wpo-nav__list > li > a {
    padding: 10px 9px;
  }
}

@media (max-width: 1100px) and (min-width: 981px) {
  .wpo-header__inner {
    gap: 12px;
  }

  .wpo-nav__list {
    gap: 0;
  }

  .wpo-nav__list > li > a {
    padding: 9px 7px;
    font-size: 13px;
  }

  .wpo-nav__cta {
    padding: 9px 12px !important;
  }

  .wpo-header-search input[type="search"] {
    width: 88px;
  }
}

.wpo-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--wpo-line);
  background: #fff;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.wpo-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--wpo-ink);
}

/* Hero — match old theme natural banner height (~1920×760 → 758px) */
.wpo-hero {
  position: relative;
  width: 100%;
  height: 758px;
  max-height: none;
  min-height: 0;
  display: block;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}

.wpo-hero--banner {
  /* pure image carousel, no text overlay */
}

.wpo-hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wpo-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.wpo-hero__slide.is-active {
  opacity: 1;
}

.wpo-hero__overlay,
.wpo-hero__content {
  display: none !important;
}

.wpo-hero__dots {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.wpo-hero__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.wpo-hero__dots button.is-active {
  background: var(--wpo-accent, #c82019);
  border-color: var(--wpo-accent, #c82019);
}

@media (max-width: 768px) {
  /* Old theme: height auto, follow image ratio (1920×760) */
  .wpo-hero {
    height: auto;
    max-height: none;
    aspect-ratio: 1920 / 760;
  }

  .wpo-mission {
    padding: 48px 0 36px;
  }

  .wpo-products-intro {
    padding-top: 40px;
    padding-bottom: 48px;
  }
}

/* Home search band (below banner) — EN-style connector selector */
.wpo-home-search {
  position: relative;
  z-index: 3;
  margin-top: 0;
  padding: 56px 0 48px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(12, 48, 36, 0.92) 0%, rgba(18, 58, 72, 0.9) 48%, rgba(14, 42, 58, 0.94) 100%),
    url("/assets/images/chang_546.jpg") center / cover no-repeat;
  background-color: #0f3a32;
}

.wpo-home-search .wpo-container {
  max-width: min(100% - 30px, 920px);
}

.wpo-home-search__head {
  margin: 0 auto 28px;
  max-width: 760px;
}

.wpo-home-search__eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.wpo-home-search__title {
  margin: 0 0 12px;
  font-family: var(--wpo-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  color: #fff;
}

.wpo-home-search__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.wpo-home-search__form {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: #fff;
  border: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.wpo-home-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 58px;
  border: 0;
  outline: none;
  background: transparent;
  padding: 0 20px;
  font-family: var(--wpo-font);
  font-size: 1rem;
  color: var(--wpo-ink);
}

.wpo-home-search__input::placeholder {
  color: #8a96a5;
}

.wpo-home-search__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 128px;
  border: 0;
  cursor: pointer;
  background: #5fad2f;
  color: #fff;
  font-family: var(--wpo-font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 0 28px;
  transition: background 0.2s ease;
}

.wpo-home-search__btn:hover {
  background: #4f9626;
}

.wpo-home-search__keywords {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 12px 14px;
  margin-top: 22px;
  padding: 0;
  text-align: left;
}

.wpo-home-search__keywords-label {
  flex: 0 0 auto;
  margin-top: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.wpo-home-search__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 760px;
}

.wpo-home-search__tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: transparent;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.wpo-home-search__tag:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 768px) {
  .wpo-home-search {
    padding: 40px 0 36px;
  }

  .wpo-home-search__head {
    margin-bottom: 20px;
  }

  .wpo-home-search__form {
    flex-direction: column;
  }

  .wpo-home-search__input {
    height: 54px;
    padding: 0 16px;
  }

  .wpo-home-search__btn {
    min-width: 0;
    width: 100%;
    height: 50px;
  }

  .wpo-home-search__keywords {
    margin-top: 18px;
  }

  .wpo-home-search__keywords-label {
    width: 100%;
    margin-top: 0;
    text-align: center;
  }
}

.wpo-mission {
  position: relative;
  padding: 72px 0 56px;
  background-color: #f3f4f6;
  background-image:
    linear-gradient(rgba(10, 22, 40, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 22, 40, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  text-align: center;
}

.wpo-mission__title {
  font-family: "IBM Plex Serif", "Times New Roman", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.55rem, 3.2vw, 2.45rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  max-width: 920px;
  margin: 0 auto;
  color: var(--wpo-ink);
  text-wrap: balance;
}

/* Sections */
.wpo-section {
  padding: 88px 0;
}

.wpo-section__head {
  max-width: 760px;
  margin-bottom: 40px;
}

.wpo-section__head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
}

.wpo-section__head--center {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 48px;
  text-align: center;
}

.wpo-section__head--center h2 {
  font-family: "IBM Plex Serif", "Times New Roman", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  margin-bottom: 18px;
}

.wpo-section__head--center p {
  color: var(--wpo-steel);
  font-size: 1.02rem;
  line-height: 1.7;
  margin: 0;
}

.wpo-section__head--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: none;
  align-items: end;
}

.wpo-products-intro {
  background: #fff;
  padding-top: 64px;
  padding-bottom: 72px;
}

/* Product series grid (old theme homepage layout) */
.wpo-series-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.wpo-series-card {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 120px;
  padding: 18px 16px;
  background: #eeeeee;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.wpo-series-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.wpo-series-card__img {
  flex: 0 0 44%;
  max-width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s ease;
}

.wpo-series-card:hover .wpo-series-card__img {
  transform: translateX(-4px);
}

.wpo-series-card__img img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wpo-series-card__text {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wpo-series-card__title {
  font-family: var(--wpo-font);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #34364b;
}

.wpo-series-card__desc {
  font-size: 12px;
  line-height: 1.4;
  color: #58596d;
  opacity: 0.75;
}

.wpo-series-more {
  margin-top: 28px;
  margin-bottom: 0;
}

.wpo-series-more .wpo-link-more {
  font-weight: 600;
  color: var(--wpo-ink);
}

.wpo-series-more .wpo-link-more:hover {
  color: var(--wpo-accent);
}

@media (max-width: 980px) {
  .wpo-series-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .wpo-series-grid {
    grid-template-columns: 1fr;
  }

  .wpo-series-card {
    min-height: 100px;
  }

  .wpo-series-card__img {
    flex-basis: 38%;
    max-width: 120px;
  }
}

.wpo-page-hero {
  background: linear-gradient(135deg, #0a1628, #1c3a5a);
  color: #fff;
  padding: 56px 0 48px;
}

.wpo-page-hero h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

/* Products */
.wpo-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.wpo-product-grid--featured {
  gap: 28px;
  margin-bottom: 0;
}

.wpo-card-product {
  display: block;
  background: var(--wpo-paper);
  border: 1px solid var(--wpo-line);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wpo-card-product:hover {
  transform: translateY(-4px);
  box-shadow: var(--wpo-shadow);
}

.wpo-card-product--plain {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.wpo-card-product--plain:hover {
  transform: none;
  box-shadow: none;
}

.wpo-card-product__media {
  aspect-ratio: 4 / 3;
  background: #dfe7ef;
  overflow: hidden;
}

.wpo-card-product--plain .wpo-card-product__media {
  aspect-ratio: 1 / 1;
  background: #fff;
}

.wpo-card-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wpo-card-product--plain .wpo-card-product__media img {
  object-fit: contain;
  padding: 12px;
}

.wpo-card-product:hover .wpo-card-product__media img {
  transform: scale(1.05);
}

.wpo-card-product--plain:hover .wpo-card-product__media img {
  transform: scale(1.03);
}

.wpo-card-product__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, #c5d2df, #e8eef4),
    repeating-linear-gradient(-45deg, transparent, transparent 8px, rgba(255,255,255,.2) 8px, rgba(255,255,255,.2) 16px);
}

.wpo-card-product h3 {
  font-size: 1.05rem;
  margin: 16px 18px 8px;
}

.wpo-card-product--plain h3 {
  font-family: "IBM Plex Serif", "Times New Roman", Georgia, serif;
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 16px 0 0;
  color: var(--wpo-ink);
}

.wpo-card-product .wpo-link-more {
  display: inline-block;
  margin: 0 18px 18px;
}

/* Since / process */
.wpo-since {
  background: var(--wpo-paper);
}

.wpo-since__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.wpo-since__year {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--wpo-accent);
  margin-bottom: 10px;
}

.wpo-steps {
  margin: 24px 0 28px;
  counter-reset: step;
}

.wpo-steps li {
  position: relative;
  padding: 12px 0 12px 44px;
  border-bottom: 1px solid var(--wpo-line);
  font-weight: 500;
  counter-increment: step;
}

.wpo-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--wpo-accent);
}

.wpo-feature-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wpo-feature-cards article {
  background: #fff;
  border: 1px solid var(--wpo-line);
  padding: 22px 20px;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.wpo-feature-cards article:hover {
  border-color: rgba(196, 92, 38, 0.45);
  transform: translateY(-2px);
}

.wpo-feature-cards h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.wpo-feature-cards p {
  font-size: 14px;
  color: var(--wpo-steel);
  margin: 0;
}

/* About split: image left + copy right (MOCO-like block) */
.wpo-about-split {
  background: #f5f5f5;
  padding: 72px 0;
}

.wpo-about-split__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.wpo-about-split__media {
  margin: 0;
  overflow: hidden;
  background: #dde3ea;
  aspect-ratio: 4 / 3;
}

.wpo-about-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wpo-about-split__content h2 {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 500;
  margin: 0 0 14px;
  line-height: 1.25;
}

.wpo-about-split__content h2 strong {
  font-weight: 800;
}

.wpo-about-split__content h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 600;
  margin: 0 0 18px;
  line-height: 1.4;
  color: var(--wpo-ink-soft);
}

.wpo-about-split__content h3 span {
  color: var(--wpo-brand-blue);
  font-weight: 700;
}

.wpo-about-split__content p {
  font-size: 15px;
  line-height: 1.75;
  color: #4a5563;
  margin: 0 0 28px;
}

.wpo-btn--blue {
  background: var(--wpo-brand-blue);
  border-color: var(--wpo-brand-blue);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 700;
  min-height: 44px;
  padding: 0 28px;
}

.wpo-btn--blue:hover {
  background: #1548d4;
  border-color: #1548d4;
}

/* About + stats */
.wpo-about-band {
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.94), rgba(10, 22, 40, 0.97)),
    radial-gradient(circle at 20% 20%, rgba(196, 92, 38, 0.25), transparent 40%);
  color: #fff;
}

.wpo-about-band h2,
.wpo-about-band .wpo-eyebrow {
  color: #fff;
}

.wpo-about-band .wpo-section__head p {
  opacity: 0.85;
}

.wpo-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 36px;
}

.wpo-stat {
  text-align: center;
  padding: 24px 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.wpo-stat strong {
  display: block;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.wpo-stat span {
  font-size: 13px;
  opacity: 0.75;
}

.wpo-about-band .wpo-btn {
  border-color: rgba(255, 255, 255, 0.5);
  background: transparent;
  color: #fff;
}

.wpo-about-band .wpo-btn:hover {
  background: #fff;
  color: var(--wpo-ink);
}

/* Cases / latest products slider */
.wpo-cases.wpo-section {
  padding-top: 64px;
  padding-bottom: 36px;
}

.wpo-cases {
  background: #ffffff;
  border-top: 1px solid var(--wpo-line);
}

.wpo-cases__head {
  max-width: 920px;
  margin: 0 auto 32px;
  text-align: center;
}

.wpo-cases__head h2 {
  font-family: "IBM Plex Serif", "Times New Roman", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
}

.wpo-cases__head p {
  font-size: 15px;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

.wpo-cases__head strong {
  color: var(--wpo-ink);
  font-weight: 700;
}

.wpo-cases-slider {
  position: relative;
  overflow: hidden;
  /* room for hover lift so top border is not clipped */
  padding-top: 6px;
  margin-top: -6px;
}

.wpo-cases-slider__track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
  will-change: transform;
  padding-bottom: 6px;
}

.wpo-cases-slide {
  flex: 0 0 calc((100% - 60px) / 4);
  min-width: 0;
  background: #f5f7fa;
  border: 1px solid var(--wpo-line);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  padding: 12px 14px 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.wpo-cases-slide:hover {
  transform: translateY(-3px);
  background: #fff;
  border-color: var(--wpo-line);
  box-shadow: var(--wpo-shadow);
}

.wpo-cases-slide__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #fff;
}

.wpo-cases-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.45s ease;
}

.wpo-cases-slide__media .wpo-card-product__placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.wpo-cases-slide:hover .wpo-cases-slide__media img {
  transform: scale(1.03);
}

.wpo-cases-slide__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
  flex: 1;
  min-width: 0;
}

.wpo-cases-slide__cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wpo-accent);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wpo-cases-slide__title {
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: #1a2a4a;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.wpo-cases-slide:hover .wpo-cases-slide__title {
  color: var(--wpo-accent);
}

.wpo-cases-slide__price {
  font-size: 15px;
  font-weight: 800;
  color: var(--wpo-ink);
  line-height: 1.3;
}

.wpo-cases-slide__price--quote {
  font-size: 13px;
  font-weight: 700;
  color: var(--wpo-steel);
}

.wpo-cases-slide__price del {
  opacity: 0.55;
  font-weight: 600;
  margin-right: 4px;
}

.wpo-cases-slide__price ins {
  text-decoration: none;
}

.wpo-cases-slide__desc {
  margin: 2px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--wpo-steel);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.wpo-cases-slider__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.wpo-cases-slider__dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #c5ced8;
  background: #fff;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wpo-cases-slider__dots button.is-active {
  background: #1e5aff;
  border-color: #1e5aff;
}

/* News — editorial 3-column layout */
.wpo-news.wpo-section {
  padding-top: 40px;
  padding-bottom: 64px;
}

.wpo-news {
  background: #e8edf3;
  border-top: 1px solid rgba(10, 22, 40, 0.08);
}

.wpo-news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--wpo-line);
}

.wpo-news__head-copy {
  max-width: 640px;
}

.wpo-news__head h2 {
  margin: 0 0 10px;
  font-family: "IBM Plex Serif", "Times New Roman", Georgia, serif;
  font-weight: 600;
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}

.wpo-news__head p:last-child {
  margin: 0;
  color: var(--wpo-steel);
  line-height: 1.65;
}

.wpo-news__all {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 700;
  color: var(--wpo-ink);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.wpo-news__all:hover {
  color: var(--wpo-accent);
  border-bottom-color: var(--wpo-accent);
}

.wpo-news-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.wpo-news-item {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 100%;
  padding: 28px 24px 26px;
  background: #fff;
  border-top: 3px solid var(--wpo-ink);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.wpo-news-item:hover {
  border-top-color: var(--wpo-accent);
  transform: translateY(-3px);
}

.wpo-news-item__date {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.wpo-news-item__day {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--wpo-ink);
  letter-spacing: -0.03em;
}

.wpo-news-item__month {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--wpo-steel);
}

.wpo-news-item__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.wpo-news-item__cat {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wpo-accent);
}

.wpo-news-item__title {
  margin: 0 0 12px;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--wpo-ink);
}

.wpo-news-item:hover .wpo-news-item__title {
  color: var(--wpo-accent);
}

.wpo-news-item__excerpt {
  margin: 0 0 20px;
  flex: 1;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wpo-steel);
}

.wpo-news-item__more {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--wpo-ink-soft);
}

.wpo-news-item:hover .wpo-news-item__more {
  color: var(--wpo-accent);
}

/* Inquiry */
.wpo-inquiry {
  background: linear-gradient(120deg, #10253d, #1a3a58);
  color: #fff;
}

.wpo-inquiry h2 {
  color: #fff;
}

.wpo-inquiry__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.wpo-form {
  display: grid;
  gap: 14px;
}

.wpo-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.wpo-form input,
.wpo-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 12px 14px;
  font: 400 15px/1.4 var(--wpo-font);
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.wpo-form input::placeholder,
.wpo-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.wpo-form input:focus,
.wpo-form textarea:focus {
  border-color: rgba(196, 92, 38, 0.8);
  background: rgba(255, 255, 255, 0.12);
}

.wpo-form__status {
  margin: 0;
  font-size: 14px;
}

.wpo-form__status.is-ok {
  color: #9be7b3;
}

.wpo-form__status.is-err {
  color: #ffb4a8;
}

.wpo-modal .wpo-form input,
.wpo-modal .wpo-form textarea {
  background: #fff;
  color: var(--wpo-ink);
  border-color: var(--wpo-line);
}

.wpo-modal .wpo-form input::placeholder,
.wpo-modal .wpo-form textarea::placeholder {
  color: #8a97a8;
}

/* Footer */
.wpo-footer {
  background: #070f1a;
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
}

.wpo-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 48px;
}

.wpo-footer h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.wpo-footer a:hover {
  color: #fff;
}

.wpo-footer__brand p {
  font-size: 14px;
  margin-top: 16px;
}

.wpo-footer__col ul {
  display: grid;
  gap: 8px;
}

.wpo-footer__col a,
.wpo-footer__contact li {
  font-size: 14px;
}

.wpo-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 13px;
}

.wpo-footer__bottom p {
  margin: 0;
}

/* Float + modal */
.wpo-float-contact {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  border: 0;
  background: var(--wpo-accent);
  color: #fff;
  min-height: 48px;
  padding: 0 18px;
  font: 700 13px/1 var(--wpo-font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(196, 92, 38, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.wpo-float-contact:hover {
  transform: translateY(-2px);
  background: var(--wpo-accent-hover);
}

.wpo-modal[hidden] {
  display: none !important;
}

.wpo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
}

.wpo-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 15, 26, 0.62);
}

.wpo-modal__panel {
  position: relative;
  width: min(480px, 100%);
  background: #fff;
  padding: 28px 24px 24px;
  box-shadow: var(--wpo-shadow);
  animation: wpoRise 0.28s ease both;
}

.wpo-modal__close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--wpo-steel);
}

.wpo-modal__lead {
  font-size: 14px;
  color: var(--wpo-steel);
}

/* Content / Woo */
.wpo-prose {
  max-width: 820px;
}

/* Single post / article: use full site container (old theme commonweb ~1200) */
.wpo-prose--wide,
.wpo-article .wpo-prose {
  max-width: none;
  width: 100%;
}

.wpo-article__featured {
  margin: 0 0 28px;
  overflow: hidden;
  background: #e8eef4;
}

.wpo-article__featured img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.wpo-prose img {
  margin: 1em 0;
}

.wpo-article__body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--wpo-ink-soft);
}

.wpo-article__body h2,
.wpo-article__body h3,
.wpo-article__body h4 {
  margin-top: 1.4em;
  color: var(--wpo-ink);
}

.wpo-prose p,
.wpo-article__body p {
  margin-bottom: 18px;
}

.wpo-prose a,
.wpo-article__body a {
  color: var(--wpo-accent, #c82019);
}

.wpo-prose a:hover,
.wpo-article__body a:hover {
  color: var(--wpo-accent-hover, #a61a14);
}

/* Article lists (ported from storefront-son blog.css) */
.wpo-prose ul,
.wpo-article__body ul {
  padding-left: 24px;
  margin: 0 0 18px;
  list-style: none;
}

.wpo-prose ul > li,
.wpo-article__body ul > li {
  position: relative;
  padding-left: 8px;
  margin-bottom: 8px;
  line-height: 1.7;
}

.wpo-prose ul > li::before,
.wpo-article__body ul > li::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background: var(--wpo-accent, #c82019);
  border-radius: 50%;
}

.wpo-prose ol,
.wpo-article__body ol {
  padding-left: 28px;
  margin: 0 0 18px;
  list-style: decimal;
}

.wpo-prose ol > li,
.wpo-article__body ol > li {
  margin-bottom: 8px;
  padding-left: 4px;
  line-height: 1.7;
}

.wpo-prose ol > li::marker,
.wpo-article__body ol > li::marker {
  color: var(--wpo-accent, #c82019);
  font-weight: 600;
}

.wpo-prose li > ul,
.wpo-prose li > ol,
.wpo-article__body li > ul,
.wpo-article__body li > ol {
  margin-top: 8px;
  margin-bottom: 0;
}

.wpo-prose blockquote,
.wpo-article__body blockquote {
  border-left: 4px solid var(--wpo-accent, #c82019);
  margin: 20px 0;
  padding: 12px 20px;
  background: #fff5f4;
  color: #555;
  font-style: italic;
}

/* Article tables (ported from storefront-son blog.css) */
.wpo-prose .table-container,
.wpo-article__body .table-container {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 32px;
  -webkit-overflow-scrolling: touch;
}

.wpo-prose table,
.wpo-article__body table,
.wpo-prose .cross-reference-table,
.wpo-article__body .cross-reference-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: #fff;
  font-size: 0.95rem;
  line-height: 1.45;
}

.wpo-prose th,
.wpo-prose td,
.wpo-article__body th,
.wpo-article__body td {
  border: 1px solid #d8dee6;
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
}

.wpo-prose th,
.wpo-article__body th {
  background: #f4f7fa;
  color: var(--wpo-ink, #0a1628);
  font-weight: 700;
}

.wpo-prose tbody tr:nth-child(even) td,
.wpo-article__body tbody tr:nth-child(even) td {
  background: #fafbfc;
}

.wpo-prose tbody tr:hover td,
.wpo-article__body tbody tr:hover td {
  background: #fff5f4;
}

.wpo-prose .cross-reference-table th:first-child,
.wpo-prose .cross-reference-table td:first-child,
.wpo-article__body .cross-reference-table th:first-child,
.wpo-article__body .cross-reference-table td:first-child {
  width: 50%;
}

.wpo-prose .cross-reference-table td:last-child,
.wpo-article__body .cross-reference-table td:last-child {
  font-weight: 600;
  color: var(--wpo-accent, #c82019);
}

.wpo-article__tags {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--wpo-line, #e6eaf0);
}

.wpo-article__tags-label {
  font-size: 14px;
  color: #999;
  margin-right: 8px;
}

.wpo-article__tags a {
  display: inline-block;
  padding: 4px 12px;
  margin: 0 6px 6px 0;
  background: #f0f0f0;
  border-radius: 4px;
  font-size: 13px;
  color: #666;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.wpo-article__tags a:hover {
  background: var(--wpo-accent, #c82019);
  color: #fff;
}

.wpo-article__nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--wpo-line, #e6eaf0);
}

.wpo-article__nav a {
  display: block;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  max-width: 100%;
  transition: color 0.2s;
}

.wpo-article__nav a:hover {
  color: var(--wpo-accent, #c82019);
}

.wpo-article__nav-label {
  display: block;
  font-size: 12px;
  color: #aaa;
  margin-bottom: 4px;
}

.wpo-article__nav-title {
  display: block;
  font-weight: 600;
  line-height: 1.4;
  color: inherit;
}

.wpo-article__nav-prev,
.wpo-article__nav-next {
  flex: 1 1 0;
  min-width: 0;
}

.wpo-article__nav-prev {
  text-align: left;
}

.wpo-article__nav-next {
  text-align: right;
}

@media (max-width: 640px) {
  .wpo-article__nav {
    flex-direction: column;
  }

  .wpo-article__nav-next {
    text-align: left;
  }
}

.wpo-content-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.wpo-woo .woocommerce-result-count,
.wpo-woo .woocommerce-ordering {
  margin-bottom: 20px;
}

.wpo-woo ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.wpo-woo ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
  border: 1px solid var(--wpo-line);
  padding: 12px;
  background: #fff;
}

.wpo-woo ul.products li.product img {
  margin-bottom: 10px;
}

.wpo-woo .woocommerce-loop-product__title {
  font-size: 15px !important;
}

.wpo-woo .price {
  color: var(--wpo-accent) !important;
  font-weight: 700;
}

.wpo-woo .button,
.wpo-woo a.button {
  background: var(--wpo-ink) !important;
  color: #fff !important;
  border-radius: 0 !important;
}

/* Mobile */
@media (max-width: 980px) {
  .wpo-header-search {
    display: none;
  }

  .wpo-nav-toggle {
    display: inline-flex;
  }

  .wpo-nav {
    position: fixed;
    inset: var(--wpo-header-h) 0 auto 0;
    background: #fff;
    border-bottom: 1px solid var(--wpo-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .wpo-nav.is-open {
    max-height: min(80vh, 640px);
    overflow: auto;
  }

  .wpo-nav__list {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 24px;
  }

  .wpo-nav__list > li.has-mega {
    position: relative;
  }

  .wpo-mega,
  .wpo-sub {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    width: auto;
    max-height: none;
    overflow: visible;
    box-shadow: none;
    border: 0;
    border-top: 0;
    display: none;
    padding: 0 0 8px 12px;
    background: transparent;
  }

  .has-mega.is-open > .wpo-mega,
  .has-sub.is-open > .wpo-sub {
    display: block;
  }

  .wpo-mega .wpo-mega__inner.wpo-container {
    width: 100%;
    padding: 0;
  }

  .wpo-mega__title {
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 6px;
  }

  .wpo-mega__layout {
    flex-direction: column;
    gap: 12px;
  }

  .wpo-mega__left {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
  }

  .wpo-mega__right {
    display: none; /* match old theme: hide product grid on mobile */
  }

  .wpo-product-grid,
  .wpo-news-cards,
  .wpo-stats,
  .wpo-since__grid,
  .wpo-about-split__grid,
  .wpo-inquiry__grid,
  .wpo-footer__grid,
  .wpo-section__head--split,
  .wpo-content-list,
  .wpo-woo ul.products {
    grid-template-columns: 1fr 1fr;
  }

  .wpo-news-cards {
    grid-template-columns: 1fr;
  }

  .wpo-news__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .wpo-cases-slide {
    flex: 0 0 calc((100% - 20px) / 2);
  }

  .wpo-about-split__grid {
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .wpo-product-grid,
  .wpo-stats,
  .wpo-feature-cards,
  .wpo-about-split__grid,
  .wpo-content-list,
  .wpo-woo ul.products {
    grid-template-columns: 1fr;
  }

  .wpo-cases-slide {
    flex: 0 0 100%;
  }

  .wpo-about-split {
    padding: 48px 0;
  }

  .wpo-section {
    padding: 64px 0;
  }
}

/* ========== Inner pages ========== */
.wpo-inner {
  padding-top: 56px;
}

/* Facilities — full container width (not prose 820px) */
.wpo-facilities__intro {
  max-width: 920px;
  margin-bottom: 36px;
  color: var(--wpo-steel);
  line-height: 1.7;
}

.wpo-facilities__intro p {
  margin: 0;
}

.wpo-facilities__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.wpo-facilities__card {
  border: 1px solid #e3e3eb;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.wpo-facilities__card:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.wpo-facilities__media {
  background: #eaebf5;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.wpo-facilities__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.wpo-facilities__card:hover .wpo-facilities__media img {
  transform: scale(1.03);
}

.wpo-facilities__title {
  margin: 0;
  padding: 0 12px;
  border-top: 1px solid #e3e3eb;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 48px;
  font-size: 15px;
  font-weight: 600;
  color: #58596d;
}

.wpo-facilities__card:hover .wpo-facilities__title {
  color: var(--wpo-accent);
}

@media (max-width: 980px) {
  .wpo-facilities__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Industry / applications — 4×2 like old theme */
.wpo-industry__intro {
  max-width: 920px;
  margin-bottom: 36px;
  color: var(--wpo-steel);
}

.wpo-industry__intro p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.wpo-industry__intro a {
  color: var(--wpo-accent);
  font-weight: 600;
}

.wpo-industry__intro a:hover {
  text-decoration: underline;
}

.wpo-industry__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.wpo-industry__card {
  border: 1px solid #e3e3eb;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.wpo-industry__card:hover {
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.wpo-industry__media {
  background: #eaebf5;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.wpo-industry__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.wpo-industry__card:hover .wpo-industry__media img {
  transform: scale(1.03);
}

.wpo-industry__title {
  margin: 0;
  padding: 0 12px;
  border-top: 1px solid #e3e3eb;
  text-align: center;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  line-height: 48px;
  font-size: 15px;
  font-weight: 600;
  color: #58596d;
  transition: color 0.25s ease;
}

.wpo-industry__card:hover .wpo-industry__title {
  color: var(--wpo-accent);
}

@media (max-width: 980px) {
  .wpo-industry__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .wpo-industry__grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .wpo-industry__title {
    font-size: 12px;
    line-height: 40px;
    white-space: normal;
    padding: 8px 8px;
    line-height: 1.35;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.wpo-about-page__hero-img {
  margin: 0 0 36px;
  overflow: hidden;
  background: #dde3ea;
}

.wpo-about-page__hero-img img {
  width: 100%;
  height: auto;
  display: block;
}

.wpo-about-page__body h3 {
  margin-top: 1.6em;
  color: var(--wpo-ink);
  font-size: 1.15rem;
}

.wpo-about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 36px 0;
}

.wpo-about-values > div {
  background: var(--wpo-paper);
  border: 1px solid var(--wpo-line);
  padding: 20px 18px;
}

.wpo-about-values h4 {
  margin: 0 0 8px;
  color: var(--wpo-accent);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wpo-about-values p {
  margin: 0;
  font-size: 14px;
  color: var(--wpo-steel);
}

.wpo-about-page__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.wpo-contact-page__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.wpo-contact-page__map {
  aspect-ratio: 4 / 3;
  background: #dde3ea;
  overflow: hidden;
  border: 1px solid var(--wpo-line);
}

.wpo-contact-page__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.wpo-contact-page__info article {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--wpo-line);
}

.wpo-contact-page__info h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.wpo-contact-page__info p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--wpo-steel);
}

.wpo-contact-page__info a {
  color: var(--wpo-accent);
  font-weight: 600;
}

.wpo-contact-page__form {
  margin-top: 8px;
  padding: 22px;
  background: var(--wpo-paper);
  border: 1px solid var(--wpo-line);
}

.wpo-contact-page__form h3 {
  margin-bottom: 14px;
}

.wpo-contact-page .wpo-form input,
.wpo-contact-page .wpo-form textarea,
.wpo-custom-page .wpo-sample-form input,
.wpo-custom-page .wpo-sample-form textarea {
  background: #fff;
  color: var(--wpo-ink);
  border: 1px solid var(--wpo-line);
}

.wpo-contact-page .wpo-form input::placeholder,
.wpo-contact-page .wpo-form textarea::placeholder {
  color: #8a97a8;
}

.wpo-contact-page .wpo-form label,
.wpo-sample-form label {
  color: var(--wpo-ink-soft);
}

.wpo-custom-page__features {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  max-width: 820px;
}

.wpo-custom-page__features li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--wpo-ink-soft);
}

.wpo-custom-page__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--wpo-accent);
}

.wpo-custom-page__tip {
  max-width: 820px;
  color: var(--wpo-steel);
  margin-bottom: 28px;
}

.wpo-custom-page__success {
  max-width: 640px;
  padding: 36px 28px;
  background: #e8f5e9;
  border: 1px solid #4caf50;
  text-align: center;
  margin-bottom: 28px;
}

.wpo-custom-page__success strong {
  display: block;
  color: #2e7d32;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.wpo-sample-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
  max-width: 860px;
  margin-bottom: 28px;
}

.wpo-sample-form label {
  display: grid;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}

.wpo-sample-form label em {
  color: var(--wpo-accent);
  font-style: normal;
}

.wpo-sample-form input,
.wpo-sample-form textarea {
  width: 100%;
  padding: 12px 14px;
  font: 400 15px/1.4 var(--wpo-font);
  outline: none;
}

.wpo-sample-form input:focus,
.wpo-sample-form textarea:focus {
  border-color: rgba(200, 32, 25, 0.55);
}

.wpo-sample-form__full {
  grid-column: 1 / -1;
}

.wpo-sample-form__check {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  font-weight: 500 !important;
}

.wpo-sample-form__check input {
  width: auto;
  margin-top: 4px;
}

.wpo-custom-page__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--wpo-line);
  font-size: 13px;
  color: #666;
}

@media (max-width: 980px) {
  .wpo-about-values,
  .wpo-contact-page__grid,
  .wpo-sample-form {
    grid-template-columns: 1fr;
  }
}

/* Download Center — EN-style list + filter */
.wpo-download {
  padding: 40px 0 72px;
  background: #fff;
}

.wpo-download__intro h1 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid #74a92d;
  font-family: "IBM Plex Serif", "Times New Roman", Georgia, serif;
  font-size: clamp(1.7rem, 2.8vw, 2.2rem);
  font-weight: 700;
  color: #333;
}

.wpo-download__intro p {
  margin: 0 0 8px;
  max-width: 920px;
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

.wpo-download__intro a {
  color: #74a92d;
  font-weight: 600;
}

.wpo-download__intro a:hover {
  color: #5d8c24;
  text-decoration: underline;
}

.wpo-download__list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.wpo-download__item {
  position: relative;
  margin: 0 0 10px;
  padding: 14px 100px 14px 24px;
  border: 1px solid #e6e6e6;
  background: #fff;
  transition: background 0.35s ease, border-color 0.35s ease;
}

.wpo-download__text {
  display: block;
  color: #666;
  font-size: 16px;
  line-height: 24px;
  padding: 4px 0;
}

.wpo-download__btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 60px;
  height: 100%;
  background-color: #f2f2f2;
  background-image: url("/wp-content/themes/storefront-son/assets/images/wicon13.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px;
  transition: background-color 0.35s ease;
}

.wpo-download__item:hover {
  border-color: #399d26;
  background: #399d26;
}

.wpo-download__item:hover .wpo-download__text {
  color: #fff;
}

.wpo-download__item:hover .wpo-download__btn {
  background-color: #e31a13;
  background-image: url("/wp-content/themes/storefront-son/assets/images/wicon13ho.png");
}

.wpo-download__cta {
  margin: 28px 0 0;
}

@media (max-width: 767px) {
  .wpo-download {
    padding: 28px 0 48px;
  }

  .wpo-download__intro h1 {
    font-size: 1.35rem;
  }

  .wpo-download__intro p {
    font-size: 0.92rem;
  }

  .wpo-download__item {
    padding: 12px 80px 12px 15px;
  }

  .wpo-download__text {
    font-size: 14px;
    line-height: 20px;
  }

  .wpo-download__btn {
    width: 56px;
    background-size: 20px;
  }
}

/* Floating contact sidebar (storefront-son cus_sidebar) */
.wpo-cus-sidebar,
.wpo-cus-sidebar a {
  font-size: 12px;
  color: #999;
  font-family: Arial, Helvetica, sans-serif;
}

.wpo-cus-sidebar {
  position: absolute;
  z-index: 10000;
  top: 150px;
  right: 0;
}

.wpo-cus-sidebar__show {
  width: 0;
  height: 192px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  border: 0;
  padding: 0;
  background: url("/wp-content/themes/storefront-son/assets/weapp/Customer/template/skin/images/show_btn.png") no-repeat center center;
  position: absolute;
  right: 0;
  top: 0;
}

.wpo-cus-sidebar__content {
  width: 156px;
  height: auto;
  overflow: hidden;
  float: left;
}

.wpo-cus-sidebar__list {
  width: 140px;
  overflow: hidden;
  border: 1px solid #dadada;
  border-radius: 8px;
  position: relative;
  background: #fff;
}

.wpo-cus-sidebar__hd img {
  display: block;
  width: 100%;
  height: auto;
  border-bottom: 1px solid #dadada;
}

.wpo-cus-sidebar__cont {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wpo-cus-sidebar__cont li {
  height: 40px;
  line-height: 40px;
  border-bottom: 1px solid #dadada;
  list-style: none;
  position: relative;
}

.wpo-cus-sidebar__cont li a {
  position: relative;
  display: block;
  padding: 0 0 0 43px;
  text-decoration: none;
  color: #999;
}

.wpo-cus-sidebar__cont li a:before {
  content: "";
  position: absolute;
  display: block;
  overflow: hidden;
  top: 0;
  left: 10px;
  width: 25px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center center;
}

.wpo-cus-sidebar__email:before {
  background-image: url("/wp-content/themes/storefront-son/assets/weapp/Customer/template/skin/images/icons01.png");
}

.wpo-cus-sidebar__whatsapp:before {
  background-image: url("/wp-content/themes/storefront-son/assets/weapp/Customer/template/skin/images/icons07.png");
}

.wpo-cus-sidebar__qr {
  padding: 10px 10px 7px;
  border-bottom: 1px solid #dadada;
}

.wpo-cus-sidebar__qr img {
  display: block;
  width: 100%;
  height: auto;
}

.wpo-cus-sidebar__title {
  height: 30px;
  line-height: 30px;
  padding: 0 12px;
  position: relative;
}

.wpo-cus-sidebar__close {
  background: url("/wp-content/themes/storefront-son/assets/weapp/Customer/template/skin/images/close.png") no-repeat center center;
  width: 12px;
  height: 30px;
  position: absolute;
  bottom: 0;
  right: 10px;
  cursor: pointer;
  border: 0;
  padding: 0;
}

.wpo-cus-sidebar.is-collapsed .wpo-cus-sidebar__content {
  width: 0;
  display: none;
}

.wpo-cus-sidebar.is-collapsed .wpo-cus-sidebar__show {
  width: 37px;
}

@media (max-width: 1024px) {
  .wpo-cus-sidebar:not(.is-open) .wpo-cus-sidebar__content {
    width: 0;
    display: none;
  }

  .wpo-cus-sidebar:not(.is-open) .wpo-cus-sidebar__show {
    width: 37px;
  }
}
