/*
Theme Name: apexmp-core
Template: twentytwentyfive
Version: 0.4.0
Description: ApexMP child theme for the rebuilt WooCommerce shop.
Text Domain: apexmp-core
*/

:root {
  --apexmp-bg: #07090b;
  --apexmp-bg-soft: #101418;
  --apexmp-bg-card: #13181d;
  --apexmp-bg-card-strong: #0d1115;
  --apexmp-text: #f2f7fa;
  --apexmp-text-muted: #a9b7c2;
  --apexmp-text-soft: #7e8d97;
  --apexmp-cyan: #49f6fd;
  --apexmp-cyan-soft: rgba(73, 246, 253, 0.14);
  --apexmp-cyan-glow: rgba(73, 246, 253, 0.32);
  --apexmp-border: #1e262d;
  --apexmp-border-strong: rgba(73, 246, 253, 0.38);
  --apexmp-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --apexmp-content-width: 1320px;
  --apexmp-radius: 0;
}

html,
body {
  background: var(--apexmp-bg);
  color: var(--apexmp-text);
}

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

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.apexmp-scrolled :where(.wp-site-blocks) > header {
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

a {
  color: var(--apexmp-cyan);
}

a:hover,
a:focus {
  color: #9efbff;
}

button,
.wp-element-button,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
input,
textarea,
select {
  border-radius: 0;
}

.wp-site-blocks,
.site,
.site-content,
main {
  background: var(--apexmp-bg);
  color: var(--apexmp-text);
}

header,
footer,
.wp-block-template-part,
.wp-block-post-content,
.wp-block-group,
.wp-block-columns {
  color: var(--apexmp-text);
}

header.wp-block-template-part,
footer.wp-block-template-part,
.wp-block-group.has-background,
.wp-block-cover,
.wp-block-column,
.wp-block-post,
.wp-block-query,
.wp-block-navigation-submenu {
  background-color: var(--apexmp-bg-soft);
}

main > .wp-block-group,
main > .wp-block-columns,
main > .wp-block-cover,
main > .wp-block-post-content > .wp-block-group,
main > .wp-block-post-content > .wp-block-columns {
  border: 1px solid var(--apexmp-border);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(14, 18, 22, 0.98), rgba(8, 10, 12, 0.98));
  box-shadow: 0 0 0 1px rgba(73, 246, 253, 0.03), var(--apexmp-shadow);
  padding: clamp(1.25rem, 2vw, 2rem);
  margin-bottom: 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.wp-block-heading {
  color: #ffffff;
  letter-spacing: -0.03em;
}

p,
li,
figcaption,
.wp-block-paragraph,
.wp-block-list {
  color: var(--apexmp-text-muted);
}

strong {
  color: var(--apexmp-text);
}

hr,
.wp-block-separator {
  border-color: var(--apexmp-border);
  opacity: 1;
}

blockquote {
  border-left: 3px solid var(--apexmp-cyan);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  background: var(--apexmp-cyan-soft);
}

.home .wp-block-post-title {
  display: none;
}

.home main.wp-block-group,
.home .wp-block-group.alignfull,
.home .entry-content.alignfull.wp-block-post-content {
  max-width: none !important;
  width: 100%;
}

.home main.wp-block-group {
  margin-top: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.home .entry-content.alignfull.wp-block-post-content {
  padding-inline: 0 !important;
}

input,
textarea,
select {
  background: #0f1418;
  color: var(--apexmp-text);
  border: 1px solid var(--apexmp-border);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--apexmp-cyan);
  box-shadow: 0 0 0 3px rgba(73, 246, 253, 0.16);
}

.wp-block-button__link,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.apexmp-button,
.apexmp-button:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--apexmp-cyan);
  color: #0a0a0a;
  border-radius: 0;
  font-weight: 700;
  padding: 0.9rem 1.35rem;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.wp-block-button.is-style-outline .wp-block-button__link,
.is-style-outline > .wp-block-button__link,
.apexmp-button.is-outline,
.apexmp-button.is-outline:visited {
  background: transparent;
  color: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
}

.wp-block-button__link:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.apexmp-button:hover,
.apexmp-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(73, 246, 253, 0.2);
}

.apexmp-button.is-outline:hover,
.apexmp-button.is-outline:focus-visible {
  background: var(--apexmp-cyan);
  color: #081014;
}

.wp-block-navigation-item__content,
.wp-block-site-title a,
.wp-block-site-tagline {
  color: var(--apexmp-text);
}

.wp-block-navigation-item__content:hover,
.wp-block-site-title a:hover {
  color: var(--apexmp-cyan);
}

:where(.wp-site-blocks) > header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(73, 246, 253, 0.1);
  background: rgba(7, 9, 11, 0.86);
  backdrop-filter: blur(14px);
  transition: background-color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

:where(.wp-site-blocks) > footer {
  border-top: 1px solid rgba(73, 246, 253, 0.12);
  background: #06080a;
}

.apexmp-header-shell {
  padding: 0.45rem 1.2rem;
  background: #000;
  border-bottom: 1px solid rgba(73, 246, 253, 0.12);
}

.apexmp-kicker::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--apexmp-cyan);
  box-shadow: 0 0 18px var(--apexmp-cyan-glow);
}

.apexmp-header-shell .custom-logo,
.apexmp-footer-shell .custom-logo {
  border-radius: 0;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

.apexmp-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 54px;
}

.apexmp-header-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
  flex: 0 0 auto;
}

.apexmp-header-brand-copy {
  display: grid;
  gap: 0.16rem;
}

.apexmp-header-brand-copy strong {
  color: #fff;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.apexmp-header-brand-copy small {
  color: var(--apexmp-text-soft);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apexmp-header-logo {
  width: clamp(110px, 14vw, 150px);
  height: auto;
  display: block;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.apexmp-header-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1 1 auto;
}

.apexmp-header-nav > a,
.apexmp-nav-item > a {
  color: var(--apexmp-text);
  font-weight: 600;
  padding: 0.58rem 0.78rem;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.apexmp-header-nav > a:hover,
.apexmp-header-nav > a:focus-visible,
.apexmp-nav-item > a:hover,
.apexmp-nav-item > a:focus-visible {
  color: #081014;
  background: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
  transform: translateY(-1px);
}

.apexmp-nav-item {
  position: relative;
}

.apexmp-nav-item-has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.7rem;
}

.apexmp-nav-item-has-dropdown > a::after {
  content: "▾";
  margin-left: 0.5rem;
  font-size: 0.78rem;
}

.apexmp-nav-dropdown {
  position: absolute;
  left: 0;
  top: calc(100% + 0.55rem);
  min-width: 220px;
  display: none;
  padding: 0.45rem;
  background: #050505;
  border: 1px solid rgba(73, 246, 253, 0.18);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  z-index: 50;
}

.apexmp-nav-dropdown a {
  display: block;
  padding: 0.72rem 0.82rem;
  color: var(--apexmp-text);
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

.apexmp-nav-dropdown a:hover,
.apexmp-nav-dropdown a:focus-visible {
  background: rgba(73, 246, 253, 0.1);
  color: var(--apexmp-cyan);
}

.apexmp-nav-item-has-dropdown:hover .apexmp-nav-dropdown,
.apexmp-nav-item-has-dropdown:focus-within .apexmp-nav-dropdown {
  display: block;
}

.apexmp-header-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.apexmp-header-actions-mobile,
.apexmp-header-mobile-action {
  display: none;
}

.apexmp-header-iconlink {
  width: 42px;
  height: 42px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: rgba(73, 246, 253, 0.04);
  color: var(--apexmp-text);
  text-decoration: none;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.apexmp-header-iconlink svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.apexmp-header-iconlink:hover,
.apexmp-header-iconlink:focus-visible {
  color: #081014;
  background: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
  transform: translateY(-1px);
}

.apexmp-cart-count {
  position: absolute;
  top: -0.35rem;
  right: -0.32rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(73, 246, 253, 0.22);
  background: #0a0f12;
  color: var(--apexmp-cyan);
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
}

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

body.single-product .wc-block-components-product-rating,
body.single-product .woocommerce .star-rating {
  color: var(--apexmp-text);
}

body.single-product .wc-block-components-product-rating__stars,
body.single-product .woocommerce .star-rating {
  color: rgba(236, 242, 247, 0.42) !important;
}

body.single-product .wc-block-components-product-rating__stars::before,
body.single-product .woocommerce .star-rating::before {
  color: rgba(236, 242, 247, 0.42) !important;
  opacity: 1 !important;
}

body.single-product .wc-block-components-product-rating__stars span,
body.single-product .woocommerce .star-rating span,
body.single-product .wc-block-components-product-rating__stars span::before,
body.single-product .woocommerce .star-rating span::before {
  color: #f5c451 !important;
}

body.single-product .woocommerce .star-rating {
  margin-bottom: 0.45rem;
}

.apexmp-cart-open {
  overflow: hidden;
}

.apexmp-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
}

.apexmp-cart-drawer.is-open {
  pointer-events: auto;
}

.apexmp-cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(3, 5, 7, 0.62);
  opacity: 0;
  transition: opacity 220ms ease;
}

.apexmp-cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(430px, 100vw);
  height: 100%;
  border-left: 1px solid rgba(73, 246, 253, 0.14);
  background:
    linear-gradient(180deg, rgba(11, 14, 18, 0.99), rgba(7, 9, 11, 0.99)),
    radial-gradient(circle at top left, rgba(73, 246, 253, 0.08), transparent 28%);
  box-shadow: -18px 0 48px rgba(0, 0, 0, 0.36);
  transform: translateX(100%);
  transition: transform 240ms ease;
}

.apexmp-cart-drawer.is-open .apexmp-cart-drawer__backdrop {
  opacity: 1;
}

.apexmp-cart-drawer.is-open .apexmp-cart-drawer__panel {
  transform: translateX(0);
}

.apexmp-cart-drawer__panel-inner {
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.apexmp-cart-drawer__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.1rem 1rem;
  border-bottom: 1px solid rgba(73, 246, 253, 0.1);
}

.apexmp-cart-drawer__header h3 {
  margin: 0.35rem 0 0;
  font-size: 1.45rem;
}

.apexmp-cart-drawer__close {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: rgba(73, 246, 253, 0.04);
  color: var(--apexmp-text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.apexmp-cart-drawer__close:hover,
.apexmp-cart-drawer__close:focus-visible {
  color: #081014;
  background: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
}

.apexmp-cart-drawer__body {
  min-height: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
}

.apexmp-cart-drawer__items {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  overflow-y: auto;
  align-content: start;
}

.apexmp-cart-drawer__item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.75rem;
  border: 1px solid rgba(73, 246, 253, 0.12);
  background: rgba(18, 24, 29, 0.9);
}

.apexmp-cart-drawer__item-media a,
.apexmp-cart-drawer__item-media img {
  display: block;
}

.apexmp-cart-drawer__item-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.apexmp-cart-drawer__item-copy {
  min-width: 0;
  display: grid;
  gap: 0.45rem;
}

.apexmp-cart-drawer__item-topline,
.apexmp-cart-drawer__item-bottomline,
.apexmp-cart-drawer__total,
.apexmp-cart-drawer__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.apexmp-cart-drawer__item-title {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  line-height: 1.35;
}

.apexmp-cart-drawer__item-title:hover,
.apexmp-cart-drawer__item-title:focus-visible,
.apexmp-cart-drawer__remove:hover,
.apexmp-cart-drawer__remove:focus-visible {
  color: var(--apexmp-cyan);
}

.apexmp-cart-drawer__remove {
  color: var(--apexmp-text-soft);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.apexmp-cart-drawer__item-meta,
.apexmp-cart-drawer__hint,
.apexmp-cart-drawer__item-bottomline span {
  color: var(--apexmp-text-muted);
  font-size: 0.9rem;
}

.apexmp-cart-drawer__item-meta p,
.apexmp-cart-drawer__item-meta dl,
.apexmp-cart-drawer__hint {
  margin: 0;
}

.apexmp-cart-drawer__item-meta dl {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.4rem;
}

.apexmp-cart-drawer__item-meta dt {
  color: var(--apexmp-text-soft);
}

.apexmp-cart-drawer__item-meta dd {
  margin: 0;
}

.apexmp-cart-drawer__footer {
  display: grid;
  gap: 0.8rem;
  padding: 1rem 1.1rem 1.2rem;
  border-top: 1px solid rgba(73, 246, 253, 0.1);
  background: rgba(5, 7, 9, 0.96);
}

.apexmp-cart-drawer__total strong,
.apexmp-cart-drawer__item-bottomline strong {
  color: #fff;
}

.apexmp-cart-drawer__actions {
  align-items: stretch;
}

.apexmp-cart-drawer__actions .apexmp-button {
  flex: 1 1 0;
  justify-content: center;
}

.apexmp-cart-drawer__empty {
  display: grid;
  gap: 0.9rem;
  align-content: center;
  justify-items: start;
  padding: 1.2rem;
}

.apexmp-cart-drawer__empty strong {
  color: #fff;
  font-size: 1.12rem;
}

.apexmp-cart-drawer__empty p {
  margin: 0;
  color: var(--apexmp-text-muted);
}

.apexmp-footer-shell {
  padding: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 10, 0.98), rgba(5, 6, 8, 1)),
    radial-gradient(circle at top left, rgba(73, 246, 253, 0.08), transparent 24%);
}

