/*
Theme Name: Beckmak Industrial Theme
Theme URI: https://beckmak.ch/
Author: OpenAI
Description: Custom WooCommerce-first WordPress theme for Beckmak, aligned to the Manhart industrial design system with a Beckmak accent layer.
Version: 1.4.3
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: beckmak-industrial-theme
*/


/* =========================================================
   01. DESIGN TOKENS
========================================================= */

:root {
  --manhart-navy: #0f2238;
  --manhart-blue: #1b56a8;
  --manhart-blue-deep: #143f7a;
  --manhart-red: #c73a31;
  --manhart-gold: #d8a426;

  --manhart-text: #1f2937;
  --manhart-muted: #667085;

  --manhart-bg: #f5f7fa;
  --manhart-bg-alt: #e9eef4;
  --manhart-panel: #ffffff;
  --manhart-panel-alt: #f8fbfe;

  --manhart-border: #d8e0e8;
  --manhart-border-soft: #e7edf3;

  --manhart-shadow: 0 18px 46px rgba(15, 34, 56, 0.08);
  --manhart-shadow-strong: 0 28px 70px rgba(15, 34, 56, 0.14);

  --manhart-radius: 18px;
  --manhart-radius-lg: 28px;
  --manhart-radius-pill: 999px;
  --manhart-max: 1180px;

  --beckmak-charcoal: #4f4f4f;
  --beckmak-steel: #666666;
  --beckmak-graphite: #3f3f3f;
  --beckmak-silver: #d8d8d8;
  --beckmak-white: #ffffff;

  --beckmak-accent: var(--beckmak-charcoal);
  --beckmak-accent-soft: #efefef;
}


/* =========================================================
   02. RESET / BASE
========================================================= */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

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

body.admin-bar .beckmak-header {
  top: 32px;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

h1 {
  font-size: clamp(2.25rem, 4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
}

.site {
  min-height: 100vh;
}

.site-content {
  padding: 0 0 72px;
}

.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;
  width: 1px;
}


/* =========================================================
   03. LAYOUT CONTAINERS
========================================================= */

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

.site-main {
  width: 100%;
}


/* =========================================================
   04. SHARED LIST RESETS
========================================================= */

.beckmak-utility-menu,
.beckmak-primary-menu,
.beckmak-mobile-menu-list,
.beckmak-category-list,
.beckmak-footer-links,
.beckmak-trust-list,
.beckmak-meta-list,
.products,
.product-categories,
.wc-block-grid__products,
.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  list-style: none;
  margin: 0;
  padding: 0;
}


/* =========================================================
   05. HEADER
========================================================= */

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

.beckmak-header-top {
  border-bottom: 1px solid rgba(15, 34, 56, 0.08);
  background: linear-gradient(90deg, var(--manhart-navy), var(--beckmak-accent));
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
}

.beckmak-header-top-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.beckmak-header-top p {
  margin: 0;
}

.beckmak-header-top-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.beckmak-language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.beckmak-lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.beckmak-lang-link:hover,
.beckmak-lang-link.is-active {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

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

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

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

.beckmak-utility-menu li + li::before {
  content: "|";
  margin: 0 10px;
  color: rgba(255, 255, 255, 0.4);
}

.beckmak-utility-menu a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.beckmak-utility-menu a:hover {
  color: #fff;
}

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

.beckmak-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 0 1 auto;
}

.beckmak-logo .custom-logo,
.beckmak-logo-mark {
  display: block;
  max-height: 58px;
  width: auto;
}

.beckmak-logo-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.beckmak-logo-copy a {
  color: var(--manhart-navy);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: -0.03em;
  font-size: 1.35rem;
}

.beckmak-logo-copy span {
  color: var(--manhart-muted);
  font-size: 0.92rem;
}

.beckmak-primary-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}

.beckmak-primary-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.beckmak-primary-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: var(--manhart-radius-pill);
  color: var(--manhart-navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.96rem;
}

.beckmak-primary-menu .current-menu-item > a,
.beckmak-primary-menu .current-menu-parent > a,
.beckmak-primary-menu a:hover {
  background: rgba(15, 34, 56, 0.06);
}

.beckmak-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.beckmak-header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid var(--manhart-border);
  background: #fff;
  color: var(--manhart-navy);
  text-decoration: none;
}

