/*
Theme Name: Manhart Industrial Theme
Theme URI: https://manhart-group.com/
Author: OpenAI
Description: Standalone custom WordPress theme for Manhart Group, designed for industrial distribution and WooCommerce-ready product presentation.
Version: 1.2.5
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: manhart-industrial-theme
*/

:root {
  --manhart-navy: #0f2238;
  --manhart-blue: #1b56a8;
  --manhart-blue-deep: #143f7a;
  --manhart-red: #c73a31;
  --manhart-gold: #d8a426;
  --manhart-green: #21663e;
  --manhart-text: #1f2937;
  --manhart-muted: #667085;
  --manhart-bg: #f5f7fa;
  --manhart-bg-alt: #eaf0f6;
  --manhart-panel: #f8fbfe;
  --manhart-white: #ffffff;
  --manhart-border: #d7e0ea;
  --manhart-border-soft: #e8eef4;
  --manhart-shadow: 0 18px 46px rgba(15, 34, 56, 0.08);
  --manhart-shadow-strong: 0 24px 60px rgba(15, 34, 56, 0.14);
  --manhart-radius: 18px;
  --manhart-radius-lg: 28px;
  --manhart-radius-pill: 999px;
  --manhart-max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--manhart-white);
  color: var(--manhart-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--manhart-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover { color: var(--manhart-navy); }

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4 {
  color: var(--manhart-navy);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.5rem, 4.6vw, 4.6rem);
  max-width: 12ch;
}

h2 { font-size: clamp(1.95rem, 3vw, 3rem); }
h3 { font-size: 1.35rem; }

p, li { font-size: 1rem; }

.site-content { padding-top: 0; }

.manhart-container,
.manhart-header-top-inner,
.manhart-header-main-inner,
.manhart-mobile-menu-inner,
.manhart-section-inner,
.manhart-hero-inner,
.manhart-footer-inner,
.woocommerce .content-area {
  width: min(calc(100% - 40px), var(--manhart-max));
  margin-inline: auto;
}

/* Header */
.manhart-header-cta {
  margin-left: 18px;
}

.manhart-mobile-cta {
  margin-top: 14px;
  display: inline-flex;
}

.manhart-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 247, 250, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(15, 34, 56, 0.08);
}

.manhart-header-top {
  background: transparent;
}

.manhart-header-top-inner {
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.manhart-utility-nav {
  margin-left: auto;
}

.manhart-utility-menu,
.manhart-primary-menu,
.manhart-mobile-primary-menu,
.manhart-mobile-utility-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.manhart-utility-menu {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.manhart-utility-menu li {
  display: inline-flex;
  align-items: center;
}

.manhart-utility-menu li + li::before {
  content: "|";
  margin: 0 8px;
  color: #98a2b3;
  font-size: 0.72rem;
  font-weight: 400;
}

.manhart-utility-menu a {
  text-decoration: none;
  color: var(--manhart-muted);
  font-size: 0.78rem;
  font-weight: 450;
  letter-spacing: 0.01em;
  line-height: 1;
}

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

.manhart-utility-menu a:hover {
  color: var(--manhart-navy);
}

.manhart-logo {
  display: flex;
  align-items: center;
  min-height: 64px;
  min-width: 0;
  flex: 0 1 auto;
  transform: translateY(-11px);
}

.manhart-logo .custom-logo {
  max-height: 58px;
  width: auto;
}

.manhart-logo .site-title {
  color: var(--manhart-navy);
  font-size: 1.5rem;
  font-weight: 900;
  text-decoration: none;
}

.manhart-primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
}

.manhart-primary-menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.manhart-primary-menu a {
  text-decoration: none;
  color: var(--manhart-navy);
  font-weight: 800;
  position: relative;
}

.manhart-primary-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: var(--manhart-blue);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .18s ease;
}

.manhart-primary-menu a:hover::after,
.manhart-primary-menu .current-menu-item > a::after,
.manhart-primary-menu .current_page_item > a::after {
  transform: scaleX(1);
}

.manhart-primary-menu .current-menu-item > a,
.manhart-primary-menu .current_page_item > a {
  color: var(--manhart-blue);
}

.manhart-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--manhart-border);
  border-radius: 10px;
  background: var(--manhart-white);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  line-height: 0;
}

.manhart-menu-toggle:hover {
  background: #f7f9fc;
}

.manhart-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 3px 0;
  border-radius: 999px;
  background: var(--manhart-navy);
}

.manhart-mobile-menu {
  background: var(--manhart-white);
  border-top: 1px solid var(--manhart-border-soft);
  box-shadow: var(--manhart-shadow);
}

.manhart-mobile-menu-inner { padding: 18px 0 24px; }