.apexmp-footer-shell .wp-block-group,
.apexmp-footer-shell .wp-block-columns,
.apexmp-footer-shell .wp-block-column {
  background: transparent;
}

.apexmp-footer-shell .wp-block-columns {
  align-items: start;
}

.apexmp-footer-shell h3,
.apexmp-footer-shell h4,
.apexmp-footer-shell p,
.apexmp-footer-shell li,
.apexmp-footer-shell a {
  color: var(--apexmp-text);
}

.apexmp-footer-shell ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.apexmp-footer-shell li {
  margin-bottom: 0.55rem;
}

.apexmp-footer-shell a:hover,
.apexmp-footer-shell a:focus {
  color: var(--apexmp-cyan);
}

.apexmp-footer-social {
  border-bottom: 1px solid rgba(73, 246, 253, 0.1);
  padding: 2.2rem 1.5rem 2rem;
}

.apexmp-footer-social-inner,
.apexmp-footer-main-inner,
.apexmp-header-inner {
  width: 100%;
  max-width: var(--apexmp-content-width);
  margin: 0 auto;
}

.apexmp-footer-social-copy {
  max-width: 650px;
  margin-bottom: 1.4rem;
}

.apexmp-footer-social-copy h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.35rem);
  margin: 0 0 0.55rem;
}

.apexmp-footer-social-copy p {
  margin: 0;
}

.apexmp-slider {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(73, 246, 253, 0.28) transparent;
}

.apexmp-slider::-webkit-scrollbar {
  height: 6px;
}

.apexmp-slider::-webkit-scrollbar-track {
  background: transparent;
}

.apexmp-slider::-webkit-scrollbar-thumb {
  background: rgba(73, 246, 253, 0.22);
  border-radius: 999px;
  transition: background 200ms ease;
}

.apexmp-slider:hover::-webkit-scrollbar-thumb,
.apexmp-slider:focus-within::-webkit-scrollbar-thumb {
  background: rgba(73, 246, 253, 0.45);
}

.apexmp-slider-track {
  display: flex;
  gap: 1rem;
  width: max-content;
}

.apexmp-slide {
  flex: 0 0 240px;
  position: relative;
  display: block;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(73, 246, 253, 0.12);
  background: var(--apexmp-bg-card-strong);
  box-shadow: var(--apexmp-shadow);
}

.apexmp-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.6));
  pointer-events: none;
}

.apexmp-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 300ms ease;
}

.apexmp-slide:hover img,
.apexmp-slide:focus-visible img {
  transform: scale(1.05);
}

.apexmp-slide.is-static {
  pointer-events: none;
}

.apexmp-slide-label {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.apexmp-slide-label::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--apexmp-cyan);
  box-shadow: 0 0 14px rgba(73, 246, 253, 0.3);
}

.apexmp-footer-main {
  padding: 2rem 1.5rem 2.4rem;
}

.apexmp-footer-brand {
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}

.apexmp-footer-logo {
  width: clamp(140px, 18vw, 180px);
  height: auto;
  display: block;
  background: transparent;
}

.apexmp-footer-note {
  border-top: 1px solid rgba(73, 246, 253, 0.09);
  margin-top: 1.8rem;
  padding-top: 1rem;
  color: var(--apexmp-text-soft);
}

/* ============== Warenkorb (Cart) ============== */

body.woocommerce-cart .entry-content {
  padding: 1rem 0.85rem 2rem !important;
  max-width: 1180px;
  margin-inline: auto;
}

body.woocommerce-cart .woocommerce-cart-form {
  background: var(--apexmp-bg-card-strong, #121212);
  border: 1px solid rgba(73, 246, 253, 0.16);
  padding: 1rem;
  margin: 0 0 1.5rem;
}

body.woocommerce-cart table.shop_table.cart {
  border: 0;
  border-collapse: separate;
  border-spacing: 0 0.6rem;
  width: 100%;
}

body.woocommerce-cart table.shop_table.cart thead {
  display: none;
}

body.woocommerce-cart table.shop_table.cart tr.cart_item {
  display: grid;
  grid-template-columns: 72px 1fr;
  grid-template-areas:
    "thumb name"
    "thumb price"
    "thumb qty"
    "thumb subtotal"
    "remove remove";
  gap: 0.55rem 0.95rem;
  background: rgba(73, 246, 253, 0.04);
  border: 1px solid rgba(73, 246, 253, 0.12);
  padding: 0.85rem;
  align-items: center;
}

body.woocommerce-cart table.shop_table.cart tr.cart_item td {
  border: 0;
  padding: 0;
  background: transparent;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail {
  grid-area: thumb;
  display: block;
}

body.woocommerce-cart table.shop_table.cart td.product-thumbnail img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(73, 246, 253, 0.18);
}

body.woocommerce-cart table.shop_table.cart td.product-name {
  grid-area: name;
}

body.woocommerce-cart table.shop_table.cart td.product-name a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.35;
}

body.woocommerce-cart table.shop_table.cart td.product-name a:hover {
  color: var(--apexmp-cyan);
}

body.woocommerce-cart table.shop_table.cart td.product-price {
  grid-area: price;
  color: var(--apexmp-text-soft, #b8b8b8);
  font-size: 0.9rem;
}

body.woocommerce-cart table.shop_table.cart td.product-price::before {
  content: "Preis: ";
  color: var(--apexmp-text-soft);
}

body.woocommerce-cart table.shop_table.cart td.product-quantity {
  grid-area: qty;
}

body.woocommerce-cart table.shop_table.cart td.product-quantity .quantity input.qty {
  width: 80px;
  min-height: 42px;
  padding: 0.45rem 0.55rem;
  background: #0a0a0a;
  border: 1px solid rgba(73, 246, 253, 0.25);
  color: #fff;
  text-align: center;
}

body.woocommerce-cart table.shop_table.cart td.product-subtotal {
  grid-area: subtotal;
  color: var(--apexmp-cyan);
  font-weight: 700;
  font-size: 1.05rem;
}

body.woocommerce-cart table.shop_table.cart td.product-subtotal::before {
  content: "Zwischensumme: ";
  color: var(--apexmp-text-soft);
  font-weight: 400;
  font-size: 0.9rem;
}

body.woocommerce-cart table.shop_table.cart td.product-remove {
  grid-area: remove;
  text-align: right;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a.remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 80, 80, 0.4);
  color: #ff6b6b !important;
  font-size: 0;
  text-decoration: none;
  transition: background 0.15s ease;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a.remove::before {
  content: "×";
  font-size: 1.4rem;
  line-height: 1;
}

body.woocommerce-cart table.shop_table.cart td.product-remove a.remove:hover {
  background: rgba(255, 80, 80, 0.15);
  color: #ff8a8a !important;
}

body.woocommerce-cart table.shop_table.cart tr:has(td.actions) {
  display: block;
  background: transparent;
  border: 0;
  padding: 0;
}

body.woocommerce-cart td.actions {
  display: flex !important;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.woocommerce-cart td.actions .coupon {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.55rem;
  align-items: stretch;
  width: 100%;
}

body.woocommerce-cart td.actions .coupon label {
  display: none;
}

body.woocommerce-cart td.actions .coupon input#coupon_code {
  flex: 1 1 0;
  min-width: 0;
  min-height: 46px;
  padding: 0.55rem 0.8rem;
  background: #0a0a0a;
  border: 1px solid rgba(73, 246, 253, 0.25);
  color: #fff;
  box-sizing: border-box;
}

body.woocommerce-cart td.actions .coupon button[name="apply_coupon"],
body.woocommerce-cart td.actions button[name="update_cart"] {
  min-height: 46px;
  padding: 0.55rem 1.1rem;
  background: var(--apexmp-cyan);
  color: #0a0a0a;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}

body.woocommerce-cart td.actions .coupon button[name="apply_coupon"] {
  flex: 0 0 auto;
}

body.woocommerce-cart td.actions button[name="update_cart"] {
  width: 100%;
  background: rgba(73, 246, 253, 0.12);
  color: #fff !important;
  border: 1px solid var(--apexmp-cyan);
  opacity: 1;
}

body.woocommerce-cart td.actions button[name="update_cart"]:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

body.woocommerce-cart td.actions .coupon button[name="apply_coupon"]:hover {
  filter: brightness(1.08);
}

body.woocommerce-cart td.actions button[name="update_cart"]:hover:not(:disabled) {
  background: rgba(73, 246, 253, 0.22);
}

body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart_totals {
  width: 100%;
}

body.woocommerce-cart .cart_totals h2 {
  font-size: 1.2rem;
  margin: 0 0 0.85rem;
  color: #fff;
}

body.woocommerce-cart .cart_totals table.shop_table {
  width: 100%;
  background: var(--apexmp-bg-card-strong, #121212);
  border: 1px solid rgba(73, 246, 253, 0.16);
  border-collapse: separate;
}

body.woocommerce-cart .cart_totals table.shop_table tr {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(73, 246, 253, 0.08);
  align-items: center;
}

body.woocommerce-cart .cart_totals table.shop_table tr:last-child {
  border-bottom: 0;
}

body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td {
  border: 0;
  padding: 0;
  background: transparent;
}

body.woocommerce-cart .cart_totals table.shop_table tr.order-total td {
  color: var(--apexmp-cyan);
  font-weight: 800;
  font-size: 1.15rem;
}

body.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 1.1rem;
  padding: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.95rem 1rem;
  background: var(--apexmp-cyan);
  color: #0a0a0a !important;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
  filter: brightness(1.08);
}

@media (min-width: 720px) {
  body.woocommerce-cart .cart-collaterals {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 1.5rem;
    align-items: start;
  }
  body.woocommerce-cart .cart-collaterals > * {
    grid-column: 2;
  }
}

/* ============== Kasse (Checkout) ============== */

body.woocommerce-checkout .entry-content {
  padding: 1rem 0.85rem 2rem !important;
  max-width: 1180px;
  margin-inline: auto;
}

body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-error {
  background: rgba(73, 246, 253, 0.06);
  border: 1px solid rgba(73, 246, 253, 0.22);
  color: var(--apexmp-text);
  padding: 0.85rem 1rem;
  margin: 0 0 1rem;
}

body.woocommerce-checkout .woocommerce-info a,
body.woocommerce-checkout .woocommerce-message a {
  color: var(--apexmp-cyan);
}

body.woocommerce-checkout form.checkout_coupon {
  background: var(--apexmp-bg-card-strong, #121212);
  border: 1px solid rgba(73, 246, 253, 0.16);
  padding: 1rem;
  margin: 0 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

body.woocommerce-checkout form.checkout_coupon > p:not(.form-row) {
  flex-basis: 100%;
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  color: var(--apexmp-text-soft);
}

body.woocommerce-checkout form.checkout_coupon p.form-row {
  margin: 0;
  padding: 0;
}

body.woocommerce-checkout form.checkout_coupon p.form-row-first {
  flex: 1 1 180px;
  min-width: 0;
}

body.woocommerce-checkout form.checkout_coupon p.form-row-last {
  flex: 0 0 auto;
}

body.woocommerce-checkout form.checkout_coupon .clear {
  display: none;
}

body.woocommerce-checkout form.checkout_coupon input#coupon_code {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.8rem;
  background: #0a0a0a;
  border: 1px solid rgba(73, 246, 253, 0.25);
  color: #fff;
  box-sizing: border-box;
}

body.woocommerce-checkout form.checkout_coupon button[name="apply_coupon"] {
  min-height: 46px;
  padding: 0.55rem 1.1rem;
  background: var(--apexmp-cyan);
  color: #0a0a0a;
  border: 0;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

body.woocommerce-checkout form.checkout {
  display: grid;
  gap: 1.25rem;
}

body.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields,
body.woocommerce-checkout #order_review_heading + #order_review {
  background: var(--apexmp-bg-card-strong, #121212);
  border: 1px solid rgba(73, 246, 253, 0.16);
  padding: 1.1rem 1rem;
}

body.woocommerce-checkout .woocommerce-billing-fields h3,
body.woocommerce-checkout .woocommerce-shipping-fields h3,
body.woocommerce-checkout .woocommerce-additional-fields h3,
body.woocommerce-checkout #order_review_heading {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.15rem;
}

body.woocommerce-checkout #order_review_heading {
  background: transparent;
  border: 0;
  padding: 0;
}

body.woocommerce-checkout .form-row {
  margin: 0 0 0.85rem;
  padding: 0;
  display: block;
  width: 100%;
}

body.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}

body.woocommerce-checkout .form-row .required {
  color: var(--apexmp-cyan);
  text-decoration: none;
}

body.woocommerce-checkout .form-row input.input-text,
body.woocommerce-checkout .form-row textarea,
body.woocommerce-checkout .form-row select,
body.woocommerce-checkout .select2-container .select2-selection {
  width: 100%;
  min-height: 46px;
  padding: 0.55rem 0.75rem;
  background: #0a0a0a;
  border: 1px solid rgba(73, 246, 253, 0.25);
  color: #fff;
  box-sizing: border-box;
  font-size: 0.95rem;
}

body.woocommerce-checkout .select2-container .select2-selection__rendered {
  color: #fff;
  line-height: 1.4;
  padding: 0.45rem 0;
}

body.woocommerce-checkout .select2-container .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 0.5rem;
}