.beckmak-header-cart svg {
  width: 20px;
  height: 20px;
}

.beckmak-header-cart-count {
  position: absolute;
  right: -3px;
  top: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--beckmak-accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.beckmak-header-cart-count.is-empty {
  display: none;
}

.beckmak-menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid var(--manhart-border);
  background: #fff;
  padding: 0;
}

.beckmak-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--manhart-navy);
  margin: 5px auto;
}

.beckmak-mobile-menu {
  border-top: 1px solid var(--manhart-border-soft);
  background: #fff;
}

.beckmak-mobile-inner {
  padding: 16px 0 22px;
  display: grid;
  gap: 18px;
}

.beckmak-mobile-menu-list {
  display: grid;
  gap: 10px;
}

.beckmak-mobile-menu-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--manhart-navy);
  text-decoration: none;
  background: var(--manhart-panel-alt);
  font-weight: 700;
}

.beckmak-mobile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


/* =========================================================
   06. BUTTONS / SHARED ACTIONS
========================================================= */

.beckmak-btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--manhart-radius-pill);
  border: 1px solid transparent;
  background: var(--manhart-blue);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.beckmak-btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--manhart-blue-deep);
  transform: translateY(-1px);
}

.beckmak-btn-secondary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: #fff;
  color: var(--manhart-navy) !important;
  border-color: var(--manhart-border);
}

.beckmak-btn-secondary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: var(--manhart-panel-alt);
}


/* =========================================================
   07. HERO
========================================================= */

.beckmak-shop-hero {
  position: relative;
  padding: clamp(28px, 4vw, 48px);
  margin: 12px 0 24px;
  border-radius: var(--manhart-radius-lg);
  border: 1px solid rgba(15, 34, 56, 0.08);
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(216, 216, 216, 0.34), transparent 36%),
    linear-gradient(135deg, #fdfefe, #eef2f6 55%, #e4e8ed);
  box-shadow: var(--manhart-shadow);
}

.beckmak-shop-hero::after {
  content: "";
  position: absolute;
  inset: auto -80px -80px auto;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(79, 79, 79, 0.12), transparent 68%);
}

.beckmak-shop-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: end;
}

.beckmak-eyebrow,
.beckmak-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: var(--manhart-radius-pill);
  background: rgba(79, 79, 79, 0.08);
  color: var(--beckmak-accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.beckmak-shop-hero h1 {
  max-width: 14ch;
  margin-bottom: 14px;
}

.beckmak-shop-hero p.lead {
  font-size: 1.06rem;
  color: #475467;
  max-width: 60ch;
  margin-bottom: 18px;
}

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

.beckmak-info-panel {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, var(--manhart-navy), #1a3048 55%, #243a50);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--manhart-shadow-strong);
}

.beckmak-info-panel h3,
.beckmak-info-panel h4 {
  color: #fff;
}

.beckmak-trust-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.beckmak-trust-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.beckmak-trust-list li::before {
  content: "";
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--beckmak-silver);
  margin-top: 0.48rem;
}


/* =========================================================
   08. SHARED SECTIONS
========================================================= */

.beckmak-section {
  padding: 0 0 36px;
}

#beckmak-products {
  scroll-margin-top: 48px;
}

.beckmak-section-inner {
  display: grid;
  gap: 18px;
}

.beckmak-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.beckmak-section-head p {
  color: var(--manhart-muted);
  max-width: 60ch;
  margin: 0;
}

.beckmak-footer-inner {
  display: grid;
  gap: 18px;
}

.beckmak-products-head {
  margin-bottom: 18px;
}


/* =========================================================
   09. WOOCOMMERCE GLOBAL CLEANUP
========================================================= */

.woocommerce-page .woocommerce-breadcrumb,
.woocommerce-result-count,
.woocommerce-ordering,
.woocommerce .related.products,
.woocommerce .up-sells,
.woocommerce .woocommerce-breadcrumb,
.woocommerce .storefront-sorting {
  display: none !important;
}

a.added_to_cart.wc-forward {
  display: none !important;
}

.woocommerce .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error {
  margin-bottom: 18px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--manhart-border);
  background: #fff;
}


