:root {
  --bxhd-primary: #0863ec;
  --bxhd-primary-dark: #004cbc;
  --bxhd-surface: #f7f9fb;
  --bxhd-surface-low: #f2f4f6;
  --bxhd-surface-card: #ffffff;
  --bxhd-border: #e2e8f0;
  --bxhd-text: #191c1e;
  --bxhd-muted: #424655;
  --bxhd-footer: #0b67f0;
  /* Functional colors — aligned with Stitch design tokens */
  --bxhd-success: #10b981;
  --bxhd-success-strong: #059669;
  --bxhd-success-surface: #ecfdf5;
  --bxhd-success-border: rgba(16, 185, 129, 0.32);
  --bxhd-warning: #f59e0b;
  --bxhd-warning-strong: #d97706;
  --bxhd-warning-surface: #fffbeb;
  --bxhd-warning-border: rgba(245, 158, 11, 0.36);
  --bxhd-error: #ef4444;
  --bxhd-error-strong: #dc2626;
  --bxhd-error-surface: #fef2f2;
  --bxhd-error-border: rgba(239, 68, 68, 0.32);
  --bxhd-info: #0863ec;
  --bxhd-info-surface: #ebeeff;
  --bxhd-info-border: rgba(8, 99, 236, 0.24);
  --bxhd-container: 1280px;
  --bxhd-gutter: 24px;
  --bxhd-radius: 4px;
  --bxhd-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  --bxhd-heading: "Hanken Grotesk", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bxhd-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --bxhd-mono: "JetBrains Mono", "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bxhd-surface);
  color: var(--bxhd-text);
  font-family: var(--bxhd-body);
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--bxhd-primary);
}

button,
input,
select {
  font: inherit;
}

.bxhd-container {
  width: min(100% - 48px, var(--bxhd-container));
  margin-inline: auto;
}

.bxhd-skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--bxhd-primary);
  color: #fff;
  padding: 10px 14px;
  border-radius: var(--bxhd-radius);
}

.bxhd-skip-link:focus {
  top: 16px;
}

.bxhd-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--bxhd-border);
}

.admin-bar .bxhd-site-header {
  top: 32px;
}

.bxhd-header-top {
  min-height: 80px;
  display: grid;
  grid-template-columns: 180px minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 24px;
}

.bxhd-logo img {
  width: auto;
  max-height: 52px;
}

.bxhd-product-search {
  display: grid;
  grid-template-columns: 138px 1fr 46px;
  max-width: 600px;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  overflow: hidden;
  background: #fff;
}

.bxhd-product-search select,
.bxhd-product-search input,
.bxhd-product-search button {
  height: 42px;
  border: 0;
  background: #fff;
  color: var(--bxhd-text);
}

.bxhd-product-search__scope {
  position: relative;
  display: block;
  background: var(--bxhd-surface-low);
  border-right: 1px solid var(--bxhd-border);
}

.bxhd-product-search__scope select {
  width: 100%;
  padding: 0 28px 0 8px;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
  cursor: pointer;
}

.bxhd-product-search__scope::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  width: 5px;
  height: 5px;
  border-right: 1px solid var(--bxhd-muted);
  border-bottom: 1px solid var(--bxhd-muted);
  transform: translateY(-65%) rotate(45deg);
  pointer-events: none;
}

.bxhd-product-search input {
  min-width: 0;
  padding-inline: 12px;
  font-size: 14px;
}

.bxhd-product-search button {
  cursor: pointer;
  color: var(--bxhd-muted);
  font-size: 22px;
}

.bxhd-product-search:focus-within {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 3px rgba(8, 99, 236, 0.14);
}

.bxhd-utility-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--bxhd-muted);
  font-size: 13px;
  white-space: nowrap;
}

.bxhd-menu-toggle {
  display: none;
  border: 1px solid var(--bxhd-border);
  background: #fff;
  border-radius: var(--bxhd-radius);
  padding: 8px 12px;
}

.bxhd-primary-nav {
  background: var(--bxhd-primary);
  color: #fff;
}

.bxhd-primary-nav__inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.bxhd-nav__list,
.bxhd-nav-actions {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-nav__list > li {
  display: flex;
}

.bxhd-nav__list a,
.bxhd-nav-actions a,
.bxhd-nav-actions .bxhd-nav-account__trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding-inline: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.bxhd-nav-actions a,
.bxhd-nav-actions .bxhd-nav-account__trigger {
  gap: 9px;
  padding-block: 0;
  padding-inline: 16px;
  white-space: nowrap;
}

.bxhd-nav-action svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.bxhd-nav-action span {
  display: inline-block;
}

.bxhd-nav__list a:hover,
.bxhd-nav-actions a:hover,
.bxhd-nav-actions .bxhd-nav-account__trigger:hover,
.bxhd-nav__list .current-menu-item > a {
  color: #fff;
  background: rgba(0, 0, 0, 0.14);
}

.bxhd-nav-account {
  position: relative;
  display: flex;
  align-items: stretch;
}

.bxhd-nav-account__trigger {
  gap: 8px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.bxhd-nav-account__trigger:hover,
.bxhd-nav-account:focus-within .bxhd-nav-account__trigger,
.bxhd-nav-account.is-open .bxhd-nav-account__trigger {
  color: #fff;
  background: rgba(0, 0, 0, 0.22);
}

.bxhd-nav-account__trigger .bxhd-nav-account__email {
  display: block;
  max-width: 180px;
  overflow: hidden;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  text-overflow: ellipsis;
}

.bxhd-nav-account__user-icon,
.bxhd-nav-account__chevron {
  display: block;
  flex: 0 0 auto;
  stroke: #fff;
}

.bxhd-nav-account__user-icon {
  width: 22px;
  height: 22px;
}

.bxhd-nav-account__chevron {
  width: 16px;
  height: 16px;
  fill: none;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.bxhd-nav-account:hover .bxhd-nav-account__chevron,
.bxhd-nav-account:focus-within .bxhd-nav-account__chevron,
.bxhd-nav-account.is-open .bxhd-nav-account__chevron {
  transform: rotate(180deg);
}

.bxhd-nav-account__menu {
  position: absolute;
  z-index: 120;
  top: 100%;
  right: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  pointer-events: none;
}

.bxhd-nav-account__menu::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 8px;
  right: 0;
  left: 0;
  bottom: 0;
  border: 1px solid #c2c6d7;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.18);
}

.bxhd-nav-account:hover .bxhd-nav-account__menu,
.bxhd-nav-account:focus-within .bxhd-nav-account__menu,
.bxhd-nav-account.is-open .bxhd-nav-account__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.bxhd-nav-account__menu li {
  position: relative;
  z-index: 1;
}

.bxhd-nav-account__menu a {
  display: block;
  min-height: 0;
  padding: 11px 18px;
  color: #1b2233;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  white-space: nowrap;
}

.bxhd-nav-account__menu a:hover,
.bxhd-nav-account__menu a:focus {
  background: #eef4ff;
  color: var(--bxhd-primary);
}

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

.bxhd-mobile-menu .bxhd-container {
  display: grid;
  gap: 12px;
  padding-block: 16px;
}

.bxhd-main {
  background: #fff;
}

.bxhd-hero-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  align-items: start;
  gap: 16px;
  padding-block: 24px;
}

.bxhd-category-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  background: var(--bxhd-surface-card);
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  overflow: auto;
}

.bxhd-category-panel a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--bxhd-border);
  color: var(--bxhd-text);
  font-size: 13px;
  line-height: 1.3;
}

.bxhd-category-panel a > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bxhd-icon-chevron {
  display: block;
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.42;
}

.bxhd-category-panel a:hover .bxhd-icon-chevron,
.bxhd-category-panel__more:hover .bxhd-icon-chevron {
  opacity: 0.9;
}

.bxhd-category-panel a:hover,
.bxhd-category-panel__more {
  background: var(--bxhd-surface-low);
  color: var(--bxhd-primary);
}

.bxhd-category-panel__more {
  margin-top: auto;
  font-weight: 700;
}

.bxhd-hero-card {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--bxhd-radius);
  background: #10213f;
}

.bxhd-hero-carousel {
  position: relative;
  width: 100%;
}

.bxhd-hero-carousel__track {
  position: relative;
  width: 100%;
}

.bxhd-hero-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.bxhd-hero-carousel__slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.bxhd-hero-card img,
.bxhd-hero-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
}