body.woocommerce-checkout .select2-dropdown {
  background: #0a0a0a;
  border: 1px solid rgba(73, 246, 253, 0.3);
  color: #fff;
}

body.woocommerce-checkout .select2-results__option--highlighted {
  background: rgba(73, 246, 253, 0.18) !important;
  color: #fff !important;
}

body.woocommerce-checkout .form-row textarea {
  min-height: 100px;
  resize: vertical;
}

body.woocommerce-checkout .form-row input:focus,
body.woocommerce-checkout .form-row textarea:focus,
body.woocommerce-checkout .form-row select:focus {
  border-color: var(--apexmp-cyan);
  outline: none;
}

@media (min-width: 600px) {
  body.woocommerce-checkout .form-row-first,
  body.woocommerce-checkout .form-row-last {
    width: calc(50% - 0.5rem);
    display: inline-block;
  }
  body.woocommerce-checkout .form-row-first {
    margin-right: 1rem;
  }
}

body.woocommerce-checkout #order_review {
  background: var(--apexmp-bg-card-strong, #121212);
  border: 1px solid rgba(73, 246, 253, 0.16);
  padding: 1.1rem 1rem;
}

body.woocommerce-checkout #order_review table.shop_table {
  width: 100%;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
}

body.woocommerce-checkout #order_review table.shop_table thead th {
  border-bottom: 1px solid rgba(73, 246, 253, 0.12);
  padding: 0.65rem 0;
  color: var(--apexmp-text-soft);
  font-weight: 500;
  font-size: 0.9rem;
  text-align: left;
  background: transparent;
}

body.woocommerce-checkout #order_review table.shop_table tbody td,
body.woocommerce-checkout #order_review table.shop_table tfoot td,
body.woocommerce-checkout #order_review table.shop_table tfoot th {
  border: 0;
  border-bottom: 1px solid rgba(73, 246, 253, 0.08);
  padding: 0.65rem 0;
  background: transparent;
  color: var(--apexmp-text);
}

body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total td,
body.woocommerce-checkout #order_review table.shop_table tfoot tr.order-total th {
  color: var(--apexmp-cyan);
  font-weight: 800;
  font-size: 1.1rem;
  border-bottom: 0;
  padding-top: 0.85rem;
}

body.woocommerce-checkout #payment {
  background: transparent;
  border-top: 1px solid rgba(73, 246, 253, 0.12);
  margin-top: 1rem;
  padding-top: 1rem;
}

body.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  border: 0;
  background: transparent;
}

body.woocommerce-checkout #payment ul.payment_methods li {
  background: rgba(73, 246, 253, 0.04);
  border: 1px solid rgba(73, 246, 253, 0.16);
  padding: 0.85rem 0.95rem;
  display: block;
}

body.woocommerce-checkout #payment ul.payment_methods li label {
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}

body.woocommerce-checkout #payment ul.payment_methods li input[type="radio"] {
  accent-color: var(--apexmp-cyan);
  margin-right: 0.4rem;
}

body.woocommerce-checkout #payment .payment_box {
  background: rgba(73, 246, 253, 0.06);
  border: 0;
  margin: 0.65rem 0 0;
  padding: 0.65rem 0.85rem;
  color: var(--apexmp-text-soft);
  font-size: 0.9rem;
}

body.woocommerce-checkout #payment .payment_box::before {
  display: none;
}

body.woocommerce-checkout #place_order {
  display: block;
  width: 100%;
  margin-top: 1.1rem;
  padding: 1rem;
  background: var(--apexmp-cyan);
  color: #0a0a0a;
  border: 0;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  cursor: pointer;
}

body.woocommerce-checkout #place_order:hover {
  filter: brightness(1.08);
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
}

body.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper a {
  color: var(--apexmp-cyan);
}

body.woocommerce-checkout #ship-to-different-address label {
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 900px) {
  body.woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    align-items: start;
  }
  body.woocommerce-checkout form.checkout > .col2-set {
    grid-column: 1;
    grid-row: 1;
  }
  body.woocommerce-checkout form.checkout > #order_review_heading,
  body.woocommerce-checkout form.checkout > #order_review {
    grid-column: 2;
  }
  body.woocommerce-checkout form.checkout > #order_review_heading {
    grid-row: 1;
    align-self: start;
    margin-bottom: 0;
  }
  body.woocommerce-checkout form.checkout > #order_review {
    grid-row: 2 / span 2;
    position: sticky;
    top: 80px;
  }
}

.apexmp-footer-payments {
  margin-top: 2rem;
  text-align: center;
}

.apexmp-footer-payments-title {
  font-size: 1.05rem;
  margin: 0 0 0.9rem;
  color: #fff;
}

.apexmp-footer-payments-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
}

.apexmp-footer-payments-list li {
  margin: 0;
  padding: 0;
}

.apexmp-footer-payments-list img {
  display: block;
  height: 32px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
}

.apexmp-footer-shell .apexmp-footer-main a,
.apexmp-footer-shell .apexmp-footer-main-inner a {
  color: var(--apexmp-cyan);
  text-decoration: none;
}

.apexmp-footer-shell .apexmp-footer-main a:hover,
.apexmp-footer-shell .apexmp-footer-main a:focus-visible {
  color: var(--apexmp-cyan);
  text-decoration: underline;
}

.apexmp-homepage {
  display: grid;
  gap: 1.45rem;
  width: 100%;
}

.apexmp-homepage section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--apexmp-border);
  background:
    linear-gradient(180deg, rgba(15, 19, 24, 0.98), rgba(7, 9, 12, 0.98)),
    radial-gradient(circle at top right, rgba(73, 246, 253, 0.08), transparent 24%);
  box-shadow: var(--apexmp-shadow);
}

.apexmp-section-shell {
  padding: clamp(1.5rem, 3vw, 2.35rem);
}

.apexmp-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  color: var(--apexmp-cyan);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.apexmp-home-hero {
  min-height: 0;
}

.apexmp-home-hero::before,
.apexmp-home-featured::before,
.apexmp-home-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(73, 246, 253, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 246, 253, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.2;
  pointer-events: none;
}

.apexmp-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.apexmp-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
}

.apexmp-hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 4.2vw, 4.1rem);
  line-height: 1;
}

.apexmp-hero-copy p {
  max-width: 62ch;
  font-size: 1.04rem;
  line-height: 1.78;
  margin: 0 0 0.95rem;
}

.apexmp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.15rem;
}

.apexmp-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.apexmp-stat {
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: rgba(73, 246, 253, 0.05);
  padding: 0.95rem 1rem;
}

.apexmp-stat strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apexmp-cyan);
  margin-bottom: 0.35rem;
}

.apexmp-stat span {
  color: var(--apexmp-text-muted);
  font-size: 0.95rem;
}

.apexmp-hero-visual-main,
.apexmp-hero-floating-card,
.apexmp-process-card,
.apexmp-benefit-card,
.apexmp-product-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: linear-gradient(180deg, rgba(18, 24, 29, 0.97), rgba(10, 13, 16, 0.97));
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.apexmp-hero-visual-main:hover,
.apexmp-hero-floating-card:hover,
.apexmp-process-card:hover,
.apexmp-benefit-card:hover,
.apexmp-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 246, 253, 0.34);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(73, 246, 253, 0.08);
}

.apexmp-hero-visual-main img,
.apexmp-hero-floating-card img,
.apexmp-process-card img,
.apexmp-product-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apexmp-hero-visual {
  position: relative;
  min-height: 100%;
  margin-top: 0.4rem;
}

.apexmp-hero-visual-main {
  min-height: 520px;
}

.apexmp-hero-visual-main::after,
.apexmp-hero-floating-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.72));
  pointer-events: none;
}

.apexmp-hero-primary-badge {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
}

.apexmp-hero-primary-badge strong {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.7rem;
  background: rgba(8, 13, 16, 0.78);
  border: 1px solid rgba(73, 246, 253, 0.24);
  color: var(--apexmp-cyan);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apexmp-hero-primary-badge strong::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  background: var(--apexmp-cyan);
}

.apexmp-hero-floating-card {
  position: absolute;
  right: -1.2rem;
  bottom: 1.2rem;
  width: min(290px, 46%);
  min-height: 230px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.apexmp-hero-floating-card-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
}

.apexmp-hero-floating-card-copy span {
  color: var(--apexmp-cyan);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.apexmp-hero-floating-card-copy strong {
  color: #fff;
  line-height: 1.25;
}

.apexmp-hero-floating-card-copy a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.apexmp-hero-floating-card-copy a:hover,
.apexmp-hero-floating-card-copy a:focus-visible {
  color: var(--apexmp-cyan);
}

.apexmp-hero-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.apexmp-hero-note {
  border: 1px solid rgba(73, 246, 253, 0.12);
  background: rgba(73, 246, 253, 0.05);
  padding: 0.95rem 1rem;
}

.apexmp-hero-note strong {
  display: block;
  margin-bottom: 0.32rem;
  color: #fff;
}

.apexmp-hero-note span {
  color: var(--apexmp-text-muted);
  font-size: 0.94rem;
  line-height: 1.5;
}

.apexmp-home-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.apexmp-section-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.85rem, 3vw, 2.85rem);
}

.apexmp-benefit-card {
  padding: 1.2rem 1.1rem 1.15rem;
}

.apexmp-benefit-card h3 {
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
}

.apexmp-benefit-card p {
  margin: 0;
  line-height: 1.65;
}

.apexmp-process-grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 1rem;
  align-items: stretch;
}

.apexmp-process-primary {
  min-height: 440px;
}

.apexmp-process-primary img {
  height: 100%;
  object-fit: cover;
}

.apexmp-process-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.apexmp-process-card {
  min-height: 210px;
}

.apexmp-process-card img {
  height: 100%;
}

.apexmp-process-label,
.apexmp-product-meta {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  display: grid;
  gap: 0.35rem;
}

.apexmp-process-label strong,
.apexmp-product-meta strong {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--apexmp-cyan);
}

.apexmp-process-label span,
.apexmp-product-meta span {
  color: #fff;
  font-weight: 700;
}

.apexmp-home-featured-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.25rem;
}

.apexmp-home-featured-head p {
  margin: 0;
  max-width: 42rem;
}

.apexmp-home-products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.apexmp-product-card {
  display: flex;
  flex-direction: column;
}

.apexmp-product-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid rgba(73, 246, 253, 0.12);
}

.apexmp-product-card-media img {
  transition: transform 260ms ease;
}

.apexmp-product-card:hover .apexmp-product-card-media img {
  transform: scale(1.04);
}

.apexmp-product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.1rem 1.15rem;
  min-height: 100%;
}