.manhart-mobile-primary-menu a,
.manhart-mobile-utility-menu a {
  display: block;
  padding: 12px 0;
  text-decoration: none;
  font-weight: 800;
}

.manhart-mobile-menu-section + .manhart-mobile-menu-section {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--manhart-border-soft);
}

/* Buttons */
.manhart-btn,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--manhart-radius-pill);
  border: 1px solid var(--manhart-blue);
  background: linear-gradient(180deg, var(--manhart-blue), var(--manhart-blue-deep));
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease, color .15s ease;
  box-shadow: 0 12px 24px rgba(27,86,168,.18);
}

.manhart-btn:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
  transform: translateY(-1px);
  color: #fff;
  box-shadow: 0 16px 28px rgba(27,86,168,.24);
}

button {
  font: inherit;
}

.manhart-btn-secondary {
  background: var(--manhart-white);
  color: var(--manhart-navy);
  border-color: rgba(15,34,56,0.12);
  box-shadow: 0 10px 22px rgba(15,34,56,.10);
}

.manhart-btn-secondary:hover {
  background: #f3f6fa;
  border-color: rgba(15,34,56,0.18);
  color: var(--manhart-navy);
}

.manhart-btn-ghost {
  background: transparent;
  color: var(--manhart-navy);
  border-color: var(--manhart-border);
  box-shadow: none;
}

.manhart-hero .manhart-btn-secondary,
.manhart-cta-band .manhart-btn-secondary {
  background: rgba(255,255,255,0.98);
  color: var(--manhart-navy);
  border-color: rgba(255,255,255,0.98);
}

.manhart-hero .manhart-btn-secondary:hover,
.manhart-cta-band .manhart-btn-secondary:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--manhart-navy);
}

/* Hero + sections */
.manhart-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin: 0;
  background:
    linear-gradient(130deg, rgba(15,34,56,0.97), rgba(20,63,122,0.92) 58%, rgba(27,86,168,0.84)),
    radial-gradient(circle at top right, rgba(216,164,38,0.18), transparent 42%);
  color: rgba(255,255,255,.94);
}

.manhart-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.12;
  pointer-events: none;
}

.manhart-hero::after {
  content: "";
  position: absolute;
  right: -140px;
  top: -100px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,164,38,0.16), transparent 65%);
  pointer-events: none;
}

.manhart-hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0 74px;
}

.manhart-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

.manhart-hero h1,
.manhart-hero h2,
.manhart-hero h3,
.manhart-hero p,
.manhart-hero li,
.manhart-hero a:not(.manhart-btn):not(.manhart-text-link),
.manhart-hero .manhart-eyebrow,
.manhart-hero .manhart-cert-strip {
  color: #fff;
}

.manhart-eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 13px;
  border-radius: var(--manhart-radius-pill);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.manhart-highlight {
  font-size: 1.16rem;
  font-weight: 800;
  color: rgba(255,255,255,.95);
  max-width: 52ch;
}

.manhart-cert-strip {
  margin-top: 18px;
  font-size: .97rem;
  color: rgba(255,255,255,.88);
  font-weight: 700;
}

.manhart-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.manhart-hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--manhart-radius-lg);
  padding: 34px;
  box-shadow: 0 28px 56px rgba(0,0,0,.18);
  backdrop-filter: blur(6px);
}

.manhart-hero-panel h3 {
  color: #fff;
  font-size: 1.14rem;
  margin-bottom: 16px;
}

.manhart-hero-panel ul {
  margin: 0;
  padding-left: 20px;
}

.manhart-hero-panel li + li { margin-top: 10px; }

.manhart-stat-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.manhart-stat {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  border-radius: 20px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  padding: 18px;
}

.manhart-stat img {
  width: 140px;
  height: auto;
  object-fit: contain;
}

.manhart-section { padding: 82px 0; }

.manhart-section + .manhart-section {
  border-top: 1px solid var(--manhart-border-soft);
}