/* =========================================================
   10. PRODUCT GRID / PRODUCT CARDS
========================================================= */

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin: 0;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid var(--manhart-border-soft);
  background: #fff;
  box-shadow: 0 10px 24px rgba(15, 34, 56, 0.05);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
  transform: translateY(-2px);
  border-color: rgba(79, 79, 79, 0.16);
  box-shadow: 0 16px 32px rgba(15, 34, 56, 0.08);
}

.woocommerce ul.products li.product a,
.woocommerce-page ul.products li.product a {
  text-decoration: none;
}

.woocommerce ul.products li.product img,
.woocommerce-page ul.products li.product img {
  margin: 0 0 14px !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, #f9fbfc, #eef2f5);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce-page ul.products li.product h2 {
  color: var(--manhart-navy);
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 8px !important;
}

.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  color: var(--beckmak-accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0px !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--beckmak-accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 12px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .added_to_cart,
.woocommerce-page ul.products li.product .button,
.woocommerce-page ul.products li.product .added_to_cart {
  display: inline-flex;
  width: auto;
  min-width: 0;
  margin-top: 4px;
  font-weight: 600;
}

.woocommerce ul.products li.product .add_to_cart_button.ajax_add_to_cart,
.woocommerce-page ul.products li.product .add_to_cart_button.ajax_add_to_cart {
  display: inline-flex;
  width: auto;
  justify-content: center;
}

.woocommerce ul.products li.product .button.product_type_variable,
.woocommerce ul.products li.product .button.product_type_grouped,
.woocommerce ul.products li.product .button.product_type_external,
.woocommerce ul.products li.product .button.product_type_simple:not(.ajax_add_to_cart),
.woocommerce-page ul.products li.product .button.product_type_variable,
.woocommerce-page ul.products li.product .button.product_type_grouped,
.woocommerce-page ul.products li.product .button.product_type_external,
.woocommerce-page ul.products li.product .button.product_type_simple:not(.ajax_add_to_cart) {
  display: inline-flex;
  width: auto;
  min-width: 0;
  padding: 10px 16px;
  min-height: 42px;
  border-radius: var(--manhart-radius-pill);
  border: 1px solid var(--manhart-border);
  background: #fff;
  color: var(--manhart-navy) !important;
  font-weight: 600;
  box-shadow: none;
}

.woocommerce ul.products li.product .button.product_type_variable:hover,
.woocommerce ul.products li.product .button.product_type_grouped:hover,
.woocommerce ul.products li.product .button.product_type_external:hover,
.woocommerce ul.products li.product .button.product_type_simple:not(.ajax_add_to_cart):hover,
.woocommerce-page ul.products li.product .button.product_type_variable:hover,
.woocommerce-page ul.products li.product .button.product_type_grouped:hover,
.woocommerce-page ul.products li.product .button.product_type_external:hover,
.woocommerce-page ul.products li.product .button.product_type_simple:not(.ajax_add_to_cart):hover {
  background: var(--manhart-panel-alt);
  color: var(--manhart-navy) !important;
  transform: none;
}

.woocommerce span.onsale {
  left: 14px;
  top: 14px;
  min-height: 34px;
  min-width: 34px;
  line-height: 34px;
  padding: 0 12px;
  border-radius: var(--manhart-radius-pill);
  background: var(--beckmak-accent);
}


/* =========================================================
   11. PAGINATION
========================================================= */

.woocommerce nav.woocommerce-pagination ul,
.page-links,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li,
.nav-links .page-numbers {
  border: 0 !important;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a,
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--manhart-border);
  text-decoration: none;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.nav-links .page-numbers.current {
  background: var(--manhart-navy);
  color: #fff;
  border-color: var(--manhart-navy);
}


/* =========================================================
   12. SINGLE PRODUCT
========================================================= */

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 30px;
  padding: 24px;
  border-radius: 22px;
  border: 1px solid var(--manhart-border-soft);
  background: #fff;
  box-shadow: var(--manhart-shadow);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

.woocommerce div.product div.images img {
  border-radius: 18px;
  background: linear-gradient(180deg, #fafcfd, #edf2f5);
  padding: 16px;
}

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

.woocommerce-product-details__short-description {
  padding: 0;
  margin: 14px 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce div.product form.cart {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: stretch;
}

.woocommerce .woocommerce-product-gallery__trigger {
  display: none !important;
}

.woocommerce-tabs {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  margin-top: 24px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: none !important;
}

.woocommerce-Tabs-panel,
.woocommerce-Tabs-panel--description,
.woocommerce-Tabs-panel--additional_information,
.woocommerce-Tabs-panel--reviews {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.woocommerce-Tabs-panel h2 {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.woocommerce-Tabs-panel p:last-child {
  margin-bottom: 0;
}

.woocommerce table.shop_attributes {
  border: 0;
  margin: 0;
}

.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td {
  padding: 10px 0;
  border-bottom: 1px solid var(--manhart-border-soft);
  font-size: 0.95rem;
}

.woocommerce table.shop_attributes tr:last-child th,
.woocommerce table.shop_attributes tr:last-child td {
  border-bottom: 0;
}


/* =========================================================
   13. FORMS / INPUTS
========================================================= */

.woocommerce div.product form.cart .quantity .qty,
.woocommerce .quantity .qty,
.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.select2-container--default .select2-selection--single,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="search"],
textarea,
select {
  min-height: 46px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid var(--manhart-border);
  background: #fff;
  color: var(--manhart-text);
}


/* =========================================================
   14. ACCOUNT / LOGIN / CART / CHECKOUT
========================================================= */

body.logged-in.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: minmax(230px, 280px) minmax(0, 1fr);
  gap: 24px;
  padding-top: 24px;
}

body:not(.logged-in).woocommerce-account .woocommerce {
  display: block;
  max-width: 720px;
  margin-inline: auto;
  padding-top: 24px;
}

.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.cart_totals,
.woocommerce form.checkout,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce-cart-form,
.woocommerce form.lost_reset_password {
  padding: 22px;
  border-radius: 18px;
  border: 1px solid var(--manhart-border-soft);
  background: #fff;
  box-shadow: var(--manhart-shadow);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 8px;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;
  color: var(--manhart-navy);
  text-decoration: none;
  background: var(--manhart-panel-alt);
  font-weight: 700;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: var(--beckmak-accent);
  color: #fff;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout .col2-set,
.woocommerce-checkout-review-order {
  margin-top: 22px;
}

.woocommerce table.shop_table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--manhart-border-soft);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 14px;
}

.woocommerce table.shop_table td.product-name a {
  color: var(--manhart-navy);
  text-decoration: none;
  font-weight: 700;
}

.woocommerce .cart .button,
.woocommerce .cart input.button {
  min-width: 180px;
}


/* =========================================================
   15. GENERIC CONTENT PAGES
========================================================= */

.beckmak-page-intro,
.error-404 {
  margin: 34px auto 24px;
}

.beckmak-page-intro h1 {
  margin-bottom: 10px;
}

.beckmak-page-intro p {
  max-width: 65ch;
  color: var(--manhart-muted);
}

.entry-content,
.search-results .entry-content {
  padding: 22px;
  border-radius: var(--manhart-radius);
  border: 1px solid var(--manhart-border-soft);
  background: #fff;
  box-shadow: var(--manhart-shadow);
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.wp-block-button__link {
  border-radius: 999px;
}


/* =========================================================
   16. FOOTER
========================================================= */

.beckmak-footer {
  margin-top: 50px;
  padding: 38px 0 0;
  background: linear-gradient(180deg, var(--manhart-navy), #102941);
  color: rgba(255, 255, 255, 0.84);
}

.beckmak-footer-inner {
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.8fr));
  padding-bottom: 28px;
}

.beckmak-footer h3,
.beckmak-footer h4 {
  color: #fff;
}

.beckmak-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.beckmak-footer-links {
  display: grid;
  gap: 8px;
}

.beckmak-footer-links a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.beckmak-footer-links a:hover {
  color: #fff;
}

.beckmak-footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0 24px;
}

.beckmak-footer-meta-inner {
  width: min(calc(100% - 32px), var(--manhart-max));
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.94rem;
}

.beckmak-footer-meta a {
  color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   17. B2B LOGIN-RESTRICTED PRICING
========================================================= */

.beckmak-login-price-hint {
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  padding: 6px 12px;
  margin: 0 0 8px;
  border-radius: 999px;
  background: var(--beckmak-accent-soft);
  color: var(--beckmak-accent);
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.4;
}

.beckmak-login-price-hint a {
  font-weight: 600;
  text-decoration: underline;
}


/* =========================================================
   18. PAGE TITLES
========================================================= */

.woocommerce-page h1.entry-title,
.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-account h1 {
  display: none;
}


/* =========================================================
   19. WOOCOMMERCE PAGE WIDTH OVERRIDE
========================================================= */

body.woocommerce-cart .site-main > .woocommerce,
body.woocommerce-checkout .site-main > .woocommerce,
body.woocommerce-account .site-main > .woocommerce {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

body.woocommerce-cart .site-main > .woocommerce .woocommerce-cart-form,
body.woocommerce-cart .site-main > .woocommerce .cart_totals,
body.woocommerce-checkout .site-main > .woocommerce form.checkout,
body.woocommerce-checkout .site-main > .woocommerce .col2-set,
body.woocommerce-checkout .site-main > .woocommerce .woocommerce-checkout-review-order,
body.woocommerce-account .site-main > .woocommerce .woocommerce-MyAccount-navigation,
body.woocommerce-account .site-main > .woocommerce .woocommerce-MyAccount-content,
body.woocommerce-account .site-main > .woocommerce form.login,
body.woocommerce-account .site-main > .woocommerce form.register,
body.woocommerce-account .site-main > .woocommerce form.lost_reset_password {
  width: 100%;
}


/* =========================================================
   20. RESPONSIVE: TABLET
========================================================= */

@media (max-width: 1024px) {
  .beckmak-shop-hero-grid,
  .woocommerce div.product,
  body.logged-in.woocommerce-account .woocommerce,
  .beckmak-footer-inner {
    grid-template-columns: 1fr;
  }

  .beckmak-shop-hero-grid {
    gap: 24px;
    align-items: start;
  }

  .beckmak-primary-nav {
    display: none;
  }

  .beckmak-header-actions {
    margin-left: auto;
  }

  .beckmak-menu-toggle {
    display: inline-block;
  }
}


/* =========================================================
   21. RESPONSIVE: SMALL TABLET / LARGE MOBILE
========================================================= */

@media (max-width: 782px) {
  body.admin-bar .beckmak-header {
    top: 46px;
  }

  .beckmak-header-top-inner {
    min-height: 42px;
    justify-content: center;
  }

  .beckmak-header-top-note {
    display: none;
  }

  .beckmak-utility-menu {
    justify-content: center;
  }

  .beckmak-header-main-inner {
    min-height: 78px;
  }

  .beckmak-logo .custom-logo,
  .beckmak-logo-mark {
    max-height: 48px;
  }

  .beckmak-shop-hero {
    padding: 22px;
  }
}


/* =========================================================
   22. RESPONSIVE: MOBILE
========================================================= */

@media (max-width: 640px) {
  .site-content {
    padding-bottom: 52px;
  }

  h1 {
    font-size: clamp(2rem, 9vw, 2.5rem);
  }

  .content-area,
  .woocommerce .content-area,
  .beckmak-section-inner,
  .beckmak-footer-meta-inner {
    width: min(calc(100% - 16px), var(--manhart-max));
  }

  .beckmak-header-main-inner {
    gap: 10px;
  }

  .beckmak-header-actions {
    gap: 8px;
    margin-left: auto;
  }

  .beckmak-header-cart {
    width: 42px;
    height: 42px;
  }

  .beckmak-header-cart svg {
    width: 18px;
    height: 18px;
  }

  .beckmak-header-cart-count {
    min-width: 18px;
    height: 18px;
    font-size: 0.7rem;
  }

  .beckmak-logo-copy span {
    display: none;
  }

  .beckmak-shop-hero {
    margin: 12px 0 24px;
    padding: 22px;
  }

  .beckmak-shop-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .beckmak-shop-hero h1 {
    max-width: none;
  }

  .beckmak-info-panel {
    padding: 20px;
  }

  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .woocommerce ul.products li.product,
  .woocommerce-page ul.products li.product {
    padding: 14px;
    border-radius: 14px;
  }

  .woocommerce ul.products li.product img,
  .woocommerce-page ul.products li.product img {
    margin-bottom: 12px !important;
    padding: 8px;
    border-radius: 12px;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title,
  .woocommerce ul.products li.product h2,
  .woocommerce-page ul.products li.product h2 {
    font-size: 0.96rem;
    margin-bottom: 6px !important;
  }

  .woocommerce ul.products li.product .price,
  .woocommerce-page ul.products li.product .price {
    gap: 8px;
    margin-bottom: 0px !important;
  }

  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content,
  .cart_totals,
  .woocommerce form.checkout,
  .woocommerce form.login,
  .woocommerce form.register,
  .woocommerce-cart-form,
  .woocommerce form.lost_reset_password,
  .woocommerce div.product {
    padding: 16px;
    border-radius: 16px;
  }

  .woocommerce div.product {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
    border-radius: 18px;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    width: 100% !important;
    margin: 0 !important;
  }

  .woocommerce div.product div.images img {
    padding: 12px;
    border-radius: 16px;
  }

  .woocommerce div.product .product_title {
    font-size: 1.6rem;
    line-height: 1.15;
    margin-bottom: 10px;
  }

  .woocommerce div.product p.price,
  .woocommerce div.product span.price {
    font-size: 1.1rem;
    margin-bottom: 14px !important;
  }

  .woocommerce-product-details__short-description {
    margin: 12px 0 16px;
  }

  .woocommerce div.product form.cart {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    margin-top: 16px;
  }

  .woocommerce div.product form.cart .quantity {
    width: 100%;
  }

  .woocommerce div.product form.cart .quantity .qty {
    width: 100%;
    min-height: 44px;
  }

  .woocommerce div.product form.cart .single_add_to_cart_button,
  .woocommerce div.product form.cart button.button,
  .woocommerce div.product form.cart .button {
    width: 100%;
    min-height: 46px;
  }

  .woocommerce-tabs {
    margin-top: 18px;
  }

  .woocommerce-Tabs-panel {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .woocommerce table.shop_attributes th,
  .woocommerce table.shop_attributes td {
    padding: 10px 0;
    font-size: 0.94rem;
  }

  .woocommerce-account .woocommerce,
  .woocommerce-cart .woocommerce,
  .woocommerce-checkout .woocommerce {
    gap: 16px;
  }

  body:not(.logged-in).woocommerce-account .woocommerce {
    width: 100%;
    max-width: 100%;
  }

  .woocommerce h1,
  .woocommerce h2,
  .woocommerce h3,
  .woocommerce-page h1,
  .woocommerce-page h2,
  .woocommerce-page h3 {
    line-height: 1.15;
  }

  .woocommerce-checkout h3,
  .cart_totals h2,
  .woocommerce-account .woocommerce-MyAccount-content h2,
  .woocommerce-account .woocommerce-MyAccount-content h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .woocommerce form .form-row {
    margin-bottom: 14px;
  }

  .woocommerce form .form-row label {
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
  }

  .woocommerce div.product form.cart .quantity .qty,
  .woocommerce .quantity .qty,
  .woocommerce form .input-text,
  .woocommerce form select,
  .woocommerce form textarea,
  .select2-container--default .select2-selection--single,
  input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="tel"],
  input[type="search"],
  textarea,
  select {
    min-height: 44px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 16px;
  }

  .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
  }

  .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 1.2;
    padding-left: 0;
    padding-right: 20px;
  }

  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
    right: 10px;
  }

  .woocommerce table.shop_table {
    font-size: 0.95rem;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 10px;
    vertical-align: top;
  }

  .woocommerce table.shop_table td.product-name a {
    line-height: 1.35;
  }

  .woocommerce table.shop_table td.actions {
    padding-top: 12px;
  }

  .woocommerce-cart-form .actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .woocommerce-cart-form .coupon {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .woocommerce-cart-form .coupon .input-text {
    width: 100% !important;
    margin: 0 !important;
  }

  .cart_totals table.shop_table {
    margin-bottom: 14px;
  }

  .cart_totals th,
  .cart_totals td {
    padding: 10px 0;
  }

  .cart_totals .order-total strong,
  .woocommerce-checkout-review-order-table .order-total strong {
    font-size: 1.05rem;
  }

  .woocommerce-checkout .col2-set,
  .woocommerce-checkout-review-order {
    margin-top: 16px;
  }

  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td {
    padding: 10px 0;
  }

  #payment {
    border-radius: 16px;
    overflow: hidden;
  }

  #payment .wc_payment_methods {
    padding: 14px 16px !important;
  }

  #payment .wc_payment_method {
    margin-bottom: 12px;
  }

  #payment .wc_payment_method:last-child {
    margin-bottom: 0;
  }

  #payment label {
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
  }

  #payment div.payment_box {
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.93rem;
    line-height: 1.5;
  }

  #payment .place-order {
    padding: 14px 16px 16px !important;
  }

  #payment .place-order .button,
  #payment .place-order button,
  #payment .place-order input.button {
    width: 100%;
    min-height: 46px;
  }

  .woocommerce-privacy-policy-text,
  .woocommerce-terms-and-conditions-wrapper {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .woocommerce .woocommerce-info,
  .woocommerce .woocommerce-message,
  .woocommerce .woocommerce-error {
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .beckmak-btn,
  .beckmak-btn-secondary,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    min-height: 44px;
    padding: 11px 16px;
    font-size: 0.95rem;
  }

  .beckmak-login-price-hint {
    display: inline-block;
    margin-bottom: 8px;
  }
}