.apexmp-product-card-title {
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.35;
  text-decoration: none;
}

.apexmp-product-card-title:hover,
.apexmp-product-card-title:focus {
  color: var(--apexmp-cyan);
}

.apexmp-price {
  color: var(--apexmp-cyan);
  font-weight: 800;
  font-size: 1rem;
}

.apexmp-product-card-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.apexmp-product-card-actions .apexmp-button {
  width: 100%;
  padding: 0.58rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

[data-apexmp-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

[data-apexmp-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.apexmp-home-hero [data-apexmp-reveal],
.apexmp-category-hero [data-apexmp-reveal],
.apexmp-home-hero [data-apexmp-reveal].is-visible,
.apexmp-category-hero [data-apexmp-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-apexmp-reveal-delay="1"] {
  transition-delay: 80ms;
}

[data-apexmp-reveal-delay="2"] {
  transition-delay: 160ms;
}

[data-apexmp-reveal-delay="3"] {
  transition-delay: 240ms;
}

@keyframes apexmp-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

@media (max-width: 1100px) {
  .apexmp-process-grid,
  .apexmp-home-benefits-grid,
  .apexmp-home-products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .apexmp-home-benefits-grid,
  .apexmp-home-products-grid {
    gap: 0.9rem;
  }

  .apexmp-hero-grid,
  .apexmp-process-grid {
    grid-template-columns: 1fr;
  }

  .apexmp-hero-floating-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }

  .apexmp-hero-note-grid {
    grid-template-columns: 1fr;
  }

  .apexmp-process-primary {
    min-height: 340px;
  }
}

@media (max-width: 781px) {
  .apexmp-header-shell,
  .apexmp-footer-social,
  .apexmp-footer-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .apexmp-header-bar,
  .apexmp-header-brand,
  .apexmp-header-actions,
  .apexmp-header-nav {
    width: 100%;
  }

  .apexmp-header-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .apexmp-header-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .apexmp-nav-dropdown {
    min-width: 180px;
  }

  .apexmp-header-actions {
    flex-wrap: wrap;
  }

  .apexmp-header-iconlink {
    width: 40px;
    height: 40px;
  }

  .apexmp-home-benefits-grid,
  .apexmp-process-stack,
  .apexmp-home-products-grid,
  .apexmp-hero-stats {
    grid-template-columns: 1fr;
  }

  .apexmp-home-benefits-grid,
  .apexmp-home-products-grid,
  .apexmp-hero-stats {
    display: grid;
  }

  .apexmp-hero-visual-main,
  .apexmp-process-primary,
  .apexmp-slide {
    min-height: 280px;
  }

  .apexmp-slider {
    mask-image: none;
  }

  .apexmp-slide {
    flex-basis: 190px;
    min-height: 220px;
  }
}

/* ── Homepage outer wrapper: no double box on the home page ── */
.home main > .wp-block-group.alignfull {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-bottom: 0 !important;
}

/* ── Hero actions: suppress stray <br> flex items ── */
.apexmp-hero-actions br {
  display: none;
}

/* ── Process cards: absolute image fill + suppress stray empty <p> ── */
.apexmp-process-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apexmp-process-card > p:empty,
.apexmp-process-card > p:not([class]):empty {
  display: none;
  margin: 0;
  padding: 0;
}

/* ── Hero floating card: same image fill fix ── */
.apexmp-hero-floating-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.apexmp-hero-floating-card > p:empty {
  display: none;
  margin: 0;
}

/* ── Product card body: suppress stray empty <p> between title and price ── */
.apexmp-product-card-body > p:empty {
  display: none;
  margin: 0;
}

/* ── Process section: ensure stack fills grid cell so img fill works ── */
.apexmp-process-stack {
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  [data-apexmp-reveal],
  [data-apexmp-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .apexmp-slider-track {
    animation: none;
  }

  .apexmp-hero-primary:hover,
  .apexmp-hero-stack-card:hover,
  .apexmp-process-card:hover,
  .apexmp-benefit-card:hover,
  .apexmp-product-card:hover,
  .apexmp-product-card:hover .apexmp-product-card-media img,
  .apexmp-slide:hover img,
  .apexmp-button:hover,
  .wp-block-button__link:hover,
  .wp-element-button:hover,
  .woocommerce a.button:hover,
  .woocommerce button.button:hover,
  .woocommerce input.button:hover {
    transform: none;
  }
}

.apexmp-category-page {
  padding-block: 1.25rem 0;
}

.apexmp-category-page > .wp-block-group,
.apexmp-category-page > .wp-block-woocommerce-product-collection {
  border: 0;
  box-shadow: none;
  background: transparent;
  padding: 0;
}

.apexmp-category-landing section {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--apexmp-border);
  background:
    linear-gradient(180deg, rgba(15, 19, 24, 0.98), rgba(7, 9, 12, 0.98)),
    radial-gradient(circle at top right, rgba(73, 246, 253, 0.08), transparent 24%);
  box-shadow: var(--apexmp-shadow);
}

.apexmp-category-hero::before,
.apexmp-category-highlights::before,
.apexmp-category-groups::before,
.apexmp-category-benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(73, 246, 253, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 246, 253, 0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.16;
  pointer-events: none;
}

.apexmp-category-brand-nav {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.25rem;
}

.apexmp-category-brand-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: rgba(73, 246, 253, 0.04);
  color: var(--apexmp-text);
  text-decoration: none;
  font-weight: 700;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.apexmp-category-brand-nav a:hover,
.apexmp-category-brand-nav a:focus-visible,
.apexmp-category-brand-nav a.is-active {
  color: #081014;
  background: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
  transform: translateY(-2px);
}

.apexmp-category-hero .apexmp-hero-grid {
  max-width: none;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 1.2rem;
  align-items: stretch;
}

.apexmp-category-intro p {
  margin: 0;
  max-width: 62ch;
  color: var(--apexmp-text-muted);
  font-size: 1.04rem;
  line-height: 1.78;
}

.apexmp-category-visual-main {
  min-height: 540px;
}

.apexmp-category-floating-card {
  width: min(310px, 48%);
  min-height: 250px;
}

.apexmp-category-placeholder {
  display: flex;
  align-items: end;
  justify-content: start;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 1.15rem;
  background:
    linear-gradient(180deg, rgba(73, 246, 253, 0.08), rgba(73, 246, 253, 0)),
    linear-gradient(135deg, #11161a, #07090b);
}

.apexmp-category-placeholder span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(73, 246, 253, 0.24);
  background: rgba(7, 9, 11, 0.82);
  color: var(--apexmp-cyan);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
}

.apexmp-category-term-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.apexmp-home-featured-head p:empty,
.apexmp-category-term-card-body p:empty,
.apexmp-category-term-grid > p,
.apexmp-category-term-grid > a.apexmp-category-term-card:empty,
.apexmp-category-term-grid > a.apexmp-category-term-card:not(:has(.apexmp-category-term-card-media)) {
  display: none !important;
}

.apexmp-category-highlight-grid {
  position: relative;
  z-index: 1;
}

.apexmp-category-highlight-card {
  min-height: 100%;
}

.apexmp-category-highlight-card .apexmp-product-card-media {
  min-height: 280px;
}

.apexmp-category-highlight-card .apexmp-product-card-media img,
.apexmp-category-highlight-card .apexmp-product-card-media .apexmp-category-placeholder {
  height: 100%;
}

.apexmp-product-card-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.36rem 0.62rem;
  border: 1px solid rgba(73, 246, 253, 0.2);
  background: rgba(73, 246, 253, 0.06);
  color: var(--apexmp-cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.apexmp-category-term-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: linear-gradient(180deg, rgba(18, 24, 29, 0.97), rgba(10, 13, 16, 0.97));
  color: inherit;
  text-decoration: none;
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.apexmp-category-term-card:hover,
.apexmp-category-term-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(73, 246, 253, 0.34);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(73, 246, 253, 0.08);
}

.apexmp-category-term-card-media {
  aspect-ratio: 1.15 / 1;
  overflow: hidden;
  border-bottom: 1px solid rgba(73, 246, 253, 0.12);
}

.apexmp-category-term-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.apexmp-category-term-card:hover .apexmp-category-term-card-media img {
  transform: scale(1.04);
}

.apexmp-category-term-card-body {
  display: grid;
  gap: 0.55rem;
  padding: 1.1rem;
}

.apexmp-category-term-card-title {
  color: #fff;
  font-size: 1.06rem;
  line-height: 1.3;
  font-weight: 700;
}

.apexmp-category-term-card-count {
  color: var(--apexmp-text-muted);
}

.apexmp-category-term-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.2rem;
  color: var(--apexmp-cyan);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.apexmp-category-term-card-link::after {
  content: "↗";
}

#apexmp-category-products {
  position: relative;
  top: -84px;
}

.apexmp-category-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin: 1.35rem auto 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: linear-gradient(180deg, rgba(15, 19, 24, 0.98), rgba(7, 9, 12, 0.98));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

.apexmp-category-toolbar .woocommerce-result-count,
.apexmp-category-toolbar p {
  margin: 0;
  color: var(--apexmp-text-muted);
  font-size: 0.96rem;
}

.apexmp-category-toolbar .woocommerce-ordering,
.apexmp-category-toolbar .wc-block-catalog-sorting {
  margin-left: auto;
}

.apexmp-category-toolbar label.orderby-label {
  color: var(--apexmp-text-muted);
  margin-right: 0.6rem;
}

.apexmp-category-toolbar select.orderby {
  min-height: 44px;
  min-width: 220px;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: #0d1317;
  color: #fff;
}

.apexmp-category-products {
  margin-bottom: 2rem;
}

.apexmp-category-products .wc-block-product {
  overflow: hidden;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: linear-gradient(180deg, rgba(18, 24, 29, 0.97), rgba(10, 13, 16, 0.97));
  transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.apexmp-category-products .wc-block-product:hover {
  transform: translateY(-4px);
  border-color: rgba(73, 246, 253, 0.34);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(73, 246, 253, 0.08);
}

.apexmp-category-products .wc-block-components-product-image {
  margin: 0;
  border-bottom: 1px solid rgba(73, 246, 253, 0.12);
}

.apexmp-category-products .wc-block-components-product-image img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

.apexmp-category-products .wc-block-grid__product-title,
.apexmp-category-products .wp-block-post-title {
  margin: 0;
  padding: 1.05rem 1rem 0;
  font-size: 1.05rem;
}

.apexmp-category-products .wp-block-post-title a {
  color: #fff;
  text-decoration: none;
}

.apexmp-category-products .wp-block-post-title a:hover,
.apexmp-category-products .wp-block-post-title a:focus-visible {
  color: var(--apexmp-cyan);
}

.apexmp-category-products .wc-block-components-product-price {
  padding: 0 1rem;
  color: var(--apexmp-cyan);
  font-weight: 800;
}

.apexmp-category-products .wc-block-components-product-button {
  padding: 0 1rem 1rem;
}

.apexmp-category-products .wc-block-components-product-button__button {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}

.apexmp-category-products .wc-block-components-product-sale-badge {
  border-radius: 0;
}

.apexmp-category-products .wp-block-query-pagination {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

.apexmp-category-products .wp-block-query-pagination a,
.apexmp-category-products .wp-block-query-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: rgba(73, 246, 253, 0.04);
  color: var(--apexmp-text);
  text-decoration: none;
}

.apexmp-category-products .wp-block-query-pagination .current,
.apexmp-category-products .wp-block-query-pagination a:hover,
.apexmp-category-products .wp-block-query-pagination a:focus-visible {
  background: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
  color: #081014;
}

@media (max-width: 1100px) {
  .apexmp-category-hero .apexmp-hero-grid,
  .apexmp-category-term-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 782px) {
  .apexmp-category-hero .apexmp-hero-grid,
  .apexmp-category-term-grid,
  .apexmp-category-toolbar {
    grid-template-columns: 1fr;
  }

  .apexmp-category-toolbar {
    display: grid;
  }

  .apexmp-category-toolbar .woocommerce-ordering,
  .apexmp-category-toolbar .wc-block-catalog-sorting,
  .apexmp-category-toolbar select.orderby {
    width: 100%;
    margin-left: 0;
  }

  .apexmp-category-floating-card {
    position: static;
    width: 100%;
    margin-top: 1rem;
  }
}

@media (max-width: 600px) {
  .apexmp-category-term-grid,
  .apexmp-category-hero .apexmp-hero-grid,
  .apexmp-category-hero .apexmp-hero-stats,
  .apexmp-category-hero .apexmp-hero-note-grid {
    grid-template-columns: 1fr;
  }

  .apexmp-category-brand-nav a,
  .apexmp-category-toolbar select.orderby {
    width: 100%;
  }

  .apexmp-category-visual-main {
    min-height: 380px;
  }
}

/* Mobile-first refinement v0.3.4 */
:root {
  --apexmp-section-pad: clamp(1.15rem, 3vw, 2rem);
  --apexmp-card-pad: clamp(1rem, 2.4vw, 1.2rem);
}

html {
  scroll-padding-top: 6rem;
}

body,
button,
input,
select,
textarea {
  font-size: 16px;
}

body {
  line-height: 1.6;
}

:where(.wp-site-blocks, main, .entry-content, .apexmp-homepage, .apexmp-category-page) {
  overflow-x: clip;
}

h1,
h2,
h3,
.apexmp-section-heading,
.wp-block-query-title,
.apexmp-hero-copy h1,
.apexmp-category-landing h1 {
  text-wrap: balance;
}

p,
li,
figcaption,
.wp-block-paragraph,
.wp-block-list {
  line-height: 1.68;
}

.apexmp-section-shell {
  padding: var(--apexmp-section-pad);
}

.apexmp-homepage {
  gap: 1rem;
}

.apexmp-homepage section,
.apexmp-category-landing section {
  border-color: rgba(73, 246, 253, 0.12);
}

.apexmp-kicker {
  margin-bottom: 0.85rem;
}

.apexmp-section-heading,
.wp-block-query-title {
  font-size: clamp(1.95rem, 4vw, 3.15rem);
  line-height: 1.02;
}

.apexmp-hero-grid,
.apexmp-category-hero .apexmp-hero-grid {
  gap: clamp(1rem, 3vw, 1.4rem);
  align-items: start;
}

.apexmp-hero-copy h1 {
  font-size: clamp(2.15rem, 7vw, 4.1rem);
  line-height: 0.96;
  max-width: 11ch;
}

.apexmp-hero-copy p,
.apexmp-category-intro p {
  font-size: clamp(0.98rem, 2.8vw, 1.08rem);
  line-height: 1.7;
}

.apexmp-hero-actions {
  gap: 0.75rem;
}

.apexmp-hero-actions .apexmp-button,
.apexmp-product-card-actions .apexmp-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-product-button__button {
  min-height: 48px;
}

.apexmp-hero-stats,
.apexmp-hero-note-grid,
.apexmp-home-products-grid,
.apexmp-home-benefits-grid,
.apexmp-category-term-grid {
  gap: 0.85rem;
}

.apexmp-stat,
.apexmp-hero-note,
.apexmp-benefit-card,
.apexmp-product-card-body,
.apexmp-category-term-card-body {
  padding: var(--apexmp-card-pad);
}

.apexmp-hero-visual-main {
  min-height: clamp(320px, 62vw, 520px);
}

.apexmp-category-visual-main {
  min-height: clamp(320px, 68vw, 540px);
}

.apexmp-process-primary {
  min-height: clamp(280px, 52vw, 440px);
}

.apexmp-process-card {
  min-height: clamp(190px, 40vw, 230px);
}

.apexmp-header-shell {
  padding: 0.6rem 1.1rem;
  background: rgba(3, 5, 7, 0.96);
}

.apexmp-header-bar {
  display: grid;
  gap: 0.75rem;
  position: relative;
}

.apexmp-header-toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.apexmp-header-brand {
  width: auto;
  min-width: 0;
  flex: 0 1 auto;
}

.apexmp-header-logo {
  width: clamp(120px, 14vw, 160px);
}

.apexmp-header-nav--desktop {
  justify-content: flex-start;
  gap: 0.35rem;
}

.apexmp-header-nav--desktop > a,
.apexmp-header-nav--desktop .apexmp-nav-item > a {
  min-height: 42px;
  padding: 0.68rem 0.9rem;
  font-size: 0.95rem;
}

.apexmp-header-actions {
  width: auto;
  flex-wrap: nowrap;
  gap: 0.45rem;
  margin-left: auto;
}

.apexmp-header-iconlink {
  width: 40px;
  height: 40px;
}

.apexmp-header-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.65rem;
  min-height: 40px;
  padding: 0 0.9rem;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: rgba(73, 246, 253, 0.04);
  color: var(--apexmp-text);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.apexmp-header-menu-toggle:hover,
.apexmp-header-menu-toggle:focus-visible {
  border-color: var(--apexmp-cyan);
  color: var(--apexmp-cyan);
}

.apexmp-header-menu-toggle[aria-expanded="true"] {
  background: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
  color: #081014;
}

.apexmp-header-menu-toggle-icon,
.apexmp-header-menu-toggle-icon::before,
.apexmp-header-menu-toggle-icon::after {
  display: block;
  width: 1rem;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.apexmp-header-menu-toggle-icon {
  position: relative;
}

.apexmp-header-menu-toggle-icon::before,
.apexmp-header-menu-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.apexmp-header-menu-toggle-icon::before {
  top: -5px;
}

.apexmp-header-menu-toggle-icon::after {
  top: 5px;
}

.apexmp-header-menu-toggle[aria-expanded="true"] .apexmp-header-menu-toggle-icon {
  transform: rotate(45deg);
}

.apexmp-header-menu-toggle[aria-expanded="true"] .apexmp-header-menu-toggle-icon::before {
  transform: translateY(5px) rotate(90deg);
}

.apexmp-header-menu-toggle[aria-expanded="true"] .apexmp-header-menu-toggle-icon::after {
  opacity: 0;
}

.apexmp-mobile-panel[hidden] {
  display: none !important;
}

.apexmp-mobile-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.2rem);
  z-index: 80;
  padding: 1rem;
  border: 1px solid rgba(73, 246, 253, 0.16);
  background:
    linear-gradient(180deg, rgba(15, 19, 24, 0.98), rgba(7, 9, 12, 0.98)),
    radial-gradient(circle at top right, rgba(73, 246, 253, 0.1), transparent 32%);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.44);
}