.bxhd-lazy-image--deferred {
  background: var(--bxhd-surface-low, #eef2f7);
}

.bxhd-product-table__thumb {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.bxhd-hero-carousel__nav,
.bxhd-hero-carousel__dot {
  border: 0;
  cursor: pointer;
}

.bxhd-hero-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(1, 12, 35, 0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.bxhd-hero-carousel__nav:hover,
.bxhd-hero-carousel__nav:focus-visible {
  background: rgba(1, 12, 35, 0.82);
}

.bxhd-hero-carousel__nav--prev {
  left: 16px;
}

.bxhd-hero-carousel__nav--next {
  right: 16px;
}

.bxhd-hero-carousel__dots {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.bxhd-hero-carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.bxhd-hero-carousel__dot.is-active,
.bxhd-hero-carousel__dot:hover,
.bxhd-hero-carousel__dot:focus-visible {
  background: #fff;
}

.bxhd-hero-carousel__slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(1, 12, 35, 0.78), rgba(1, 12, 35, 0.25) 52%, rgba(1, 12, 35, 0.05));
  pointer-events: none;
}

.bxhd-hero-carousel__slide .bxhd-hero-card__overlay {
  position: absolute;
  inset: auto auto 48px 48px;
  z-index: 2;
  max-width: 560px;
  color: #fff;
  pointer-events: auto;
}

.bxhd-hero-card__title {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.bxhd-kicker {
  margin: 0 0 10px;
  color: #b2c5ff;
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bxhd-hero-card h1,
.bxhd-hero-card__title,
.bxhd-section-heading h2,
.bxhd-cert-content h2,
.bxhd-page-title {
  font-family: var(--bxhd-heading);
}

.bxhd-hero-card h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.bxhd-hero-card__overlay > p:not(.bxhd-kicker) {
  max-width: 520px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

.bxhd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.bxhd-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 18px;
  border-radius: var(--bxhd-radius);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bxhd-button:hover {
  transform: translateY(-1px);
}

.bxhd-button--primary {
  background: var(--bxhd-primary);
  color: #fff;
}

.bxhd-button--primary:hover {
  background: var(--bxhd-primary-dark);
  color: #fff;
}

.bxhd-button--ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.bxhd-button--ghost:hover {
  background: #fff;
  color: var(--bxhd-primary);
}

.bxhd-button--outline {
  border-color: var(--bxhd-primary);
  color: var(--bxhd-primary);
  background: #fff;
}

.bxhd-button--outline:hover {
  background: var(--bxhd-primary);
  color: #fff;
}

.bxhd-section {
  padding-block: 64px;
}

.bxhd-section--muted {
  background: var(--bxhd-surface);
  border-block: 1px solid var(--bxhd-border);
}

.bxhd-section--soft {
  background: var(--bxhd-surface);
}

.bxhd-section-heading {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.bxhd-section-heading--wide {
  max-width: 900px;
}

.bxhd-section-heading h2,
.bxhd-cert-content h2 {
  margin: 0 0 8px;
  color: var(--bxhd-primary);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.bxhd-section-heading p,
.bxhd-cert-content p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-product-directory {
  background: var(--bxhd-surface);
  padding-block: 32px 72px;
}

.bxhd-product-directory__layout {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.bxhd-product-directory__shell {
  margin-bottom: 24px;
}

.bxhd-breadcrumbbar,
.bxhd-product-directory__breadcrumbbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 36px;
}

.bxhd-account__shell > .bxhd-breadcrumbbar {
  margin-bottom: 24px;
}

.bxhd-product-directory__sidebar {
  display: grid;
  gap: 24px;
}

.bxhd-product-category-menu,
.bxhd-category-group-card {
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: 12px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-product-category-menu header {
  border-bottom: 1px solid var(--bxhd-border);
  background: var(--bxhd-surface-low);
  padding: 16px;
}

.bxhd-product-category-menu h2,
.bxhd-product-support h2,
.bxhd-category-group-card h2 {
  margin: 0;
  font-family: var(--bxhd-heading);
}

.bxhd-product-category-menu h2 {
  font-size: 20px;
  line-height: 1.35;
}

.bxhd-product-category-menu ul {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-product-category-menu li + li {
  border-top: 1px solid rgba(226, 232, 240, 0.72);
}

.bxhd-product-category-menu a {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 16px;
  color: var(--bxhd-muted);
  font-size: 14px;
  transition: background 0.18s ease, color 0.18s ease;
}

.bxhd-product-category-menu a:hover {
  background: var(--bxhd-surface-low);
  color: var(--bxhd-primary);
}

.bxhd-product-category-menu a.is-active {
  background: var(--bxhd-primary);
  color: #fff;
}

.bxhd-product-category-menu a span {
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.35;
}

.bxhd-product-category-menu strong {
  flex: 0 0 auto;
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 700;
}

.bxhd-product-support {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--bxhd-primary), var(--bxhd-primary-dark));
  color: #fff;
  padding: 20px;
  box-shadow: var(--bxhd-shadow);
}

.bxhd-product-support > div {
  position: relative;
  z-index: 1;
}

.bxhd-product-support h2 {
  font-size: 20px;
}

.bxhd-product-support p {
  margin: 8px 0 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  line-height: 1.45;
}

.bxhd-product-support a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: #fff;
  color: var(--bxhd-primary);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
}

.bxhd-product-support a:hover {
  color: var(--bxhd-primary-dark);
  background: rgba(255, 255, 255, 0.92);
}

.bxhd-product-support > span {
  position: absolute;
  right: -12px;
  bottom: -32px;
  color: rgba(255, 255, 255, 0.18);
  font-size: 112px;
  font-weight: 900;
  line-height: 1;
}

.bxhd-product-directory__content {
  min-width: 0;
}

.bxhd-product-list-page__container {
  display: block;
}

.bxhd-product-list-page .bxhd-product-directory__content {
  width: 100%;
}

.bxhd-product-directory__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.bxhd-product-breadcrumbs {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--bxhd-muted);
  font-size: 13px;
}

.bxhd-product-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bxhd-product-breadcrumbs span:last-child {
  overflow: hidden;
  color: var(--bxhd-text);
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bxhd-product-directory-search {
  flex: 0 0 320px;
  display: grid;
  grid-template-columns: 1fr 40px;
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: #fff;
}

.bxhd-product-directory-search:focus-within {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 3px rgba(8, 99, 236, 0.12);
}

.bxhd-product-directory-search input,
.bxhd-product-directory-search button {
  min-height: 36px;
  border: 0;
  background: transparent;
}

.bxhd-product-directory-search input {
  min-width: 0;
  padding: 8px 12px;
  color: var(--bxhd-text);
  font-size: 13px;
}

.bxhd-product-directory-search button {
  cursor: pointer;
  color: var(--bxhd-muted);
  font-size: 18px;
}

.bxhd-product-directory-search button:hover {
  color: var(--bxhd-primary);
}

.bxhd-product-directory__heading {
  margin-bottom: 28px;
}

.bxhd-product-directory__heading h1 {
  margin: 0 0 8px;
  color: var(--bxhd-text);
  font-family: var(--bxhd-heading);
  font-size: clamp(28px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.bxhd-product-directory__heading p {
  max-width: 760px;
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bxhd-product-list-page__heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.bxhd-product-list-page__heading > div {
  min-width: 0;
}

.bxhd-product-list-page__result-count {
  flex: 0 0 auto;
  max-width: none;
  padding-top: 10px;
  white-space: nowrap;
}

.bxhd-category-group-list {
  display: grid;
  gap: 18px;
}

.bxhd-category-group-card {
  padding: 24px;
}

.bxhd-category-group-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  border-left: 4px solid var(--bxhd-primary);
  padding-left: 16px;
}

.bxhd-category-group-card h2 {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bxhd-text);
  font-size: 24px;
  line-height: 1.25;
}

.bxhd-category-group-card h2 > span {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  border-radius: 2px;
  background: var(--bxhd-primary);
}

.bxhd-category-group-card h2 a {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.bxhd-category-group-card h2 a:hover,
.bxhd-category-group-card__count:hover,
.bxhd-category-subgrid a:hover span {
  color: var(--bxhd-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bxhd-category-group-card__count {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--bxhd-primary);
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 800;
}

.bxhd-category-subgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 24px;
  row-gap: 10px;
}

.bxhd-category-subgrid a {
  min-width: 0;
  display: inline-flex;
  align-items: flex-start;
  gap: 5px;
  color: var(--bxhd-text);
  font-size: 14px;
  line-height: 1.45;
}

.bxhd-category-subgrid span {
  min-width: 0;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  line-height: 1.35;
}

.bxhd-category-subgrid strong {
  flex: 0 0 auto;
  color: #005e60;
  font-size: 12px;
  font-weight: 800;
}

.bxhd-category-group-card--empty h2 {
  margin-bottom: 8px;
}

.bxhd-category-group-card--empty p {
  margin: 0;
  color: var(--bxhd-muted);
}

.bxhd-product-listing {
  display: grid;
  gap: 18px;
}

.bxhd-product-listing__summary p {
  margin: -10px 0 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-product-listing-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: var(--bxhd-surface-low);
  padding: 12px;
}

.bxhd-product-listing-toolbar label,
.bxhd-product-listing-toolbar span {
  color: var(--bxhd-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-product-listing-toolbar select,
.bxhd-product-listing-toolbar button {
  min-height: 34px;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: #fff;
  color: var(--bxhd-text);
  padding: 6px 11px;
  font-size: 13px;
}

.bxhd-product-listing-toolbar button {
  cursor: pointer;
  font-weight: 700;
}

.bxhd-product-listing-toolbar button:hover,
.bxhd-product-listing-toolbar select:focus {
  border-color: rgba(8, 99, 236, 0.45);
  color: var(--bxhd-primary);
}

.bxhd-product-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: var(--bxhd-surface-card);
}

.bxhd-product-table {
  width: 100%;
  min-width: 920px;
  border-collapse: separate;
  border-spacing: 0;
  color: var(--bxhd-text);
}

.bxhd-product-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f1f5f9;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-align: left;
  white-space: nowrap;
}

.bxhd-product-table th,
.bxhd-product-table td {
  border-bottom: 1px solid var(--bxhd-border);
  padding: 14px 16px;
  vertical-align: middle;
}

.bxhd-product-table tbody tr:last-child td {
  border-bottom: 0;
}

.bxhd-product-table tbody tr:hover {
  background: rgba(200, 231, 252, 0.3);
}

.bxhd-product-table__part {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.bxhd-product-table__image {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: var(--bxhd-surface-low);
  padding: 5px;
}

.bxhd-product-table__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bxhd-product-table__part > span {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.bxhd-product-table__sku {
  color: var(--bxhd-primary-dark);
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
}

.bxhd-product-table__sku:hover {
  color: var(--bxhd-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bxhd-product-table small,
.bxhd-product-table__package {
  color: var(--bxhd-muted);
  font-size: 12px;
  line-height: 1.35;
}

.bxhd-product-table__stock {
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.bxhd-product-table__rfq {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bxhd-product-qty {
  display: inline-grid;
  grid-template-columns: 32px 96px 32px;
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: #fff;
}

.bxhd-product-qty button,
.bxhd-product-qty input {
  width: 100%;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--bxhd-text);
  text-align: center;
}

.bxhd-product-qty button {
  cursor: pointer;
  color: var(--bxhd-muted);
  font-weight: 800;
}

.bxhd-product-qty button:hover {
  background: var(--bxhd-surface-low);
  color: var(--bxhd-primary);
}

.bxhd-product-qty input {
  border-inline: 1px solid var(--bxhd-border);
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 800;
}

.bxhd-product-rfq-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: var(--bxhd-radius);
  background: var(--bxhd-primary);
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 900;
  transition: background 0.18s ease, transform 0.18s ease;
}

.bxhd-product-rfq-button:hover {
  background: var(--bxhd-primary-dark);
  color: #fff;
}

.bxhd-product-rfq-button:active {
  transform: scale(0.95);
}

.bxhd-product-listing-empty {
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: var(--bxhd-surface-card);
  padding: 28px;
}

.bxhd-product-listing-empty h2 {
  margin: 0 0 8px;
  font-family: var(--bxhd-heading);
  font-size: 22px;
}

.bxhd-product-listing-empty p {
  max-width: 620px;
  margin: 0 0 18px;
  color: var(--bxhd-muted);
}

.bxhd-product-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.bxhd-product-pagination .page-numbers {
  min-width: 34px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: #fff;
  color: var(--bxhd-muted);
  padding: 6px 10px;
  font-size: 13px;
  font-weight: 800;
}

.bxhd-product-pagination .page-numbers:hover,
.bxhd-product-pagination .page-numbers.current {
  border-color: var(--bxhd-primary);
  background: var(--bxhd-primary);
  color: #fff;
}

.bxhd-product-grid {
  display: grid;
  gap: 16px;
}

.bxhd-product-grid--ten,
.bxhd-product-grid--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bxhd-product-card {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.bxhd-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(8, 99, 236, 0.35);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-product-card__link {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  padding: 14px;
  color: inherit;
}

.bxhd-product-card__media {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: var(--bxhd-radius);
  background: var(--bxhd-surface-low);
  padding: 12px;
}

.bxhd-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bxhd-product-card__sku {
  overflow: hidden;
  color: var(--bxhd-text);
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bxhd-product-card__meta {
  overflow: hidden;
  margin-top: 4px;
  color: var(--bxhd-muted);
  font-size: 12px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bxhd-product-card__badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border-radius: 3px;
  background: var(--bxhd-primary);
  color: #fff;
  padding: 4px 7px;
  font-size: 11px;
  font-weight: 800;
}

.bxhd-section-action {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.bxhd-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  text-align: center;
}

.bxhd-metrics-grid article,
.bxhd-metrics-grid > div {
  min-width: 0;
}

.bxhd-metrics-grid strong {
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  color: var(--bxhd-primary);
  font-size: clamp(38px, 5vw, 56px);
  line-height: 1;
}

.bxhd-metrics-grid .bxhd-count {
  font-size: inherit;
}

.bxhd-metrics-grid .bxhd-count-suffix {
  padding-bottom: 5px;
  font-size: 18px;
}

.bxhd-metrics-grid h3 {
  margin: 14px 0 0;
  color: var(--bxhd-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.bxhd-metrics-grid p {
  margin: 8px 0 0;
  color: var(--bxhd-muted);
  font-size: 12px;
  line-height: 1.55;
}

.bxhd-cert-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(280px, 1fr);
  align-items: center;
  gap: 56px;
}

.bxhd-cert-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.bxhd-cert-badges span {
  min-height: 110px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--bxhd-primary);
  font-family: var(--bxhd-mono);
  font-weight: 900;
  text-align: center;
  box-shadow: none;
}

.bxhd-cert-badges img {
  max-width: 150px;
  max-height: 72px;
  object-fit: contain;
}

.bxhd-faq-list {
  max-width: 760px;
  display: grid;
  gap: 12px;
  margin-inline: auto;
}

.bxhd-faq-item {
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-low);
  padding: 16px 18px;
  cursor: pointer;
}

.bxhd-faq-item h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.bxhd-faq-item h3 span {
  color: var(--bxhd-primary);
  transition: transform 0.2s ease;
}

.bxhd-faq-item p {
  max-height: 0;
  overflow: hidden;
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
  transition: max-height 0.25s ease, margin-top 0.25s ease;
}

.bxhd-faq-item.is-open p,
.bxhd-faq-item[aria-expanded="true"] p {
  max-height: 200px;
  margin-top: 10px;
}

.bxhd-faq-item.is-open h3 span,
.bxhd-faq-item[aria-expanded="true"] h3 span {
  transform: rotate(180deg);
}

.bxhd-content-card,
.bxhd-archive-header {
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: #fff;
  padding: clamp(24px, 4vw, 48px);
}

.bxhd-page-title {
  margin: 0 0 24px;
  color: var(--bxhd-primary);
  font-size: clamp(28px, 4vw, 42px);
}

/* Static pages (About, legal) — breadcrumb shell matches product directory */
.bxhd-static-page {
  background: var(--bxhd-surface);
  padding-block: 32px 72px;
}

.bxhd-static-page__shell {
  margin-bottom: 24px;
}

.bxhd-static-page__shell > .bxhd-breadcrumbbar {
  margin: 0;
}

.bxhd-shipping-info h2 {
  margin: 28px 0 12px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
  color: var(--bxhd-text);
}

.bxhd-shipping-info h2:first-of-type {
  margin-top: 0;
}

.bxhd-shipping-info p {
  margin: 0 0 12px;
  color: var(--bxhd-muted);
  font-size: 15px;
  line-height: 1.65;
}

.bxhd-contact-page__intro .bxhd-page-title {
  margin-bottom: 12px;
}

.bxhd-contact-page__head {
  max-width: 820px;
}

.bxhd-contact-page__lead {
  margin: 0 0 12px;
  color: var(--bxhd-muted);
  font-size: 16px;
  line-height: 1.6;
}

.bxhd-contact-page__note {
  max-width: 720px;
  margin: 0 0 20px;
  color: var(--bxhd-primary);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.bxhd-contact-page__intro .bxhd-static-hero__actions {
  margin-top: 4px;
}

.bxhd-contact-page__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bxhd-contact-card--social .bxhd-social-links {
  margin-top: 4px;
}

.bxhd-contact-card--social .bxhd-social-links a {
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.bxhd-contact-card--social .bxhd-social-links a:hover {
  transform: translateY(-2px);
  opacity: 0.88;
}

@media (max-width: 959px) {
  .bxhd-contact-page__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.bxhd-contact-card {
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
  box-shadow: var(--bxhd-shadow);
}

.bxhd-contact-card h2 {
  margin: 0 0 8px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
  color: var(--bxhd-text);
}

.bxhd-contact-card > p {
  margin: 0 0 16px;
  color: var(--bxhd-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bxhd-contact-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-contact-card__list li + li {
  margin-top: 12px;
}

.bxhd-contact-card__label {
  display: block;
  margin-bottom: 4px;
  color: var(--bxhd-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-contact-card__list a {
  color: var(--bxhd-primary);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

.bxhd-contact-card__list a:hover {
  text-decoration: underline;
}

.bxhd-contact-card__address {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--bxhd-text);
  font-size: 15px;
  font-style: normal;
  line-height: 1.55;
}

.bxhd-contact-page__hours h2 {
  margin: 0 0 12px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
}

.bxhd-contact-page__hours ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-contact-page__hours li {
  padding: 6px 0;
  color: var(--bxhd-text);
  font-size: 15px;
  line-height: 1.5;
}

.bxhd-contact-page__hours li + li {
  border-top: 1px solid var(--bxhd-border);
}

.bxhd-about-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 8px 24px 40px;
}

.bxhd-about-hero__media {
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  box-shadow: var(--bxhd-shadow);
}

.bxhd-about-hero__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bxhd-static-hero {
  padding: 8px 0 36px;
}

.bxhd-static-hero__kicker {
  margin-bottom: 12px;
  color: var(--bxhd-primary);
}

.bxhd-static-hero__title {
  margin: 0 0 16px;
  max-width: 780px;
  color: var(--bxhd-text);
  font-family: var(--bxhd-heading);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.bxhd-static-hero__lead {
  max-width: 720px;
  margin: 0 0 24px;
  color: var(--bxhd-muted);
  font-size: 16px;
  line-height: 1.6;
}

.bxhd-static-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bxhd-about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.bxhd-about-stats article {
  padding: 20px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--bxhd-shadow);
  text-align: center;
}

.bxhd-about-stats strong {
  display: block;
  color: var(--bxhd-primary);
  font-family: var(--bxhd-heading);
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.1;
}

.bxhd-about-stats span {
  display: block;
  margin-top: 8px;
  color: var(--bxhd-muted);
  font-size: 13px;
  line-height: 1.4;
}

.bxhd-about-feature {
  padding: 12px 0;
}

.bxhd-about-feature:nth-child(even) {
  background: var(--bxhd-surface-low);
}

.bxhd-about-feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}

.bxhd-about-feature.is-reverse .bxhd-about-feature__grid {
  direction: rtl;
}

.bxhd-about-feature.is-reverse .bxhd-about-feature__copy,
.bxhd-about-feature.is-reverse .bxhd-about-feature__media {
  direction: ltr;
}

.bxhd-about-feature__media {
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--bxhd-shadow);
}

.bxhd-about-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.bxhd-about-feature__copy h2 {
  margin: 0 0 14px;
  font-family: var(--bxhd-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.25;
  color: var(--bxhd-text);
}

.bxhd-about-feature__copy p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 15px;
  line-height: 1.65;
}

.bxhd-about-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-about-categories li {
  padding: 8px 14px;
  border: 1px solid var(--bxhd-border);
  border-radius: 999px;
  background: #fff;
  color: var(--bxhd-text);
  font-size: 13px;
  font-weight: 600;
}

.bxhd-about-logistics {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.bxhd-about-logistics__copy h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.bxhd-about-logistics__copy p {
  margin: 0 0 16px;
  color: var(--bxhd-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bxhd-about-logistics__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-about-logistics__list li {
  padding: 8px 16px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.bxhd-about-logistics__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: #fff;
  color: var(--bxhd-primary);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.bxhd-legal-banner {
  position: relative;
  overflow: hidden;
  max-height: 180px;
  margin-bottom: -8px;
}

.bxhd-legal-banner img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
}

.bxhd-legal-page .bxhd-section {
  padding-top: 24px;
}

.bxhd-about-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.bxhd-about-values__card {
  padding: 24px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--bxhd-shadow);
}

.bxhd-about-values__card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
}

.bxhd-about-values__card p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
  line-height: 1.55;
}

.bxhd-about-process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-about-process li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 0 10px;
  text-align: center;
}

.bxhd-about-process li:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 14px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 2px;
  background: rgba(8, 99, 236, 0.32);
}

.bxhd-about-process__index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bxhd-primary);
  color: #fff;
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 700;
}

.bxhd-about-process strong {
  display: block;
  font-size: 14px;
  line-height: 1.35;
}

.bxhd-about-process p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 12px;
  line-height: 1.45;
}

.bxhd-static-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
}

.bxhd-static-cta h2 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.bxhd-static-cta p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-legal-doc__head {
  margin-bottom: 28px;
}

.bxhd-legal-doc__meta {
  margin: -12px 0 0;
  color: var(--bxhd-muted);
  font-size: 13px;
}

.bxhd-legal-doc__body h2 {
  margin: 32px 0 12px;
  font-family: var(--bxhd-heading);
  font-size: 1.2rem;
  line-height: 1.35;
}

.bxhd-legal-doc__body h2:first-child {
  margin-top: 0;
}

.bxhd-legal-doc__body p,
.bxhd-legal-doc__body li {
  color: var(--bxhd-text);
  font-size: 15px;
  line-height: 1.65;
}

.bxhd-legal-doc__body ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.bxhd-legal-doc__body li + li {
  margin-top: 8px;
}

.bxhd-cookie-policy-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
}

.bxhd-post-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.bxhd-list-card h2 {
  margin-top: 0;
}

.bxhd-register-page {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100vh - 132px);
  align-content: start;
  justify-items: center;
  overflow-x: hidden;
  overflow-y: auto;
  background: var(--bxhd-surface);
  padding: clamp(32px, 5vw, 72px) 24px;
}

.bxhd-register-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(148, 163, 184, 0.48) 0.6px, transparent 0.6px);
  background-size: 24px 24px;
}

.bxhd-register-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 16%, rgba(8, 99, 236, 0.12), transparent 32%),
    linear-gradient(180deg, rgba(247, 249, 251, 0.92), rgba(247, 249, 251, 0.98));
}

.bxhd-register-card {
  width: min(100%, 1000px);
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(440px, 1fr);
  overflow: visible;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
}

.bxhd-register-visual {
  position: relative;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #0b1f3d url("../images/register-bg.png") center / cover no-repeat;
  color: #fff;
  padding: 42px;
}

.bxhd-register-visual::before {
  display: none;
  content: none;
}

.bxhd-register-visual::after {
  display: none;
  content: none;
}

.bxhd-register-visual__content {
  position: relative;
  z-index: 1;
  max-width: 360px;
}

.bxhd-register-kicker {
  margin: 0 0 10px;
  color: var(--bxhd-primary);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bxhd-register-visual .bxhd-register-kicker {
  color: #b2c5ff;
}

.bxhd-register-visual h1,
.bxhd-register-panel h2,
.bxhd-register-signed-in h3 {
  margin: 0;
  font-family: var(--bxhd-heading);
  letter-spacing: -0.02em;
}

.bxhd-register-visual h1 {
  font-size: clamp(30px, 3vw, 40px);
  line-height: 1.08;
}

.bxhd-register-visual p:not(.bxhd-register-kicker) {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  line-height: 1.65;
}

.bxhd-register-visual ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.bxhd-register-visual li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.bxhd-register-visual li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #c8e7fc;
}

.bxhd-register-panel {
  overflow: visible;
  padding: clamp(28px, 4vw, 48px);
}

.bxhd-register-panel__heading {
  margin-bottom: 28px;
}

.bxhd-register-panel h2 {
  color: var(--bxhd-text);
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.2;
}

.bxhd-register-panel__heading p:not(.bxhd-register-kicker) {
  margin: 7px 0 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-register-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bxhd-register-field,
.bxhd-register-field--full,
.bxhd-register-form .woocommerce-privacy-policy-text {
  min-width: 0;
}

.bxhd-register-field--full,
.bxhd-register-form .woocommerce-privacy-policy-text {
  grid-column: 1 / -1;
}

.bxhd-register-field label,
.bxhd-register-terms label {
  display: block;
  margin-bottom: 6px;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-register-field > input:not(.bxhd-phone-input__number):not(.bxhd-phone-input__filter),
.bxhd-register-field > select,
.bxhd-register-field > textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  color: var(--bxhd-text);
  padding: 9px 11px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bxhd-register-field > input:not(.bxhd-phone-input__number):not(.bxhd-phone-input__filter):focus,
.bxhd-register-field > select:focus,
.bxhd-register-field > textarea:focus {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 3px rgba(8, 99, 236, 0.12);
}

.bxhd-register-field small {
  display: block;
  margin-top: 6px;
  color: var(--bxhd-muted);
  font-size: 11px;
  line-height: 1.4;
}

.bxhd-register-field textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.bxhd-register-price-field {
  position: relative;
}

.bxhd-register-price-field__prefix {
  position: absolute;
  left: 11px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
}

.bxhd-register-price-field > input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  color: var(--bxhd-text);
  padding: 9px 11px 9px 28px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bxhd-register-price-field > input:focus {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 3px rgba(8, 99, 236, 0.12);
}

.bxhd-register-code,
.bxhd-register-password {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  overflow: hidden;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
}

.bxhd-register-password {
  position: relative;
}

.bxhd-register-code:focus-within,
.bxhd-register-password:focus-within {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 3px rgba(8, 99, 236, 0.12);
}

.bxhd-register-field .bxhd-register-code input,
.bxhd-register-field .bxhd-register-password input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 0 !important;
  border-radius: 0;
  background: transparent;
  color: var(--bxhd-text);
  padding: 9px 11px;
  font-size: 14px;
  outline: none;
  box-shadow: none !important;
}

.bxhd-register-field .bxhd-register-code input:focus,
.bxhd-register-field .bxhd-register-password input:focus {
  border: 0 !important;
  box-shadow: none !important;
}

.bxhd-register-code button,
.bxhd-register-password button {
  min-width: 48px;
  border: 0;
  border-left: 1px solid var(--bxhd-border);
  background: var(--bxhd-surface-low);
  color: var(--bxhd-muted);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.bxhd-register-password button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.bxhd-password-toggle__icons {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bxhd-password-toggle__icon {
  width: 20px;
  height: 20px;
  display: block;
}

.bxhd-password-toggle__icon--hide {
  display: none;
}

.bxhd-register-password button.is-password-visible {
  color: var(--bxhd-primary);
}

.bxhd-register-password button.is-password-visible .bxhd-password-toggle__icon--show {
  display: none;
}

.bxhd-register-password button.is-password-visible .bxhd-password-toggle__icon--hide {
  display: block;
}

.bxhd-register-code button:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.bxhd-register-password button:hover {
  background: #c8e7fc;
}

.bxhd-register-terms {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-block: 4px;
}

.bxhd-register-terms input {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  accent-color: var(--bxhd-primary);
}

.bxhd-register-terms label,
.bxhd-register-form .woocommerce-privacy-policy-text {
  margin: 0;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  text-transform: none;
}

.bxhd-register-terms a,
.bxhd-register-form .woocommerce-privacy-policy-text a,
.bxhd-register-login-link a {
  color: var(--bxhd-primary);
  font-weight: 700;
}

.bxhd-register-terms a:hover,
.bxhd-register-form .woocommerce-privacy-policy-text a:hover,
.bxhd-register-login-link a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bxhd-register-submit,
.bxhd-register-secondary {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--bxhd-primary);
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
  transition: background 0.18s ease, transform 0.18s ease;
}

.bxhd-register-submit:hover {
  background: var(--bxhd-primary-dark);
  color: #fff;
}

.bxhd-register-submit:active {
  transform: scale(0.98);
}

.bxhd-register-secondary {
  border: 1px solid var(--bxhd-border);
  background: #fff;
  color: var(--bxhd-primary);
}

.bxhd-register-secondary:hover {
  border-color: var(--bxhd-primary);
  background: var(--bxhd-surface-low);
  color: var(--bxhd-primary-dark);
}

.bxhd-register-login-link {
  margin-top: 32px;
  border-top: 1px solid var(--bxhd-border);
  padding-top: 24px;
  text-align: center;
}

.bxhd-register-login-link p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-register-notices {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  scroll-margin-top: 24px;
}

.bxhd-register-notices:empty {
  display: none;
  margin-bottom: 0;
}

.bxhd-register-page .woocommerce-notices-wrapper:empty {
  display: none;
}

.bxhd-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fff;
}

.bxhd-alert:not(:has(.bxhd-alert__icon)) .bxhd-alert__content {
  flex: 1;
  min-width: 0;
}

.bxhd-alert--error {
  border-color: var(--bxhd-error-strong);
  background: var(--bxhd-error-strong);
  color: #fff;
}

.bxhd-alert--success {
  border-color: var(--bxhd-success-border);
  background: linear-gradient(180deg, var(--bxhd-success-surface), #fff);
}

.bxhd-alert--warning {
  border-color: var(--bxhd-warning-border);
  background: linear-gradient(180deg, var(--bxhd-warning-surface), #fff);
}

.bxhd-alert--info {
  border-color: var(--bxhd-info-border);
  background: linear-gradient(180deg, var(--bxhd-info-surface), #fff);
}

.bxhd-alert__icon {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
}

.bxhd-alert__icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bxhd-alert--error .bxhd-alert__icon {
  color: #fff;
}

.bxhd-alert--error .bxhd-alert__icon svg {
  display: block;
  flex-shrink: 0;
}

.bxhd-alert--success .bxhd-alert__icon {
  color: var(--bxhd-success-strong);
}

.bxhd-alert--warning .bxhd-alert__icon {
  color: var(--bxhd-warning-strong);
}

.bxhd-alert--info .bxhd-alert__icon {
  color: var(--bxhd-info);
}

.bxhd-alert__content {
  flex: 1;
  min-width: 0;
}

.bxhd-alert__content .woocommerce-error,
.bxhd-alert__content .woocommerce-message,
.bxhd-alert__content .woocommerce-info,
.bxhd-alert__content li {
  word-break: normal;
  overflow-wrap: anywhere;
  white-space: normal;
}

.bxhd-register-page .bxhd-alert .woocommerce-error,
.bxhd-register-page .bxhd-alert .woocommerce-message,
.bxhd-register-page .bxhd-alert .woocommerce-info,
.bxhd-register-notices .woocommerce-error,
.bxhd-register-notices .woocommerce-message,
.bxhd-register-notices .woocommerce-info {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--bxhd-text);
  list-style: none;
}

.bxhd-register-page .bxhd-alert .woocommerce-error::before,
.bxhd-register-page .bxhd-alert .woocommerce-message::before,
.bxhd-register-page .bxhd-alert .woocommerce-info::before,
.bxhd-register-notices .woocommerce-error::before,
.bxhd-register-notices .woocommerce-message::before,
.bxhd-register-notices .woocommerce-info::before {
  content: none;
  display: none;
}

.bxhd-register-page .bxhd-alert li,
.bxhd-register-notices li {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.55;
  color: var(--bxhd-text);
}

.bxhd-register-page .bxhd-alert--error .woocommerce-error,
.bxhd-register-page .bxhd-alert--error .woocommerce-error li,
.bxhd-register-notices .bxhd-alert--error .woocommerce-error,
.bxhd-register-notices .bxhd-alert--error .woocommerce-error li {
  color: #fff;
}

.bxhd-alert--error .woocommerce-error,
.bxhd-alert--error .woocommerce-error li {
  padding: 0;
}

.bxhd-alert--error .woocommerce-error::before,
.bxhd-alert--error .woocommerce-error li::before {
  content: none !important;
  display: none !important;
}

.bxhd-register-page .bxhd-alert li + li,
.bxhd-register-notices li + li {
  margin-top: 8px;
}

.bxhd-register-form.is-loading {
  pointer-events: none;
}

.bxhd-register-form.is-loading .bxhd-register-field input,
.bxhd-register-form.is-loading .bxhd-register-field select,
.bxhd-register-form.is-loading .bxhd-register-field textarea,
.bxhd-register-form.is-loading .bxhd-register-password input,
.bxhd-register-form.is-loading .bxhd-register-price-field > input,
.bxhd-register-form.is-loading .bxhd-country-select__input,
.bxhd-register-form.is-loading .bxhd-register-remember input {
  opacity: 0.72;
}

.bxhd-register-submit {
  position: relative;
}

.bxhd-register-submit .bxhd-btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: bxhd-spin 0.75s linear infinite;
}

.bxhd-register-submit.is-loading {
  pointer-events: none;
  opacity: 0.96;
}

.bxhd-register-submit.is-loading .bxhd-btn-trailing {
  opacity: 0;
}

.bxhd-register-submit.is-loading .bxhd-btn-spinner {
  display: inline-block;
}

@keyframes bxhd-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bxhd-register-submit .bxhd-btn-spinner {
    animation: none;
    border-top-color: rgba(255, 255, 255, 0.85);
  }
}

.bxhd-register-signed-in {
  display: grid;
  gap: 14px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-low);
  padding: 24px;
}

.bxhd-register-signed-in h3 {
  color: var(--bxhd-text);
  font-size: 22px;
}

.bxhd-register-signed-in p,
.bxhd-register-generated-password {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-register-signed-in__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bxhd-register-form--login {
  grid-template-columns: 1fr;
  gap: 20px;
}

.bxhd-register-field__label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.bxhd-register-field__label-row label {
  margin-bottom: 0;
}

.bxhd-register-field__label-row a {
  color: var(--bxhd-primary);
  font-family: var(--bxhd-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.bxhd-register-field__label-row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bxhd-register-remember {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding-block: 2px;
}

.bxhd-register-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--bxhd-primary);
}

.bxhd-register-remember label {
  margin: 0;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.bxhd-register-success {
  border-color: var(--bxhd-success-border);
  background: linear-gradient(180deg, var(--bxhd-success-surface), rgba(247, 249, 251, 0.96));
}

.bxhd-register-login-link p + p {
  margin-top: 12px;
}

.bxhd-password-reset-form.bxhd-register-form {
  grid-template-columns: 1fr;
}

.bxhd-password-reset-form .bxhd-register-code button:hover:not(:disabled) {
  background: #c8e7fc;
}

.bxhd-password-reset-form .bxhd-register-code button.is-loading {
  pointer-events: none;
  opacity: 0.72;
}

.bxhd-site-footer {
  position: relative;
  overflow: hidden;
  background: var(--bxhd-footer);
  color: #fff;
  margin-top: 0;
  padding: 140px 0 32px;
}

.bxhd-footer-slant {
  position: absolute;
  inset: -1px 0 auto 0;
  height: 91px;
  background: var(--bxhd-surface);
  clip-path: polygon(0 0, 100% 0, 100% 22%, 0 100%);
}

.bxhd-footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 1fr;
  gap: 42px;
}

.bxhd-footer-brand img {
  max-height: 78px;
}

.bxhd-footer-follow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 30px;
}

.bxhd-footer-follow > span {
  display: block;
  height: 30px;
  line-height: 30px;
  transform: translateY(-1px);
}

.bxhd-footer-brand p,
.bxhd-footer-list,
.bxhd-footer-bottom {
  color: rgba(255, 255, 255, 0.78);
}

.bxhd-site-footer h2 {
  margin: 0 0 18px;
  font-family: var(--bxhd-heading);
  font-size: 18px;
}

.bxhd-footer-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

.bxhd-site-footer a {
  color: inherit;
}

.bxhd-site-footer a:hover {
  color: #c8e7fc;
}

.bxhd-footer-list a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bxhd-social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.bxhd-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  line-height: 0;
}

.bxhd-social-links img {
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  object-fit: contain;
}

.bxhd-footer-bottom {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1.2fr 1fr 1fr;
  align-items: center;
  gap: 24px;
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 12px;
}

.bxhd-footer-bottom p {
  grid-column: 1 / 3;
  margin: 0;
}

.bxhd-payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 3 / 5;
  justify-self: start;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.bxhd-payment-icons img {
  width: auto;
  height: 24px;
  border-radius: 3px;
  background: #fff;
}

@media (max-width: 1100px) {
  .bxhd-header-top {
    grid-template-columns: 150px 1fr auto;
  }

  .bxhd-register-card {
    grid-template-columns: 0.85fr 1fr;
  }

  .bxhd-register-visual {
    padding: 34px;
  }

  .bxhd-utility-links {
    display: none;
  }

  .bxhd-product-grid--ten,
  .bxhd-product-grid--five {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .admin-bar .bxhd-site-header {
    top: 46px;
  }

  .bxhd-register-page {
    place-items: start center;
    padding-inline: 16px;
  }

  .bxhd-register-card {
    grid-template-columns: 1fr;
  }

  .bxhd-register-visual {
    min-height: auto;
    padding: 34px;
  }

  .bxhd-register-visual__content {
    max-width: 620px;
  }

  .bxhd-container {
    width: min(100% - 32px, var(--bxhd-container));
  }

  .bxhd-header-top {
    min-height: auto;
    grid-template-columns: 1fr auto;
    padding-block: 14px;
  }

  .bxhd-product-search {
    grid-column: 1 / -1;
    grid-row: 2;
    max-width: none;
  }

  .bxhd-product-directory__layout {
    grid-template-columns: 1fr;
  }

  .bxhd-product-directory__sidebar {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr);
  }

  .bxhd-product-category-menu ul {
    max-height: 320px;
    overflow: auto;
  }

  .bxhd-category-subgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bxhd-product-listing-toolbar {
    align-items: stretch;
  }

  .bxhd-product-table {
    min-width: 860px;
  }

  .bxhd-menu-toggle {
    display: inline-flex;
  }

  .bxhd-primary-nav__inner {
    display: none;
  }

  .bxhd-hero-shell {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .bxhd-category-panel {
    max-height: 280px;
    overflow: auto;
  }

  .bxhd-hero-carousel__slide .bxhd-hero-card__overlay {
    inset: auto 24px 32px 24px;
  }

  .bxhd-product-grid--ten,
  .bxhd-product-grid--five {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .bxhd-metrics-grid,
  .bxhd-cert-grid,
  .bxhd-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bxhd-about-hero {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .bxhd-about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bxhd-about-feature__grid,
  .bxhd-about-feature.is-reverse .bxhd-about-feature__grid {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 20px;
  }

  .bxhd-about-logistics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .bxhd-product-search {
    grid-template-columns: 1fr 42px;
  }

  .bxhd-register-page {
    padding-block: 24px 44px;
  }

  .bxhd-register-visual {
    display: none;
  }

  .bxhd-register-panel {
    padding: 24px;
  }

  .bxhd-register-form,
  .bxhd-register-signed-in__actions {
    grid-template-columns: 1fr;
  }

  .bxhd-product-search__scope {
    display: none;
  }

  .bxhd-about-stats {
    grid-template-columns: 1fr;
  }

  .bxhd-contact-page__grid {
    grid-template-columns: 1fr;
  }

  .bxhd-static-cta {
    padding: 20px;
  }

  .bxhd-product-directory {
    padding-block: 24px 52px;
  }

  .bxhd-product-directory__sidebar,
  .bxhd-product-directory__topbar {
    grid-template-columns: 1fr;
  }

  .bxhd-product-directory__topbar {
    display: grid;
  }

  .bxhd-breadcrumbbar,
  .bxhd-product-directory__breadcrumbbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bxhd-product-list-page__heading {
    display: grid;
    gap: 10px;
  }

  .bxhd-product-list-page__result-count {
    padding-top: 0;
    white-space: normal;
  }

  .bxhd-product-directory-search {
    width: 100%;
    flex-basis: auto;
  }

  .bxhd-category-group-card {
    padding: 18px;
  }

  .bxhd-category-group-card__header {
    align-items: flex-start;
    flex-direction: column;
  }

  .bxhd-category-group-card h2 {
    font-size: 20px;
  }

  .bxhd-category-subgrid {
    grid-template-columns: 1fr;
  }

  .bxhd-product-listing-toolbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bxhd-product-listing-toolbar select,
  .bxhd-product-listing-toolbar button {
    width: 100%;
  }

  .bxhd-product-table-wrap {
    margin-inline: -16px;
    border-inline: 0;
    border-radius: 0;
  }

  .bxhd-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .bxhd-section {
    padding-block: 44px;
  }

  .bxhd-product-grid--ten,
  .bxhd-product-grid--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bxhd-metrics-grid,
  .bxhd-cert-grid,
  .bxhd-footer-grid,
  .bxhd-footer-bottom {
    grid-template-columns: 1fr;
  }

  .bxhd-footer-bottom {
    display: grid;
  }

  .bxhd-cert-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bxhd-product-single__hero {
    grid-template-columns: 1fr;
  }

  .bxhd-product-single__intro {
    flex-direction: column;
    align-items: flex-start;
  }

  .bxhd-product-single__intro-badges {
    align-items: flex-start;
  }

}

/* Product detail */
.bxhd-product-single {
  padding-block: 24px 48px;
}

.bxhd-product-single__shell {
  display: grid;
  gap: 24px;
}

.bxhd-product-single__shell > .bxhd-breadcrumbbar {
  margin: 0;
}

.bxhd-product-single__hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 32px;
  align-items: start;
}

.bxhd-product-single__gallery {
  position: relative;
  display: grid;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
}

.bxhd-product-single__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 4px 8px;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bxhd-product-single__badge--hot {
  background: var(--bxhd-error);
  color: #fff;
}

.bxhd-product-single__gallery-viewport {
  width: 100%;
}

.bxhd-product-single__gallery-main {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 280px;
  overflow: hidden;
}

.bxhd-product-single__gallery-main.is-zoomable {
  cursor: crosshair;
}

.bxhd-product-single__gallery-image {
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: opacity 0.15s ease;
}

.bxhd-product-single__gallery.is-zooming .bxhd-product-single__gallery-image {
  opacity: 0.35;
}

.bxhd-product-single__gallery-zoom-lens {
  position: absolute;
  z-index: 2;
  border: 1px solid var(--bxhd-primary);
  border-radius: 4px;
  background-color: #fff;
  background-repeat: no-repeat;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  pointer-events: none;
}

.bxhd-product-single__gallery-zoom-pane {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: 4px;
  background-color: #fff;
  background-repeat: no-repeat;
  pointer-events: none;
}

.bxhd-product-single__gallery-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.bxhd-product-single__gallery-thumb {
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 1px solid var(--bxhd-border);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.bxhd-product-single__gallery-thumb.is-active,
.bxhd-product-single__gallery-thumb:hover {
  border-color: var(--bxhd-primary);
  border-width: 2px;
  padding: 3px;
}

.bxhd-product-single__gallery-thumb-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bxhd-product-single__summary {
  min-width: 0;
}

.bxhd-product-single__card {
  padding: 32px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-product-single__intro {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: flex-start;
}

.bxhd-product-single__title {
  margin: 0 0 8px;
  font-family: var(--bxhd-heading);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bxhd-product-single__excerpt {
  margin: 0;
  max-width: 42rem;
  color: var(--bxhd-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.bxhd-product-single__intro-badges {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}

.bxhd-product-single__rohs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--bxhd-success);
  font-size: 12px;
  font-weight: 700;
}

.bxhd-product-single__rohs-icon {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--bxhd-success-surface);
  font-size: 11px;
}

.bxhd-product-single__stock {
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bxhd-info-surface);
  color: var(--bxhd-primary);
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

.bxhd-product-single__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 32px 0 0;
  padding: 0 0 32px;
  border-bottom: 1px solid var(--bxhd-border);
}

.bxhd-product-single__meta-row {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
}

.bxhd-product-single__meta dt {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-product-single__meta dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.bxhd-product-single__meta-mono {
  font-family: var(--bxhd-mono);
  font-weight: 500;
}

.bxhd-product-single__meta-success {
  color: var(--bxhd-success);
  font-weight: 500;
}

.bxhd-product-single__datasheet-link {
  color: var(--bxhd-primary);
  font-weight: 600;
  text-decoration: none;
}

.bxhd-product-single__datasheet-link:hover {
  text-decoration: underline;
}

.bxhd-product-single__specs {
  margin-top: 32px;
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-product-single__specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  margin: 0;
  padding: 32px;
}

.bxhd-product-single__specs-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
}

.bxhd-product-single__specs-row dt {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-product-single__specs-row dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.bxhd-product-single__rfq {
  margin-top: 0;
}

.bxhd-product-single__rfq-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 24px;
  font-family: var(--bxhd-heading);
  font-size: 1.25rem;
  line-height: 1.4;
}

.bxhd-product-single__rfq-title span {
  color: var(--bxhd-muted);
  font-family: var(--bxhd-body);
  font-size: 12px;
  font-weight: 400;
}

.bxhd-product-single__rfq .bxhd-register-notices {
  margin-bottom: 18px;
}

.bxhd-product-single__rfq .bxhd-register-form__row--3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.bxhd-product-single__description {
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-product-single__description-head {
  padding: 32px;
  border-bottom: 1px solid var(--bxhd-border);
}

.bxhd-product-single__description-head h2 {
  margin: 0;
  font-family: var(--bxhd-heading);
  font-size: 1.5rem;
  line-height: 1.33;
}

.bxhd-product-single__description-body {
  padding: 32px;
  color: var(--bxhd-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.bxhd-prose p {
  margin: 0 0 1rem;
}

.bxhd-prose p:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .bxhd-product-single__hero {
    grid-template-columns: 1fr;
  }

  .bxhd-product-single__meta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bxhd-product-single__card {
    padding: 20px;
  }

  .bxhd-product-single__meta-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .bxhd-product-single__rfq .bxhd-register-form__row--3 {
    grid-template-columns: 1fr;
  }
}

/* My Account console */
.bxhd-account {
  padding-block: 32px 48px;
}

.bxhd-account__content-entry,
.bxhd-account__content-entry > .woocommerce {
  width: 100%;
  max-width: 100%;
}

.bxhd-account__shell {
  width: min(100% - 48px, var(--bxhd-container));
  margin-inline: auto;
}

/* Cancel WooCommerce float layout inside the account console */
.bxhd-account .bxhd-account__layout.woocommerce-account::before,
.bxhd-account .bxhd-account__layout.woocommerce-account::after {
  content: none;
  display: none;
}

.bxhd-account .woocommerce-MyAccount-navigation,
.bxhd-account .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  max-width: none !important;
}

.bxhd-account__layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  width: 100%;
}

.bxhd-account__sidebar.woocommerce-MyAccount-navigation {
  width: 100%;
  min-width: 0;
}

.bxhd-account__sidebar-card {
  position: sticky;
  top: 96px;
  padding: 16px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
}

.bxhd-account__sidebar-head {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--bxhd-border);
}

.bxhd-account__sidebar-head h2 {
  margin: 0 0 4px;
  font-family: var(--bxhd-heading);
  font-size: 1.25rem;
  line-height: 1.4;
}

.bxhd-account__sidebar-head p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 12px;
  line-height: 1.4;
  white-space: normal;
}

.bxhd-account__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-account__nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-account__nav li + li {
  margin-top: 4px;
}

.bxhd-account__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 4px;
  color: var(--bxhd-muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bxhd-account__nav a:hover {
  background: var(--bxhd-surface-low);
  color: var(--bxhd-text);
}

.bxhd-account__nav li.is-active > a,
.bxhd-account__nav li.is-active > a:hover {
  background: var(--bxhd-primary);
  color: #fff;
}

.bxhd-account__nav-logout {
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--bxhd-border);
  list-style: none;
}

.bxhd-account__nav-item--logout a,
.bxhd-account__nav-item--logout.is-active a {
  color: var(--bxhd-error);
  background: transparent;
}

.bxhd-account__nav-item--logout a:hover {
  background: var(--bxhd-error-surface);
  color: var(--bxhd-error-strong);
}

.bxhd-account__nav-icon {
  display: inline-flex;
  flex: 0 0 20px;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.bxhd-account__nav-icon svg {
  display: block;
  width: 20px;
  height: 20px;
}

.bxhd-account__nav-label {
  flex: 1 1 auto;
  min-width: 0;
  white-space: nowrap;
}

.bxhd-account__nav li.is-active > a .bxhd-account__nav-icon svg,
.bxhd-account__nav li.is-active > a .bxhd-account__nav-label {
  color: #fff;
}

.bxhd-account__panel.woocommerce-MyAccount-content {
  min-width: 0;
  width: 100%;
}

.bxhd-account-dashboard__hero {
  margin-bottom: 32px;
}

.bxhd-account-dashboard__hero h1 {
  margin: 0 0 8px;
  font-family: var(--bxhd-heading);
  font-size: clamp(1.75rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bxhd-account-dashboard__hero h1 span {
  color: var(--bxhd-primary);
}

.bxhd-account-dashboard__hero p {
  margin: 0;
  max-width: 42rem;
  color: var(--bxhd-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.bxhd-account-dashboard__hero a {
  color: var(--bxhd-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bxhd-account-dashboard__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.bxhd-account-dashboard__grid > .bxhd-account-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.bxhd-account-card {
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
  transition: box-shadow 0.2s ease;
}

.bxhd-account-card:hover {
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
}

.bxhd-account-card--flush {
  box-shadow: var(--bxhd-shadow);
}

.bxhd-account-card__head {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--bxhd-border);
  background: #f1f5f9;
}

.bxhd-account-card__head .bxhd-account-card__title {
  min-width: 0;
}

.bxhd-account-card__head .bxhd-account-card__link {
  flex-shrink: 0;
  white-space: nowrap;
}

.bxhd-account-card__title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bxhd-account-card__title h2 {
  margin: 0;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
  line-height: 1.4;
}

.bxhd-account-card__icon {
  display: inline-flex;
  color: var(--bxhd-primary);
}

.bxhd-account-card__link,
.bxhd-account-card__meta {
  color: var(--bxhd-primary);
  font-size: 14px;
  font-weight: 600;
}

.bxhd-account-card__link:hover {
  text-decoration: underline;
}

.bxhd-account-table-wrap {
  overflow-x: auto;
}

.bxhd-account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.bxhd-account-table thead {
  background: var(--bxhd-surface-low);
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-account-table th,
.bxhd-account-table td {
  padding: 12px 24px;
  border-bottom: 1px solid var(--bxhd-border);
  text-align: left;
  vertical-align: middle;
}

.bxhd-account-table tbody tr:hover {
  background: rgba(8, 99, 236, 0.04);
}

.bxhd-account-table__id {
  font-family: var(--bxhd-mono);
  font-weight: 500;
  color: var(--bxhd-primary);
}

.bxhd-account-table__action-col {
  text-align: right;
  white-space: nowrap;
}

.bxhd-account-table__action {
  display: inline-flex;
  padding: 4px 12px;
  border: 1px solid var(--bxhd-primary);
  border-radius: 4px;
  color: var(--bxhd-primary);
  font-size: 14px;
  font-weight: 600;
}

.bxhd-account-table__action:hover {
  background: var(--bxhd-primary);
  color: #fff;
}

.bxhd-account-table__action.is-muted {
  border-color: var(--bxhd-muted);
  color: var(--bxhd-muted);
}

.bxhd-account-table__empty {
  padding: 24px;
  color: var(--bxhd-muted);
  text-align: center;
}

.bxhd-account-table__empty--block {
  padding: 32px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
}

.bxhd-account-badge {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-account-badge--success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--bxhd-success);
}

.bxhd-account-badge--warning {
  background: rgba(245, 158, 11, 0.12);
  color: var(--bxhd-warning);
}

.bxhd-account-badge--info {
  background: var(--bxhd-info-surface);
  color: var(--bxhd-primary);
}

.bxhd-account-badge--muted {
  background: var(--bxhd-surface-low);
  color: var(--bxhd-muted);
}

.bxhd-account-dashboard__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bxhd-account-stat {
  padding: 24px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  text-align: center;
  transition: border-color 0.2s ease;
}

.bxhd-account-stat:hover {
  border-color: var(--bxhd-primary);
}

.bxhd-account-stat span {
  display: block;
  margin-bottom: 8px;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-account-stat strong {
  font-family: var(--bxhd-heading);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--bxhd-primary);
}

.bxhd-account-page__head {
  margin-bottom: 24px;
}

.bxhd-account-page__head h1 {
  margin: 0 0 8px;
  font-family: var(--bxhd-heading);
  font-size: 1.75rem;
  line-height: 1.25;
}

.bxhd-account-page__head p {
  margin: 0;
  color: var(--bxhd-muted);
}

.bxhd-account-form {
  padding: 32px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-account-form__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bxhd-account-form .form-row {
  margin: 0;
}

.bxhd-account-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
}

.bxhd-account-form .input-text {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid #c2c6d7;
  border-radius: 8px;
}

.bxhd-account-form__password {
  margin: 24px 0 0;
  padding: 24px 0 0;
  border: 0;
  border-top: 1px solid var(--bxhd-border);
}

.bxhd-account-form__password legend {
  margin-bottom: 16px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
  font-weight: 600;
}

.bxhd-account-form__actions {
  margin: 24px 0 0;
}

.bxhd-account-page .woocommerce-MyAccount-content > .ywraq_my_account_quotes_title,
.bxhd-account-page .woocommerce-MyAccount-content > h2:first-child {
  display: none;
}

.bxhd-account-page .ywraq-view-quote-wrapper.bxhd-quote-detail {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Quote detail (RFQ view) */
.bxhd-quote-detail__layout {
  display: block;
}

.bxhd-quote-detail__main {
  min-width: 0;
}

.bxhd-quote-detail__steps-bar {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--bxhd-border);
}

.bxhd-quote-detail__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-quote-detail__steps--horizontal {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  align-items: flex-start;
}

.bxhd-quote-detail__steps--horizontal li {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 6px;
  text-align: center;
}

.bxhd-quote-detail__steps--horizontal li:not(:last-child)::after {
  content: '';
  position: absolute;
  z-index: 0;
  top: 14px;
  left: calc(50% + 14px);
  right: calc(-50% + 14px);
  height: 2px;
  background: rgba(8, 99, 236, 0.35);
}

.bxhd-quote-detail__step-index {
  position: relative;
  z-index: 1;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bxhd-primary);
  color: #fff;
  font-family: var(--bxhd-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}

.bxhd-quote-detail__steps--horizontal strong {
  display: block;
  width: 100%;
  max-width: 10rem;
  padding-top: 0;
  font-size: 12px;
  line-height: 1.4;
}

.bxhd-quote-detail__header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.bxhd-quote-detail__view-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 10px 18px;
  border: 0;
  border-radius: 4px;
  background: #8a8f9c;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.bxhd-quote-detail__view-quote-btn:hover {
  background: #757b8a;
  color: #fff;
}

.bxhd-quote-detail__view-quote-btn.is-disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.bxhd-quote-detail__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.bxhd-quote-detail__header-main {
  min-width: 0;
}

.bxhd-quote-detail__header h1 {
  margin: 0 0 8px;
  font-family: var(--bxhd-heading);
  font-size: 1.5rem;
  line-height: 1.3;
}

.bxhd-quote-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 13px;
}

.bxhd-quote-detail__card {
  margin-bottom: 24px;
  padding: 20px 24px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-quote-detail__card--lines {
  overflow-x: auto;
  padding: 16px 20px;
}

.bxhd-quote-detail__lines-row {
  --bxhd-quote-line-cols: minmax(88px, 0.95fr) minmax(88px, 1fr) minmax(88px, 1fr) minmax(52px, 0.48fr) minmax(118px, 0.9fr) minmax(116px, 1.1fr);
  min-width: 720px;
  display: grid;
  grid-template-columns: var(--bxhd-quote-line-cols);
  gap: 12px 14px;
  align-items: start;
}

.bxhd-quote-detail__lines-row--quoted {
  --bxhd-quote-line-cols: minmax(88px, 0.95fr) minmax(88px, 1fr) minmax(88px, 1fr) minmax(52px, 0.48fr) minmax(118px, 0.9fr) minmax(116px, 1.1fr) minmax(96px, 0.85fr) minmax(96px, 0.85fr);
  min-width: 920px;
}

.bxhd-quote-detail__lines-row + .bxhd-quote-detail__lines-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--bxhd-border);
}

.bxhd-quote-detail__quote-total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--bxhd-border);
  font-size: 15px;
}

.bxhd-quote-detail__quote-total strong {
  font-size: 18px;
  color: var(--bxhd-primary, #1a4fd6);
}

.bxhd-quote-detail .bxhd-register-field label {
  margin-bottom: 6px;
}

.bxhd-quote-detail__lines-row .bxhd-register-field label {
  white-space: nowrap;
}

.bxhd-quote-detail__readonly {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  height: 40px;
  padding: 9px 11px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  color: var(--bxhd-text);
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bxhd-quote-detail__readonly.is-mono {
  font-family: var(--bxhd-mono);
  font-weight: 600;
}

.bxhd-quote-detail__readonly--area {
  height: auto;
  min-height: 120px;
  white-space: pre-wrap;
  overflow: auto;
  text-overflow: unset;
}

.bxhd-quote-detail__contact-card h2 {
  margin: 0 0 20px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
}

.bxhd-quote-detail__contact-form.bxhd-register-form {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bxhd-quote-detail__field--comment .bxhd-quote-detail__readonly--area {
  min-height: 120px;
}

.bxhd-quote-detail__admin h2 {
  margin: 0 0 12px;
  font-size: 1.125rem;
}

.bxhd-quote-detail__admin-body {
  color: var(--bxhd-text);
  font-size: 14px;
  line-height: 1.6;
}

.bxhd-quote-detail__card--terms {
  border-color: #dbe4f0;
  background: #f7f9fb;
}

.bxhd-quote-detail__terms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px 24px;
  margin: 0;
}

.bxhd-quote-detail__terms div {
  margin: 0;
}

.bxhd-quote-detail__terms dt {
  margin: 0 0 4px;
  color: var(--bxhd-text-muted, #6b7280);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-quote-detail__terms dd {
  margin: 0;
  color: var(--bxhd-text);
  font-size: 15px;
  font-weight: 600;
}

.bxhd-quote-detail__card--actions {
  border-color: var(--bxhd-primary);
  background: color-mix(in srgb, var(--bxhd-primary) 6%, var(--bxhd-surface-card));
}

.bxhd-quote-detail__action-notice {
  margin: 0 0 16px;
  color: var(--bxhd-text);
  font-size: 14px;
  line-height: 1.5;
}

.bxhd-quote-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bxhd-quote-detail__actions .bxhd-button--ghost {
  border-color: var(--bxhd-primary);
  color: var(--bxhd-primary);
  background: #fff;
}

.bxhd-quote-detail__actions .bxhd-button--ghost:hover {
  background: var(--bxhd-primary);
  border-color: var(--bxhd-primary);
  color: #fff;
}

.bxhd-quote-detail__notice {
  padding: 16px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
}

/* Order detail (My Account view-order) */
.bxhd-order-detail__back {
  margin: 0 0 16px;
}

.bxhd-order-detail__back a {
  color: var(--bxhd-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.bxhd-order-detail__back a:hover {
  text-decoration: underline;
}

.bxhd-order-detail__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.bxhd-order-detail__header h1 {
  margin: 0 0 8px;
  font-family: var(--bxhd-heading);
  font-size: 1.5rem;
  line-height: 1.3;
}

.bxhd-order-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 13px;
}

.bxhd-order-detail__header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.bxhd-order-detail__items,
.bxhd-order-detail__address-card,
.bxhd-order-detail__updates {
  margin-bottom: 24px;
}

.bxhd-order-detail__card-title {
  margin: 0 0 16px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
}

.bxhd-order-detail__table-wrap {
  overflow-x: auto;
}

.bxhd-order-detail__table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
}

.bxhd-order-detail__table thead {
  background: var(--bxhd-surface-low);
}

.bxhd-order-detail__table th {
  padding: 10px 12px;
  border-bottom: 1px solid var(--bxhd-border);
  color: var(--bxhd-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.bxhd-order-detail__table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--bxhd-border);
  color: var(--bxhd-text);
  font-size: 14px;
  line-height: 1.45;
  vertical-align: middle;
}

.bxhd-order-detail__table tbody tr:last-child td {
  border-bottom: 0;
}

.bxhd-order-detail__col-image {
  width: 64px;
}

.bxhd-order-detail__col-qty {
  width: 72px;
  text-align: center;
}

.bxhd-order-detail__col-price {
  width: 108px;
  text-align: right;
  white-space: nowrap;
}

.bxhd-order-detail__thumb-link {
  display: inline-flex;
  text-decoration: none;
}

.bxhd-order-detail__thumb-link:hover .bxhd-order-detail__thumb {
  border-color: var(--bxhd-primary);
}

.bxhd-order-detail__thumb {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--bxhd-border);
  border-radius: var(--bxhd-radius);
  background: var(--bxhd-surface-low);
  padding: 5px;
}

.bxhd-order-detail__part-link {
  color: var(--bxhd-primary);
  font-weight: 600;
  text-decoration: none;
}

.bxhd-order-detail__part-link:hover {
  text-decoration: underline;
}

.bxhd-order-detail__thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.bxhd-order-detail__part.is-mono {
  font-family: var(--bxhd-mono);
  font-weight: 600;
}

.bxhd-order-detail__totals-wrap {
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--bxhd-border);
}

.bxhd-order-detail__totals {
  max-width: 420px;
  margin: 0 0 0 auto;
}

.bxhd-order-detail__total-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bxhd-border);
  font-size: 14px;
}

.bxhd-order-detail__total-row:last-child {
  border-bottom: 0;
}

.bxhd-order-detail__total-row dt {
  margin: 0;
  color: var(--bxhd-muted);
  font-weight: 500;
}

.bxhd-order-detail__total-row dd {
  margin: 0;
  color: var(--bxhd-text);
  font-weight: 600;
  text-align: right;
}

.bxhd-order-detail__total-row.is-grand-total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 2px solid var(--bxhd-border);
}

.bxhd-order-detail__total-row.is-grand-total dt,
.bxhd-order-detail__total-row.is-grand-total dd {
  color: var(--bxhd-text);
  font-size: 15px;
  font-weight: 700;
}

.bxhd-order-detail__addresses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.bxhd-order-detail__address {
  display: grid;
  gap: 4px;
  margin: 0;
  color: var(--bxhd-text);
  font-size: 14px;
  font-style: normal;
  line-height: 1.5;
}

.bxhd-order-detail__notes {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-order-detail__notes li {
  padding: 14px 0;
  border-bottom: 1px solid var(--bxhd-border);
}

.bxhd-order-detail__notes li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.bxhd-order-detail__notes time {
  display: block;
  margin-bottom: 6px;
  color: var(--bxhd-muted);
  font-size: 12px;
}

.bxhd-order-detail__notes p {
  margin: 0;
  color: var(--bxhd-text);
  font-size: 14px;
  line-height: 1.55;
}

body.woocommerce-account .woocommerce-notices-wrapper,
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error,
.bxhd-account-page .woocommerce-notices-wrapper,
.bxhd-account-page .woocommerce-message,
.bxhd-account-page .woocommerce-info,
.bxhd-account-page .woocommerce-error {
  display: none !important;
}

.bxhd-account-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* Account list pages (orders / quotes) */
.bxhd-account-list__hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px 24px;
  margin-bottom: 32px;
}

.bxhd-account-list__hero-copy h1 {
  margin: 0 0 8px;
  font-family: var(--bxhd-heading);
  font-size: clamp(1.75rem, 3vw, 2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bxhd-account-list__hero-copy p {
  margin: 0;
  max-width: 42rem;
  color: var(--bxhd-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.bxhd-account-list__toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bxhd-account-list__select select {
  min-width: 160px;
  padding: 10px 36px 10px 16px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  color: var(--bxhd-text);
  font-size: 14px;
}

.bxhd-account-list__tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  color: var(--bxhd-text);
  font-size: 14px;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.72;
}

.bxhd-account-list__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.bxhd-account-list__stat {
  padding: 16px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
}

.bxhd-account-list__stat p {
  margin: 0 0 8px;
  color: var(--bxhd-muted);
  font-size: 12px;
}

.bxhd-account-list__stat-value strong {
  font-family: var(--bxhd-heading);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--bxhd-primary);
}

.bxhd-account-list__table-card {
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: 12px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-account-table--list thead {
  background: #f1f5f9;
}

.bxhd-account-table__row:hover {
  background: rgba(200, 231, 252, 0.25);
}

.bxhd-account-table__amount {
  font-weight: 600;
}

.bxhd-account-table__link-action {
  color: var(--bxhd-primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.bxhd-account-table__link-action:hover {
  text-decoration: underline;
}

.bxhd-account-table__entity {
  display: block;
  font-weight: 600;
}

.bxhd-account-table__entity-sub {
  display: block;
  margin-top: 4px;
  color: var(--bxhd-muted);
  font-size: 12px;
}

.bxhd-account-table__icon-actions {
  display: inline-flex;
  justify-content: flex-end;
  gap: 8px;
}

.bxhd-account-table__icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--bxhd-primary);
  transition: background-color 0.2s ease;
}

.bxhd-account-table__icon-btn:hover {
  background: var(--bxhd-surface-low);
}

.bxhd-account-table__icon-btn.is-disabled {
  color: var(--bxhd-muted);
  opacity: 0.45;
  pointer-events: none;
}

.bxhd-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.bxhd-pill__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentColor;
}

.bxhd-pill__icon {
  font-size: 12px;
  line-height: 1;
}

.bxhd-pill--info {
  background: rgba(8, 99, 236, 0.12);
  color: #1d4ed8;
}

.bxhd-pill--warning {
  background: rgba(245, 158, 11, 0.14);
  color: var(--bxhd-warning-strong);
}

.bxhd-pill--success {
  background: rgba(16, 185, 129, 0.14);
  color: var(--bxhd-success-strong);
}

.bxhd-pill--error {
  background: rgba(239, 68, 68, 0.12);
  color: var(--bxhd-error-strong);
}

.bxhd-pill--quoted {
  background: var(--bxhd-info-surface);
  color: var(--bxhd-primary);
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}

.bxhd-pill--neutral {
  background: var(--bxhd-surface-low);
  color: var(--bxhd-muted);
}

.bxhd-account-list__pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-top: 1px solid var(--bxhd-border);
  background: var(--bxhd-surface-low);
}

.bxhd-account-list__pagination-summary {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 12px;
}

.bxhd-account-list__pagination-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bxhd-account-list__page-btn,
.bxhd-account-list__page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid var(--bxhd-border);
  border-radius: 4px;
  background: var(--bxhd-surface-card);
  color: var(--bxhd-text);
  font-family: var(--bxhd-mono);
  font-size: 13px;
  text-decoration: none;
}

.bxhd-account-list__page-num.is-active {
  border-color: var(--bxhd-primary);
  background: var(--bxhd-primary);
  color: #fff;
}

.bxhd-account-list__page-btn.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.bxhd-account-list__empty {
  padding: 48px 32px;
  border: 1px solid var(--bxhd-border);
  border-radius: 12px;
  background: var(--bxhd-surface-card);
  text-align: center;
}

.bxhd-account-list__empty p {
  margin: 0 0 16px;
  color: var(--bxhd-muted);
}

.bxhd-account-list__demo-notice {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid var(--bxhd-info-border);
  border-radius: 8px;
  background: var(--bxhd-info-surface);
  color: var(--bxhd-primary);
  font-size: 13px;
  font-weight: 500;
}

.bxhd-account-list__stat-delta {
  margin-left: 8px;
  color: var(--bxhd-success);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 500;
}

.bxhd-account-list__stat-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

/* Account details */
.bxhd-account-details__hero {
  margin-bottom: 24px;
}

.bxhd-account-details__form {
  display: grid;
  gap: 24px;
}

.bxhd-account-details__card {
  overflow: visible;
  border: 1px solid var(--bxhd-border);
  border-radius: 12px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-account-details__card-head {
  padding: 20px 24px;
  border-bottom: 1px solid var(--bxhd-border);
  background: #f1f5f9;
}

.bxhd-account-details__card-head h2 {
  margin: 0 0 4px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
  line-height: 1.4;
}

.bxhd-account-details__card-head p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-account-details__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
}

.bxhd-account-details__grid--single {
  grid-template-columns: 1fr;
}

.bxhd-account-details__grid .bxhd-register-field {
  min-width: 0;
}

.bxhd-account-details__grid .bxhd-register-field--full {
  grid-column: 1 / -1;
}

.bxhd-account-details__grid .bxhd-register-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23424655' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 36px;
}

.bxhd-phone-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-phone-input {
  display: flex;
  align-items: stretch;
  min-height: 40px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  overflow: visible;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bxhd-phone-input:focus-within,
.bxhd-phone-input.is-open {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 3px rgba(8, 99, 236, 0.12);
}

.bxhd-phone-input__dial {
  position: relative;
  flex: 0 0 auto;
  border-right: 1px solid #c2c6d7;
}

.bxhd-phone-input__dial-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  margin: 0;
  padding: 0 10px;
  border: 0;
  background: #f7f9fb;
  color: var(--bxhd-text);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.bxhd-phone-input__dial-trigger:hover {
  background: #ebeeff;
}

.bxhd-phone-input__dial-code {
  min-width: 2.8em;
  text-align: left;
  white-space: nowrap;
}

.bxhd-phone-input__caret {
  width: 10px;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23424655' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px 6px;
  transition: transform 0.18s ease;
}

.bxhd-phone-input.is-open .bxhd-phone-input__caret {
  transform: rotate(180deg);
}

.bxhd-phone-input__panel {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 60;
  width: min(280px, 78vw);
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  box-shadow: var(--bxhd-shadow);
}

.bxhd-phone-input__panel.is-floating {
  position: fixed;
  top: auto;
  left: auto;
}

.bxhd-phone-input__filter {
  width: 100%;
  min-height: 36px;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: var(--bxhd-radius) var(--bxhd-radius) 0 0;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.bxhd-phone-input__filter:focus {
  background: #f7f9fb;
}

.bxhd-phone-input__options {
  max-height: 220px;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
}

.bxhd-phone-input__option {
  padding: 8px 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--bxhd-text);
  cursor: pointer;
}

.bxhd-phone-input__option.is-active,
.bxhd-phone-input__option:hover {
  background: #ebeeff;
  color: var(--bxhd-primary-dark);
}

.bxhd-phone-input__option[hidden] {
  display: none;
}

.bxhd-phone-input__number {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 38px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--bxhd-text);
  padding: 9px 11px;
  font-size: 14px;
  outline: none;
  box-shadow: none !important;
}

.bxhd-phone-input__number:focus {
  border: 0 !important;
  box-shadow: none !important;
}

.bxhd-register-field:has(.bxhd-phone-input.is-open) {
  position: relative;
  z-index: 40;
}

.bxhd-register-form.is-loading .bxhd-phone-input__number,
.bxhd-register-form.is-loading .bxhd-phone-input__dial-trigger {
  pointer-events: none;
}

/* Searchable country field — same shell as register <select> (design: single border + chevron) */
.bxhd-country-select {
  position: relative;
  min-width: 0;
}

.bxhd-country-select label,
.bxhd-register-field .bxhd-country-select > label {
  display: block;
  margin-bottom: 6px;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-country-select__control {
  position: relative;
}

.bxhd-country-select__input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23424655' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  color: var(--bxhd-text);
  padding: 9px 36px 9px 11px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bxhd-country-select__input:focus,
.bxhd-country-select.is-open .bxhd-country-select__input {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 3px rgba(8, 99, 236, 0.12);
}

.bxhd-country-select__toggle {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.bxhd-register-field:has(.bxhd-country-select.is-open),
.bxhd-account-details__grid .bxhd-register-field:has(.bxhd-country-select.is-open) {
  position: relative;
  z-index: 40;
}

.bxhd-country-select__native {
  position: absolute;
  inset: auto;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.bxhd-country-select__list {
  position: absolute;
  z-index: 50;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  max-height: 220px;
  margin: 0;
  padding: 4px 0;
  overflow-y: auto;
  list-style: none;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  box-shadow: var(--bxhd-shadow);
}

.bxhd-country-select__list.is-floating {
  position: fixed;
  right: auto;
  z-index: 200;
}

.bxhd-country-select__option {
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.35;
  color: var(--bxhd-text);
  cursor: pointer;
}

.bxhd-country-select__option.is-active,
.bxhd-country-select__option:hover {
  background: var(--bxhd-surface-low);
  color: var(--bxhd-primary);
}

.bxhd-country-select__option[hidden] {
  display: none;
}

.bxhd-account-details .woocommerce-password-strength,
.bxhd-account-details .woocommerce-password-hint {
  display: none !important;
}

.bxhd-account-details__actions {
  display: flex;
  justify-content: flex-start;
  padding-top: 8px;
}

.bxhd-account-details .woocommerce-notices-wrapper {
  margin-bottom: 0;
}

.bxhd-account .woocommerce-form-login {
  max-width: 480px;
  margin-inline: auto;
  padding: 32px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

@media (max-width: 1024px) {
  .bxhd-account__layout {
    grid-template-columns: 1fr;
  }

  .bxhd-account__sidebar-card {
    position: static;
  }

  .bxhd-account-dashboard__grid {
    grid-template-columns: 1fr;
  }

  .bxhd-account__nav a {
    white-space: normal;
  }

  .bxhd-account__nav-label {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .bxhd-account-form__grid {
    grid-template-columns: 1fr;
  }

  .bxhd-account-dashboard__stats {
    grid-template-columns: 1fr;
  }

  .bxhd-account-table th,
  .bxhd-account-table td {
    padding: 12px 16px;
  }

  .bxhd-account-list__stats {
    grid-template-columns: 1fr;
  }

  .bxhd-account-list__hero {
    align-items: flex-start;
  }

  .bxhd-account-list__pagination {
    flex-direction: column;
    align-items: flex-start;
  }

  .bxhd-account-details__grid {
    grid-template-columns: 1fr;
  }

  .bxhd-quote-detail__steps--horizontal {
    flex-wrap: wrap;
    row-gap: 16px;
  }

  .bxhd-quote-detail__steps--horizontal li {
    flex: 1 1 calc(50% - 8px);
    min-width: 0;
    padding: 0 8px 0;
  }

  .bxhd-quote-detail__steps--horizontal li:nth-child(odd):not(:last-child)::after {
    right: 8px;
  }

  .bxhd-quote-detail__steps--horizontal li:nth-child(1)::after,
  .bxhd-quote-detail__steps--horizontal li:nth-child(3)::after {
    display: block;
  }

  .bxhd-quote-detail__steps--horizontal li:nth-child(2)::after,
  .bxhd-quote-detail__steps--horizontal li:nth-child(4)::after {
    display: none;
  }

  .bxhd-quote-detail__header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .bxhd-quote-detail__view-quote-btn {
    width: 100%;
  }

  .bxhd-quote-detail__card--lines {
    overflow-x: visible;
  }

  .bxhd-quote-detail__lines-row {
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .bxhd-order-detail__totals {
    max-width: none;
    margin-left: 0;
  }

  .bxhd-order-detail__addresses {
    grid-template-columns: 1fr;
  }

  .bxhd-quote-detail__contact-form.bxhd-register-form {
    grid-template-columns: 1fr;
  }

  .bxhd-rfq-cart__line,
  .bxhd-rfq-cart__lines-head {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .bxhd-rfq-cart__lines-head {
    display: none;
  }

  .bxhd-rfq-cart__field[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 6px;
    color: var(--bxhd-muted);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
  }

  .bxhd-rfq-cart__contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      'contact'
      'country'
      'company'
      'email'
      'telephone'
      'comment';
  }
}

/* RFQ cart */
.bxhd-rfq-cart-page {
  background: var(--bxhd-surface);
  padding-block: 32px 72px;
}

.bxhd-rfq-cart__shell {
  margin-bottom: 24px;
}

.bxhd-rfq-cart__main {
  min-width: 0;
}

.bxhd-rfq-cart__steps-bar {
  margin-bottom: 24px;
}

.bxhd-rfq-cart__card {
  margin-bottom: 24px;
  padding: 20px 24px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-rfq-cart__contact h2 {
  margin: 0 0 20px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
}

.bxhd-rfq-cart__lines {
  overflow-x: auto;
}

.bxhd-rfq-cart__lines-head,
.bxhd-rfq-cart__line {
  --bxhd-rfq-cart-cols: minmax(88px, 0.95fr) minmax(88px, 1fr) minmax(88px, 1fr) minmax(52px, 0.48fr) minmax(118px, 0.9fr) minmax(100px, 0.85fr) minmax(116px, 1.05fr) 40px;
  display: grid;
  grid-template-columns: var(--bxhd-rfq-cart-cols);
  gap: 12px 14px;
  align-items: start;
  min-width: 1040px;
}

.bxhd-rfq-cart__lines-head {
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--bxhd-border);
  color: var(--bxhd-muted);
  font-size: 12px;
  font-weight: 600;
}

.bxhd-rfq-cart__lines-head span {
  white-space: nowrap;
}

.bxhd-rfq-cart__lines-head span:nth-child(5) {
  min-width: 118px;
}

.bxhd-rfq-cart__lines-body > .bxhd-rfq-cart__line ~ .bxhd-rfq-cart__line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--bxhd-border);
}

.bxhd-rfq-cart__contact-section .bxhd-register-field label,
.bxhd-rfq-cart__contact-section .bxhd-country-select > label {
  margin-bottom: 6px;
}

.bxhd-rfq-cart__control {
  position: relative;
}

.bxhd-rfq-cart__control input {
  width: 100%;
  min-height: 40px;
  padding: 9px 52px 9px 11px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  color: var(--bxhd-text);
  font-size: 14px;
}

.bxhd-rfq-cart__control input.is-mono {
  font-family: var(--bxhd-mono);
  font-weight: 600;
}

.bxhd-rfq-cart__control input:focus {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 2px rgba(8, 99, 236, 0.16);
  outline: none;
}

.bxhd-rfq-cart__control--no-counter input,
.bxhd-rfq-cart__control input.bxhd-rfq-cart__input--no-counter {
  padding-right: 11px;
}

.bxhd-rfq-cart__counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  color: var(--bxhd-muted);
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
}

.bxhd-rfq-cart__required {
  color: #d63638;
}

.bxhd-rfq-cart__line-remove {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
}

.bxhd-rfq-cart__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a93a8;
  cursor: pointer;
}

.bxhd-rfq-cart__remove:hover {
  color: #d63638;
  background: rgba(214, 54, 56, 0.08);
}

.bxhd-rfq-cart__remove-icon {
  display: block;
}

.bxhd-rfq-cart__lines-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.bxhd-rfq-cart__contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    'contact country company'
    'email comment comment'
    'telephone comment comment';
}

.bxhd-rfq-cart__contact-grid .bxhd-register-field:nth-child(1) {
  grid-area: contact;
}

.bxhd-rfq-cart__contact-grid .bxhd-register-field:nth-child(2) {
  grid-area: country;
}

.bxhd-rfq-cart__contact-grid .bxhd-register-field:nth-child(3) {
  grid-area: company;
}

.bxhd-rfq-cart__contact-grid .bxhd-register-field:nth-child(4) {
  grid-area: email;
}

.bxhd-rfq-cart__contact-grid .bxhd-register-field:nth-child(5) {
  grid-area: comment;
}

.bxhd-rfq-cart__contact-grid .bxhd-register-field:nth-child(6) {
  grid-area: telephone;
}

.bxhd-rfq-cart__contact-grid .bxhd-register-field input:not(.bxhd-phone-input__number):not(.bxhd-phone-input__filter),
.bxhd-rfq-cart__contact-grid .bxhd-register-field textarea,
.bxhd-rfq-cart__contact-grid .bxhd-country-select__input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  color: var(--bxhd-text);
  padding: 9px 11px;
  font-size: 14px;
}

.bxhd-rfq-cart__contact-grid .bxhd-register-field textarea {
  min-height: 120px;
  resize: vertical;
}

.bxhd-rfq-cart__submit-wrap {
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.bxhd-rfq-cart__submit {
  min-width: min(100%, 320px);
  max-width: 420px;
}

.bxhd-rfq-cart__notices {
  margin: 0;
}

/* Toast notifications — top-right, auto-dismiss with countdown bar */
.bxhd-notices-source,
.bxhd-notices-source.bxhd-register-notices,
.bxhd-rfq-cart__notices,
.woocommerce-notices-wrapper {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bxhd-toast-host {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 100050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  width: min(360px, calc(100vw - 40px));
  pointer-events: none;
  border: none;
  background: transparent;
}

.bxhd-toast-host .woocommerce-message,
.bxhd-toast-host .woocommerce-info,
.bxhd-toast-host .woocommerce-error,
.bxhd-toast-host .bxhd-alert {
  display: none !important;
}

.bxhd-toast {
  --bxhd-toast-duration: 5000ms;
  position: relative;
  width: 100%;
  overflow: hidden;
  border: none !important;
  outline: none !important;
  border-radius: 4px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
  opacity: 0;
  transform: translateX(16px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: auto;
}

.bxhd-toast::before,
.bxhd-toast::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
}

.bxhd-toast.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.bxhd-toast--success {
  background: var(--bxhd-success-strong);
}

.bxhd-toast--error {
  background: var(--bxhd-error-strong);
}

.bxhd-toast--info {
  background: var(--bxhd-primary);
}

.bxhd-toast__body {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 10px;
  padding: 14px 14px 12px;
}

.bxhd-toast__icon {
  display: grid;
  place-items: center;
  margin-top: 1px;
  color: #fff;
}

.bxhd-toast__message {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #fff;
}

.bxhd-toast__close {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.bxhd-toast__close:hover {
  color: #fff;
}

.bxhd-toast__progress {
  height: 3px;
  background: rgba(0, 0, 0, 0.12);
}

.bxhd-toast__progress-bar {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: left center;
  transform: scaleX(1);
  background: rgba(255, 255, 255, 0.42);
  animation: bxhd-toast-countdown var(--bxhd-toast-duration, 5000ms) linear forwards;
}

.bxhd-toast--success .bxhd-toast__progress-bar {
  background: rgba(255, 255, 255, 0.5);
}

.bxhd-toast--error .bxhd-toast__progress-bar {
  background: rgba(255, 255, 255, 0.45);
}

@keyframes bxhd-toast-countdown {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

@media (max-width: 640px) {
  .bxhd-toast-host {
    top: 12px;
    right: 12px;
    width: min(340px, calc(100vw - 24px));
  }
}

/* Checkout */
.bxhd-checkout-page {
  padding-bottom: 48px;
}

.bxhd-checkout__shell {
  padding-top: 16px;
}

.bxhd-checkout__main {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
}

.bxhd-checkout__header h1 {
  margin: 8px 0 0;
  font-family: var(--bxhd-heading);
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  line-height: 1.2;
}

.bxhd-checkout__kicker {
  margin: 0;
  color: var(--bxhd-primary);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bxhd-checkout__intro {
  margin: 10px 0 0;
  max-width: 720px;
  color: var(--bxhd-muted);
  font-size: 15px;
}

.bxhd-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.bxhd-checkout__layout > .bxhd-checkout-card {
  align-self: start;
  margin: 0;
}

.bxhd-checkout-card {
  overflow: hidden;
  border: 1px solid var(--bxhd-border);
  border-radius: 12px;
  background: var(--bxhd-surface-card);
  box-shadow: var(--bxhd-shadow);
}

.bxhd-checkout-card--summary {
  position: sticky;
  top: 24px;
}

.bxhd-checkout-card__head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 76px;
  padding: 20px 24px;
  border-bottom: 1px solid color-mix(in srgb, var(--bxhd-primary) 12%, var(--bxhd-border));
  background: var(--bxhd-info-surface);
}

.bxhd-checkout-card__head h2 {
  margin: 0 0 4px;
  font-family: var(--bxhd-heading);
  font-size: 1.125rem;
  line-height: 1.4;
}

.bxhd-checkout-card__head p {
  margin: 0;
  color: var(--bxhd-muted);
  font-size: 14px;
}

.bxhd-checkout-card__body {
  padding: 24px;
}

.bxhd-checkout-card__body--flush {
  padding: 0;
}

.bxhd-checkout-card--notice .bxhd-checkout-card__body {
  padding: 20px 24px;
}

.bxhd-checkout-card--success {
  border-color: var(--bxhd-success-border);
  background: var(--bxhd-success-surface);
}

.bxhd-checkout-card--error {
  border-color: var(--bxhd-error-border);
  background: var(--bxhd-error-surface);
}

.bxhd-checkout-card__body--fields {
  display: grid;
  gap: 20px;
}

.bxhd-checkout-page .woocommerce-billing-fields h3,
.bxhd-checkout-page .woocommerce-additional-fields h3 {
  display: none;
}

.bxhd-checkout-fields.bxhd-register-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.bxhd-checkout-fields .form-row,
.bxhd-checkout-fields .bxhd-register-field {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.bxhd-checkout-fields .form-row-wide,
.bxhd-checkout-fields .bxhd-register-field--full,
.bxhd-checkout-page .form-row.place-order,
.bxhd-checkout-page #payment .form-row {
  grid-column: 1 / -1;
}

.bxhd-checkout-fields .form-row > label,
.bxhd-checkout-fields .bxhd-register-field > label,
.bxhd-checkout-fields .bxhd-country-select > label {
  display: block;
  margin-bottom: 6px;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bxhd-checkout-fields .woocommerce-input-wrapper {
  display: block;
}

.bxhd-checkout-fields .input-text,
.bxhd-checkout-fields select:not(.bxhd-country-select__native),
.bxhd-checkout-fields textarea,
.bxhd-checkout-fields .bxhd-country-select__input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #c2c6d7;
  border-radius: var(--bxhd-radius);
  background: #fff;
  color: var(--bxhd-text);
  padding: 9px 11px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.bxhd-checkout-fields .input-text:focus,
.bxhd-checkout-fields select:not(.bxhd-country-select__native):focus,
.bxhd-checkout-fields textarea:focus,
.bxhd-checkout-fields .bxhd-country-select__input:focus,
.bxhd-checkout-fields .bxhd-country-select.is-open .bxhd-country-select__input {
  border-color: var(--bxhd-primary);
  box-shadow: 0 0 0 3px rgba(8, 99, 236, 0.12);
}

.bxhd-checkout-fields select:not(.bxhd-country-select__native) {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23424655' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  padding-right: 36px;
}

.bxhd-checkout-fields .bxhd-country-select__native {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.bxhd-checkout-fields .bxhd-country-select .select2-container {
  display: none !important;
}

.bxhd-checkout-fields textarea {
  min-height: 96px;
  resize: vertical;
  line-height: 1.5;
}

.bxhd-checkout-fields .bxhd-country-select__control {
  position: relative;
}

.bxhd-checkout-fields .bxhd-register-field:has(.bxhd-country-select.is-open) {
  position: relative;
  z-index: 3;
}

.bxhd-checkout-ship-toggle {
  margin: 0;
}

.bxhd-checkout-ship-toggle label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--bxhd-text);
  font-family: var(--bxhd-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.bxhd-checkout-ship-toggle input {
  margin-top: 3px;
}

.bxhd-checkout-create-account label {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--bxhd-text);
  font-family: var(--bxhd-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
}

.bxhd-checkout-page .woocommerce-privacy-policy-text {
  color: var(--bxhd-muted);
  font-size: 13px;
  line-height: 1.5;
}

.bxhd-checkout-table-wrap {
  overflow-x: auto;
}

.bxhd-checkout-table {
  width: 100%;
  border-collapse: collapse;
}

.bxhd-checkout-table thead {
  background: #f1f5f9;
}

.bxhd-checkout-table th {
  padding: 12px 16px;
  border-bottom: 1px solid var(--bxhd-border);
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
}

.bxhd-checkout-table td,
.bxhd-checkout-table tfoot th {
  padding: 14px 16px;
  border-bottom: 1px solid var(--bxhd-border);
  font-size: 14px;
  vertical-align: top;
}

.bxhd-checkout-table .product-quantity {
  width: 72px;
  text-align: center;
  white-space: nowrap;
}

.bxhd-checkout-table .product-total,
.bxhd-checkout-table .product-subtotal {
  width: 120px;
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.bxhd-checkout-table tfoot th {
  color: var(--bxhd-muted);
  font-weight: 600;
  text-align: right;
}

.bxhd-checkout-table tr.order-total td,
.bxhd-checkout-table tr.order-total th {
  border-bottom: 0;
  color: var(--bxhd-text);
  font-size: 16px;
  font-weight: 700;
}

.bxhd-checkout-page .shop_table.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
}

.bxhd-checkout-page .woocommerce-checkout-review-order-table thead {
  display: none;
}

.bxhd-checkout-page .woocommerce-checkout-review-order-table td,
.bxhd-checkout-page .woocommerce-checkout-review-order-table th {
  padding: 12px 0;
  border-bottom: 1px solid var(--bxhd-border);
  font-size: 14px;
}

.bxhd-checkout-page .woocommerce-checkout-review-order-table .product-total,
.bxhd-checkout-page .woocommerce-checkout-review-order-table tfoot td {
  text-align: right;
  font-weight: 600;
}

.bxhd-checkout-page .woocommerce-checkout-review-order-table tr.order-total th,
.bxhd-checkout-page .woocommerce-checkout-review-order-table tr.order-total td {
  border-bottom: 0;
  padding-top: 16px;
  font-size: 18px;
  font-weight: 700;
}

.bxhd-checkout-page #payment {
  background: transparent;
  border-radius: 0;
}

.bxhd-checkout-page #payment .payment_methods {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
  list-style: none;
}

.bxhd-checkout-page #payment .wc_payment_method {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 10px;
  margin: 0 0 10px;
  padding: 14px 16px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: #fff;
}

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

.bxhd-checkout-page #payment .wc_payment_method > input[type="radio"] {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
}

.bxhd-checkout-page #payment .wc_payment_method > label {
  display: flex;
  align-items: center;
  gap: 10px;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--bxhd-text);
  font-family: var(--bxhd-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}

.bxhd-checkout-page #payment .wc_payment_method > .payment_box {
  grid-column: 1 / -1;
}

body.woocommerce-checkout .bxhd-checkout-page #payment div.payment_box,
.bxhd-checkout-page #payment div.payment_box,
.bxhd-checkout-page #payment .payment_box {
  margin: 12px 0 0;
  padding: 14px 16px 16px;
  border: 0;
  border-radius: 0;
  border-top: 1px solid color-mix(in srgb, var(--bxhd-primary) 12%, var(--bxhd-border));
  background: var(--bxhd-info-surface) !important;
  background-color: var(--bxhd-info-surface) !important;
  color: var(--bxhd-text);
  font-size: 14px;
  line-height: 1.5;
}

.bxhd-checkout-page #payment .testmode-info {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: transparent !important;
  background-color: transparent !important;
  color: var(--bxhd-text);
  line-height: 1.55;
}

.bxhd-checkout-page #payment .payment_box fieldset,
.bxhd-checkout-page #payment #wc-stripe-upe-form,
.bxhd-checkout-page #payment .wc-upe-form {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.bxhd-checkout-page #payment .wc-stripe-upe-element {
  margin-bottom: 0;
}