.manhart-section-alt {
  background: linear-gradient(180deg, var(--manhart-bg), #f9fbfd);
}

.manhart-section-inner > h2,
.manhart-page-intro h1,
.woocommerce-products-header__title.page-title {
  margin-bottom: 14px;
}

.manhart-lead,
.manhart-page-intro p,
.woocommerce-products-header p {
  max-width: 840px;
  color: var(--manhart-muted);
  font-size: 1.08rem;
}

.manhart-grid-2,
.manhart-grid-3,
.manhart-grid-4 {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.manhart-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.manhart-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.manhart-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.manhart-card,
.woocommerce ul.products li.product,
.single-product div.product .summary,
.single-product div.product .woocommerce-product-gallery,
.manhart-page-box {
  background: linear-gradient(180deg, #ffffff, var(--manhart-panel));
  border: 1px solid var(--manhart-border-soft);
  border-radius: var(--manhart-radius);
  box-shadow: var(--manhart-shadow);
  padding: 28px;
}

.manhart-card,
.manhart-mini-panel,
.woocommerce ul.products li.product {
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.manhart-card:hover,
.manhart-mini-panel:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--manhart-shadow-strong);
}

.manhart-card h3,
.manhart-card h4 { margin-bottom: 10px; }

.manhart-card p:last-child,
.manhart-page-box > *:last-child { margin-bottom: 0; }

.manhart-card ul { margin-top: 14px; }

.manhart-card-accent {
  background:
    linear-gradient(180deg, #ffffff, #f4f9ff),
    linear-gradient(90deg, rgba(27,86,168,0.02), rgba(216,164,38,0.02));
  border-color: var(--manhart-border);
  border-width: 1px;
}

.manhart-icon-label {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(27,86,168,.08);
  color: var(--manhart-blue);
  font-size: .8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.manhart-checks,
.manhart-list {
  margin: 0;
  padding-left: 20px;
}

.manhart-checks li + li,
.manhart-list li + li { margin-top: 10px; }

.manhart-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0 18px;
  border-radius: var(--manhart-radius-pill);
  border: 1px solid var(--manhart-blue);
  background: transparent;
  color: var(--manhart-blue);
  font-weight: 800;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.manhart-text-link:hover {
  transform: translateY(-1px);
  background: var(--manhart-blue);
  border-color: var(--manhart-blue);
  color: #fff;
  text-decoration: none;
}

.manhart-cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #10253f, #184f9c);
  color: #fff;
  border-radius: 30px;
  padding: 44px;
  box-shadow: 0 22px 54px rgba(15,34,56,.22);
}

.manhart-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 50%);
  pointer-events: none;
}

.manhart-cta-band > * {
  position: relative;
  z-index: 1;
}

.manhart-cta-band h2,
.manhart-cta-band p { color: #fff; }

.manhart-cta-band p { max-width: 720px; }

.manhart-cover-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.manhart-mini-panel {
  background: linear-gradient(180deg, #f2f7fb, #eaf0f6);
  border: 1px solid var(--manhart-border);
  border-radius: 18px;
  padding: 22px;
}

.manhart-mini-panel:hover {
  border-color: var(--manhart-blue);
}

.manhart-region-list {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.manhart-region-list span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(27,86,168,.08);
  color: var(--manhart-navy);
  font-weight: 800;
}

/* Generic content */
.site-main { min-height: 40vh; }

.home.page main.site-main {
  width: 100%;
  max-width: none;
  margin: 0;
}

.entry-content,
.manhart-page-intro,
.error-404,
.search-results main,
.archive main,
.blog main,
.single main {
  width: min(calc(100% - 40px), var(--manhart-max));
  margin-inline: auto;
}

.manhart-page-intro,
.error-404,
.search-results main,
.archive main,
.blog main,
.single main {
  padding-top: 56px;
}

.entry-content,
.error-404,
.search-results .entry-content,
.archive .entry-content,
.blog .entry-content,
.single .entry-content,
.page .entry-content {
  padding-bottom: 80px;
}

.entry-content img { border-radius: 16px; }

.entry-content table,
.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.entry-content th,
.entry-content td,
.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  border: 1px solid var(--manhart-border);
  padding: 12px;
  text-align: left;
}

blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--manhart-blue);
  background: var(--manhart-bg);
  border-radius: 0 16px 16px 0;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"],
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--manhart-border);
  border-radius: 14px;
  background: #fff;
  color: var(--manhart-text);
}

.search-form,
.woocommerce-product-search {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.search-form label,
.woocommerce-product-search label { flex: 1 1 260px; }

.search-form input[type="search"],
.woocommerce-product-search input[type="search"] { width: 100%; }

/* Footer */
.manhart-footer {
  background: linear-gradient(180deg, #0d1b2c, #0f2238);
  color: rgba(255,255,255,.86);
  margin-top: 0;
}

.manhart-footer a { color: rgba(255,255,255,.94); }

.manhart-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 26px;
  padding: 58px 0 34px;
}

.manhart-footer h3,
.manhart-footer h4,
.manhart-footer p,
.manhart-footer li { color: rgba(255,255,255,.9); }

.manhart-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 18px 0 28px;
  text-align: center;
  color: rgba(255,255,255,.72);
}

.manhart-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.manhart-footer-links li + li { margin-top: 10px; }

.manhart-footer-note {
  margin-top: 10px;
  color: rgba(255,255,255,.78);
}

.manhart-footer-brand p:last-child {
  margin-bottom: 0;
}