.apexmp-mobile-nav {
  display: grid;
  gap: 0.5rem;
}

.apexmp-mobile-nav a,
.apexmp-mobile-highlight {
  text-decoration: none;
}

.apexmp-mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(73, 246, 253, 0.12);
  background: rgba(73, 246, 253, 0.04);
  color: #fff;
  font-weight: 700;
}

.apexmp-mobile-nav a::after {
  content: "↗";
  color: var(--apexmp-cyan);
  font-size: 0.95rem;
}

.apexmp-mobile-nav a:hover,
.apexmp-mobile-nav a:focus-visible,
.apexmp-mobile-highlight:hover,
.apexmp-mobile-highlight:focus-visible {
  border-color: rgba(73, 246, 253, 0.34);
  background: rgba(73, 246, 253, 0.09);
}

.apexmp-mobile-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.apexmp-mobile-highlight {
  display: grid;
  gap: 0.25rem;
  padding: 0.95rem;
  border: 1px solid rgba(73, 246, 253, 0.12);
  background: rgba(73, 246, 253, 0.04);
}

.apexmp-mobile-highlight strong {
  color: #fff;
  font-size: 0.94rem;
}

.apexmp-mobile-highlight span {
  color: var(--apexmp-text-muted);
  font-size: 0.83rem;
  line-height: 1.55;
}

.apexmp-hero-actions br,
.apexmp-category-brand-nav br,
.apexmp-hero-stats br,
.apexmp-hero-note-grid br,
.apexmp-product-card-body br {
  display: none;
}

body.apexmp-menu-open {
  overflow: hidden;
}

body.single-product main.wp-block-group,
body.woocommerce main.wp-block-group,
body.woocommerce-page main.wp-block-group,
body.post-type-archive-product main.wp-block-group {
  margin-top: 0 !important;
  max-width: none !important;
  width: 100%;
  padding-inline: 0 !important;
}

body.single-product .entry-content.wp-block-post-content,
body.single-product .wp-block-post-content,
body.single-product .wp-site-blocks {
  max-width: none !important;
  padding-inline: 0 !important;
}

/* WooCommerce inner product-detail blocks: kontrolliertes Padding statt Root-Padding */
body.single-product .wp-block-woocommerce-product-details,
body.single-product .wp-block-woocommerce-product-details.alignwide,
body.single-product .wp-block-columns.alignwide {
  max-width: var(--apexmp-content-width);
  width: 100%;
  margin-inline: auto;
  padding-inline: clamp(0.75rem, 3vw, 1.5rem);
}

@media (min-width: 861px) {
  body.single-product .wp-block-columns.alignwide,
  body.single-product .wp-block-woocommerce-product-details.alignwide {
    max-width: min(1680px, calc(100vw - 2rem));
    padding-inline: clamp(1rem, 2vw, 1.75rem);
  }

  body.single-product .wp-block-columns.alignwide {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: start;
    gap: clamp(1rem, 2vw, 2.1rem);
  }

  body.single-product .wp-block-columns.alignwide > .wp-block-column {
    min-width: 0;
  }

  body.single-product .wp-block-woocommerce-product-image-gallery,
  body.single-product .woocommerce-product-gallery {
    width: 100%;
    max-width: none;
  }

  body.single-product .woocommerce-product-gallery {
    opacity: 1 !important;
  }

  body.single-product .woocommerce-product-gallery .flex-viewport {
    margin-bottom: clamp(0.75rem, 1.1vw, 1rem);
    border: 1px solid rgba(73, 246, 253, 0.12);
    background:
      linear-gradient(180deg, rgba(13, 17, 21, 0.98), rgba(8, 10, 12, 0.98)),
      radial-gradient(circle at top left, rgba(73, 246, 253, 0.08), transparent 32%);
    box-shadow: var(--apexmp-shadow);
    overflow: hidden;
  }

  body.single-product .woocommerce-product-gallery__wrapper {
    display: block !important;
  }

  body.single-product .woocommerce-product-gallery__image {
    margin: 0 !important;
    background: #090c10;
    overflow: hidden;
  }

  body.single-product .woocommerce-product-gallery__image a {
    display: block;
    width: 100%;
  }

  body.single-product .flex-viewport .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: auto !important;
    display: block;
    object-fit: contain;
  }

  body.single-product .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.55rem, 0.9vw, 0.8rem);
    margin: 0;
    padding: 0;
    list-style: none;
  }

  body.single-product .flex-control-thumbs li {
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    border: 1px solid rgba(73, 246, 253, 0.14);
    background: #090c10;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(73, 246, 253, 0.04);
  }

  body.single-product .flex-control-thumbs img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    opacity: 0.72;
    transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  }

  body.single-product .flex-control-thumbs img.flex-active,
  body.single-product .flex-control-thumbs li:hover img,
  body.single-product .flex-control-thumbs li:focus-within img {
    opacity: 1;
  }
}

body.single-product .wp-block-post-excerpt,
body.single-product .wp-block-woocommerce-add-to-cart-form,
body.single-product .wp-block-woocommerce-product-meta,
body.single-product .variations_form,
body.single-product .single_variation_wrap {
  width: 100%;
  max-width: none;
}

body.single-product .apexmp-product-short-description {
  display: grid;
  gap: 0.7rem;
}

body.single-product .apexmp-product-short-description p,
body.single-product .apexmp-product-short-description ul,
body.single-product .apexmp-product-short-description ol {
  margin: 0;
}

body.single-product .apexmp-product-short-description ul,
body.single-product .apexmp-product-short-description ol {
  padding-left: 1.1rem;
}

body.single-product .apexmp-product-short-description li + li {
  margin-top: 0.35rem;
}

body.single-product .variations {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.7rem;
}

body.single-product .variations tr {
  display: grid;
  grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
  gap: 0.85rem;
  align-items: center;
}

body.single-product .variations th,
body.single-product .variations td {
  padding: 0;
  border: 0;
  width: auto;
}

body.single-product .variations td.value select {
  width: 100%;
  min-height: 52px;
}

body.single-product .reset_variations {
  display: inline-flex;
  margin-top: 0.45rem;
}

body.single-product .variations_button {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  width: 100%;
}

body.single-product form.cart:has(> .single_add_to_cart_button) {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 0.85rem;
  align-items: stretch;
  width: 100%;
}

body.single-product form.cart > .quantity {
  width: 100%;
}

body.single-product form.cart > .single_add_to_cart_button {
  width: 100%;
}