body.woocommerce-checkout .bxhd-checkout-page #payment div.payment_box::before,
.bxhd-checkout-page #payment div.payment_box::before,
.bxhd-checkout-page #payment .payment_box::before {
  border: 1em solid var(--bxhd-info-surface) !important;
  border-right-color: transparent !important;
  border-left-color: transparent !important;
  border-top-color: transparent !important;
}

.bxhd-checkout-form > .woocommerce-checkout-payment,
.bxhd-checkout-form > #wc-stripe-express-checkout-element,
.bxhd-checkout-form > .wc-stripe-express-checkout,
.bxhd-checkout-form > [class*="express-checkout"] {
  margin-bottom: 20px;
}

.bxhd-checkout-page #payment .wc-terms-and-conditions,
.bxhd-checkout-page #payment .terms,
.bxhd-checkout-page #payment .woocommerce-terms-and-conditions-wrapper {
  float: none;
  width: 100%;
  padding: 0;
}

.bxhd-checkout-page .place-order {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin-top: 20px;
  float: none;
  clear: both;
}

.bxhd-checkout-page #payment #place_order {
  float: none;
}

.bxhd-checkout-page .bxhd-checkout-terms {
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
}

.bxhd-checkout-page .bxhd-checkout-terms label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  margin: 0;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.55;
  text-transform: none;
  cursor: pointer;
}