/* WooCommerce */
.woocommerce .content-area { padding: 56px 0 80px; }

.woocommerce .woocommerce-breadcrumb {
  color: var(--manhart-muted);
  margin-bottom: 18px;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  margin: 28px 0 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none; }

.woocommerce ul.products li.product {
  list-style: none;
  margin: 0;
  width: auto;
  float: none;
  text-align: left;
}

.woocommerce ul.products li.product a img {
  border-radius: 14px;
  margin-bottom: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 1.22rem;
  padding: 0;
}

.woocommerce ul.products li.product .price {
  color: var(--manhart-navy);
  font-weight: 800;
}

.woocommerce span.onsale {
  min-height: 0;
  min-width: 0;
  border-radius: 999px;
  padding: 8px 10px;
  background: var(--manhart-red);
}

.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr);
  gap: 28px;
}

.single-product div.product div.images,
.single-product div.product div.summary {
  width: auto;
  float: none;
  margin: 0;
}

.single-product div.product .product_title { margin-bottom: 12px; }

.woocommerce div.product .stock { color: var(--manhart-green); }

.woocommerce div.product form.cart { margin-top: 24px; }

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  border-radius: 999px;
  border: 1px solid var(--manhart-border);
  background: #fff;
}

.woocommerce div.product .woocommerce-tabs .panel {
  border: 1px solid var(--manhart-border-soft);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--manhart-shadow);
}

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--manhart-blue), var(--manhart-blue-deep));
  color: #fff;
  font-weight: 800;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-radius: 16px;
  border-top: none;
  box-shadow: var(--manhart-shadow);
}

.woocommerce nav.woocommerce-pagination ul {
  border: none;
  display: flex;
  gap: 10px;
}

.woocommerce nav.woocommerce-pagination ul li { border: none; }

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid var(--manhart-border);
}

/* Utilities */
.screen-reader-text {
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

/* Responsive */
@media (max-width: 1080px) {
  .manhart-hero-grid,
  .single-product div.product,
  .manhart-footer-inner {
    grid-template-columns: 1fr;
  }

  .manhart-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .woocommerce ul.products,
  .manhart-grid-3,
  .manhart-cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .manhart-primary-nav,
  .manhart-header-top .manhart-utility-nav {
    display: none;
  }

  .manhart-menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .manhart-header-main-inner {
    min-height: 74px;
    gap: 16px;
  }

  .manhart-logo .custom-logo {
    max-height: 42px;
    max-width: min(62vw, 220px);
    width: auto;
  }

  .manhart-logo .site-title {
    font-size: 1.18rem;
  }

  .manhart-stat-bar,
  .manhart-grid-2,
  .manhart-grid-4,
  .woocommerce ul.products,
  .manhart-cover-grid {
    grid-template-columns: 1fr;
  }

  .manhart-hero-inner,
  .manhart-section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .manhart-header-top-inner {
    min-height: 30px;
  }

  .manhart-utility-menu a {
    font-size: 0.74rem;
  }

  .manhart-utility-menu li + li::before {
    margin: 0 6px;
  }
}

@media (max-width: 640px) {
  .manhart-header-top-inner { justify-content: center; }

  .manhart-topline {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
  }

  .manhart-header-main-inner {
    min-height: 70px;
  }

  .manhart-logo .custom-logo {
    max-height: 36px;
    max-width: min(58vw, 190px);
  }

  .manhart-menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .manhart-menu-toggle span {
    width: 16px;
    margin: 3px 0;
  }

  .manhart-hero-panel,
  .manhart-card,
  .manhart-cta-band,
  .woocommerce ul.products li.product {
    padding: 20px;
  }

  h1 { max-width: none; }

  .manhart-stat img { width: 120px; }

  .manhart-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .manhart-btn,
  .manhart-text-link,
  .wp-block-button__link,
  input[type="submit"] {
    width: 100%;
  }
}

.manhart-product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.manhart-product-actions .manhart-text-link,
.manhart-product-actions .manhart-btn {
  margin-top: 0;
}

@media (max-width: 640px) {
  .manhart-product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .manhart-product-actions .manhart-text-link,
  .manhart-product-actions .manhart-btn {
    width: 100%;
  }
}
.manhart-card-accent {
  display: flex;
  flex-direction: column;
  padding: 32px;
}

.manhart-product-intro {
  font-weight: 700;
  color: var(--manhart-navy);
  margin-bottom: 12px;
}

.manhart-product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 18px;
}

.manhart-product-actions .manhart-text-link,
.manhart-product-actions .manhart-btn {
  margin-top: 0;
}

@media (max-width: 640px) {
  .manhart-product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .manhart-product-actions .manhart-text-link,
  .manhart-product-actions .manhart-btn {
    width: 100%;
  }
}