body.single-product .quantity,
body.single-product .quantity .qty,
body.single-product .single_add_to_cart_button {
  width: 100%;
}

body.single-product .quantity .qty,
body.single-product .single_add_to_cart_button {
  min-height: 56px;
}

/* Auch generische has-global-padding-Blöcke auf Produktseiten befreien */
body.single-product .has-global-padding,
body.single-product .is-layout-constrained {
  padding-inline: 0 !important;
}

body.single-product .woocommerce-tabs {
  padding-inline: 0.75rem;
}

body.single-product .woocommerce-tabs .tabs.wc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

body.single-product .woocommerce-tabs .tabs.wc-tabs li {
  margin: 0;
  padding: 0;
}

body.single-product .woocommerce-tabs .tabs.wc-tabs li a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  font-size: 0.92rem;
  color: var(--apexmp-text);
  text-decoration: none;
  border: 1px solid rgba(73, 246, 253, 0.18);
  border-radius: 0;
  background: rgba(73, 246, 253, 0.04);
}

body.single-product .woocommerce-tabs .tabs.wc-tabs li.active a {
  color: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
  background: rgba(73, 246, 253, 0.1);
}

.apexmp-footer-social {
  padding: 1.8rem 1.25rem 1.65rem;
}

.apexmp-footer-main {
  padding: 1.75rem 1.25rem 2rem;
}

.apexmp-footer-shell .wp-block-columns {
  gap: 1.25rem;
}

.apexmp-footer-shell .wp-block-column {
  min-width: 0;
}

.apexmp-footer-note {
  font-size: 0.92rem;
  line-height: 1.6;
}

body.post-type-archive-product main.wp-block-group,
body.tax-product_cat main.wp-block-group {
  gap: 1rem;
}

body.post-type-archive-product .wp-block-breadcrumbs {
  margin-bottom: 0.35rem;
}

