/*
Theme Name: Meisen Technology
Theme URI: https://meisentech.com
Author: Meisen Technology
Description: Purpose-built B2B and sample-commerce theme for Meisen Technology.
Version: 1.4.0
Text Domain: meisen
*/

:root {
  --ms-ink: #071b2d;
  --ms-ink-2: #123047;
  --ms-muted: #607486;
  --ms-line: #dce7ed;
  --ms-cloud: #f4f8fa;
  --ms-white: #ffffff;
  --ms-blue: #009fda;
  --ms-blue-deep: #087bc0;
  --ms-green: #19bb45;
  --ms-lime: #a8eb22;
  --ms-gradient: linear-gradient(118deg, #a8eb22 0%, #15bd49 42%, #009fda 100%);
  --ms-shadow: 0 24px 70px rgba(7, 27, 45, .10);
  --ms-radius: 22px;
  --ms-wrap: min(1240px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ms-ink);
  background: var(--ms-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.ms-wrap { width: var(--ms-wrap); margin-inline: auto; }
.ms-skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 10px 16px; background: var(--ms-ink); color: #fff; }
.ms-skip-link:focus { top: 16px; }

.ms-topbar { background: var(--ms-ink); color: #cce0eb; font-size: 13px; letter-spacing: .02em; }
.ms-topbar .ms-wrap { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ms-topbar strong { color: #fff; }
.ms-topbar-links { display: flex; gap: 20px; }
.ms-topbar-links a:hover { color: var(--ms-lime); }

.ms-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(220,231,237,.9); backdrop-filter: blur(18px); }
.ms-header-row { min-height: 82px; display: flex; align-items: center; gap: 34px; }
.ms-brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.ms-brand img { width: 264px; height: 62px; object-fit: contain; object-position: left center; }
.ms-nav { margin-left: auto; }
.ms-nav ul { list-style: none; display: flex; align-items: center; gap: 30px; margin: 0; padding: 0; }
.ms-nav a { color: var(--ms-ink-2); font-size: 14px; font-weight: 700; }
.ms-nav a:hover, .ms-nav .current-menu-item > a { color: var(--ms-blue-deep); }
.ms-header-actions { display: flex; align-items: center; gap: 10px; }
.ms-menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--ms-line); background: #fff; border-radius: 12px; font-size: 20px; }

.ms-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  display: inline-flex !important; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 20px !important; border: 0 !important; border-radius: 999px !important;
  color: #fff !important; background: var(--ms-ink) !important; font-size: 14px !important; font-weight: 800 !important;
  line-height: 1.2 !important; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ms-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(7,27,45,.18); background: var(--ms-blue-deep) !important; }
.ms-button--brand, .woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--ms-gradient) !important; color: #052137 !important; }
.ms-button--ghost { color: var(--ms-ink) !important; background: transparent !important; box-shadow: inset 0 0 0 1px var(--ms-line); }

.ms-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 76% 22%, rgba(168,235,34,.22), transparent 29%), radial-gradient(circle at 90% 80%, rgba(0,159,218,.18), transparent 33%), linear-gradient(150deg, #f8fcfd 0%, #eef7f4 100%); }
.ms-hero::before { content: ""; position: absolute; inset: 0; opacity: .34; background-image: linear-gradient(rgba(7,27,45,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(7,27,45,.06) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.ms-hero-grid { position: relative; min-height: 680px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 56px; padding: 86px 0 78px; }
.ms-kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px; color: var(--ms-blue-deep); text-transform: uppercase; letter-spacing: .15em; font-size: 12px; font-weight: 900; }
.ms-kicker::before { content: ""; width: 30px; height: 3px; border-radius: 999px; background: var(--ms-gradient); }
.ms-hero h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(44px, 5.5vw, 78px); line-height: 1.02; letter-spacing: -.055em; }
.ms-gradient-text { color: var(--ms-blue-deep); background: var(--ms-gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ms-hero-copy > p { max-width: 620px; margin: 0 0 30px; color: var(--ms-muted); font-size: 19px; }
.ms-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ms-hero-proof { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 36px; color: var(--ms-ink-2); font-size: 13px; font-weight: 700; }
.ms-hero-proof span::before { content: "✓"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 7px; border-radius: 50%; color: #fff; background: var(--ms-green); }
.ms-hero-showcase { position: relative; min-height: 510px; }
.ms-hero-orb { position: absolute; inset: 34px 20px 28px 68px; border-radius: 48% 52% 58% 42% / 44% 46% 54% 56%; background: var(--ms-gradient); opacity: .92; transform: rotate(-5deg); }
.ms-hero-product { position: absolute; overflow: hidden; border: 8px solid rgba(255,255,255,.88); border-radius: 28px; background: #fff; box-shadow: var(--ms-shadow); }
.ms-hero-product img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-hero-product--main { inset: 22px 0 82px 92px; }
.ms-hero-product--small { width: 210px; height: 190px; left: 0; bottom: 8px; }
.ms-floating-card { position: absolute; right: -10px; bottom: 26px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.8); border-radius: 16px; background: rgba(255,255,255,.92); box-shadow: 0 16px 44px rgba(7,27,45,.13); backdrop-filter: blur(12px); }
.ms-floating-card strong { display: block; font-size: 17px; }
.ms-floating-card span { color: var(--ms-muted); font-size: 12px; }

.ms-trust-strip { border-block: 1px solid var(--ms-line); background: #fff; }
.ms-trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.ms-trust-item { padding: 26px 28px; border-right: 1px solid var(--ms-line); }
.ms-trust-item:last-child { border-right: 0; }
.ms-trust-item strong { display: block; font-size: 19px; line-height: 1.2; }
.ms-trust-item span { color: var(--ms-muted); font-size: 13px; }

.ms-section { padding: 100px 0; }
.ms-section--soft { background: var(--ms-cloud); }
.ms-section--dark { color: #fff; background: var(--ms-ink); }
.ms-section-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 42px; }
.ms-section-head h2 { max-width: 720px; margin: 0; font-size: clamp(34px, 4vw, 54px); line-height: 1.08; letter-spacing: -.04em; }
.ms-section-head p { max-width: 500px; margin: 0; color: var(--ms-muted); }

.ms-category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.ms-category-card { position: relative; min-height: 330px; overflow: hidden; border-radius: var(--ms-radius); background: #dfe9ed; box-shadow: 0 14px 34px rgba(7,27,45,.08); }
.ms-category-card:first-child { grid-column: auto; }
.ms-category-card img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; transition: transform .45s ease; }
.ms-category-card:hover img { transform: scale(1.045); }
.ms-category-card::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, rgba(3,20,34,.88)); }
.ms-category-meta { position: absolute; z-index: 2; inset: auto 24px 22px; color: #fff; }
.ms-category-meta h3 { margin: 0; font-size: 23px; line-height: 1.2; }
.ms-category-meta span { color: rgba(255,255,255,.78); font-size: 13px; }

.ms-product-grid, .woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 22px !important; margin: 0 !important; }
.ms-product-card, .woocommerce ul.products li.product { position: relative; float: none !important; width: auto !important; margin: 0 !important; overflow: hidden; border: 1px solid var(--ms-line); border-radius: 18px; background: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.ms-product-card:hover, .woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(7,27,45,.11); }
.ms-product-card img, .woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / 1; margin: 0 !important; padding: 18px; box-sizing: border-box; object-fit: contain; background: #f4f7f6; }
.ms-product-card__body { padding: 18px; }
.ms-product-card__category { color: var(--ms-blue-deep); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; font-weight: 900; }
.ms-product-card h3 { margin: 7px 0 10px; font-size: 17px; line-height: 1.35; }
.ms-product-card__price { color: var(--ms-ink); font-size: 14px; font-weight: 800; }
.ms-product-card__price small { color: var(--ms-muted); font-weight: 600; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 66px; padding: 16px 18px 4px !important; color: var(--ms-ink); font-size: 17px !important; line-height: 1.35; }
.woocommerce ul.products li.product .price { padding: 0 18px; color: var(--ms-ink) !important; font-size: 14px !important; }
.woocommerce ul.products li.product .button { margin: 12px 18px 18px !important; }

.ms-feature-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.ms-feature-visual { position: relative; min-height: 520px; overflow: hidden; border-radius: 30px; background: #eaf2f5; }
.ms-feature-visual img { width: 100%; height: 520px; object-fit: cover; opacity: 1; }
.ms-feature-badge { position: absolute; left: 22px; bottom: 22px; max-width: 260px; padding: 18px; border-radius: 16px; background: #fff; box-shadow: var(--ms-shadow); }
.ms-feature-badge strong { display: block; font-size: 19px; }
.ms-feature-badge span { color: var(--ms-muted); font-size: 13px; }
.ms-feature-copy h2 { margin: 0 0 20px; font-size: clamp(36px,4vw,56px); line-height: 1.08; letter-spacing: -.04em; }
.ms-feature-copy > p { color: var(--ms-muted); font-size: 18px; }
.ms-check-list { display: grid; gap: 16px; margin: 30px 0; }
.ms-check { display: grid; grid-template-columns: 42px 1fr; gap: 14px; }
.ms-check i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: var(--ms-ink); background: linear-gradient(135deg, rgba(168,235,34,.7), rgba(0,159,218,.35)); font-style: normal; font-weight: 900; }
.ms-check strong { display: block; }
.ms-check span { color: var(--ms-muted); font-size: 14px; }

.ms-process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; counter-reset: process; }
.ms-process-card { counter-increment: process; padding: 30px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.045); }
.ms-process-card::before { content: "0" counter(process); display: block; margin-bottom: 50px; color: var(--ms-lime); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.ms-process-card h3 { margin: 0 0 10px; font-size: 23px; }
.ms-process-card p { margin: 0; color: #a9bfcb; }

.ms-cta { position: relative; overflow: hidden; padding: 62px; border-radius: 30px; color: #fff; background: var(--ms-ink); }
.ms-cta::after { content: ""; position: absolute; width: 440px; height: 440px; right: -120px; top: -210px; border-radius: 50%; background: var(--ms-gradient); opacity: .55; filter: blur(2px); }
.ms-cta-content { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.ms-cta h2 { max-width: 720px; margin: 0 0 12px; font-size: clamp(34px,4vw,54px); line-height: 1.08; letter-spacing: -.04em; }
.ms-cta p { margin: 0; color: #bfd1db; }

.ms-page-hero { padding: 76px 0 62px; background: linear-gradient(145deg,#f4faf7,#eef7fb); border-bottom: 1px solid var(--ms-line); }
.ms-page-hero h1 { margin: 0 0 14px; font-size: clamp(42px,5vw,68px); line-height: 1.05; letter-spacing: -.05em; }
.ms-page-hero p { max-width: 720px; margin: 0; color: var(--ms-muted); font-size: 18px; }
.ms-content { padding: 70px 0 100px; }
.ms-content > * { max-width: 840px; }
.ms-content h2 { margin-top: 2em; font-size: 34px; line-height: 1.2; }

/* Long-form buyer guides */
.ms-article-hero .ms-article-meta { margin-top: 22px; color: var(--ms-muted); font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.ms-article-content { font-size: 17px; line-height: 1.78; }
.ms-article-content > * { max-width: 880px; }
.ms-article-content p, .ms-article-content li { color: #34433d; }
.ms-article-content h2 { margin: 2.25em 0 .7em; }
.ms-article-content h3 { margin: 1.7em 0 .55em; font-size: 24px; line-height: 1.3; }
.ms-article-content a { color: var(--ms-green); font-weight: 750; text-decoration-thickness: .08em; text-underline-offset: .18em; }
.ms-article-content blockquote { margin: 34px 0; padding: 24px 28px; border-left: 4px solid var(--ms-green); border-radius: 0 16px 16px 0; background: #f4faf7; }
.ms-article-content blockquote p { margin: 0; color: var(--ms-ink); }
.ms-article-content ol, .ms-article-content ul { padding-left: 1.4em; }
.ms-article-content li + li { margin-top: .55em; }
.ms-article-content .wp-block-table { max-width: 100%; margin: 34px 0; overflow-x: auto; }
.ms-article-content table { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.ms-article-content th, .ms-article-content td { padding: 14px 16px; border: 1px solid var(--ms-line); text-align: left; vertical-align: top; }
.ms-article-content th { color: var(--ms-ink); background: #f4faf7; }
.ms-article-content tbody tr:nth-child(even) { background: #fbfdfc; }

@media (max-width: 720px) {
  .ms-article-content { padding-top: 48px; font-size: 16px; }
  .ms-article-content h2 { font-size: 29px; }
  .ms-article-content h3 { font-size: 22px; }
  .ms-article-content blockquote { padding: 20px; }
}

.woocommerce .woocommerce-breadcrumb { margin: 0 0 26px; color: var(--ms-muted); font-size: 13px; }
.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-ordering select { padding: 10px 38px 10px 14px; border: 1px solid var(--ms-line); border-radius: 10px; background: #fff; }
.woocommerce div.product { padding: 50px 0 90px; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { overflow: hidden; border: 1px solid var(--ms-line); border-radius: 22px; background: #f4f7f6; }
.woocommerce div.product div.images .woocommerce-product-gallery__image a { display: block; background: #f4f7f6; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1 / 1; padding: 20px; box-sizing: border-box; object-fit: contain; border-radius: 0; background: #f4f7f6; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 10px; margin-top: 12px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { float: none; width: auto; margin: 0; }
.woocommerce div.product div.images .flex-control-thumbs img { width: 100%; aspect-ratio: 1 / 1; padding: 6px; box-sizing: border-box; object-fit: contain; border: 1px solid var(--ms-line); border-radius: 10px; background: #f4f7f6; }
.woocommerce div.product .product_title { font-size: clamp(34px,4vw,52px); line-height: 1.08; letter-spacing: -.04em; }
.woocommerce div.product p.price { color: var(--ms-ink) !important; font-size: 22px !important; }
.meisen-commerce-panel,.meisen-inquiry-panel { border-color: var(--ms-line) !important; border-radius: 18px !important; background: var(--ms-cloud); }
.meisen-inquiry-panel input,.meisen-inquiry-panel textarea,.meisen-inquiry-panel select,.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea { width: 100%; padding: 12px 14px; border: 1px solid #cad9e1; border-radius: 10px; background: #fff; }
.woocommerce-notices-wrapper { display: grid; gap: 10px; margin: 0 0 22px; }
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { position: relative; min-height: 24px; margin: 0 !important; padding: 16px 18px 16px 48px !important; border: 1px solid #cfe3d4; border-top-width: 1px; border-radius: 14px; line-height: 1.5; background: #f2faf4; list-style: none; }
.woocommerce-error { border-color: #efc8c8; background: #fff5f5; }
.woocommerce-message .button, .woocommerce-info .button { float: right; margin: -7px -8px -7px 14px !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ms-green); }
.woocommerce table.shop_table { border-color: var(--ms-line); border-radius: 16px; }

.ms-proof-section { background: #fff; }
.ms-proof-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
.ms-proof-grid article { padding: 28px; border: 1px solid var(--ms-line); border-radius: 20px; background: linear-gradient(145deg,#fff,#f7fafb); }
.ms-proof-grid article > span { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-bottom: 28px; border-radius: 12px; color: var(--ms-ink); background: rgba(168,235,34,.65); font-weight: 900; }
.ms-proof-grid h3 { margin: 0 0 10px; font-size: 20px; }
.ms-proof-grid p { margin: 0; color: var(--ms-muted); font-size: 14px; }
.ms-proof-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 24px 28px; border-radius: 20px; color: #fff; background: var(--ms-ink); }
.ms-proof-contact strong,.ms-proof-contact span { display: block; }
.ms-proof-contact strong { margin-bottom: 5px; font-size: 18px; }
.ms-proof-contact span { color: #b9cdd7; }

.ms-factory-story { background: #f5f8f7; }
.ms-factory-hero { position: relative; min-height: 620px; overflow: hidden; border-radius: 30px; color: #fff; background: var(--ms-ink); box-shadow: 0 28px 70px rgba(6,28,45,.16); }
.ms-factory-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-factory-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(4,24,39,.92) 0%,rgba(4,24,39,.66) 45%,rgba(4,24,39,.12) 78%); }
.ms-factory-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; max-width: 660px; min-height: 620px; padding: 72px; }
.ms-factory-hero__copy .ms-kicker { color: var(--ms-lime); }
.ms-factory-hero__copy h2 { margin: 12px 0 20px; color: #fff; font-size: clamp(44px,5vw,72px); line-height: 1.02; letter-spacing: -.05em; }
.ms-factory-hero__copy p { margin: 0; color: #d8e5eb; font-size: 19px; line-height: 1.7; }
.ms-factory-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ms-button--light { color: var(--ms-ink); background: #fff; }
.ms-button--outline-light { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.06); }
.ms-button--outline-light:hover { color: var(--ms-ink); background: #fff; }
.ms-factory-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(340px,.75fr); gap: 70px; align-items: end; margin: 72px 0 34px; }
.ms-factory-intro h2 { margin: 9px 0 0; font-size: clamp(36px,4vw,56px); line-height: 1.05; letter-spacing: -.04em; }
.ms-factory-intro > p { margin: 0; color: var(--ms-muted); font-size: 17px; line-height: 1.75; }
.ms-factory-flow { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ms-factory-step { overflow: hidden; margin: 0; border: 1px solid var(--ms-line); border-radius: 20px; background: #fff; box-shadow: 0 12px 38px rgba(7,27,45,.05); }
.ms-factory-step > img { display: block; width: 100%; aspect-ratio: 1.45 / 1; object-fit: cover; }
.ms-factory-step > div { padding: 25px 25px 28px; }
.ms-factory-step span { display: block; margin-bottom: 9px; color: var(--ms-green); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.ms-factory-step h3 { margin: 0 0 9px; font-size: 21px; line-height: 1.25; }
.ms-factory-step p { margin: 0; color: var(--ms-muted); font-size: 14px; line-height: 1.65; }
.ms-factory-contact { display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 22px; padding: 29px 32px; border-radius: 20px; background: linear-gradient(115deg,rgba(168,235,34,.18),rgba(0,159,218,.12)); }
.ms-factory-contact strong,.ms-factory-contact span { display: block; }
.ms-factory-contact strong { margin-bottom: 6px; color: var(--ms-ink); font-size: 20px; }
.ms-factory-contact span { color: var(--ms-muted); font-size: 14px; }

.ms-manufacturing-hero { position: relative; min-height: 680px; overflow: hidden; color: #fff; background: var(--ms-ink); }
.ms-manufacturing-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-manufacturing-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg,rgba(3,20,34,.92),rgba(3,20,34,.53) 55%,rgba(3,20,34,.12)); }
.ms-manufacturing-hero__copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: 680px; }
.ms-manufacturing-hero__copy .ms-kicker { color: var(--ms-lime); }
.ms-manufacturing-hero h1 { max-width: 780px; margin: 14px 0 20px; color: #fff; font-size: clamp(52px,7vw,92px); line-height: .98; letter-spacing: -.055em; }
.ms-manufacturing-hero p { max-width: 680px; margin: 0; color: #d7e4e9; font-size: 20px; line-height: 1.7; }
.ms-manufacturing-capabilities { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.ms-manufacturing-capabilities article { padding: 28px; border: 1px solid var(--ms-line); border-radius: 20px; background: #fff; }
.ms-manufacturing-capabilities span { display: block; margin-bottom: 42px; color: var(--ms-green); font-size: 13px; font-weight: 900; letter-spacing: .14em; }
.ms-manufacturing-capabilities h3 { margin: 0 0 10px; font-size: 21px; }
.ms-manufacturing-capabilities p { margin: 0; color: var(--ms-muted); font-size: 14px; line-height: 1.65; }
.ms-manufacturing-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ms-manufacturing-gallery figure { position: relative; overflow: hidden; min-height: 420px; margin: 0; border-radius: 22px; background: var(--ms-ink); }
.ms-manufacturing-gallery__wide { grid-column: span 2; min-height: 560px !important; }
.ms-manufacturing-gallery img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ms-manufacturing-gallery figure:hover img { transform: scale(1.02); }
.ms-manufacturing-gallery figcaption { position: absolute; z-index: 2; left: 18px; bottom: 18px; padding: 9px 13px; border-radius: 999px; color: #fff; background: rgba(3,20,34,.8); font-size: 13px; font-weight: 800; backdrop-filter: blur(8px); }
.ms-manufacturing-proof { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.ms-manufacturing-proof__image { overflow: hidden; border-radius: 28px; background: #eef4f5; }
.ms-manufacturing-proof__image img { display: block; width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; }
.ms-manufacturing-proof__copy h2 { margin: 10px 0 18px; font-size: clamp(38px,4vw,56px); line-height: 1.06; letter-spacing: -.04em; }
.ms-manufacturing-proof__copy > p { color: var(--ms-muted); font-size: 17px; line-height: 1.7; }
.ms-manufacturing-proof__copy ul { display: grid; gap: 12px; margin: 26px 0 30px; padding: 0; list-style: none; }
.ms-manufacturing-proof__copy li { position: relative; padding-left: 30px; color: #314b59; }
.ms-manufacturing-proof__copy li::before { content: "✓"; position: absolute; left: 0; top: -1px; display: grid; place-items: center; width: 21px; height: 21px; border-radius: 50%; color: var(--ms-ink); background: var(--ms-lime); font-size: 12px; font-weight: 900; }

.ms-about-hero { padding: 82px 0; background: linear-gradient(145deg,#f6faf8,#edf6f8); }
.ms-about-hero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(460px,.9fr); gap: 70px; align-items: center; }
.ms-about-hero__copy h1 { margin: 14px 0 22px; font-size: clamp(48px,6vw,78px); line-height: 1.01; letter-spacing: -.055em; }
.ms-about-hero__copy > p { max-width: 680px; color: var(--ms-muted); font-size: 19px; line-height: 1.7; }
.ms-about-hero__image { position: relative; overflow: hidden; border-radius: 30px; box-shadow: var(--ms-shadow); }
.ms-about-hero__image::after { content: "Quanzhou, China"; position: absolute; right: 18px; bottom: 18px; padding: 9px 13px; border-radius: 999px; color: #fff; background: rgba(4,24,39,.78); font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.ms-about-hero__image img { display: block; width: 100%; aspect-ratio: 1.32 / 1; object-fit: cover; }
.ms-about-expansion { color: #fff; background: var(--ms-ink); }
.ms-about-expansion__grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: 60px; align-items: center; padding-block: 42px; }
.ms-about-expansion strong { color: var(--ms-lime); font-size: clamp(48px,6vw,76px); line-height: 1; letter-spacing: -.04em; }
.ms-about-expansion span { display: block; margin-bottom: 7px; font-size: 20px; font-weight: 900; }
.ms-about-expansion p { max-width: 740px; margin: 0; color: #b8cdd7; line-height: 1.6; }
.ms-about-story { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.ms-about-story h2 { margin: 12px 0 0; font-size: clamp(38px,4vw,58px); line-height: 1.05; letter-spacing: -.04em; }
.ms-about-story__body p { margin: 0 0 20px; color: #3f5967; font-size: 18px; line-height: 1.8; }
.ms-about-pillars { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.ms-about-pillars article { padding: 28px; border: 1px solid var(--ms-line); border-radius: 20px; background: #fff; }
.ms-about-pillars span { display: block; margin-bottom: 38px; color: var(--ms-green); font-size: 13px; font-weight: 900; letter-spacing: .13em; }
.ms-about-pillars h3 { margin: 0 0 10px; font-size: 21px; }
.ms-about-pillars p { margin: 0; color: var(--ms-muted); font-size: 14px; line-height: 1.65; }
.ms-about-factory { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.ms-about-factory__image { overflow: hidden; border-radius: 28px; box-shadow: 0 22px 58px rgba(7,27,45,.11); }
.ms-about-factory__image img { display: block; width: 100%; aspect-ratio: 1.36 / 1; object-fit: cover; }
.ms-about-factory__copy h2 { margin: 12px 0 20px; font-size: clamp(38px,4vw,56px); line-height: 1.06; letter-spacing: -.04em; }
.ms-about-factory__copy p { margin-bottom: 28px; color: var(--ms-muted); font-size: 17px; line-height: 1.75; }

.ms-contact-hero { padding: 76px 0 68px; background: var(--ms-ink); color: #fff; }
.ms-contact-hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.ms-contact-hero .ms-kicker { color: var(--ms-lime); }
.ms-contact-hero h1 { margin: 14px 0 20px; color: #fff; font-size: clamp(50px,6vw,80px); line-height: 1; letter-spacing: -.055em; }
.ms-contact-hero p { max-width: 680px; color: #bed0d9; font-size: 19px; line-height: 1.7; }
.ms-contact-hero img { display: block; width: 100%; aspect-ratio: 1.45 / 1; border-radius: 26px; object-fit: cover; }
.ms-contact-routes { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.ms-contact-routes > a { display: block; min-height: 260px; padding: 28px; border: 1px solid var(--ms-line); border-radius: 20px; background: #fff; transition: transform .2s ease,box-shadow .2s ease; }
.ms-contact-routes > a:hover { transform: translateY(-4px); box-shadow: var(--ms-shadow); }
.ms-contact-routes span { color: var(--ms-green); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.ms-contact-routes h2 { margin: 45px 0 10px; font-size: 25px; }
.ms-contact-routes p { color: var(--ms-muted); font-size: 14px; line-height: 1.65; }
.ms-contact-routes strong { display: block; margin-top: 22px; color: var(--ms-blue-deep); font-size: 14px; }
.ms-contact-main { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(340px,.8fr); gap: 54px; align-items: start; }
.ms-contact-form h2 { margin: 11px 0 12px; font-size: clamp(38px,4vw,55px); line-height: 1.06; letter-spacing: -.04em; }
.ms-contact-form > p { margin-bottom: 28px; color: var(--ms-muted); }
.ms-contact-form .meisen-inquiry-panel { margin-top: 30px; padding: 28px; border: 1px solid var(--ms-line) !important; border-radius: 22px !important; background: #f4f7f6; }
.ms-contact-form .meisen-inquiry-panel form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.ms-contact-form .meisen-inquiry-panel form p { margin: 0; }
.ms-contact-form .meisen-inquiry-panel form p:nth-last-child(-n+2) { grid-column: 1 / -1; }
.ms-contact-form .meisen-inquiry-panel label { display: block; color: var(--ms-ink); font-size: 13px; font-weight: 850; }
.ms-contact-form .meisen-inquiry-panel label br { display: none; }
.ms-contact-form .meisen-inquiry-panel input,
.ms-contact-form .meisen-inquiry-panel select,
.ms-contact-form .meisen-inquiry-panel textarea { width: 100%; margin-top: 8px; padding: 13px 14px; box-sizing: border-box; border: 1px solid #c8d7de; border-radius: 10px; background: #fff; color: var(--ms-ink); font: inherit; }
.ms-contact-form .meisen-inquiry-panel textarea { min-height: 160px; resize: vertical; }
.ms-contact-form .meisen-inquiry-panel button.button.alt { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border: 0; border-radius: 999px; color: #fff; background: var(--ms-ink); font-size: 14px; font-weight: 900; cursor: pointer; }
.ms-contact-form .meisen-inquiry-panel button.button.alt:hover { background: var(--ms-blue-deep); }
.meisen-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.ms-contact-aside { display: grid; gap: 16px; }
.ms-contact-card { padding: 26px; border: 1px solid var(--ms-line); border-radius: 20px; background: #fff; }
.ms-contact-card--dark { color: #fff; background: var(--ms-ink); }
.ms-contact-card--dark > span { display: block; margin-bottom: 12px; color: var(--ms-lime); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ms-contact-card--dark > a { color: #fff; font-size: 24px; font-weight: 900; overflow-wrap: anywhere; }
.ms-contact-card--dark p { color: #b8cbd5; font-size: 14px; }
.ms-contact-card h3 { margin: 0 0 14px; font-size: 20px; }
.ms-contact-card ul { display: grid; gap: 9px; margin: 0; padding-left: 20px; color: var(--ms-muted); font-size: 14px; }
.ms-contact-card p { margin: 0; line-height: 1.75; }
.ms-contact-card small { display: block; margin-top: 10px; color: var(--ms-muted); }
.ms-contact-next { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ms-contact-next article { padding: 28px; border: 1px solid rgba(255,255,255,.12); border-radius: 20px; background: rgba(255,255,255,.045); }
.ms-contact-next span { color: var(--ms-lime); font-size: 12px; font-weight: 900; letter-spacing: .14em; }
.ms-contact-next h3 { margin: 34px 0 10px; color: #fff; font-size: 22px; }
.ms-contact-next p { margin: 0; color: #a9bfcb; font-size: 14px; line-height: 1.65; }

.woocommerce-cart .ms-content > *, .woocommerce-checkout .ms-content > * { max-width: none; }
.woocommerce-cart .ms-content, .woocommerce-checkout .ms-content { padding-top: 48px; }
.woocommerce-cart-form, .cart-collaterals .cart_totals, .woocommerce-checkout form.checkout { padding: 26px; border: 1px solid var(--ms-line); border-radius: 22px; background: #fff; box-shadow: 0 14px 40px rgba(7,27,45,.06); }
.woocommerce-cart table.shop_table, .woocommerce-checkout table.shop_table { overflow: hidden; border: 0; border-collapse: separate; border-spacing: 0; }
.woocommerce-cart table.shop_table th, .woocommerce-cart table.shop_table td, .woocommerce-checkout table.shop_table th, .woocommerce-checkout table.shop_table td { padding: 16px; border-color: var(--ms-line); }
.woocommerce-cart .product-thumbnail img { width: 96px; border-radius: 12px; background: #f3f7f8; }
.woocommerce-cart .product-name a { color: var(--ms-ink); font-weight: 800; }
.woocommerce-cart .quantity .qty { width: 72px; padding: 10px; border: 1px solid #cad9e1; border-radius: 10px; }
.woocommerce-cart .cart-collaterals { margin-top: 26px; }
.woocommerce-cart .cart-collaterals .cart_totals { width: min(100%,520px); }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { margin: 0; padding: 16px 20px !important; }
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(360px,.75fr); gap: 44px; }
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { width: auto; float: none; }
.woocommerce-checkout #order_review_heading { grid-column: 2; margin: 0; }
.woocommerce-checkout #order_review { grid-column: 2; }
.woocommerce-checkout #customer_details { grid-row: 1 / span 2; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details .col-2 { margin-top: 28px; }
.woocommerce-checkout .woocommerce-billing-fields h3, .woocommerce-checkout #order_review_heading { font-size: 25px; }
.woocommerce-checkout #payment { border-radius: 16px; background: #eef5f6; }
.woocommerce-checkout #payment ul.payment_methods, .woocommerce-checkout #payment ul.payment_methods li { margin: 0; list-style: none; }
.woocommerce-checkout #payment ul.payment_methods { padding: 18px; }
.woocommerce-checkout #payment div.form-row { padding: 18px; }
.woocommerce-checkout #payment div.payment_box { background: #fff; }
.woocommerce-checkout #payment div.payment_box { padding: 16px; border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: #fff; }
.woocommerce-checkout .woocommerce-info { border-radius: 14px; }
.woocommerce-checkout #place_order { width: 100%; padding: 15px 20px !important; }
.ms-consent { position: fixed; left: 24px; bottom: 24px; z-index: 999; width: min(420px,calc(100% - 48px)); padding: 20px; border: 1px solid rgba(255,255,255,.15); border-radius: 18px; color: #fff; background: #071b2d; box-shadow: 0 20px 60px rgba(2,18,30,.3); }
.ms-consent[hidden] { display: none; }
.ms-consent p { margin: 0 0 14px; color: #d4e1e8; font-size: 14px; }
.ms-consent div { display: flex; gap: 10px; }
.ms-consent button { padding: 10px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: #fff; background: transparent; font-weight: 800; cursor: pointer; }
.ms-consent button[data-consent="granted"] { border: 0; color: var(--ms-ink); background: var(--ms-gradient); }
.ms-consent a { color: #fff; text-decoration: underline; }
.ms-consent-open { position: fixed; right: 14px; bottom: 14px; z-index: 998; padding: 7px 10px; border: 1px solid #cad9e1; border-radius: 999px; color: #294657; background: rgba(255,255,255,.94); font-size: 11px; font-weight: 750; cursor: pointer; box-shadow: 0 6px 22px rgba(2,18,30,.12); }
.ms-consent-open[hidden] { display: none; }

.meisen-product-proof { margin: 3rem 0; padding: clamp(28px,5vw,58px); color: #fff; background: var(--ms-ink); }
.meisen-product-proof__intro { max-width: 850px; }
.meisen-product-proof__intro > span { color: var(--ms-lime); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.meisen-product-proof__intro h2 { max-width: 760px; margin: 12px 0 16px; color: #fff; font-size: clamp(30px,4vw,48px); line-height: 1.08; letter-spacing: -.035em; }
.meisen-product-proof__intro p,.meisen-product-proof__grid p,.meisen-product-proof__note { color: #d4e1e8; line-height: 1.65; }
.meisen-product-proof__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; margin-top: 34px; background: rgba(255,255,255,.16); }
.meisen-product-proof__grid article { padding: 24px; background: #0a263a; }
.meisen-product-proof__grid strong { display: block; margin-bottom: 10px; color: #fff; font-size: 17px; }
.meisen-product-proof__grid p { margin: 0; font-size: 14px; }
.meisen-product-proof__note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); }
.meisen-product-proof__note strong { color: #fff; }

.ms-footer { padding: 70px 0 24px; color: #b6c9d3; background: #051725; }
.ms-footer-grid { display: grid; grid-template-columns: 1.35fr .68fr .68fr .72fr 1fr; gap: 38px; }
.ms-footer-brand img { width: 270px; height: 72px; padding: 8px 12px; border-radius: 12px; object-fit: contain; object-position: left; filter: none; background: #fff; opacity: .96; }
.ms-footer h3 { margin: 0 0 16px; color: #fff; font-size: 15px; }
.ms-footer p { max-width: 380px; font-size: 14px; }
.ms-footer ul { list-style: none; margin: 0; padding: 0; }
.ms-footer li { margin: 8px 0; }
.ms-footer a:hover { color: var(--ms-lime); }
.ms-footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; }

@media (max-width: 1050px) {
  .ms-nav, .ms-header-actions .ms-button--ghost { display: none; }
  .ms-menu-toggle { display: inline-grid; place-items: center; margin-left: auto; }
  body.ms-menu-open .ms-nav { display: block; position: absolute; left: 20px; right: 20px; top: 76px; padding: 18px; border: 1px solid var(--ms-line); border-radius: 16px; background: #fff; box-shadow: var(--ms-shadow); }
  body.ms-menu-open .ms-nav ul { align-items: stretch; flex-direction: column; gap: 4px; }
  body.ms-menu-open .ms-nav a { display: block; padding: 10px; }
  .ms-hero-grid { grid-template-columns: 1fr; }
  .ms-hero-showcase { min-height: 500px; max-width: 700px; width: 100%; }
  .ms-category-grid { grid-template-columns: repeat(2,1fr); }
  .ms-product-grid, .woocommerce ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .ms-feature-grid { grid-template-columns: 1fr; }
  .ms-factory-intro { grid-template-columns: 1fr; gap: 20px; }
  .ms-factory-flow { grid-template-columns: repeat(2,1fr); }
  .ms-factory-step:last-child { grid-column: span 2; }
  .ms-manufacturing-capabilities { grid-template-columns: repeat(2,1fr); }
  .ms-manufacturing-proof { grid-template-columns: 1fr; }
  .ms-about-hero__grid,.ms-about-factory { grid-template-columns: 1fr; }
  .ms-about-hero__image { max-width: 760px; }
  .ms-about-pillars { grid-template-columns: repeat(2,1fr); }
  .ms-contact-hero__grid { grid-template-columns: 1fr; }
  .ms-contact-hero img { max-width: 760px; }
  .ms-contact-main { grid-template-columns: 1fr; }
  .ms-proof-grid { grid-template-columns: repeat(2,1fr); }
  .ms-footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
  .ms-footer-contact { grid-column: span 2; }
}

@media (max-width: 720px) {
  :root { --ms-wrap: min(100% - 28px, 1240px); }
  .ms-topbar .ms-wrap { justify-content: center; text-align: center; }
  .ms-topbar-links { display: none; }
  .ms-header-row { min-height: 70px; gap: 8px; }
  .ms-brand img { width: 195px; height: 48px; }
  .ms-header-actions .ms-button { display: none !important; }
  .ms-hero-grid { min-height: 0; padding: 64px 0; gap: 38px; }
  .ms-hero h1 { font-size: 44px; }
  .ms-hero-copy > p { font-size: 17px; }
  .ms-hero-showcase { min-height: 370px; }
  .ms-hero-orb { inset: 20px 14px 30px 40px; }
  .ms-hero-product--main { inset: 16px 0 64px 48px; }
  .ms-hero-product--small { width: 150px; height: 136px; }
  .ms-floating-card { right: 0; bottom: 0; padding: 12px 14px; }
  .ms-trust-grid { grid-template-columns: repeat(2,1fr); }
  .ms-trust-item:nth-child(2) { border-right: 0; }
  .ms-trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--ms-line); }
  .ms-section { padding: 72px 0; }
  .ms-section-head, .ms-cta-content { align-items: flex-start; flex-direction: column; }
  .ms-category-grid { grid-template-columns: 1fr; }
  .ms-category-card:first-child { grid-column: auto; }
  .ms-product-grid, .woocommerce ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px !important; }
  .ms-process-grid { grid-template-columns: 1fr; }
  .ms-factory-hero { min-height: 560px; }
  .ms-factory-hero__shade { background: linear-gradient(90deg,rgba(4,24,39,.9),rgba(4,24,39,.48)); }
  .ms-factory-hero__copy { min-height: 560px; padding: 42px 28px; }
  .ms-factory-hero__copy h2 { font-size: 43px; }
  .ms-factory-hero__copy p { font-size: 16px; }
  .ms-factory-flow { grid-template-columns: 1fr; }
  .ms-factory-step:last-child { grid-column: auto; }
  .ms-factory-contact { align-items: flex-start; flex-direction: column; }
  .ms-manufacturing-hero,.ms-manufacturing-hero__copy { min-height: 590px; }
  .ms-manufacturing-hero h1 { font-size: 52px; }
  .ms-manufacturing-hero p { font-size: 17px; }
  .ms-manufacturing-capabilities { grid-template-columns: 1fr; }
  .ms-manufacturing-gallery { grid-template-columns: 1fr; }
  .ms-manufacturing-gallery figure,.ms-manufacturing-gallery__wide { grid-column: auto; min-height: 350px !important; }
  .ms-about-hero { padding: 58px 0; }
  .ms-about-hero__copy h1,.ms-contact-hero h1 { font-size: 46px; }
  .ms-about-expansion__grid,.ms-about-story { grid-template-columns: 1fr; gap: 20px; }
  .ms-about-pillars { grid-template-columns: 1fr; }
  .ms-contact-routes,.ms-contact-next { grid-template-columns: 1fr; }
  .ms-proof-contact { align-items: flex-start; flex-direction: column; }
  .woocommerce-checkout form.checkout { display: block; padding: 18px; }
  .woocommerce-checkout #order_review_heading { margin-top: 34px; }
  .ms-contact-form .meisen-inquiry-panel { padding: 20px; }
  .ms-contact-form .meisen-inquiry-panel form { grid-template-columns: 1fr; }
  .ms-contact-form .meisen-inquiry-panel form p { grid-column: 1; }
  .ms-process-card::before { margin-bottom: 24px; }
  .ms-cta { padding: 38px 26px; }
  .ms-footer-grid { grid-template-columns: 1fr 1fr; }
  .ms-footer-brand,.ms-footer-contact { grid-column: span 2; }
  .ms-footer-bottom { flex-direction: column; }
}

@media (max-width: 460px) {
  .ms-product-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .ms-proof-grid { grid-template-columns: 1fr; }
  .ms-hero h1 { font-size: 39px; }
}

/* 1.2.1 — restrained editorial direction */
:root {
  --ms-ink: #18231f;
  --ms-ink-2: #30433b;
  --ms-muted: #68766f;
  --ms-line: #d9d8d0;
  --ms-cloud: #f4f1ea;
  --ms-white: #fffdf8;
  --ms-blue: #245f70;
  --ms-blue-deep: #174a58;
  --ms-green: #247247;
  --ms-lime: #8fba55;
  --ms-gradient: #247247;
  --ms-shadow: 0 14px 40px rgba(27, 39, 34, .08);
  --ms-radius: 2px;
  --ms-display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
}

/* Project documents, transparent lead times and customer milestones */
.ms-project-kicker { display:block; margin:0 0 14px; color:var(--ms-green); font-size:11px; font-weight:850; letter-spacing:.16em; text-transform:uppercase; }
.ms-project-hero { padding:110px 0 92px; border-bottom:1px solid var(--ms-line); background:#f8f5ed; }
.ms-project-hero__grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(340px,.6fr); gap:90px; align-items:end; }
.ms-project-hero h1 { max-width:900px; margin:0; font-size:clamp(48px,5.8vw,82px); line-height:.98; letter-spacing:-.05em; }
.ms-project-hero__grid>div:last-child>p { margin:0 0 28px; color:var(--ms-muted); font-size:17px; line-height:1.7; }
.ms-project-files,.ms-delivery-workflow { clear:both; margin-inline:calc(50% - 50vw); padding:90px max(24px,calc((100vw - 1200px)/2)); background:#fffdf8; }
.ms-project-files .ms-wrap,.ms-delivery-workflow .ms-wrap { width:100%; max-width:1200px; padding:0; }
.ms-delivery-workflow { background:#f2efe8; }
.ms-delivery-workflow--compact { margin-top:70px; }
.ms-project-section-head { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(300px,.65fr); gap:70px; margin-bottom:42px; padding-top:16px; border-top:1px solid var(--ms-ink); }
.ms-project-section-head h2 { max-width:750px; margin:0; font-size:clamp(36px,4vw,58px); line-height:1.04; letter-spacing:-.035em; }
.ms-project-section-head>p { margin:0; color:var(--ms-muted); line-height:1.7; }
.ms-project-file-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1px; border:1px solid var(--ms-line); background:var(--ms-line); }
.ms-project-file-card { display:flex; min-height:245px; flex-direction:column; padding:26px; background:#fffdf8; }
.ms-project-file-card.is-pending { background:#f7f4ed; }
.ms-project-file-card__status { color:var(--ms-green); font-size:10px; font-weight:850; letter-spacing:.12em; text-transform:uppercase; }
.ms-project-file-card h3 { margin:42px 0 12px; font-size:21px; }
.ms-project-file-card p { margin:0 0 24px; color:var(--ms-muted); font-size:13px; line-height:1.6; }
.ms-project-file-card a { margin-top:auto; color:var(--ms-green); font-size:13px; font-weight:750; }
.ms-project-reference { display:grid; grid-template-columns:repeat(3,1fr); border:1px solid var(--ms-line); border-top:0; }
.ms-project-reference>div { padding:18px 24px; }
.ms-project-reference>div+div { border-left:1px solid var(--ms-line); }
.ms-project-reference span,.ms-customer-project-summary span { display:block; margin-bottom:6px; color:var(--ms-muted); font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; }
.ms-project-reference strong { font-size:13px; }
.ms-delivery-timeline { display:grid; grid-template-columns:repeat(4,1fr); margin:0 0 50px; padding:0; list-style:none; border-top:1px solid var(--ms-ink); }
.ms-delivery-timeline li { display:grid; min-height:210px; grid-template-columns:34px 1fr; gap:15px; padding:22px 22px 22px 0; border-bottom:1px solid var(--ms-line); }
.ms-delivery-timeline li:not(:nth-child(4n+1)) { padding-left:22px; border-left:1px solid var(--ms-line); }
.ms-delivery-timeline li>span { color:var(--ms-green); font:11px/1.2 ui-monospace,SFMono-Regular,Menlo,monospace; }
.ms-delivery-timeline h3 { margin:38px 0 10px; font-size:18px; }
.ms-delivery-timeline p { margin:0; color:var(--ms-muted); font-size:12px; line-height:1.6; }
.ms-leadtime-split { display:grid; grid-template-columns:repeat(4,1fr); gap:1px; margin-bottom:28px; background:var(--ms-line); }
.ms-leadtime-split article { padding:24px; background:#fffdf8; }
.ms-leadtime-split article>span { display:inline-grid; width:28px; height:28px; place-items:center; border:1px solid var(--ms-green); border-radius:50%; color:var(--ms-green); font-size:11px; font-weight:800; }
.ms-leadtime-split h3 { margin:24px 0 10px; font-size:17px; }
.ms-leadtime-split p { margin:0; color:var(--ms-muted); font-size:12px; line-height:1.6; }
.ms-project-disclosure { max-width:850px; margin:0 0 24px; color:var(--ms-muted); font-size:12px; line-height:1.6; }
.ms-project-assurance-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--ms-line); }
.ms-project-assurance-grid article { padding:32px; background:#fffdf8; }
.ms-project-assurance-grid h3 { margin:0 0 20px; }
.ms-project-assurance-grid ul { margin:0; padding-left:18px; color:var(--ms-muted); line-height:1.8; }
.ms-project-faq { display:grid; grid-template-columns:minmax(300px,.7fr) minmax(0,1fr); gap:90px; }
.ms-project-faq h2 { font-size:clamp(38px,4vw,58px); }
.ms-project-faq details { padding:22px 0; border-bottom:1px solid var(--ms-line); }
.ms-project-faq summary { cursor:pointer; font-weight:800; }
.ms-project-faq details p { color:var(--ms-muted); line-height:1.7; }
.ms-customer-project-status { margin:50px 0; padding:32px; border:1px solid var(--ms-line); background:#f8f5ed; }
.ms-customer-project-summary { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin:24px 0; }
.ms-customer-project-summary p { margin:0; }
.ms-customer-project-timeline { display:grid; grid-template-columns:repeat(8,1fr); margin:30px 0; padding:0; list-style:none; }
.ms-customer-project-timeline li { position:relative; padding-top:25px; color:var(--ms-muted); font-size:11px; }
.ms-customer-project-timeline li:before { position:absolute; top:7px; left:0; right:0; height:2px; background:var(--ms-line); content:""; }
.ms-customer-project-timeline li>span { position:absolute; z-index:1; top:2px; left:0; width:12px; height:12px; border:2px solid #b8c1bc; border-radius:50%; background:#f8f5ed; }
.ms-customer-project-timeline .is-complete:before,.ms-customer-project-timeline .is-current:before { background:var(--ms-green); }
.ms-customer-project-timeline .is-complete>span,.ms-customer-project-timeline .is-current>span { border-color:var(--ms-green); background:var(--ms-green); }
.ms-customer-project-timeline .is-current { color:var(--ms-ink); }
.ms-customer-project-note { padding:20px; border-left:3px solid var(--ms-green); background:#fff; }

@media (max-width:900px) {
  .ms-project-hero__grid,.ms-project-section-head,.ms-project-faq { grid-template-columns:1fr; gap:34px; }
  .ms-project-file-grid,.ms-delivery-timeline,.ms-leadtime-split { grid-template-columns:1fr 1fr; }
  .ms-delivery-timeline li:not(:nth-child(4n+1)) { padding-left:0; border-left:0; }
  .ms-delivery-timeline li:nth-child(even) { padding-left:22px; border-left:1px solid var(--ms-line); }
  .ms-customer-project-timeline { grid-template-columns:repeat(4,1fr); row-gap:24px; }
}
@media (max-width:620px) {
  .ms-project-hero { padding:72px 0 58px; }
  .ms-project-file-grid,.ms-project-reference,.ms-delivery-timeline,.ms-leadtime-split,.ms-project-assurance-grid,.ms-customer-project-summary { grid-template-columns:1fr; }
  .ms-project-reference>div+div { border-top:1px solid var(--ms-line); border-left:0; }
  .ms-delivery-timeline li,.ms-delivery-timeline li:nth-child(even) { min-height:0; padding:20px 0; border-left:0; }
  .ms-delivery-timeline h3 { margin-top:0; }
  .ms-customer-project-timeline { grid-template-columns:1fr; }
  .ms-customer-project-timeline li { padding:0 0 0 28px; }
  .ms-customer-project-timeline li:before { top:0; bottom:0; left:5px; right:auto; width:2px; height:auto; }
  .ms-customer-project-timeline li>span { top:1px; }
}

/* 1.3.0 — cross-template polish, catalog flow and compact commerce UI */
.ms-cart-link {
  display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 8px 10px;
  color: var(--ms-ink-2); font-size: 12px; font-weight: 750; letter-spacing: .015em;
}
.ms-cart-link:hover { color: var(--ms-green); }
.ms-cart-count {
  display: inline-grid; min-width: 22px; height: 22px; place-items: center; padding: 0 6px;
  border-radius: 999px; color: #fff; background: var(--ms-green); font-size: 11px; line-height: 1;
}

.ms-page-hero h1,
.ms-about-hero h1,
.ms-contact-hero h1,
.ms-manufacturing-hero h1,
.ms-guide-hero h1,
.woocommerce div.product .product_title {
  font-family: var(--ms-display); font-weight: 500; letter-spacing: -.045em;
}
.ms-section-head h2,
.ms-about-story h2,
.ms-about-factory h2,
.ms-contact-form h2,
.ms-factory-intro h2,
.ms-manufacturing-proof h2,
.ms-guide-rfq h2,
.ms-guide-faq h2,
.ms-guide-cta h2,
.ms-empty-cart-guide h2 {
  font-family: var(--ms-display); font-weight: 500; letter-spacing: -.035em;
}

.ms-catalog-hero { padding-block: 66px 54px; background: #f1f6f3; }
.ms-catalog-hero h1 { max-width: 820px; }
.post-type-archive-product .woocommerce,
.tax-product_cat .woocommerce { padding: 48px 0 90px; }
.post-type-archive-product .woocommerce > .woocommerce-result-count,
.tax-product_cat .woocommerce > .woocommerce-result-count { margin-top: 0; }

/* WooCommerce clearfix pseudo-elements otherwise occupy real CSS-grid cells. */
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; content: none !important; }
.woocommerce ul.products li.product { display: flex; min-width: 0; flex-direction: column; }
.woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: block; flex: 1 1 auto; }
.woocommerce ul.products li.product .button { align-self: flex-start; margin-top: auto !important; }
.woocommerce nav.woocommerce-pagination { margin-top: 40px; text-align: left; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { margin-right: 6px; border: 1px solid var(--ms-line); }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span { min-width: 38px; padding: 10px 12px; }
.woocommerce nav.woocommerce-pagination ul li span.current { color: #fff; background: var(--ms-green); }

.ms-empty-cart-guide {
  display: grid; grid-template-columns: minmax(0,.9fr) minmax(420px,1.1fr); gap: 64px;
  margin: 30px 0 34px; padding: 42px; border: 1px solid var(--ms-line); background: #f4f1ea;
}
.ms-empty-cart-guide__eyebrow {
  color: var(--ms-green); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.ms-empty-cart-guide h2 { margin: 14px 0 16px; font-size: clamp(34px,3.5vw,50px); line-height: 1.02; }
.ms-empty-cart-guide p { margin: 0; color: var(--ms-muted); }
.ms-empty-cart-guide ol { margin: 0; padding: 0; border-top: 1px solid var(--ms-line); list-style: none; }
.ms-empty-cart-guide li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ms-line); }
.ms-empty-cart-guide li span { color: var(--ms-green); font-size: 11px; font-weight: 800; }
.ms-empty-cart-guide li strong { font-size: 14px; }

.woocommerce-account .ms-content > .woocommerce { max-width: 880px; }
.woocommerce-account .woocommerce-form-login {
  max-width: 720px; margin: 0 !important; padding: 34px !important;
  border: 1px solid var(--ms-line) !important; background: #f4f1ea;
}
.woocommerce-account .woocommerce-form-login .form-row { margin-bottom: 16px; }

/* Consent remains visible without covering the primary product decision area. */
.ms-consent { width: min(350px,calc(100% - 32px)); padding: 15px 16px; border-radius: 2px; }
.ms-consent p { margin-bottom: 10px; font-size: 12px; line-height: 1.45; }
.ms-consent button { min-height: 36px; padding: 8px 12px; border-radius: 2px; font-size: 12px; }

@media (max-width: 1050px) {
  .ms-cart-link span { display: none; }
  .meisen-product-proof__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 720px) {
  .ms-catalog-hero { padding-block: 48px 42px; }
  .post-type-archive-product .woocommerce,
  .tax-product_cat .woocommerce { padding: 34px 0 66px; }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering { float: none; }
  .woocommerce .woocommerce-ordering { width: 100%; }
  .woocommerce .woocommerce-ordering select { width: 100%; min-height: 44px; }
  .ms-empty-cart-guide { grid-template-columns: 1fr; gap: 28px; padding: 26px 22px; }
  .woocommerce-account .woocommerce-form-login { padding: 24px !important; }
  .ms-consent { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 12px; }
  .ms-consent p { max-width: 255px; margin: 0; }
  .ms-consent > div { flex: 0 0 auto; }
  .ms-consent { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .ms-consent[hidden] { display: none; }
}

@media (max-width: 460px) {
  .ms-consent { align-items: stretch; flex-direction: column; }
  .ms-consent p { max-width: none; }
  .meisen-product-proof__grid { grid-template-columns: 1fr; }
}

/* Policy library */
.ms-policy-hero { padding: 92px 0 72px; border-bottom: 1px solid var(--ms-line); background: #f4f1ea; }
.ms-policy-hero__grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.55fr); gap: 80px; align-items: end; }
.ms-policy-hero h1 { max-width: 850px; margin: 15px 0 0; font-size: clamp(46px,6vw,76px); line-height: .98; letter-spacing: -.045em; }
.ms-policy-hero__grid > div:last-child p { margin: 0 0 18px; color: var(--ms-ink-2); font-size: 18px; line-height: 1.65; }
.ms-policy-hero__grid > div:last-child span { color: var(--ms-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ms-policy-nav { position: sticky; top: 76px; z-index: 20; border-bottom: 1px solid var(--ms-line); background: rgba(255,253,248,.96); backdrop-filter: blur(12px); }
.ms-policy-nav .ms-wrap { display: flex; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.ms-policy-nav a { flex: 0 0 auto; padding: 19px 0 16px; border-bottom: 3px solid transparent; color: var(--ms-muted); font-size: 12px; font-weight: 850; }
.ms-policy-nav a:hover,.ms-policy-nav a.is-current { color: var(--ms-ink); border-bottom-color: var(--ms-green); }
.ms-policy-main { padding: 74px 0 110px; background: #fffdf8; }
.ms-policy-layout { display: grid; grid-template-columns: 250px minmax(0,790px); gap: clamp(50px,8vw,120px); align-items: start; }
.ms-policy-layout aside { position: sticky; top: 158px; padding-top: 18px; border-top: 2px solid var(--ms-ink); }
.ms-policy-layout aside span { color: var(--ms-ink); font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.ms-policy-layout aside p { color: var(--ms-muted); font-size: 13px; line-height: 1.6; }
.ms-policy-layout aside a { color: var(--ms-green); font-size: 13px; font-weight: 850; }
.ms-policy-copy { color: var(--ms-ink-2); font-size: 16px; line-height: 1.78; }
.ms-policy-copy > p:first-child { margin-top: 0; padding: 22px 25px; border-left: 3px solid var(--ms-green); background: #f4f1ea; color: var(--ms-ink); font-size: 17px; }
.ms-policy-copy h2 { margin: 56px 0 16px; padding-top: 4px; color: var(--ms-ink); font-size: 30px; line-height: 1.15; letter-spacing: -.02em; }
.ms-policy-copy h3 { margin: 30px 0 10px; color: var(--ms-ink); font-size: 19px; }
.ms-policy-copy ul,.ms-policy-copy ol { margin: 16px 0 22px; padding-left: 23px; }
.ms-policy-copy li + li { margin-top: 8px; }
.ms-policy-copy a { color: var(--ms-green); text-decoration: underline; text-underline-offset: 3px; }
.ms-policy-copy table { width: 100%; margin: 24px 0; border-collapse: collapse; font-size: 14px; }
.ms-policy-copy th,.ms-policy-copy td { padding: 14px; border: 1px solid var(--ms-line); text-align: left; vertical-align: top; }
.ms-policy-copy th { color: var(--ms-ink); background: #f4f1ea; }
.ms-policy-note { margin: 34px 0; padding: 20px 24px; border: 1px solid var(--ms-line); background: #fff; }
@media (max-width: 900px) {
  .ms-policy-hero__grid,.ms-policy-layout { grid-template-columns: 1fr; gap: 34px; }
  .ms-policy-layout aside { position: static; max-width: 520px; }
  .ms-policy-nav { top: 70px; }
}
@media (max-width: 720px) {
  .ms-policy-hero { padding: 62px 0 48px; }
  .ms-policy-hero h1 { font-size: 44px; }
  .ms-policy-nav .ms-wrap { gap: 22px; }
  .ms-policy-main { padding: 50px 0 80px; }
  .ms-policy-copy h2 { margin-top: 44px; font-size: 27px; }
}

@media (max-width: 720px) {
  .ms-topbar { font-size: 11px; }
  .ms-topbar .ms-wrap { min-height: 30px; }
  .ms-topbar-detail { display: none; }
  .ms-cart-link span { display: inline; }
}

body { background: #fffdf8; color: var(--ms-ink); }
.ms-header { background: rgba(255,253,248,.96); border-color: var(--ms-line); backdrop-filter: blur(10px); }
.ms-topbar { background: #17251f; color: #dce4df; }
.ms-nav a { font-weight: 650; letter-spacing: .01em; }
.ms-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
  min-height: 45px; padding: 12px 20px !important; border-radius: 2px !important;
  font-size: 13px !important; font-weight: 750 !important; letter-spacing: .025em;
  transition: background .2s ease, color .2s ease, border-color .2s ease !important;
}
.ms-button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  transform: none; box-shadow: none; background: #173f31 !important;
}
.ms-button--brand, .woocommerce a.button.alt, .woocommerce button.button.alt { background: #247247 !important; color: #fff !important; }
.ms-button--ghost { border: 1px solid var(--ms-line) !important; box-shadow: none; }

.ms-editorial-home { overflow: hidden; }
.ms-editorial-home h1,
.ms-editorial-home h2 {
  font-family: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -.035em;
}
.ms-editorial-eyebrow {
  margin: 0 0 20px; color: #247247; font-size: 11px; font-weight: 750;
  letter-spacing: .18em; line-height: 1.2; text-transform: uppercase;
}
.ms-editorial-hero { position: relative; min-height: min(760px, calc(100vh - 118px)); background: #ede8de; }
.ms-editorial-hero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ms-editorial-hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,247,239,.98) 0%, rgba(250,247,239,.94) 28%, rgba(250,247,239,.28) 55%, rgba(250,247,239,0) 74%); }
.ms-editorial-hero__inner { position: relative; z-index: 1; display: flex; min-height: min(760px, calc(100vh - 118px)); align-items: center; padding-block: 90px; }
.ms-editorial-hero__copy { width: min(560px, 46%); }
.ms-editorial-hero h1 { margin: 0 0 26px; font-size: clamp(48px, 5.7vw, 82px); line-height: .98; }
.ms-editorial-lead { max-width: 540px; margin: 0 0 34px; color: #4f5e57; font-size: 17px; line-height: 1.7; }
.ms-editorial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ms-button--light { border: 1px solid rgba(24,35,31,.28) !important; background: rgba(255,253,248,.62) !important; color: var(--ms-ink) !important; }

.ms-editorial-facts { color: #f8f5ed; background: #17251f; }
.ms-editorial-facts__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.ms-editorial-facts__grid > div { display: grid; min-height: 112px; grid-template-columns: 30px 1fr; align-items: center; gap: 14px; padding: 20px 24px; border-right: 1px solid rgba(255,255,255,.16); }
.ms-editorial-facts__grid > div:last-child { border-right: 0; }
.ms-editorial-facts span { color: #9fbd82; font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ms-editorial-facts p { display: grid; gap: 7px; margin: 0; line-height: 1.2; }
.ms-editorial-facts small { color: rgba(248,245,237,.56); font-size: 9px; font-weight: 750; letter-spacing: .15em; text-transform: uppercase; }
.ms-editorial-facts strong { color: #fffdf8; font-size: 14px; font-weight: 650; }

.ms-editorial-section { padding: 120px 0; }
.ms-editorial-heading { display: grid; grid-template-columns: 210px 1fr; gap: 50px; margin-bottom: 56px; border-top: 1px solid var(--ms-ink); padding-top: 18px; }
.ms-editorial-heading h2 { max-width: 780px; margin: 0; font-size: clamp(42px,4.6vw,66px); line-height: 1.02; }
.ms-editorial-heading div > p { max-width: 650px; margin: 20px 0 0; color: var(--ms-muted); }
.ms-editorial-heading--compact { margin-bottom: 40px; }
.ms-editorial-heading--compact h2 { font-size: clamp(40px,4vw,58px); }

.ms-editorial-collections { padding-top: 96px; background: #fffdf8; }
.ms-editorial-collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--ms-line); border: 1px solid var(--ms-line); }
.ms-editorial-collection { display: grid; grid-template-columns: 55% 45%; min-height: 330px; background: #fffdf8; }
.ms-editorial-collection__visual { overflow: hidden; background: #f4f1ea; }
.ms-editorial-collection__visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ms-editorial-collection:hover img { transform: scale(1.018); }
.ms-editorial-collection__text { display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; }
.ms-editorial-collection h3 { margin: 0 0 12px; font-size: 22px; line-height: 1.18; }
.ms-editorial-collection p { margin: 0 0 28px; color: var(--ms-muted); font-size: 13px; line-height: 1.55; }
.ms-editorial-collection span { color: #247247; font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }

.ms-editorial-signature { background: #ede9df; }
.ms-editorial-signature__grid { display: grid; grid-template-columns: 28% 1fr; gap: 64px; align-items: start; }
.ms-editorial-signature__copy { position: sticky; top: 140px; }
.ms-editorial-signature__copy h2 { margin: 0 0 22px; font-size: clamp(38px,4vw,58px); line-height: 1.02; }
.ms-editorial-signature__copy > p:not(.ms-editorial-eyebrow) { margin: 0 0 28px; color: var(--ms-muted); }
.ms-editorial-link { display: inline-block; padding-bottom: 5px; border-bottom: 1px solid #247247; color: #1f613f; font-size: 13px; font-weight: 700; }
.ms-editorial-product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; border: 1px solid var(--ms-line); background: var(--ms-line); }
.ms-editorial-product-grid .ms-product-card { border: 0; border-radius: 0; box-shadow: none; }
.ms-editorial-product-grid .ms-product-card:hover { transform: none; box-shadow: none; }
.ms-editorial-product-grid .ms-product-card img { aspect-ratio: 1.15 / 1; padding: 28px; background: #f4f1ea; }

.ms-editorial-factory { background: #fffdf8; }
.ms-editorial-factory__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 76px; align-items: center; }
.ms-editorial-factory__image { min-height: 660px; overflow: hidden; }
.ms-editorial-factory__image img { width: 100%; height: 660px; object-fit: cover; }
.ms-editorial-factory__copy h2 { margin: 0 0 26px; font-size: clamp(42px,4.5vw,64px); line-height: 1.02; }
.ms-editorial-factory__copy > p:not(.ms-editorial-eyebrow) { margin: 0 0 36px; color: var(--ms-muted); font-size: 16px; line-height: 1.75; }
.ms-editorial-definition-list { margin: 0 0 32px; border-top: 1px solid var(--ms-line); }
.ms-editorial-definition-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--ms-line); }
.ms-editorial-definition-list dt { font-size: 13px; font-weight: 750; }
.ms-editorial-definition-list dd { margin: 0; color: var(--ms-muted); font-size: 13px; line-height: 1.55; }

.ms-editorial-process { background: #f4f1ea; }
.ms-editorial-process__list { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ms-ink); }
.ms-editorial-process__list li { min-height: 220px; padding: 24px 28px 20px 0; border-right: 1px solid var(--ms-line); }
.ms-editorial-process__list li + li { padding-left: 28px; }
.ms-editorial-process__list li:last-child { border-right: 0; }
.ms-editorial-process__list span { color: #247247; font: 11px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ms-editorial-process__list h3 { margin: 48px 0 10px; font-size: 22px; }
.ms-editorial-process__list p { margin: 0; color: var(--ms-muted); font-size: 13px; line-height: 1.65; }

.ms-editorial-contact { padding: 120px 0; color: #f6f2e9; background: #17251f; }
.ms-editorial-contact__inner { max-width: 1000px; }
.ms-editorial-contact h2 { max-width: 820px; margin: 0 0 22px; font-size: clamp(48px,6vw,82px); line-height: .98; }
.ms-editorial-contact__inner > p:not(.ms-editorial-eyebrow) { max-width: 640px; margin: 0 0 34px; color: #bcc7c1; }
.ms-editorial-contact .ms-editorial-eyebrow { color: #9fbd82; }
.ms-editorial-email { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 14px; }

/* Keep every product listing on one neutral photographic ground. */
.ms-product-card, .woocommerce ul.products li.product { border-radius: 0; box-shadow: none; }
.ms-product-card:hover, .woocommerce ul.products li.product:hover { transform: none; box-shadow: none; }
.ms-product-card img, .woocommerce ul.products li.product a img { background: #f4f1ea; }
.woocommerce ul.products li.product .button { border-radius: 0 !important; }

/* Product and sample-order pages use the same quiet, editorial language. */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .flex-control-thumbs img,
.meisen-inquiry-panel,
.woocommerce-cart-form,
.cart-collaterals .cart_totals,
.woocommerce-checkout form.checkout,
.woocommerce table.shop_table {
  border-radius: 0;
  box-shadow: none;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
.woocommerce div.product div.images .woocommerce-product-gallery__image a,
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
  background: #f4f1ea;
}
.woocommerce div.product .woocommerce-tabs { clear: both; padding-top: 56px; }
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 34px; padding: 0;
  border-bottom: 1px solid var(--ms-line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block; padding: 0 0 13px; color: var(--ms-muted); font-size: 13px;
  font-weight: 700; letter-spacing: .025em;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  border-bottom: 2px solid #247247; color: var(--ms-ink);
}
.woocommerce div.product .woocommerce-tabs .panel { max-width: 900px; margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel h2 { font-size: clamp(30px,3vw,42px); }
.woocommerce-cart-form, .cart-collaterals .cart_totals, .woocommerce-checkout form.checkout {
  border-color: var(--ms-line); background: #fffdf8;
}
.woocommerce-cart .product-thumbnail img { border-radius: 0; background: #f4f1ea; }
.woocommerce-cart .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce .woocommerce-ordering select { border-radius: 0; }

@media (max-width: 1020px) {
  .ms-editorial-hero__copy { width: 56%; }
  .ms-editorial-heading { grid-template-columns: 150px 1fr; }
  .ms-editorial-collection { grid-template-columns: 1fr; }
  .ms-editorial-collection__visual { aspect-ratio: 4 / 3; }
  .ms-editorial-signature__grid { grid-template-columns: 1fr; }
  .ms-editorial-signature__copy { position: static; max-width: 680px; }
  .ms-editorial-factory__grid { gap: 42px; }
  .ms-editorial-factory__image, .ms-editorial-factory__image img { min-height: 540px; height: 540px; }
}

@media (max-width: 760px) {
  .ms-editorial-hero { min-height: 690px; }
  .ms-editorial-hero__image { object-position: 68% center; }
  .ms-editorial-hero__shade { background: linear-gradient(0deg, rgba(250,247,239,.98) 0%, rgba(250,247,239,.92) 42%, rgba(250,247,239,.12) 72%); }
  .ms-editorial-hero__inner { min-height: 690px; align-items: flex-end; padding: 80px 0 52px; }
  .ms-editorial-hero__copy { width: 100%; }
  .ms-editorial-hero h1 { max-width: 600px; font-size: 48px; }
  .ms-editorial-lead { font-size: 15px; line-height: 1.58; }
  .ms-editorial-facts__grid { grid-template-columns: 1fr 1fr; }
  .ms-editorial-facts__grid > div { min-height: 88px; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .ms-editorial-facts__grid > div:nth-child(2) { border-right: 0; }
  .ms-editorial-section { padding: 80px 0; }
  .ms-editorial-heading { display: block; padding-top: 14px; }
  .ms-editorial-heading > .ms-editorial-eyebrow { margin-bottom: 28px; }
  .ms-editorial-heading h2 { font-size: 44px; }
  .ms-editorial-collection-grid { grid-template-columns: 1fr; }
  .ms-editorial-collection { grid-template-columns: 52% 48%; min-height: 250px; }
  .ms-editorial-collection__visual { aspect-ratio: auto; }
  .ms-editorial-collection__text { padding: 20px; }
  .ms-editorial-collection h3 { font-size: 18px; }
  .ms-editorial-collection p { margin-bottom: 18px; font-size: 12px; }
  .ms-editorial-product-grid { grid-template-columns: 1fr 1fr; }
  .ms-editorial-factory__grid { grid-template-columns: 1fr; }
  .ms-editorial-factory__image, .ms-editorial-factory__image img { min-height: 430px; height: 430px; }
  .ms-editorial-definition-list > div { grid-template-columns: 130px 1fr; }
  .ms-editorial-process__list { grid-template-columns: 1fr 1fr; }
  .ms-editorial-process__list li:nth-child(2) { border-right: 0; }
  .ms-editorial-process__list li { border-bottom: 1px solid var(--ms-line); }
}

@media (max-width: 480px) {
  .ms-editorial-hero { min-height: 720px; }
  .ms-editorial-hero__inner { min-height: 720px; }
  .ms-editorial-hero h1 { font-size: 41px; }
  .ms-editorial-facts__grid { grid-template-columns: 1fr; }
  .ms-editorial-facts__grid > div { border-right: 0; }
  .ms-editorial-facts__grid > div:last-child { border-bottom: 0; }
  .ms-editorial-collection { grid-template-columns: 1fr; }
  .ms-editorial-collection__visual { aspect-ratio: 1.28 / 1; }
  .ms-editorial-product-grid { grid-template-columns: 1fr; }
  .ms-editorial-factory__image, .ms-editorial-factory__image img { min-height: 360px; height: 360px; }
  .ms-editorial-definition-list > div { display: block; }
  .ms-editorial-definition-list dd { margin-top: 8px; }
  .ms-editorial-process__list { grid-template-columns: 1fr; }
  .ms-editorial-process__list li { border-right: 0; padding-left: 0 !important; }
  .ms-editorial-contact h2 { font-size: 44px; }
}

/* Buyer guidance and product purchase confidence */
.ms-guide-hero { padding: 110px 0 92px; background: #f8f5ed; border-bottom: 1px solid var(--ms-line); }
.ms-guide-hero__grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(360px,.65fr); gap: 90px; align-items: end; }
.ms-guide-hero h1 { max-width: 850px; margin: 16px 0 0; font-size: clamp(50px,6vw,82px); line-height: .98; letter-spacing: -.05em; }
.ms-guide-hero__grid > div:last-child > p { margin: 0 0 28px; color: var(--ms-muted); font-size: 18px; line-height: 1.7; }
.ms-guide-facts { border-bottom: 1px solid var(--ms-line); background: #fffdf8; }
.ms-guide-facts__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.ms-guide-facts__grid > div { padding: 25px 26px; border-right: 1px solid var(--ms-line); }
.ms-guide-facts__grid > div:last-child { border-right: 0; }
.ms-guide-facts span,.meisen-buying-facts span { display: block; margin-bottom: 7px; color: var(--ms-muted); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ms-guide-facts strong { color: var(--ms-ink); font-size: 18px; }
.ms-guide-paths { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--ms-line); border-bottom: 1px solid var(--ms-line); }
.ms-guide-paths article { padding: 44px 46px 48px 0; }
.ms-guide-paths article + article { padding-left: 46px; border-left: 1px solid var(--ms-line); }
.ms-guide-paths article > span { color: var(--ms-green); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.ms-guide-paths h3 { max-width: 520px; margin: 24px 0 14px; font-size: 31px; line-height: 1.12; }
.ms-guide-paths p,.ms-guide-paths li { color: var(--ms-muted); line-height: 1.65; }
.ms-guide-paths ol { margin: 28px 0 0; padding-left: 20px; }
.ms-guide-paths li + li { margin-top: 9px; }
.ms-guide-rfq { display: grid; grid-template-columns: minmax(320px,.72fr) minmax(0,1fr); gap: 80px; }
.ms-guide-rfq h2 { margin: 14px 0 0; font-size: clamp(40px,4vw,60px); line-height: 1.02; }
.ms-guide-checklist { border-top: 1px solid var(--ms-line); }
.ms-guide-checklist > div { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid var(--ms-line); }
.ms-guide-checklist span { color: var(--ms-green); font-size: 12px; font-weight: 900; }
.ms-guide-checklist p { margin: 0; color: var(--ms-muted); }
.ms-guide-checklist strong { color: var(--ms-ink); }
.ms-guide-faq { display: grid; grid-template-columns: minmax(300px,.7fr) minmax(0,1fr); gap: 90px; }
.ms-guide-faq h2 { margin-top: 14px; font-size: clamp(40px,4vw,60px); }
.ms-guide-faq__list { border-top: 1px solid var(--ms-line); }
.ms-guide-faq details { padding: 22px 0; border-bottom: 1px solid var(--ms-line); }
.ms-guide-faq summary { cursor: pointer; color: var(--ms-ink); font-size: 17px; font-weight: 800; }
.ms-guide-faq details p { max-width: 690px; margin: 14px 0 0; color: var(--ms-muted); line-height: 1.65; }
.ms-guide-cta { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.ms-guide-cta h2 { max-width: 780px; margin: 14px 0 0; color: #fff; font-size: clamp(42px,5vw,68px); line-height: 1; }
.meisen-buying-facts { display: grid; grid-template-columns: repeat(3,1fr); margin: 0 0 22px; border-top: 1px solid var(--ms-line); border-bottom: 1px solid var(--ms-line); }
.meisen-buying-facts > div { padding: 16px 14px 16px 0; }
.meisen-buying-facts > div + div { padding-left: 14px; border-left: 1px solid var(--ms-line); }
.meisen-buying-facts strong { display: block; color: var(--ms-ink); font-size: 14px; }
.meisen-commercial-note { margin: 0 0 22px; color: var(--ms-muted); font-size: 13px; line-height: 1.55; }

@media (max-width: 900px) {
  .ms-guide-hero__grid,.ms-guide-rfq,.ms-guide-faq { grid-template-columns: 1fr; gap: 38px; }
  .ms-guide-facts__grid { grid-template-columns: 1fr 1fr; }
  .ms-guide-facts__grid > div:nth-child(2) { border-right: 0; }
  .ms-guide-facts__grid > div:nth-child(-n+2) { border-bottom: 1px solid var(--ms-line); }
  .ms-guide-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .ms-guide-hero { padding: 72px 0 58px; }
  .ms-guide-hero h1 { font-size: 46px; }
  .ms-guide-paths { grid-template-columns: 1fr; }
  .ms-guide-paths article,.ms-guide-paths article + article { padding: 34px 0; border-left: 0; }
  .ms-guide-paths article + article { border-top: 1px solid var(--ms-line); }
  .meisen-buying-facts { grid-template-columns: 1fr; }
  .meisen-buying-facts > div + div { padding-left: 0; border-top: 1px solid var(--ms-line); border-left: 0; }
}
