/* Page head: breadcrumb + title on every inner page (template-parts/page-head.php).
   Replaces the old grey .breadcrumb-section box. Breadcrumb look = account pages. */
.page-head { padding: 28px 0 0; }
.page-head .account-breadcrumb { margin: 0 0 14px; }
.page-head .breadcrumb { padding: 0; list-style: none; }
.page-head .breadcrumb-item { display: inline-flex; align-items: center; }
.page-head .breadcrumb-item a { display: inline-flex; align-items: center; color: #303232; transition: color .15s; }
.page-head .breadcrumb-item a:hover { color: #000; text-decoration: underline; }

.page-head__title {
	position: relative;
	margin: 0;
	padding-inline-start: 14px;
	font-size: 26px;
	line-height: 1.6;
	font-weight: 700;
	color: #1f2937;
	overflow-wrap: anywhere;
}
/* accent bar at the start (right side in RTL) of the title */
.page-head__title::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: .3em;
	bottom: .3em;
	width: 4px;
	border-radius: 4px;
	background: #303232;
}
.page-head__title--hidden {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.page-head__title--hidden::before { display: none; }

@media (max-width: 640px) {
	.page-head { padding-top: 18px; }
	.page-head__title { font-size: 20px; }
}

/* title row: title at the start (right in RTL), optional aside (shop sort) at the end (left) */
.page-head__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.page-head__aside { margin-inline-start: auto; }
.page-head__aside .dropdown-menu { right: auto; left: 0; }

/* a11y: breadcrumb current page text met only 2.5:1 contrast on white (WCAG AA needs 4.5:1) */
.breadcrumb-item.active { color: #6b7280 !important; }

/* a11y: touch devices - links/buttons should be at least ~32px tall (WCAG 2.5.8 minimum is 24px, 32px is more comfortable) */
@media (pointer: coarse) {
  #logo a, .mn-logo, footer a, .breadcrumb a, .mcotp-toggle, .contact-title a { display: inline-flex; align-items: center; min-height: 32px; }
  footer a, .breadcrumb a { min-width: 32px; justify-content: center; }
  .posts-navigation a, .nav-links a { display: inline-flex; align-items: center; min-height: 32px; }
  #search-input-global { min-height: 32px; }
  .product-details h5 a { min-height: 32px; }
}