body.post-type-archive-product .woocommerce-breadcrumb,
body.post-type-archive-product .woocommerce-breadcrumb a,
body.post-type-archive-product .wp-block-breadcrumbs,
body.post-type-archive-product .wp-block-breadcrumbs a {
  color: var(--apexmp-text-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

body.post-type-archive-product .wp-block-query-title {
  margin: 0;
}

body.post-type-archive-product .wp-block-group.alignwide.is-content-justification-space-between {
  gap: 0.9rem;
  align-items: center;
  margin: 0 0 1rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: linear-gradient(180deg, rgba(15, 19, 24, 0.98), rgba(7, 9, 12, 0.98));
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.24);
}

body.post-type-archive-product .wp-block-woocommerce-product-collection {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

body.post-type-archive-product .wc-block-product-template__responsive.columns-3,
.apexmp-category-products .wc-block-product-template__responsive.columns-3 {
  gap: 0.95rem;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

body.post-type-archive-product .wc-block-product,
.apexmp-category-products .wc-block-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
}

body.post-type-archive-product .wc-block-components-product-image,
.apexmp-category-products .wc-block-components-product-image {
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0d1317;
}

body.post-type-archive-product .wc-block-components-product-image img,
.apexmp-category-products .wc-block-components-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.post-type-archive-product .wp-block-post-title,
.apexmp-category-products .wp-block-post-title {
  margin: 0;
  padding: 1rem 1rem 0;
  text-align: left !important;
  font-size: 1rem;
  line-height: 1.45;
  min-height: 3.1em;
}

body.post-type-archive-product .wp-block-post-title a,
.apexmp-category-products .wp-block-post-title a {
  color: #fff;
  text-decoration: none;
}

body.post-type-archive-product .wp-block-post-title a:hover,
body.post-type-archive-product .wp-block-post-title a:focus-visible,
.apexmp-category-products .wp-block-post-title a:hover,
.apexmp-category-products .wp-block-post-title a:focus-visible {
  color: var(--apexmp-cyan);
}

body.post-type-archive-product .wc-block-components-product-price,
.apexmp-category-products .wc-block-components-product-price {
  padding: 0.2rem 1rem 0;
  color: var(--apexmp-cyan);
  font-weight: 800;
  text-align: left !important;
}

body.post-type-archive-product .wc-block-components-product-button,
.apexmp-category-products .wc-block-components-product-button {
  margin-top: auto;
  padding: 0.9rem 1rem 1rem;
}

body.post-type-archive-product .wc-block-components-product-button__button,
.apexmp-category-products .wc-block-components-product-button__button {
  width: 100%;
  justify-content: center;
  font-size: 0.88rem;
}

body.post-type-archive-product .wp-block-query-pagination,
.apexmp-category-products .wp-block-query-pagination {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

body.post-type-archive-product .wp-block-query-pagination a,
body.post-type-archive-product .wp-block-query-pagination span,
.apexmp-category-products .wp-block-query-pagination a,
.apexmp-category-products .wp-block-query-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(73, 246, 253, 0.14);
  background: rgba(73, 246, 253, 0.04);
  color: var(--apexmp-text);
  text-decoration: none;
}

body.post-type-archive-product .wp-block-query-pagination .current,
body.post-type-archive-product .wp-block-query-pagination a:hover,
body.post-type-archive-product .wp-block-query-pagination a:focus-visible,
.apexmp-category-products .wp-block-query-pagination .current,
.apexmp-category-products .wp-block-query-pagination a:hover,
.apexmp-category-products .wp-block-query-pagination a:focus-visible {
  background: var(--apexmp-cyan);
  border-color: var(--apexmp-cyan);
  color: #081014;
}

@media (max-width: 860px) {
  body.home {
    overflow-x: clip;
  }

  body.single-product {
    overflow-x: clip;
  }

  :where(.wp-site-blocks) > header {
    top: 0 !important;
    margin-top: 0 !important;
  }

  [data-apexmp-reveal],
  [data-apexmp-reveal].is-visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .home .entry-content.alignfull.wp-block-post-content,
  .home main > .wp-block-group.alignfull,
  .home .wp-block-post-content.is-layout-constrained > .alignfull,
  .home .wp-block-group.is-layout-constrained > .alignfull,
  .apexmp-homepage,
  .apexmp-homepage > section,
  .apexmp-section-shell,
  .apexmp-hero-grid,
  .apexmp-hero-copy {
    width: 100%;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .home main.wp-block-group,
  .home .entry-content.alignfull.wp-block-post-content,
  .home main > .wp-block-group.alignfull {
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .apexmp-home-hero .apexmp-hero-grid,
  .apexmp-home-featured,
  .apexmp-home-process,
  .apexmp-home-benefits,
  .apexmp-category-hero .apexmp-hero-grid,
  .apexmp-home-featured-head,
  .apexmp-home-products-grid,
  .apexmp-slider,
  .apexmp-slider-track {
    width: 100%;
    max-width: 100%;
  }

  .apexmp-header-shell {
    padding: 0.3rem 0.9rem;
  }

  .apexmp-header-nav--desktop {
    display: none;
  }

  .apexmp-header-menu-toggle {
    display: inline-flex;
  }

  .apexmp-mobile-panel:not([hidden]) {
    display: grid;
    gap: 0.7rem;
  }

  .apexmp-mobile-panel {
    position: fixed;
    left: auto;
    right: var(--apexmp-mobile-menu-right, 0.55rem);
    top: var(--apexmp-mobile-menu-top, calc(env(safe-area-inset-top, 0px) + 3.3rem));
    width: min(22rem, calc(100vw - var(--apexmp-mobile-menu-right, 0.55rem) - 0.55rem));
    max-width: calc(100vw - var(--apexmp-mobile-menu-right, 0.55rem) - 0.55rem);
    max-height: calc(100dvh - var(--apexmp-mobile-menu-top, calc(env(safe-area-inset-top, 0px) + 3.3rem)) - 0.75rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  }

  .apexmp-mobile-nav {
    gap: 0.42rem;
  }

  .apexmp-mobile-nav a {
    min-height: 52px;
    padding: 0.9rem 0.95rem;
  }

  .apexmp-mobile-highlights {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0;
  }

  .apexmp-hero-copy h1,
  .apexmp-category-landing h1 {
    max-width: none;
  }

  .apexmp-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .apexmp-hero-actions .apexmp-button {
    width: 100%;
  }

  .apexmp-hero-copy,
  .apexmp-home-featured-head > div,
  .apexmp-home-featured-head p,
  .apexmp-home-products-grid,
  .apexmp-product-card,
  .apexmp-product-card-body,
  .apexmp-product-card-title,
  .apexmp-slider,
  .apexmp-slider-track,
  .apexmp-slide,
  .apexmp-slide img {
    max-width: 100%;
  }

  .apexmp-home-products-grid,
  .apexmp-home-benefits-grid {
    grid-template-columns: 1fr;
  }

  .apexmp-home-products-grid .apexmp-product-card {
    align-self: start;
  }

  .apexmp-home-products-grid .apexmp-product-card-body {
    min-height: 0;
  }

  body.single-product main.wp-block-group,
  body.single-product .wp-block-group.has-global-padding.is-layout-constrained,
  body.single-product .wp-block-group.woocommerce.product,
  body.single-product .wp-block-columns.alignwide,
  body.single-product .wp-block-woocommerce-product-details.alignwide,
  body.single-product .wp-block-woocommerce-product-collection.alignwide,
  body.single-product .wc-block-store-notices.alignwide,
  body.single-product .wp-block-breadcrumbs.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-product main.wp-block-group,
  body.single-product .wp-block-group.woocommerce.product {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single-product .wp-block-columns.alignwide,
  body.single-product .wp-block-woocommerce-product-details.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single-product .wp-block-columns.alignwide > .wp-block-column:last-child {
    padding-inline: 0.75rem;
  }

  body:not(.home):not(.single-product):not(.post-type-archive-product):not(.tax-product_cat) main.wp-block-group,
  body:not(.home):not(.single-product):not(.post-type-archive-product):not(.tax-product_cat) main > .wp-block-group.alignfull,
  body:not(.home):not(.single-product):not(.post-type-archive-product):not(.tax-product_cat) main > .wp-block-group.alignfull > .wp-block-post-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body:not(.home):not(.single-product):not(.post-type-archive-product):not(.tax-product_cat) .entry-content.wp-block-post-content {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  body.single-product .wp-block-woocommerce-product-collection.alignwide,
  body.single-product .wc-block-store-notices.alignwide,
  body.single-product .wp-block-breadcrumbs.alignwide {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  body.single-product .wp-block-columns.alignwide {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  body.single-product .wp-block-columns.alignwide > .wp-block-column {
    min-width: 0;
    flex-basis: auto !important;
  }

  body.single-product .variations tr,
  body.single-product .variations_button {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .apexmp-footer-social,
  .apexmp-footer-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 720px) {
  .apexmp-hero-stats,
  .apexmp-hero-note-grid,
  .apexmp-category-term-grid {
    grid-template-columns: 1fr;
  }

  .apexmp-hero-copy {
    padding: 1rem;
    border: 1px solid rgba(73, 246, 253, 0.12);
    background: linear-gradient(180deg, rgba(8, 12, 15, 0.88), rgba(8, 12, 15, 0.62));
  }

  .apexmp-category-brand-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
  }

  .apexmp-category-brand-nav a {
    width: 100%;
    justify-content: center;
  }

  body.post-type-archive-product .wp-block-query-title {
    font-size: clamp(1.7rem, 8vw, 2rem);
  }

  body.post-type-archive-product .wp-block-group.alignwide.is-content-justification-space-between,
  .apexmp-category-toolbar {
    display: grid;
    grid-template-columns: 1fr;
    padding: 0.85rem 0.95rem;
  }

  body.post-type-archive-product .wc-block-product-template__responsive.columns-3,
  .apexmp-category-products .wc-block-product-template__responsive.columns-3 {
    grid-template-columns: 1fr !important;
  }

  body.post-type-archive-product .wc-block-components-product-image,
  .apexmp-category-products .wc-block-components-product-image {
    aspect-ratio: 1.08 / 1;
  }

  body.post-type-archive-product .wc-block-catalog-sorting,
  body.post-type-archive-product .woocommerce-ordering,
  body.post-type-archive-product select.orderby,
  .apexmp-category-toolbar .wc-block-catalog-sorting,
  .apexmp-category-toolbar .woocommerce-ordering,
  .apexmp-category-toolbar select.orderby {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .apexmp-header-logo {
    width: 88px;
  }

  .apexmp-header-iconlink,
  .apexmp-header-menu-toggle {
    min-height: 38px;
    height: 38px;
  }

  .apexmp-header-menu-toggle {
    padding: 0 0.75rem;
  }

  .apexmp-cart-drawer__actions {
    flex-direction: column;
  }

  .apexmp-cart-drawer__item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .apexmp-hero-visual-main,
  .apexmp-category-visual-main,
  .apexmp-slide {
    min-height: 240px;
  }

  .apexmp-slide {
    flex-basis: 168px;
    min-height: 190px;
  }

  .apexmp-footer-social-copy h3 {
    font-size: 1.45rem;
  }

  .apexmp-footer-note {
    font-size: 0.85rem;
  }
}

/* ── Mobile hotfix pass: remove extra top gaps + stop category overflow ── */
body.page main.wp-block-group,
body.post-type-archive-product main.wp-block-group,
body.tax-product_cat main.wp-block-group {
  margin-top: 0 !important;
}

body.page main > .wp-block-group.alignfull,
body.post-type-archive-product main > .wp-block-group.alignfull {
  padding-top: 0 !important;
}

body.page .entry-content.alignfull.wp-block-post-content,
body.post-type-archive-product .entry-content.alignfull.wp-block-post-content,
body.tax-product_cat .apexmp-category-page {
  padding-top: 0 !important;
}

@media (max-width: 860px) {
  .apexmp-header-shell {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    justify-content: space-between;
    padding: 0.22rem 0.45rem;
  }

  .apexmp-header-inner,
  .apexmp-header-bar,
  .apexmp-header-toprow {
    width: auto;
  }

  .apexmp-header-inner {
    flex: 1 1 auto;
    min-width: 0;
  }

  .apexmp-header-toprow {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 36px;
  }

  .apexmp-header-brand {
    flex: 0 0 auto;
    display: inline-flex;
    justify-content: flex-start;
    margin-right: 0;
    padding-right: 0;
  }

  .apexmp-header-actions-inline {
    display: none;
  }

  .apexmp-header-mobile-action {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    transform: none;
  }

  .apexmp-header-toprow {
    gap: 0.35rem;
  }

  .apexmp-header-logo {
    width: 80px;
  }

  .apexmp-header-iconlink,
  .apexmp-header-menu-toggle {
    min-height: 36px;
    height: 36px;
  }

  .apexmp-header-iconlink {
    width: 36px;
  }

  .apexmp-header-menu-toggle {
    gap: 0.5rem;
    padding: 0 0.7rem;
    font-size: 0.82rem;
    letter-spacing: 0.05em;
  }

  .apexmp-section-shell,
  .apexmp-footer-social,
  .apexmp-footer-main {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .apexmp-hero-grid,
  .apexmp-category-hero .apexmp-hero-grid,
  .apexmp-process-grid {
    grid-template-columns: 1fr !important;
  }

  .apexmp-hero-copy,
  .apexmp-hero-visual,
  .apexmp-category-hero .apexmp-hero-copy,
  .apexmp-category-hero .apexmp-hero-visual,
  .apexmp-category-intro,
  .apexmp-category-intro p,
  .apexmp-hero-copy p,
  .apexmp-category-brand-nav,
  .apexmp-category-brand-nav a {
    min-width: 0;
    max-width: 100%;
  }

  .apexmp-hero-copy > *,
  .apexmp-category-intro > * {
    max-width: 100%;
  }

  .apexmp-hero-copy p,
  .apexmp-category-intro p,
  .apexmp-hero-note span,
  .apexmp-stat span,
  .apexmp-mobile-highlight span,
  .apexmp-footer-shell p,
  .apexmp-footer-shell li {
    overflow-wrap: anywhere;
  }

  .apexmp-category-brand-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .apexmp-category-brand-nav a {
    justify-content: center;
    width: 100%;
    padding: 0.8rem 0.65rem;
    white-space: normal;
    text-align: center;
    line-height: 1.25;
  }

  .apexmp-hero-stats,
  .apexmp-hero-note-grid,
  .apexmp-category-term-grid,
  .apexmp-home-benefits-grid,
  .apexmp-home-products-grid,
  .apexmp-category-highlight-grid {
    grid-template-columns: 1fr;
  }

  .apexmp-category-visual-main,
  .apexmp-hero-visual-main {
    min-height: 300px;
  }

  .apexmp-category-floating-card,
  .apexmp-hero-floating-card {
    position: static;
    right: auto;
    bottom: auto;
    width: 100%;
    min-height: 180px;
    margin-top: 0.75rem;
  }
}

@media (max-width: 520px) {
  .apexmp-section-shell,
  .apexmp-footer-social,
  .apexmp-footer-main {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .apexmp-mobile-panel {
    right: var(--apexmp-mobile-menu-right, 0.35rem);
    width: calc(100vw - var(--apexmp-mobile-menu-right, 0.35rem) - 0.35rem);
    max-width: calc(100vw - var(--apexmp-mobile-menu-right, 0.35rem) - 0.35rem);
    padding: 0.65rem;
  }

  body.single-product .wp-block-columns.alignwide,
  body.single-product .wp-block-woocommerce-product-details.alignwide {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single-product .wp-block-columns.alignwide > .wp-block-column:last-child {
    padding-inline: 0.75rem;
  }

  body.single-product .wp-block-woocommerce-product-collection.alignwide,
  body.single-product .wc-block-store-notices.alignwide,
  body.single-product .wp-block-breadcrumbs.alignwide {
    padding-left: 0.35rem;
    padding-right: 0.35rem;
  }

  .apexmp-hero-grid,
  .apexmp-home-hero .apexmp-hero-grid,
  .apexmp-category-hero .apexmp-hero-grid {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
  }

  .apexmp-hero-copy,
  .apexmp-category-hero .apexmp-hero-copy {
    width: 100%;
    max-width: none;
    margin-inline: auto;
    padding: 0.95rem;
  }

  .apexmp-hero-copy h1 {
    max-width: none;
    text-wrap: pretty;
  }

  .apexmp-hero-copy p,
  .apexmp-category-intro p,
  .apexmp-product-card-title,
  .apexmp-home-featured-head p,
  .apexmp-footer-social-copy p {
    max-width: none;
  }

  .apexmp-home-hero .apexmp-hero-visual,
  .apexmp-category-hero .apexmp-hero-visual {
    display: none;
  }

  .apexmp-product-card-media,
  .apexmp-category-highlight-card .apexmp-product-card-media,
  .wc-block-components-product-image,
  .apexmp-slide {
    min-height: 220px;
    aspect-ratio: 1 / 1;
    background: #0c1014;
  }

  .apexmp-product-card-media img,
  .wc-block-components-product-image img,
  .apexmp-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .apexmp-slider {
    overflow-x: auto;
    overflow-y: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    padding-bottom: 0.35rem;
  }

  .apexmp-slider-track {
    width: max-content;
    max-width: none;
    padding-right: 0;
  }

  .apexmp-slide {
    flex: 0 0 min(72vw, 240px);
  }

  .apexmp-header-menu-toggle {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .apexmp-header-menu-toggle span:last-child {
    display: none;
  }

  .apexmp-category-brand-nav {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   Desktop-only refinements (>= 861px).
   These rules are scoped to wider viewports so the mobile
   rendering above (max-width: 860px and below) is untouched.
   ============================================================ */
@media (min-width: 861px) {
  .apexmp-header-mobile-action {
    display: none !important;
  }

  .apexmp-header-shell {
    padding: 0;
    background: rgba(5, 7, 9, 0.96);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(73, 246, 253, 0.14);
  }

  .apexmp-header-inner {
    width: 100%;
    max-width: var(--apexmp-content-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 2.5vw, 2rem);
  }

  /* Single flex row: brand | nav | actions */
  .apexmp-header-bar {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(1rem, 2vw, 2rem);
    min-height: 64px;
    padding: 0;
    width: 100%;
  }

  .apexmp-header-toprow {
    display: contents;
  }

  .apexmp-header-brand {
    order: 1;
    flex: 0 0 auto;
    align-items: center;
    line-height: 0;
    margin: 0;
  }

  .apexmp-header-logo {
    width: auto;
    height: 40px;
    max-height: 40px;
    display: block;
  }

  .apexmp-header-nav--desktop {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.15rem;
    min-width: 0;
    width: auto;
  }

  .apexmp-header-nav--desktop > a,
  .apexmp-header-nav--desktop .apexmp-nav-item > a {
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    font-size: 0.92rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    color: var(--apexmp-text);
    text-transform: none;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
  }

  .apexmp-header-nav--desktop > a:hover,
  .apexmp-header-nav--desktop > a:focus-visible,
  .apexmp-header-nav--desktop .apexmp-nav-item > a:hover,
  .apexmp-header-nav--desktop .apexmp-nav-item > a:focus-visible {
    color: var(--apexmp-cyan);
    background: rgba(73, 246, 253, 0.08);
    border-color: rgba(73, 246, 253, 0.22);
    transform: none;
  }

  .apexmp-header-actions.apexmp-header-actions-inline {
    order: 3;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-left: 0;
    width: auto;
    flex: 0 0 auto;
    flex-wrap: nowrap;
  }

  .apexmp-header-menu-toggle {
    display: none !important;
  }

  .apexmp-header-iconlink {
    width: 38px;
    height: 38px;
    border-radius: 0;
    border-color: rgba(73, 246, 253, 0.16);
  }

  .apexmp-header-iconlink svg {
    width: 18px;
    height: 18px;
  }

  .apexmp-nav-dropdown {
    top: calc(100% + 0.35rem);
  }

  .apexmp-mobile-panel {
    display: none !important;
  }

  .apexmp-product-card-body {
    min-height: 0;
    flex: 1 1 auto;
  }
}

/* === Desktop homepage layout (>= 901px) ============================== */
@media (min-width: 901px) {
  /* Center the homepage container within the new content width */
  .apexmp-homepage {
    max-width: var(--apexmp-content-width);
    margin-left: auto;
    margin-right: auto;
    padding-inline: clamp(1rem, 2.5vw, 2rem);
  }

  /* Two-column hero: copy left, visual right, stretched full width */
  .apexmp-home-hero .apexmp-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    max-width: none;
    margin: 0;
    gap: clamp(1.6rem, 3vw, 2.8rem);
    align-items: stretch;
  }

  .apexmp-home-hero .apexmp-hero-copy {
    max-width: none;
    padding-right: 0.5rem;
  }

  .apexmp-home-hero .apexmp-hero-visual {
    margin-top: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .apexmp-home-hero .apexmp-hero-visual-main {
    flex: 1 1 auto;
    min-height: clamp(420px, 42vw, 580px);
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  /* Cinematic image embed: soft fade into background, cyan aura */
  .apexmp-home-hero .apexmp-hero-visual-main.apexmp-hero-visual-bleed::before {
    content: "";
    position: absolute;
    inset: -8% -6% -10% -8%;
    background:
      radial-gradient(ellipse at 50% 42%, rgba(73, 246, 253, 0.18), transparent 58%),
      radial-gradient(ellipse at 50% 55%, rgba(73, 246, 253, 0.06), transparent 72%);
    filter: blur(6px);
    pointer-events: none;
    z-index: 0;
  }

  .apexmp-home-hero .apexmp-hero-visual-main.apexmp-hero-visual-bleed::after {
    display: none;
  }

  .apexmp-home-hero .apexmp-hero-visual-main.apexmp-hero-visual-bleed img {
    position: relative;
    z-index: 1;
    object-fit: cover;
    object-position: center 38%;
    -webkit-mask-image:
      radial-gradient(ellipse 78% 88% at 50% 50%, #000 55%, transparent 100%);
    mask-image:
      radial-gradient(ellipse 78% 88% at 50% 50%, #000 55%, transparent 100%);
    transition: transform 1200ms cubic-bezier(0.2, 0.6, 0.2, 1);
  }

  .apexmp-home-hero .apexmp-hero-visual-main.apexmp-hero-visual-bleed:hover img {
    transform: scale(1.03);
  }

  .apexmp-home-hero .apexmp-hero-visual-main.apexmp-hero-visual-bleed:hover {
    transform: none;
    border: 0;
    box-shadow: none;
  }

  .apexmp-home-hero .apexmp-hero-note-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 0;
  }

  /* Hero stats span the full copy width */
  .apexmp-home-hero .apexmp-hero-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* Featured / process: use full content width with comfortable gaps */
  .apexmp-home-products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .apexmp-home-process .apexmp-process-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(1rem, 2vw, 1.6rem);
  }
}

@media (min-width: 1200px) {
  .apexmp-home-benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.apexmp-contact-form-shell {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.apexmp-contact-intro h2 {
  margin-bottom: 0.55rem;
}

.apexmp-contact-intro p {
  margin: 0;
  max-width: 720px;
}

.apexmp-contact-notice {
  padding: 0.9rem 1rem;
  border: 1px solid var(--apexmp-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--apexmp-text);
}

.apexmp-contact-notice--success {
  border-color: rgba(73, 246, 253, 0.38);
  background: rgba(73, 246, 253, 0.08);
}

.apexmp-contact-notice--error {
  border-color: rgba(255, 110, 110, 0.4);
  background: rgba(255, 110, 110, 0.08);
}

.apexmp-contact-form {
  display: grid;
  gap: 1rem;
}

.apexmp-contact-form label {
  display: grid;
  gap: 0.45rem;
}

.apexmp-contact-form label span {
  color: var(--apexmp-text);
  font-weight: 600;
}

.apexmp-contact-grid {
  display: grid;
  gap: 1rem;
}

.apexmp-contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.apexmp-contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.1rem;
}

.apexmp-contact-actions p {
  margin: 0;
}

.apexmp-contact-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 720px) {
  .apexmp-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ============================================
   WooCommerce Blocks – Checkout/Cart Dark-Theme Fix
   Eingabefelder mit weißem Hintergrund → dunkler Text/Labels
   ============================================ */
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
  --wp--preset--color--contrast: #1a1a1a;
}

/* Eingabefelder: dunkler Text auf weißem Hintergrund */
.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-select select,
.wc-block-components-combobox input,
.wc-block-components-address-form input,
.wc-block-components-address-form select,
.wc-block-checkout__form input,
.wc-block-checkout__form textarea,
.wc-block-checkout__form select {
  color: #1a1a1a !important;
  background-color: #ffffff !important;
}

/* Floating Labels (schweben in den Inputs) */
.wc-block-components-text-input label,
.wc-block-components-combobox label,
.wc-block-components-checkbox__label,
.wc-block-components-radio-control__label,
.wc-block-components-select label {
  color: #4a4a4a !important;
}

/* Placeholder-Text */
.wc-block-components-text-input input::placeholder,
.wc-block-components-text-input textarea::placeholder,
.wc-block-checkout__form input::placeholder {
  color: #6b6b6b !important;
  opacity: 1;
}

/* Border der Felder etwas dunkler für besseren Kontrast */
.wc-block-components-text-input,
.wc-block-components-combobox,
.wc-block-components-select {
  border-color: #cccccc !important;
}

/* Validation Errors lesbar */
.wc-block-components-validation-error {
  color: #d63638 !important;
}

/* Bestellübersicht rechts: bessere Lesbarkeit */
.wc-block-components-totals-item__label,
.wc-block-components-totals-item__value,
.wc-block-components-order-summary-item__quantity,
.wc-block-components-product-name {
  color: inherit;
}

/* Disabled state */
.wc-block-components-text-input input:disabled {
  background-color: #f0f0f0 !important;
  color: #555 !important;
}

/* AGB-Checkbox / Pflicht-Hinweise von Germanized */
.wc-block-checkout__terms,
.wc-gzd-checkbox,
.wc-gzd-checkout-checkboxes,
.wc-block-components-checkbox__input {
  color: inherit;
}

/* Autofill Farben (Chrome füllt sonst gelblich/weiß) */
.wc-block-components-text-input input:-webkit-autofill,
.wc-block-components-text-input input:-webkit-autofill:hover,
.wc-block-components-text-input input:-webkit-autofill:focus {
  -webkit-text-fill-color: #1a1a1a !important;
  -webkit-box-shadow: 0 0 0px 1000px #ffffff inset !important;
}

.apexmp-cookie-consent {
  position: fixed;
  inset: auto 20px 20px;
  z-index: 9999;
  max-width: min(640px, calc(100vw - 40px));
  transition: opacity 180ms ease, transform 180ms ease;
}

.apexmp-cookie-consent.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
}

.apexmp-cookie-consent__panel {
  position: relative;
  z-index: 1;

  display: grid;
  gap: 18px;
  padding: 20px 22px;
  border: 1px solid rgba(118, 255, 255, 0.2);
  border-radius: 22px;
  background: rgba(7, 12, 16, 0.92);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(16px);
}

.apexmp-cookie-consent__eyebrow {
  margin-bottom: 8px;
  color: var(--wp--preset--color--cyan-bright, #6ef2ff);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.apexmp-cookie-consent__copy h3 {
  margin: 0 0 10px;
  color: #f5fbff;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.apexmp-cookie-consent__copy p {
  margin: 0;
  color: rgba(229, 242, 247, 0.82);
  font-size: 0.95rem;
  line-height: 1.6;
}

.apexmp-cookie-consent__link {
  position: relative;
  z-index: 2;
  pointer-events: auto;

  display: inline-flex;
  margin-top: 12px;
  color: var(--wp--preset--color--cyan-bright, #6ef2ff);
  font-weight: 600;
  text-decoration: none;
}

.apexmp-cookie-consent__link:hover,
.apexmp-cookie-consent__link:focus {
  color: #ffffff;
}

.apexmp-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.apexmp-cookie-consent__button,
.apexmp-cookie-settings {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--wp--preset--color--cyan-bright, #6ef2ff), #36d6f4);
  color: #041017;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1;
}

.apexmp-cookie-consent__button {
  position: relative;
  z-index: 2;
  pointer-events: auto;

  min-height: 46px;
  padding: 0 18px;
}

.apexmp-cookie-consent__button.is-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f5fbff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.apexmp-cookie-settings {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9998;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.apexmp-cookie-settings.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@media (max-width: 640px) {
  .apexmp-cookie-consent {
    inset: auto 12px 12px;
    max-width: calc(100vw - 24px);
  }

  .apexmp-cookie-consent__panel {
    padding: 18px;
    border-radius: 18px;
  }

  .apexmp-cookie-consent__actions {
    flex-direction: column;
  }

  .apexmp-cookie-consent__button,
  .apexmp-cookie-settings {
    width: 100%;
    justify-content: center;
  }

  .apexmp-cookie-settings {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
}

.apexmp-contact-recaptcha {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
}

.apexmp-contact-recaptcha .g-recaptcha {
  display: inline-block;
  max-width: 100%;
}

@media (max-width: 480px) {
  .apexmp-contact-recaptcha {
    overflow-x: auto;
  }
}

.apexmp-withdrawal-extra,
.apexmp-withdrawal-recaptcha {
  margin-top: 1rem;
}

.apexmp-withdrawal-extra select {
  width: 100%;
}

.apexmp-withdrawal-recaptcha .g-recaptcha {
  display: inline-block;
  max-width: 100%;
}

@media (max-width: 480px) {
  .apexmp-withdrawal-recaptcha {
    overflow-x: auto;
  }
}



/* === Express Checkout & PayPal Buttons – bündige Außenkanten === */
/* PayPal-Wrapper hat ein 4px-Padding links/rechts vom Plugin -> Button wird schmaler.
   Wir entfernen es und zwingen beide Reihen auf die gleiche Breite. */
.ppc-button-wrapper {
  padding: 0 !important;
  margin-top: 14px !important;
}

.wcpay-express-checkout-wrapper {
  padding: 0 !important;
  margin: 14px 0 0 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.wcpay-express-checkout-wrapper > #wcpay-express-checkout-element,
.wcpay-express-checkout-wrapper > .StripeElement,
.wcpay-express-checkout-wrapper iframe {
  width: 100% !important;
  max-width: 100% !important;
}

.wcpay-express-checkout-wrapper iframe {
  margin: 0 !important;
}

/* ── Header search bar ───────────────────────────────────── */

.apexmp-header-search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 220px;
  max-width: 220px;
  height: 40px;
}

.apexmp-header-search-input {
  width: 100%;
  height: 100%;
  padding: 0 2.2rem 0 0.75rem;
  border: 1px solid var(--apexmp-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--apexmp-text);
  font: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 180ms ease, background-color 180ms ease;
  -webkit-appearance: none;
  appearance: none;
}

.apexmp-header-search-input::placeholder {
  color: var(--apexmp-text-soft);
  opacity: 1;
}

.apexmp-header-search-input:focus {
  border-color: var(--apexmp-cyan);
  background: rgba(73, 246, 253, 0.04);
}

.apexmp-header-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

.apexmp-header-search-submit {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--apexmp-text-soft);
  cursor: pointer;
  transition: color 180ms ease;
}

.apexmp-header-search-submit:hover,
.apexmp-header-search-submit:focus-visible {
  color: var(--apexmp-cyan);
}

.apexmp-header-search-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.apexmp-header-search-input:focus ~ .apexmp-header-search-submit {
  color: var(--apexmp-cyan);
}

/* Mobile search in mobile panel */
.apexmp-header-search--mobile {
  flex: unset;
  max-width: none;
  width: 100%;
  height: 44px;
}

.apexmp-header-search--mobile .apexmp-header-search-input {
  font-size: 0.92rem;
  padding-left: 0.85rem;
}

/* Responsive: hide desktop search on mobile, show mobile search in panel */
@media (max-width: 860px) {
  .apexmp-header-actions-inline .apexmp-header-search {
    display: none;
  }
}

@media (min-width: 861px) {
  .apexmp-header-search--mobile {
    display: none;
  }
}


/* === Header Search === */
.apexmp-search {
  position: relative;
  display: flex;
  align-items: center;
}

.apexmp-search-icon {
  position: absolute;
  left: 10px;
  width: 16px;
  height: 16px;
  fill: var(--apexmp-text-soft);
  pointer-events: none;
  transition: fill 200ms ease;
}

.apexmp-search-input {
  width: 100%;
  padding: 7px 12px 7px 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--apexmp-border);
  color: var(--apexmp-text);
  font-size: 0.85rem;
  font-family: inherit;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.apexmp-search-input::placeholder {
  color: var(--apexmp-text-soft);
  opacity: 1;
}

.apexmp-search-input:focus {
  outline: none;
  border-color: var(--apexmp-cyan);
  box-shadow: 0 0 0 2px rgba(73, 246, 253, 0.12);
  background: rgba(255, 255, 255, 0.08);
}

.apexmp-search-input:focus ~ .apexmp-search-icon,
.apexmp-search:focus-within .apexmp-search-icon {
  fill: var(--apexmp-cyan);
}

/* Desktop */
.apexmp-search--desktop {
  margin-left: auto;
  flex: 0 0 auto;
  max-width: 200px;
}

.apexmp-search--desktop .apexmp-search-input {
  width: 160px;
  transition: width 250ms ease, border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

.apexmp-search--desktop .apexmp-search-input:focus {
  width: 200px;
}

/* Mobile */
.apexmp-search--mobile {
  padding: 0.75rem 1rem 0.25rem;
}

.apexmp-search--mobile .apexmp-search-input {
  padding: 10px 12px 10px 38px;
  font-size: 1rem;
}

.apexmp-search--mobile .apexmp-search-icon {
  width: 18px;
  height: 18px;
  left: 22px;
}

/* Hide webkit search cancel button for cleaner look */
.apexmp-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
}

/* handled by parent nav at 860px */

/* === Search Dropdown === */
.apexmp-search {
  position: relative;
}

.apexmp-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  margin-top: 4px;
  background: var(--apexmp-bg-card);
  border: 1px solid var(--apexmp-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.apexmp-search--desktop .apexmp-search-dropdown {
  min-width: 280px;
  right: 0;
  left: auto;
}

.apexmp-search-result {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--apexmp-text);
  transition: background 150ms ease;
  border-bottom: 1px solid var(--apexmp-border);
}

.apexmp-search-result:last-child {
  border-bottom: none;
}

.apexmp-search-result:hover,
.apexmp-search-result:focus {
  background: rgba(73, 246, 253, 0.06);
  color: var(--apexmp-text);
}

.apexmp-search-result-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  flex: 0 0 40px;
  background: var(--apexmp-bg-soft);
}

.apexmp-search-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.apexmp-search-result-name {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--apexmp-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.apexmp-search-result-price {
  font-size: 0.78rem;
  color: var(--apexmp-cyan);
}

.apexmp-search-empty {
  padding: 12px 14px;
  font-size: 0.85rem;
  color: var(--apexmp-text-soft);
}