/* =========================================================
   23. RESPONSIVE: NARROW MOBILE
========================================================= */

@media (max-width: 520px) {
  .woocommerce ul.products,
  .woocommerce-page ul.products {
    grid-template-columns: 1fr;
  }

  .beckmak-cta-row,
  .beckmak-mobile-actions {
    flex-direction: column;
  }

  .beckmak-btn,
  .beckmak-btn-secondary,
  .woocommerce a.button,
  .woocommerce button.button,
  .woocommerce input.button {
    width: 100%;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 8px;
    font-size: 0.92rem;
  }

  .woocommerce-cart-form,
  .cart_totals,
  .woocommerce form.checkout,
  .woocommerce-MyAccount-navigation,
  .woocommerce-MyAccount-content {
    padding: 14px;
  }

  .woocommerce .cart .button,
  .woocommerce .cart input.button,
  .woocommerce-cart-form .coupon button,
  .woocommerce-cart-form .actions button,
  .woocommerce-checkout #payment button,
  .woocommerce-checkout .place-order .button {
    width: 100%;
  }

  .woocommerce-cart table.shop_table tr.cart_item {
    padding: 12px;
    border-radius: 14px;
  }

  .woocommerce-cart table.shop_table td.product-thumbnail img {
    width: 76px;
  }

  .woocommerce-cart table.shop_table td.product-name a {
    font-size: 0.96rem;
  }

  .woocommerce-cart table.shop_table td.product-price,
  .woocommerce-cart table.shop_table td.product-quantity,
  .woocommerce-cart table.shop_table td.product-subtotal {
    gap: 10px;
    padding-top: 8px;
    margin-top: 8px;
  }

  .woocommerce-checkout .col2-set,
  .woocommerce-checkout-review-order,
  #payment .wc_payment_methods,
  #payment .place-order {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .woocommerce-checkout h3 {
    font-size: 1.1rem;
  }

  .woocommerce-checkout-review-order-table {
    font-size: 0.92rem;
  }

  .woocommerce-checkout-review-order-table th,
  .woocommerce-checkout-review-order-table td {
    padding: 8px 0;
  }

  #payment div.payment_box {
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .woocommerce div.product {
    padding: 14px;
    gap: 16px;
    border-radius: 16px;
  }

  .woocommerce div.product .product_title {
    font-size: 1.45rem;
  }

  .woocommerce div.product div.images img {
    padding: 10px;
    border-radius: 14px;
  }

  .woocommerce table.shop_attributes th,
  .woocommerce table.shop_attributes td {
    font-size: 0.92rem;
  }
}

/* =========================================================
   24. WOOCOMMERCE PASSWORD TOGGLE FIX
========================================================= */

.woocommerce form .password-input {
  position: relative;
  width: 100%;
}

.woocommerce form .password-input input {
  padding-right: 42px; /* space for icon */
}

.woocommerce form .show-password-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  line-height: 1;
  cursor: pointer;
}