.bxhd-checkout-page .bxhd-checkout-terms input[type="checkbox"] {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  margin: 3px 0 0;
  accent-color: var(--bxhd-primary);
}

.bxhd-checkout-page .bxhd-checkout-terms__text {
  flex: 1;
  min-width: 0;
}

.bxhd-checkout-page .bxhd-checkout-terms a {
  color: var(--bxhd-primary);
  font-weight: 700;
}

.bxhd-checkout-page .bxhd-checkout-terms a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bxhd-checkout-page .bxhd-checkout-terms .required {
  margin-left: 2px;
  color: var(--bxhd-danger, #c62828);
  text-decoration: none;
}

.bxhd-checkout__submit {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}

.bxhd-checkout-bacs-compact {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--bxhd-border);
}

.bxhd-checkout-bacs-compact .bxhd-checkout-bacs__account {
  margin: 0;
}

.bxhd-checkout-bacs__grid {
  display: grid;
  gap: 16px;
}

.bxhd-checkout-bacs__account {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
  margin: 0;
  padding: 16px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-low);
}

.bxhd-checkout-bacs__account > div {
  min-width: 0;
}

.bxhd-checkout-bacs__account dt {
  margin: 0 0 4px;
  color: var(--bxhd-muted);
  font-family: var(--bxhd-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.bxhd-checkout-bacs__account dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.bxhd-checkout-bacs__account .is-mono {
  font-family: var(--bxhd-mono);
}

.bxhd-checkout-order-overview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bxhd-checkout-order-overview li {
  padding: 12px 14px;
  border: 1px solid var(--bxhd-border);
  border-radius: 8px;
  background: var(--bxhd-surface-low);
  color: var(--bxhd-muted);
  font-size: 13px;
}

.bxhd-checkout-order-overview strong {
  display: block;
  margin-top: 4px;
  color: var(--bxhd-text);
  font-size: 15px;
}

.bxhd-checkout-thankyou__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bxhd-checkout-page .woocommerce-info,
.bxhd-checkout-page .woocommerce-message,
.bxhd-checkout-page .woocommerce-error {
  display: none;
}

@media (max-width: 1024px) {
  .bxhd-checkout__layout {
    grid-template-columns: 1fr;
  }

  .bxhd-checkout-card--summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .bxhd-checkout-fields.bxhd-register-form,
  .bxhd-checkout-bacs__account,
  .bxhd-checkout-order-overview {
    grid-template-columns: 1fr;
  }
}

/* Error pages (404 / 500) */
.bxhd-error-page {
  background: var(--bxhd-surface);
  padding-block: 32px 72px;
}

.bxhd-error-page__shell {
  margin-bottom: 24px;
}

.bxhd-error-page__content {
  display: flex;
  justify-content: center;
}

.bxhd-error-page__panel {
  width: min(100%, 640px);
  text-align: center;
}

.bxhd-error-page__icon {
  display: block;
  width: min(100%, 180px);
  height: auto;
  margin: 0 auto 16px;
}

.bxhd-error-page__title {
  margin: 0 0 12px;
  color: var(--bxhd-primary-dark);
  font-family: var(--bxhd-heading);
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  line-height: 1.2;
}

.bxhd-error-page__message {
  max-width: 460px;
  margin: 0 auto 28px;
  color: var(--bxhd-muted);
  font-size: 16px;
  line-height: 1.65;
}

.bxhd-error-page__actions {
  display: flex;
  justify-content: center;
}

.bxhd-error-page__actions .bxhd-button {
  min-width: 200px;
}
