:root {
  --vesc-accent: #ff7600;
  --vesc-bg: #080a0c;
  --vesc-surface: #0e1114;
  --vesc-surface-2: #14181c;
  --vesc-text: #f6f7f8;
  --vesc-muted: #9ba2aa;
  --vesc-line: rgba(255,255,255,.10);
  --vesc-header: rgba(8,10,12,.86);
  --vesc-shadow: 0 24px 70px rgba(0,0,0,.28);
  --vesc-radius: 18px;
  color-scheme: dark;
}
:root[data-theme="light"] {
  --vesc-bg: #f7f7f5;
  --vesc-surface: #ffffff;
  --vesc-surface-2: #f0f1ef;
  --vesc-text: #111315;
  --vesc-muted: #626971;
  --vesc-line: rgba(17,19,21,.12);
  --vesc-header: rgba(247,247,245,.88);
  --vesc-shadow: 0 22px 60px rgba(21,25,28,.08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--vesc-bg); color: var(--vesc-text); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
.vesc-container { width: min(1440px, calc(100% - 48px)); margin-inline: auto; }
.screen-reader-text { position: absolute; left: -9999px; }
.screen-reader-text:focus { left: 20px; top: 20px; z-index: 99999; background: var(--vesc-surface); padding: 12px 16px; border-radius: 8px; }
.site-header { position: sticky; top: 0; z-index: 1000; border-bottom: 1px solid var(--vesc-line); background: var(--vesc-header); backdrop-filter: blur(18px); }
.site-header__inner { min-height: 76px; display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 24px; }
.site-title { font-weight: 900; letter-spacing: .08em; font-size: 1.2rem; }
.site-title small { display: block; font-size: .48rem; letter-spacing: .42em; text-align: center; margin-top: -4px; }
.custom-logo { max-height: 48px; width: auto; }
.primary-navigation .menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: 34px; }
.primary-navigation a { font-size: .92rem; color: var(--vesc-muted); transition: color .2s; }
.primary-navigation a:hover, .primary-navigation .current-menu-item > a { color: var(--vesc-text); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.mode-toggle, .menu-toggle, .header-cart { min-height: 40px; border: 1px solid var(--vesc-line); background: transparent; color: var(--vesc-text); border-radius: 9px; padding: 0 14px; cursor: pointer; }
.menu-toggle { display: none; }
.home-hero { min-height: min(800px, calc(100vh - 76px)); display: grid; align-items: center; border-bottom: 1px solid var(--vesc-line); overflow: hidden; }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 48px; padding-block: 72px; }
.home-hero__copy { max-width: 680px; position: relative; z-index: 2; }
.eyebrow { color: var(--vesc-accent); font-size: .72rem; font-weight: 800; letter-spacing: .1em; margin-bottom: 16px; }
h1, h2, h3 { line-height: 1.04; letter-spacing: -.035em; }
.home-hero h1 { font-size: clamp(3.2rem, 6vw, 6.9rem); margin: 0 0 24px; max-width: 830px; }
.home-hero p { color: var(--vesc-muted); max-width: 610px; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { display: inline-flex; justify-content: center; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 9px; border: 1px solid var(--vesc-line); font-weight: 700; background: var(--vesc-surface); color: var(--vesc-text); }
.button--primary, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt { background: var(--vesc-accent) !important; color: #fff !important; border-color: var(--vesc-accent) !important; }
.button--secondary { background: transparent; }
.home-hero__visual { min-height: 560px; position: relative; display: grid; place-items: center; }
.hero-orbit { position: absolute; width: min(540px, 80%); aspect-ratio: 1; border: 1px solid color-mix(in srgb, var(--vesc-accent) 45%, transparent); border-radius: 50%; box-shadow: 0 0 120px color-mix(in srgb, var(--vesc-accent) 12%, transparent); }
.hero-product-image { width: min(780px, 100%); position: relative; z-index: 1; filter: drop-shadow(0 34px 38px rgba(0,0,0,.35)); }
.hero-placeholder { position: relative; z-index: 1; width: 72%; aspect-ratio: 1.3; border-radius: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(145deg, var(--vesc-surface-2), var(--vesc-surface)); border: 1px solid var(--vesc-line); transform: perspective(1000px) rotateX(58deg) rotateZ(-29deg); box-shadow: var(--vesc-shadow); }
.hero-placeholder span { font-size: 4rem; font-weight: 900; letter-spacing: .1em; }
.hero-placeholder small { max-width: 300px; text-align: center; color: var(--vesc-muted); }
.home-section { padding: 96px 0; border-bottom: 1px solid var(--vesc-line); }
.section-heading { max-width: 800px; margin-bottom: 36px; }
.section-heading h2, .split-panel h2 { font-size: clamp(2.2rem, 4vw, 4rem); margin: 0; }
.section-heading--row { display: flex; max-width: none; justify-content: space-between; align-items: end; gap: 30px; }
.section-heading--row > a, .text-link { color: var(--vesc-accent); font-weight: 700; }
.benefit-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.feature-card, .content-card { padding: 28px; border: 1px solid var(--vesc-line); background: var(--vesc-surface); border-radius: var(--vesc-radius); }
.feature-card h3 { font-size: 1.05rem; margin: 20px 0 8px; letter-spacing: -.01em; }
.feature-card p { color: var(--vesc-muted); margin: 0; font-size: .9rem; }
.feature-icon { color: var(--vesc-accent); font-size: 1.5rem; }
.product-showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.product-showcase { border: 1px solid var(--vesc-line); background: var(--vesc-surface); border-radius: var(--vesc-radius); overflow: hidden; transition: transform .2s, border-color .2s; }
.product-showcase:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--vesc-accent) 50%, var(--vesc-line)); }
.product-showcase__image { aspect-ratio: 1.2; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--vesc-accent) 7%, transparent), transparent 58%); }
.product-showcase__image img { max-height: 100%; object-fit: contain; }
.product-showcase__body { padding: 24px; border-top: 1px solid var(--vesc-line); }
.product-showcase__body h3 { font-size: 1.5rem; margin: 0 0 10px; }
.product-showcase__price { color: var(--vesc-muted); margin-bottom: 18px; }
.product-showcase__body > span { color: var(--vesc-accent); font-weight: 700; }
.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split-panel p { color: var(--vesc-muted); font-size: 1.05rem; }
.resource-links { border: 1px solid var(--vesc-line); background: var(--vesc-surface); border-radius: var(--vesc-radius); overflow: hidden; }
.resource-links a { padding: 22px 24px; display: flex; justify-content: space-between; border-bottom: 1px solid var(--vesc-line); font-weight: 650; }
.resource-links a:last-child { border-bottom: 0; }
.resource-links span { color: var(--vesc-accent); }
.vesc-content, .woo-main { padding-top: 56px; padding-bottom: 96px; }
.site-footer { padding: 54px 0 0; background: var(--vesc-surface); border-top: 1px solid var(--vesc-line); }
.site-footer__main { display:grid; grid-template-columns:1fr 1fr; gap:clamp(48px,10vw,180px); align-items:start; }
.site-footer__column--policies { text-align:right; }
.site-footer__column h2 { margin:0 0 22px; font-size:1.25rem; letter-spacing:-.02em; }
.site-footer__column ul { list-style:none; margin:0; padding:0; display:grid; gap:11px; }
.site-footer__column a { color:var(--vesc-text); text-decoration:none; font-size:1.05rem; }
.site-footer__column a:hover,.site-footer__column a:focus-visible { color:var(--vesc-accent); }
.site-footer__social-row { min-height:118px; display:flex; align-items:center; justify-content:center; }
.footer-socials { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:18px; }
.footer-social { width:44px; height:44px; display:grid; place-items:center; color:var(--vesc-text); border-radius:10px; transition:color .18s ease,background-color .18s ease,transform .18s ease; }
.footer-social:hover,.footer-social:focus-visible { color:var(--vesc-accent); background:var(--vesc-surface-2); transform:translateY(-2px); }
.footer-social svg { width:29px; height:29px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.footer-social--github svg,.footer-social--facebook svg,.footer-social--discord svg { fill:currentColor; stroke:none; }
.site-footer__legal { padding:26px 0 28px; background:color-mix(in srgb,var(--vesc-bg) 35%,var(--vesc-surface)); text-align:center; }
.site-footer__legal p { margin:4px 0; color:var(--vesc-muted); font-size:.95rem; }
/* WooCommerce */
.woocommerce .woocommerce-breadcrumb { color: var(--vesc-muted); font-size: .86rem; margin-bottom: 30px; }
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr); gap: clamp(42px, 6vw, 90px); align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto; float: none; margin: 0; }
.woocommerce div.product div.images { position: relative; top: auto; }
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper { border: 1px solid var(--vesc-line); background: var(--vesc-surface); border-radius: var(--vesc-radius); overflow: hidden; }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px !important; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; border: 1px solid var(--vesc-line); border-radius: 10px; overflow: hidden; }
.woocommerce div.product .summary { padding: 10px 0; }
.woocommerce div.product .product_title { font-size:var(--vesc-product-title-desktop,48px); margin:0 0 18px; line-height:1.04; }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--vesc-muted); font-size: 1.05rem; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--vesc-text); font-weight: 800; font-size: 1.8rem; }
.woocommerce div.product form.cart { padding: 22px; border: 1px solid var(--vesc-line); background: var(--vesc-surface); border-radius: 14px; display: flex; gap: 10px; }
.woocommerce div.product .product_meta { display:grid; gap:5px; }
.woocommerce div.product .product_meta > span { display:block; }
.woocommerce .quantity .qty { min-height: 48px; border: 1px solid var(--vesc-line); border-radius: 9px; background: var(--vesc-bg); color: var(--vesc-text); }
.woocommerce div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 50px; border: 1px solid var(--vesc-line); background: var(--vesc-surface); border-radius: var(--vesc-radius); overflow: hidden; }
.woocommerce div.product .woocommerce-tabs ul.tabs { margin: 0 !important; padding: 0 22px !important; border-bottom: 1px solid var(--vesc-line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { border: 0 !important; background: transparent !important; margin: 0 24px 0 0 !important; padding: 0 !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 18px 0 !important; color: var(--vesc-muted) !important; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--vesc-text) !important; border-bottom: 2px solid var(--vesc-accent); }
.woocommerce div.product .woocommerce-tabs .panel { padding: 28px; margin: 0 !important; }
.woocommerce ul.products { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); grid-auto-rows:1fr; gap:16px; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { display:flex !important; flex-direction:column; height:100%; float:none !important; width:auto !important; margin:0 !important; padding:18px; border:1px solid var(--vesc-line); background:var(--vesc-surface); border-radius:14px; }
.woocommerce ul.products li.product > .woocommerce-LoopProduct-link { display:flex; flex:1 1 auto; flex-direction:column; width:100%; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.15rem; }
.woocommerce ul.products li.product .price { color: var(--vesc-muted); }
/* Common Woo Product Bundles presentation */
.woocommerce .bundle_form, .woocommerce .bundled_product, .woocommerce .bundle_wrap, .woocommerce .bundle_data { color: var(--vesc-text); }
.woocommerce .bundled_product { border: 1px solid var(--vesc-line); background: var(--vesc-surface); border-radius: 12px; padding: 18px !important; margin-bottom: 10px !important; }
.woocommerce .bundled_product .bundled_product_images { border-radius: 10px; overflow: hidden; }
.woocommerce .bundled_product_title { font-size: 1.05rem !important; }
/* Broad compatibility with quantity/wholesale pricing tables without owning their logic */
.woocommerce table, .woocommerce table.shop_table, .woocommerce .pricing-table, .woocommerce .quantity-pricing-table, .woocommerce .tiered-pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--vesc-line); border-radius: 12px; overflow: hidden; background: var(--vesc-surface); }
.woocommerce table th, .woocommerce table td, .woocommerce .pricing-table th, .woocommerce .pricing-table td, .woocommerce .quantity-pricing-table th, .woocommerce .quantity-pricing-table td, .woocommerce .tiered-pricing-table th, .woocommerce .tiered-pricing-table td { padding: 12px 14px; border: 0; border-bottom: 1px solid var(--vesc-line); text-align: left; }
.woocommerce table tr:last-child td { border-bottom: 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { background: var(--vesc-surface); color: var(--vesc-text); border-top-color: var(--vesc-accent); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--vesc-accent); }
@media (max-width: 980px) {
  .vesc-container { width: min(100% - 32px, 1440px); }
  .primary-navigation { position: absolute; top: 76px; left: 16px; right: 16px; display: none; background: var(--vesc-surface); border: 1px solid var(--vesc-line); border-radius: 14px; padding: 20px; box-shadow: var(--vesc-shadow); }
  .primary-navigation.is-open { display: block; }
  .primary-navigation .menu { display: grid; justify-content: stretch; gap: 4px; }
  .primary-navigation a { display: block; padding: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .home-hero__grid, .split-panel, .woocommerce div.product { grid-template-columns: 1fr; }
  .home-hero { min-height: auto; }
  .home-hero__visual { min-height: 430px; }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .product-showcase-grid, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
  .woocommerce div.product div.images { position: static; }
}
@media (max-width: 640px) {
  .vesc-container { width: min(100% - 24px, 1440px); }
  .site-header__inner { min-height: 66px; }
  .primary-navigation { top: 66px; }
  .home-hero__grid { padding-block: 42px; gap: 20px; }
  .home-hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .home-hero__visual { min-height: 300px; }
  .hero-placeholder { width: 86%; }
  .home-section { padding: 64px 0; }
  .benefit-grid, .product-showcase-grid, .woocommerce ul.products { grid-template-columns: 1fr; }
  .section-heading--row { align-items: start; flex-direction: column; }
  .woocommerce div.product form.cart { flex-direction: column; }
  .woocommerce div.product .product_title { font-size:var(--vesc-product-title-mobile,32px); }
}
/* Product Bundles is a compound form; never use the simple-product flex row. */
.woocommerce div.product form.bundle_form.cart,
.woocommerce div.product form.composite_form.cart {
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
}

.woocommerce div.product .bundle_form .bundled_products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 22px;
}

.woocommerce div.product .bundle_form .bundled_product {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  grid-template-areas:
    "image title"
    "image details";
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
  min-width: 0;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--vesc-line);
  border-radius: 14px;
  background: var(--vesc-surface);
  box-shadow: none;
}

.woocommerce div.product .bundle_form .bundled_product:hover {
  border-color: color-mix(in srgb, var(--vesc-accent) 45%, var(--vesc-line));
}

.woocommerce div.product .bundle_form .bundled_product_images {
  grid-area: image;
  float: none !important;
  width: 82px !important;
  margin: 0 !important;
  border: 1px solid var(--vesc-line);
  border-radius: 10px;
  overflow: hidden;
  background: var(--vesc-bg);
}

.woocommerce div.product .bundle_form .bundled_product_images img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.woocommerce div.product .bundle_form .details {
  grid-area: details;
  float: none !important;
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
}

.woocommerce div.product .bundle_form .bundled_product_title,
.woocommerce div.product .bundle_form h4.bundled_product_title {
  grid-area: title;
  margin: 0 !important;
  font-size: .98rem !important;
  line-height: 1.3;
  letter-spacing: -.01em;
}

.woocommerce div.product .bundle_form .bundled_product_title a {
  color: var(--vesc-text);
}

.woocommerce div.product .bundle_form .bundled_product_excerpt,
.woocommerce div.product .bundle_form .bundled_product_excerpt p {
  margin: 4px 0 0 !important;
  color: var(--vesc-muted);
  font-size: .82rem;
  line-height: 1.45;
}

.woocommerce div.product .bundle_form .bundled_product .price {
  margin: 7px 0 0 !important;
  color: var(--vesc-text);
  font-size: .88rem !important;
  font-weight: 700;
}

.woocommerce div.product .bundle_form .bundled_product .cart,
.woocommerce div.product .bundle_form .bundled_product .variations_form {
  display: block;
  margin: 10px 0 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
}

.woocommerce div.product .bundle_form .bundled_product .quantity {
  display: inline-flex;
  margin: 0 8px 0 0 !important;
}

.woocommerce div.product .bundle_form .bundled_product_optional_checkbox {
  display: flex;
  gap: 9px;
  margin: 10px 0 0 !important;
  color: var(--vesc-text);
  font-size: .86rem;
  font-weight: 650;
}

.woocommerce div.product .bundle_form .bundled_product_optional_checkbox input {
  accent-color: var(--vesc-accent);
}

.woocommerce div.product .bundle_form .bundle_wrap {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--vesc-line);
  border-radius: 14px;
  background: var(--vesc-surface);
}

.woocommerce div.product .bundle_form .bundle_price,
.woocommerce div.product .bundle_form .bundle_error {
  margin-bottom: 12px;
}

.woocommerce div.product .bundle_form .bundle_button {
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce div.product .bundle_form .bundle_button .single_add_to_cart_button {
  flex: 1 1 auto;
}

/* Keep ordinary simple/variable product carts compact without affecting bundles. */
.woocommerce div.product form.cart:not(.bundle_form):not(.composite_form) {
  align-items: center;
}

/* Variable products need a stacked form; theme the selectors without affecting archive sorting. */
.woocommerce div.product form.variations_form.cart {
  display: block;
  width: 100%;
}

.woocommerce div.product form.variations_form.cart .variations,
.woocommerce div.product .bundle_form .bundled_product .variations {
  width: 100%;
  margin: 0 0 14px;
  border: 0;
  border-collapse: separate;
  border-spacing: 0 10px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.woocommerce div.product form.variations_form.cart .variations tbody,
.woocommerce div.product .bundle_form .bundled_product .variations tbody {
  display: block;
  width: 100%;
}

.woocommerce div.product form.variations_form.cart .variations tr,
.woocommerce div.product .bundle_form .bundled_product .variations tr {
  display: grid;
  grid-template-columns: minmax(110px, 30%) minmax(0, 1fr);
  align-items: start;
  width: 100%;
  margin-bottom: 10px;
}

.woocommerce div.product form.variations_form.cart .variations th,
.woocommerce div.product form.variations_form.cart .variations td,
.woocommerce div.product .bundle_form .bundled_product .variations th,
.woocommerce div.product .bundle_form .bundled_product .variations td {
  padding: 0;
  border: 0;
  vertical-align: middle;
}

.woocommerce div.product form.variations_form.cart .variations th.label,
.woocommerce div.product .bundle_form .bundled_product .variations th.label {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding-right: 14px;
  color: var(--vesc-text);
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.3;
}

.woocommerce div.product form.variations_form.cart .variations td.value,
.woocommerce div.product .bundle_form .bundled_product .variations td.value {
  position: relative;
  width: 100%;
}

.woocommerce div.product form.variations_form.cart .variations select,
.woocommerce div.product .bundle_form .bundled_product .variations select {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  max-width: none;
  min-height: 48px;
  margin: 0;
  padding: 0 46px 0 14px;
  border: 1px solid var(--vesc-line);
  border-radius: 9px;
  outline: 0;
  background-color: var(--vesc-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ff7600' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--vesc-text);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.woocommerce div.product form.variations_form.cart .variations select:hover,
.woocommerce div.product .bundle_form .bundled_product .variations select:hover {
  border-color: color-mix(in srgb, var(--vesc-accent) 55%, var(--vesc-line));
}

.woocommerce div.product form.variations_form.cart .variations select:focus-visible,
.woocommerce div.product .bundle_form .bundled_product .variations select:focus-visible {
  border-color: var(--vesc-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vesc-accent) 17%, transparent);
}

.woocommerce div.product form.variations_form.cart .variations select:disabled,
.woocommerce div.product .bundle_form .bundled_product .variations select:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.woocommerce div.product form.variations_form.cart .variations select option,
.woocommerce div.product .bundle_form .bundled_product .variations select option {
  background: var(--vesc-surface);
  color: var(--vesc-text);
}

.woocommerce div.product form.variations_form.cart .reset_variations,
.woocommerce div.product .bundle_form .bundled_product .reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: var(--vesc-accent);
  font-size: .82rem;
  font-weight: 750;
}

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

.woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (max-width: 640px) {
  .woocommerce div.product form.variations_form.cart .variations tr,
  .woocommerce div.product .bundle_form .bundled_product .variations tr {
    display: block;
    margin-bottom: 14px;
  }

  .woocommerce div.product form.variations_form.cart .variations th.label,
  .woocommerce div.product form.variations_form.cart .variations td.value,
  .woocommerce div.product .bundle_form .bundled_product .variations th.label,
  .woocommerce div.product .bundle_form .bundled_product .variations td.value {
    display: block;
    width: 100%;
  }

  .woocommerce div.product form.variations_form.cart .variations th.label,
  .woocommerce div.product .bundle_form .bundled_product .variations th.label {
    min-height: 0;
    padding: 0 0 7px;
  }

  .woocommerce div.product form.variations_form.cart .woocommerce-variation-add-to-cart {
    align-items: stretch;
    flex-direction: column;
  }
}

/* Quantity-pricing tables in the purchase column should look deliberate, not like admin tables. */
.woocommerce div.product .summary .pricing-table,
.woocommerce div.product .summary .quantity-pricing-table,
.woocommerce div.product .summary .tiered-pricing-table,
.woocommerce div.product .summary table.tiered-pricing-table {
  margin: 18px 0;
  font-size: .9rem;
}

.woocommerce div.product .summary .pricing-table th,
.woocommerce div.product .summary .quantity-pricing-table th,
.woocommerce div.product .summary .tiered-pricing-table th {
  color: var(--vesc-muted);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: var(--vesc-surface-2);
}

@media (max-width: 720px) {
  .woocommerce div.product .bundle_form .bundled_products {
    grid-template-columns: 1fr;
  }
  .woocommerce div.product .bundle_form .bundle_button {
    align-items: stretch;
    flex-direction: column;
  }
}
.primary-navigation .menu-item {
  position: relative;
}

.primary-navigation .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.primary-navigation .menu-item-has-children > a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transform-origin: center;
  opacity: .75;
  transition: transform .18s ease;
}

.primary-navigation .sub-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  z-index: 1200;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 8px);
  pointer-events: none;
  border: 1px solid var(--vesc-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--vesc-surface) 96%, transparent);
  box-shadow: 0 24px 70px rgba(0,0,0,.34);
  backdrop-filter: blur(18px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.primary-navigation .sub-menu::before {
  content: "";
  position: absolute;
  top: -19px;
  left: 0;
  width: 100%;
  height: 20px;
}

.primary-navigation .menu-item:hover > .sub-menu,
.primary-navigation .menu-item:focus-within > .sub-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.primary-navigation .sub-menu .menu-item {
  width: 100%;
}

.primary-navigation .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  border-radius: 8px;
  color: var(--vesc-muted);
  white-space: nowrap;
}

.primary-navigation .sub-menu a:hover,
.primary-navigation .sub-menu .current-menu-item > a,
.primary-navigation .sub-menu .current-menu-ancestor > a {
  color: var(--vesc-text);
  background: var(--vesc-surface-2);
}

.primary-navigation .sub-menu .menu-item-has-children > a::after {
  transform: rotate(-45deg);
}

.primary-navigation .sub-menu .sub-menu {
  top: -8px;
  left: calc(100% + 10px);
  transform: translate(8px, 0);
}

.primary-navigation .sub-menu .menu-item:hover > .sub-menu,
.primary-navigation .sub-menu .menu-item:focus-within > .sub-menu {
  transform: translate(0, 0);
}

.primary-navigation .sub-menu .sub-menu::before {
  top: 0;
  left: -11px;
  width: 12px;
  height: 100%;
}

.submenu-toggle {
  display: none;
}

@media (max-width: 980px) {
  .primary-navigation {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  .primary-navigation .menu > .menu-item {
    border-bottom: 1px solid var(--vesc-line);
  }

  .primary-navigation .menu > .menu-item:last-child {
    border-bottom: 0;
  }

  .primary-navigation .menu-item-has-children {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
  }

  .primary-navigation .menu-item-has-children > a::after {
    display: none;
  }

  .primary-navigation .submenu-toggle {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-right: 3px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--vesc-muted);
    cursor: pointer;
  }

  .primary-navigation .submenu-toggle::before {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translate(-1px, -1px);
    transition: transform .18s ease;
  }

  .primary-navigation .menu-item.is-submenu-open > .submenu-toggle::before {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .primary-navigation .sub-menu {
    position: static;
    grid-column: 1 / -1;
    display: none;
    min-width: 0;
    width: 100%;
    margin: 0 0 8px;
    padding: 4px 0 4px 14px;
    visibility: visible;
    opacity: 1;
    transform: none !important;
    pointer-events: auto;
    border: 0;
    border-left: 1px solid var(--vesc-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .primary-navigation .sub-menu::before {
    display: none;
  }

  .primary-navigation .menu-item.is-submenu-open > .sub-menu {
    display: block;
  }

  .primary-navigation .sub-menu .menu-item-has-children {
    display: grid;
  }

  .primary-navigation .sub-menu a {
    min-height: 42px;
    padding: 9px 12px;
    white-space: normal;
  }
}
.header-actions {
  flex-wrap: nowrap;
}

.header-icon-button {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--vesc-line);
  border-radius: 9px;
  background: transparent;
  color: var(--vesc-text);
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.header-icon-button:hover,
.header-icon-button:focus-visible {
  border-color: color-mix(in srgb, var(--vesc-accent) 62%, var(--vesc-line));
  background: color-mix(in srgb, var(--vesc-accent) 8%, transparent);
  color: var(--vesc-accent);
}

.header-icon-button svg,
.mobile-account-link svg,
.site-search svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mode-toggle {
  min-height: 40px;
  padding: 0;
}

.header-cart {
  padding: 0;
}

.header-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--vesc-bg);
  border-radius: 999px;
  background: var(--vesc-accent);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  line-height: 1;
}

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

.vesc-currency-switcher {
  position: relative;
  min-width: 86px;
  color: var(--vesc-text);
}

.vesc-currency-switcher > * {
  margin: 0 !important;
}

.vesc-currency-switcher select,
.vesc-currency-switcher .woocs_clean_select,
.vesc-currency-switcher select.woocs_clean_select {
  width: 100% !important;
  min-width: 86px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 !important;
  padding: 0 30px 0 12px !important;
  border: 1px solid var(--vesc-line) !important;
  border-radius: 9px !important;
  outline: 0 !important;
  background-color: transparent !important;
  color: var(--vesc-text) !important;
  font: inherit !important;
  font-size: .78rem !important;
  font-weight: 750 !important;
  line-height: 40px !important;
  box-shadow: none !important;
  cursor: pointer;
  appearance: auto;
}

.vesc-currency-switcher select:hover,
.vesc-currency-switcher select:focus {
  border-color: color-mix(in srgb, var(--vesc-accent) 62%, var(--vesc-line)) !important;
}

.vesc-currency-switcher option {
  background: var(--vesc-surface);
  color: var(--vesc-text);
}

/* Strip common FOX skin containers when the clean select is used in header. */
.vesc-currency-switcher .woocs_auto_switcher,
.vesc-currency-switcher .woocs_auto_switcher ul,
.vesc-currency-switcher .woocs_auto_switcher li,
.vesc-currency-switcher .woocs-style-1-dropdown,
.vesc-currency-switcher .selectron23-container {
  margin: 0;
}

.mobile-header-tools {
  display: none;
}

.menu-toggle__lines {
  width: 19px;
  display: grid;
  gap: 4px;
}

.menu-toggle__lines i {
  display: block;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

/* Search overlay */
body.vesc-search-open {
  overflow: hidden;
}

.site-search {
  position: fixed;
  inset: 0;
  z-index: 3000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, visibility .18s ease;
}

.site-search.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.site-search__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(7px);
  cursor: default;
}

.site-search__panel {
  position: relative;
  max-height: min(760px, calc(100vh - 28px));
  overflow: auto;
  border-bottom: 1px solid var(--vesc-line);
  background: var(--vesc-bg);
  box-shadow: 0 34px 100px rgba(0,0,0,.38);
  transform: translateY(-18px);
  transition: transform .22s ease;
}

.site-search.is-open .site-search__panel {
  transform: translateY(0);
}

.site-search__inner {
  padding-top: 48px;
  padding-bottom: 54px;
}

.site-search__topbar {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 24px;
  margin-bottom: 26px;
}

.site-search__topbar .eyebrow {
  display: block;
  margin-bottom: 7px;
}

.site-search__topbar h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4rem);
}

.site-search__form {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 0 16px 0 22px;
  border: 1px solid var(--vesc-line);
  border-radius: 14px;
  background: var(--vesc-surface);
}

.site-search__input-icon {
  color: var(--vesc-muted);
}

.site-search__input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--vesc-text);
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.site-search__input::placeholder {
  color: color-mix(in srgb, var(--vesc-muted) 76%, transparent);
}

.site-search__submit {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: var(--vesc-accent);
  color: #fff;
  cursor: pointer;
}

.site-search__status {
  min-height: 25px;
  padding: 14px 2px 0;
  color: var(--vesc-muted);
  font-size: .82rem;
}

.site-search__results {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 10px;
}

.search-result-group {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--vesc-line);
  border-radius: 14px;
  background: var(--vesc-surface);
}

.search-result-group__title {
  margin: 0;
  padding: 14px 16px;
  border-bottom: 1px solid var(--vesc-line);
  color: var(--vesc-muted);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.search-result-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  min-height: 72px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--vesc-line);
  transition: background .16s ease;
}

.search-result-item:last-child {
  border-bottom: 0;
}

.search-result-item:hover,
.search-result-item:focus-visible {
  background: color-mix(in srgb, var(--vesc-accent) 6%, var(--vesc-surface));
  outline: 0;
}

.search-result-item__image,
.search-result-item__placeholder {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--vesc-line);
  border-radius: 9px;
  background: var(--vesc-bg);
}

.search-result-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-result-item__placeholder {
  color: var(--vesc-accent);
  font-size: .68rem;
  font-weight: 900;
}

.search-result-item__copy {
  min-width: 0;
}

.search-result-item__title {
  display: block;
  overflow: hidden;
  color: var(--vesc-text);
  font-size: .92rem;
  font-weight: 720;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-item__meta {
  display: flex;
  gap: 7px;
  margin-top: 3px;
  overflow: hidden;
  color: var(--vesc-muted);
  font-size: .74rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-result-item__type {
  color: var(--vesc-accent);
}

.search-result-item__arrow {
  color: var(--vesc-muted);
}

.search-result-item__arrow svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 1180px) {
  .site-header__inner {
    grid-template-columns: 180px 1fr auto;
    gap: 14px;
  }
  .primary-navigation .menu {
    gap: 20px;
  }
  .primary-navigation a {
    font-size: .84rem;
  }
}

@media (max-width: 980px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

  .vesc-currency-switcher--desktop,
  .header-account {
    display: none;
  }

  .header-actions {
    grid-column: 2;
  }

  .header-actions .menu-toggle {
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    font-size: 0;
  }

  .mobile-header-tools {
    display: grid;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--vesc-line);
  }

  .vesc-currency-switcher--mobile {
    width: 100%;
  }

  .vesc-currency-switcher--mobile select,
  .vesc-currency-switcher--mobile .woocs_clean_select {
    width: 100% !important;
    height: 46px !important;
    min-height: 46px !important;
    line-height: 46px !important;
  }

  .mobile-account-link {
    min-height: 46px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 12px;
    border: 1px solid var(--vesc-line);
    border-radius: 9px;
    color: var(--vesc-text);
    font-size: .9rem;
    font-weight: 700;
  }

  .site-search__results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .header-actions {
    gap: 6px;
  }

  .header-icon-button,
  .header-actions .menu-toggle {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .header-cart {
    display: inline-grid;
  }

  .mode-toggle {
    display: none;
  }

  .site-search__inner {
    width: min(100% - 24px, 1440px);
    padding-top: 24px;
    padding-bottom: 34px;
  }

  .site-search__topbar {
    margin-bottom: 18px;
  }

  .site-search__form {
    min-height: 60px;
    padding-left: 16px;
  }

  .search-result-item {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 64px;
    padding: 9px 10px;
  }

  .search-result-item__image,
  .search-result-item__placeholder {
    width: 44px;
    height: 44px;
  }
}

/* Mode-specific brand artwork. */
.vesc-mode-logo-link { display: inline-flex; align-items: center; max-width: 190px; }
.vesc-mode-logo { display: block; width: auto; max-width: 190px; max-height: 48px; object-fit: contain; }
.vesc-mode-logo--light { display: none; }
:root[data-theme="light"] .vesc-mode-logo--dark { display: none; }
:root[data-theme="light"] .vesc-mode-logo--light { display: block; }

/* Categorised full search page. */
.vesc-search-page { padding: 76px 0 110px; min-height: 70vh; }
.vesc-search-page__header { max-width: 1120px; margin-bottom: 54px; }
.vesc-search-page__header h1 { margin: 0 0 26px; font-size: clamp(2.7rem, 5vw, 5.5rem); }
.vesc-search-page__form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 860px; }
.vesc-search-page__form input { min-height: 54px; width: 100%; padding: 0 18px; border: 1px solid var(--vesc-line); border-radius: 10px; background: var(--vesc-surface); color: var(--vesc-text); outline: none; }
.vesc-search-page__form input:focus { border-color: color-mix(in srgb, var(--vesc-accent) 65%, var(--vesc-line)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--vesc-accent) 10%, transparent); }
.vesc-search-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.vesc-search-filters a { padding: 9px 13px; border: 1px solid var(--vesc-line); border-radius: 999px; background: var(--vesc-surface); color: var(--vesc-muted); font-size: .82rem; font-weight: 700; }
.vesc-search-filters a:hover { color: var(--vesc-text); border-color: color-mix(in srgb, var(--vesc-accent) 45%, var(--vesc-line)); }
.vesc-search-filters a.is-active { border-color: var(--vesc-accent); background: color-mix(in srgb, var(--vesc-accent) 12%, var(--vesc-surface)); color: var(--vesc-text); }
.vesc-search-section { padding: 44px 0 52px; border-top: 1px solid var(--vesc-line); }
.vesc-search-section__heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 20px; }
.vesc-search-section__heading > span { color: var(--vesc-accent); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.vesc-search-section__heading h2 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.vesc-search-section__heading strong { min-width: 28px; height: 28px; display: inline-grid; place-items: center; padding: 0 7px; border: 1px solid var(--vesc-line); border-radius: 999px; color: var(--vesc-muted); font-size: .75rem; }
.vesc-search-kb-heading { padding-top: 64px; margin-bottom: 4px; border-top: 1px solid var(--vesc-line); }
.vesc-search-kb-heading .eyebrow { margin-bottom: 10px; }
.vesc-search-kb-heading h2 { margin: 0 0 14px; font-size: clamp(2.5rem, 4vw, 4.2rem); }
.full-search-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.full-search-card { min-width: 0; overflow: hidden; border: 1px solid var(--vesc-line); border-radius: 14px; background: var(--vesc-surface); transition: transform .18s ease, border-color .18s ease; }
.full-search-card:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--vesc-accent) 45%, var(--vesc-line)); }
.full-search-card__media { height: 180px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--vesc-line); background: var(--vesc-surface-2); }
.full-search-card__media img { width: 100%; height: 100%; object-fit: contain; }
.full-search-card__media > span { color: var(--vesc-accent); font-size: 2rem; font-weight: 900; }
.full-search-card__body { padding: 18px; }
.full-search-card__type { color: var(--vesc-accent); font-size: .68rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.full-search-card h3 { margin: 8px 0 10px; font-size: 1.15rem; line-height: 1.2; letter-spacing: -.015em; }
.full-search-card p, .full-search-card__meta { margin: 0; color: var(--vesc-muted); font-size: .84rem; }
.full-search-card__meta { font-weight: 750; color: var(--vesc-text); }
.vesc-search-empty { padding: 70px 0; border-top: 1px solid var(--vesc-line); }
.vesc-search-empty h2 { margin: 0 0 8px; }
.vesc-search-empty p { color: var(--vesc-muted); }

@media (max-width: 980px) {
  .full-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .vesc-mode-logo-link, .vesc-mode-logo { max-width: 145px; }
  .vesc-search-page { padding-top: 46px; }
  .vesc-search-page__form { grid-template-columns: 1fr; }
  .full-search-grid { grid-template-columns: 1fr; }
  .full-search-card { display: grid; grid-template-columns: 108px minmax(0,1fr); }
  .full-search-card__media { height: 100%; min-height: 128px; border-bottom: 0; border-right: 1px solid var(--vesc-line); }
}

/* --------------------------------------------------------------------------
   Homepage v0.3 — clean technical ecosystem layout
   -------------------------------------------------------------------------- */
.home-main--ecosystem { overflow: hidden; }
.ecosystem-hero { border-bottom: 1px solid var(--vesc-line); background: var(--vesc-bg); }
.ecosystem-hero__grid { min-height: 560px; display: grid; grid-template-columns: minmax(400px,.78fr) minmax(0,1.22fr); align-items: stretch; }
.ecosystem-hero__copy { display: flex; flex-direction: column; justify-content: center; padding: 78px 52px 78px 0; position: relative; z-index: 2; }
.ecosystem-hero__copy h1 { max-width: 720px; margin: 0 0 22px; font-size: clamp(3.25rem,5.6vw,6.25rem); line-height: .98; }
.ecosystem-hero__copy p { max-width: 650px; margin: 0; color: var(--vesc-muted); font-size: clamp(1rem,1.3vw,1.18rem); }
.ecosystem-hero__visual { min-height: 560px; position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 60% 48%, color-mix(in srgb,var(--vesc-accent) 7%,transparent), transparent 48%); }
.ecosystem-hero__visual:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,var(--vesc-bg) 0%,transparent 22%,transparent 100%); pointer-events:none; }
.ecosystem-hero__image { width:100%; height:100%; max-height:620px; object-fit:contain; object-position:center; position:relative; z-index:1; filter:drop-shadow(0 30px 45px rgba(0,0,0,.34)); }
.ecosystem-image-placeholder { max-width:520px; padding:30px; border:1px dashed var(--vesc-line); border-radius:14px; color:var(--vesc-muted); text-align:center; }

.home-ecosystem-section { padding: 34px 0 30px; border-bottom:1px solid var(--vesc-line); }
.home-ecosystem-section__heading { max-width: 860px; margin: 0 auto 22px; text-align:center; }
.home-ecosystem-section__heading h2 { margin:0 0 8px; font-size:clamp(2rem,3.1vw,3.5rem); }
.home-ecosystem-section__heading p { margin:0; color:var(--vesc-muted); }
.ecosystem-map { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; position:relative; }
.ecosystem-category-card { min-height:300px; padding:22px; position:relative; overflow:hidden; display:grid; grid-template-rows:auto 1fr auto; border:1px solid var(--vesc-line); border-radius:14px; background:var(--vesc-surface); transition:transform .18s ease,border-color .18s ease; }
.ecosystem-category-card:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--vesc-accent) 50%,var(--vesc-line)); }
.ecosystem-category-card__copy { position:relative; z-index:2; padding-right:38%; }
.ecosystem-category-card h3 { margin:8px 0 5px; font-size:1.22rem; }
.ecosystem-category-card p { margin:0; color:var(--vesc-muted); font-size:.85rem; }
.ecosystem-icon { color:var(--vesc-accent); font-weight:900; }
.ecosystem-category-card__media { display:grid; place-items:center; min-height:150px; margin-top:-15px; }
.ecosystem-category-card__media img { width:88%; height:170px; object-fit:contain; filter:drop-shadow(0 20px 22px rgba(0,0,0,.24)); }
.ecosystem-card-link { color:var(--vesc-accent); font-weight:750; font-size:.82rem; position:relative; z-index:2; }
.vesc-tool-card { grid-column:1/-1; max-width:760px; width:100%; min-height:118px; margin:2px auto 0; padding:14px 20px; display:grid; grid-template-columns:minmax(180px, .9fr) 1fr; align-items:center; gap:22px; border:1px solid color-mix(in srgb,var(--vesc-accent) 55%,var(--vesc-line)); border-radius:14px; background:linear-gradient(120deg,var(--vesc-surface),color-mix(in srgb,var(--vesc-accent) 6%,var(--vesc-surface))); }
.vesc-tool-card__screen { height:90px; display:grid; place-items:center; overflow:hidden; border:1px solid var(--vesc-line); border-radius:9px; background:#060708; }
.vesc-tool-card__screen img { width:100%; height:100%; object-fit:contain; }
.vesc-tool-card__screen strong { color:#fff; letter-spacing:.08em; }
.vesc-tool-card h3 { margin:2px 0 3px; font-size:1.25rem; }
.vesc-tool-card p { margin:0; color:var(--vesc-muted); font-size:.84rem; }
.vesc-tool-card .eyebrow { margin-bottom:3px; font-size:.61rem; }
.home-hardware-software__inner { min-height:430px; display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:stretch; }
.home-hardware-software__copy { padding:64px; display:flex; flex-direction:column; justify-content:center; }
.home-hardware-software__copy h2 { margin:0 0 18px; font-size:clamp(2.4rem,4vw,4.3rem); max-width:760px; }
.home-hardware-software__copy p { max-width:760px; margin:0; color:var(--vesc-muted); font-size:1rem; }
.home-inline-links { display:flex; flex-wrap:wrap; gap:8px 20px; margin-top:25px; }
.home-inline-links a { color:var(--vesc-accent); font-size:.84rem; font-weight:750; }
.home-hardware-software__media { min-height:430px; display:grid; place-items:center; overflow:hidden; background:radial-gradient(circle at center,color-mix(in srgb,var(--vesc-accent) 7%,transparent),transparent 62%); }
.home-hardware-software__media img { width:100%; height:100%; max-height:520px; object-fit:contain; padding:28px; filter:drop-shadow(0 26px 32px rgba(0,0,0,.34)); }

.home-controller-lineup { padding:34px 0 40px; border-bottom:1px solid var(--vesc-line); }
.home-section-title-row { display:flex; justify-content:space-between; align-items:end; gap:20px; margin-bottom:18px; }
.home-section-title-row h2 { margin:0; font-size:clamp(1.8rem,2.6vw,2.8rem); }
.home-section-title-row .eyebrow { margin-bottom:7px; }
.home-section-title-row > a { color:var(--vesc-accent); font-weight:750; font-size:.84rem; }
.controller-card { padding:14px; display:flex; flex-direction:column; border:1px solid var(--vesc-line); border-radius:12px; background:var(--vesc-surface); transition:transform .18s ease,border-color .18s ease; }
.controller-card:hover { transform:translateY(-2px); border-color:color-mix(in srgb,var(--vesc-accent) 48%,var(--vesc-line)); }
.controller-card__image { place-items:center; }
.controller-card__image img { width:100%; height:100%; object-fit:contain; }
.controller-card h3 { font-size:.96rem; line-height:1.15; }
.controller-card__price { margin-bottom:10px; color:var(--vesc-muted); font-size:.77rem; }

.home-applications { padding:12px 0; border-bottom:1px solid var(--vesc-line); }
.home-applications__panel { min-height:220px; padding:28px 30px; position:relative; overflow:hidden; display:grid; grid-template-columns:minmax(240px,.55fr) minmax(0,1.45fr); align-items:center; gap:28px; border:1px solid var(--vesc-line); border-radius:14px; background:var(--vesc-surface); }
.home-applications__copy { position:relative; z-index:2; }
.home-applications__copy h2 { margin:0 0 8px; font-size:clamp(2rem,3vw,3rem); }
.home-applications__copy p { margin:0; color:var(--vesc-muted); }
.application-chips { position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr); gap:8px; }
.application-chips span { min-height:54px; display:grid; place-items:center; padding:10px; border:1px solid var(--vesc-line); border-radius:9px; background:color-mix(in srgb,var(--vesc-bg) 84%,transparent); color:var(--vesc-text); font-size:.82rem; font-weight:700; }
.home-applications__image { position:absolute; inset:0 0 0 42%; opacity:.38; }
.home-applications__image:before { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,var(--vesc-surface),transparent 34%); }
.home-applications__image img { width:100%; height:100%; object-fit:cover; }


.home-wholesale { padding:12px 0; }
.home-wholesale__panel {
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,.84fr) minmax(440px,1.16fr);
  gap:30px;
  align-items:center;
  min-height:530px;
  padding:48px 34px 46px 44px;
  border:1px solid var(--vesc-line);
  border-radius:18px;
  background:#0d1114;
}
:root[data-theme="light"] .home-wholesale__panel { background:#f2f0ec; }
.home-wholesale__copy { position:relative; z-index:3; max-width:650px; padding:6px 0 12px; }
.home-wholesale__copy .eyebrow { margin-bottom:12px; }
.home-wholesale__copy h2 { margin:0 0 22px; font-size:clamp(2.3rem,3.7vw,4rem); line-height:1.05; letter-spacing:-.035em; }
.home-wholesale__text { color:var(--vesc-muted); font-size:1rem; line-height:1.72; }
.home-wholesale__text p { margin:0 0 18px; }
.home-wholesale__text p:last-child { margin-bottom:0; }
.home-wholesale__cta { display:inline-block; margin-top:22px; color:var(--vesc-accent); font-size:.88rem; font-weight:750; }
.home-wholesale__cta:hover,.home-wholesale__cta:focus-visible { color:color-mix(in srgb,var(--vesc-accent) 80%,white); }
.home-wholesale__visual {
  position:relative;
  z-index:2;
  align-self:stretch;
  min-height:438px;
  margin:-12px -18px -16px 0;
  overflow:hidden;
  border:0;
  border-radius:0;
  background:transparent;
}
.home-wholesale__visual-glow {
  position:absolute;
  z-index:0;
  width:110%;
  height:118%;
  right:-10%;
  top:-10%;
  border-radius:50%;
  pointer-events:none;
  background:radial-gradient(circle at 52% 48%,rgba(255,255,255,.055),rgba(255,255,255,.012) 44%,transparent 70%);
}
:root[data-theme="light"] .home-wholesale__visual-glow {
  background:radial-gradient(circle at 52% 48%,rgba(255,255,255,.98),rgba(255,255,255,.40) 46%,rgba(255,255,255,.10) 64%,transparent 76%);
}
.home-wholesale__canvas { position:absolute; inset:0; width:100%; height:100%; display:block; touch-action:none; cursor:grab; z-index:2; background:transparent; }
@media (pointer:coarse) {
  .home-wholesale__canvas { touch-action:pan-y; cursor:default; }
  .home-wholesale__canvas.is-touch-active { touch-action:none; cursor:grabbing; }
}
.home-wholesale__image { position:absolute; inset:0; z-index:2; display:flex; align-items:center; justify-content:center; padding:2%; pointer-events:none; }
.home-wholesale__image img { display:block; width:min(100%,720px); height:100%; max-height:100%; object-fit:contain; object-position:center; filter:drop-shadow(0 22px 28px rgba(0,0,0,.16)); }
:root[data-theme="light"] .home-wholesale__image img { filter:drop-shadow(0 18px 24px rgba(69,51,34,.15)); }
.home-wholesale__visual.has-image .home-wholesale__visual-glow { opacity:.82; }
.home-wholesale__canvas.is-dragging { cursor:grabbing; }
.home-wholesale__fallback-image { opacity:1; visibility:visible; transition:opacity .2s ease; }
.home-wholesale__visual.is-3d-ready .home-wholesale__fallback-image { opacity:0; visibility:hidden; }
.home-wholesale__visual.is-3d-failed .home-wholesale__fallback-image { opacity:1; visibility:visible; }


.home-sweden { padding:12px 0 26px; }
.home-sweden__panel { padding:30px; display:grid; grid-template-columns:340px 1fr; gap:38px; align-items:center; border:1px solid var(--vesc-line); border-radius:14px; background:var(--vesc-surface); }
.home-sweden__heading { display:flex; align-items:center; gap:18px; }
.home-sweden__heading h2 { margin:0; font-size:clamp(1.8rem,2.6vw,2.8rem); }
.home-sweden__heading .eyebrow { margin-bottom:6px; }
.sweden-flag { font-size:2.3rem; }
.home-sweden__features { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.home-sweden__features > div { padding-left:18px; border-left:1px solid var(--vesc-line); }
.home-sweden__features strong { font-size:.83rem; }
.home-sweden__features p { margin:5px 0 0; color:var(--vesc-muted); font-size:.76rem; line-height:1.45; }

@media (max-width:1180px) {
  .ecosystem-hero__grid { grid-template-columns:1fr 1fr; }
  .ecosystem-hero__copy h1 { font-size:clamp(3rem,5vw,5rem); }
  .home-sweden__panel { grid-template-columns:1fr; }
}
@media (max-width:900px) {
  .ecosystem-hero__grid { grid-template-columns:1fr; min-height:auto; }
  .ecosystem-hero__copy { padding:58px 0 28px; }
  .ecosystem-hero__visual { min-height:360px; }
  .ecosystem-hero__visual:after { background:linear-gradient(180deg,var(--vesc-bg),transparent 24%); }
  .ecosystem-map { grid-template-columns:1fr; }
  .ecosystem-category-card { min-height:230px; grid-template-columns:1fr 1fr; grid-template-rows:1fr auto; align-items:center; }
  .ecosystem-category-card__copy { padding-right:0; }
  .ecosystem-category-card__media { grid-column:2; grid-row:1/-1; margin:0; }
  .ecosystem-card-link { grid-column:1; }
  .vesc-tool-card { grid-template-columns:1fr 1fr; }
  .home-hardware-software__inner { grid-template-columns:1fr; }
  .home-hardware-software__copy { padding:46px 30px; }
  .home-hardware-software__media { min-height:320px; }
  .home-applications__panel { grid-template-columns:1fr; }
  .application-chips { grid-template-columns:repeat(3,1fr); }
  .home-applications__image { inset:44% 0 0; opacity:.25; }
  .home-sweden__features { grid-template-columns:repeat(2,1fr); }
}
@media (max-width:640px) {
  .ecosystem-hero__copy h1 { font-size:clamp(2.6rem,12vw,4rem); }
  .ecosystem-hero__visual { min-height:280px; }
  .home-ecosystem-section { padding-top:28px; }
  .ecosystem-category-card { min-height:200px; padding:18px; }
  .ecosystem-category-card__media img { height:130px; }
  .vesc-tool-card { grid-template-columns:1fr; }
  .vesc-tool-card__screen { height:120px; }
  .home-hardware-software__copy { padding:38px 20px; }
  .home-hardware-software__media { min-height:250px; }
  .home-section-title-row { align-items:flex-start; flex-direction:column; }
  .application-chips { grid-template-columns:repeat(2,1fr); }
  .home-sweden__panel { padding:22px; }
  .home-sweden__features { grid-template-columns:1fr; }
  .home-sweden__features > div { padding-left:14px; }
}
.home-main--ecosystem > .home-ecosystem-section:first-child {
  padding-top: clamp(56px, 6vw, 88px);
  border-top: 0;
}
.ecosystem-map--connected {
  --ecosystem-wire: var(--vesc-accent);
  padding-bottom: 44px;
}
.ecosystem-map--connected .ecosystem-category-card {
  position: relative;
  z-index: 2;
}
.ecosystem-map--connected .ecosystem-category-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -31px;
  width: 2px;
  height: 31px;
  background: var(--ecosystem-wire);
  transform: translateX(-50%);
  box-shadow: 0 0 14px color-mix(in srgb, var(--ecosystem-wire) 35%, transparent);
}
.ecosystem-map--connected::before {
  content: "";
  position: absolute;
  left: calc(16.666% + 6px);
  right: calc(16.666% + 6px);
  top: calc(100% - 45px);
  height: 2px;
  background: var(--ecosystem-wire);
  z-index: 1;
  box-shadow: 0 0 14px color-mix(in srgb, var(--ecosystem-wire) 35%, transparent);
}
.ecosystem-connector-hub {
  grid-column: 1 / -1;
  height: 26px;
  position: relative;
  margin-top: -8px;
  z-index: 3;
}
.ecosystem-connector-hub::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--ecosystem-wire);
  border-radius: 50%;
  background: var(--vesc-bg);
  transform: translateX(-50%);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ecosystem-wire) 8%, transparent), 0 0 18px color-mix(in srgb, var(--ecosystem-wire) 35%, transparent);
}
.ecosystem-connector-hub::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 5px;
  width: 2px;
  height: 22px;
  background: var(--ecosystem-wire);
  transform: translateX(-50%);
}
.ecosystem-connector-hub span,
.ecosystem-map--connected .ecosystem-category-card::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--ecosystem-wire);
  border-radius: 50%;
  background: var(--vesc-bg);
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px color-mix(in srgb, var(--ecosystem-wire) 45%, transparent);
}
.ecosystem-map--connected .ecosystem-category-card::before {
  bottom: -35px;
  z-index: 4;
}
.ecosystem-connector-hub span {
  top: -12px;
}
.ecosystem-map--connected .vesc-tool-card {
  position: relative;
  margin-top: -2px;
  z-index: 2;
}

@media (max-width: 820px) {
  .ecosystem-map--connected { padding-bottom: 0; }
  .ecosystem-map--connected::before,
  .ecosystem-map--connected .ecosystem-category-card::before,
  .ecosystem-map--connected .ecosystem-category-card::after,
  .ecosystem-connector-hub { display: none; }
  .ecosystem-map--connected .vesc-tool-card { margin-top: 2px; }
}
.home-ecosystem-section__heading h1 {
  margin: 0 0 8px;
  font-size: clamp(2.25rem, 3.6vw, 4.4rem);
  line-height: 1.02;
}
.ecosystem-map--rail {
  --ecosystem-wire: var(--vesc-accent);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 0;
  padding: 4px clamp(4px, 2vw, 28px) 0;
}
.ecosystem-product {
  min-width: 0;
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--vesc-text);
}
.ecosystem-product__media {
  place-items: center;
  margin-bottom: 8px;
}
.ecosystem-product__media img {
  filter: drop-shadow(0 24px 25px rgba(0,0,0,.28));
  transform: translateZ(0);
  transition: transform .22s ease;
}
.ecosystem-product:hover .ecosystem-product__media img { transform: translateY(-4px); }
.ecosystem-product h2 {
  margin: 4px 0 5px;
  font-size: clamp(1.25rem, 1.8vw, 1.85rem);
  line-height: 1.1;
}
.ecosystem-product p {
  min-height: 2.7em;
  margin: 0;
  color: var(--vesc-muted);
  font-size: .84rem;
  line-height: 1.4;
}
.ecosystem-product > span {
  margin-top: 10px;
  color: var(--vesc-accent);
  font-size: .79rem;
  font-weight: 750;
}
.ecosystem-rail {
  grid-column: 1 / -1;
  position: relative;
  z-index: 1;
  margin: -3px clamp(7%, 8vw, 11%) 0;
  border-top: 2px solid var(--ecosystem-wire);
}
.ecosystem-rail__node {
  position: absolute;
  top: -8px;
  width: 14px;
  height: 14px;
  border: 3px solid var(--ecosystem-wire);
  border-radius: 50%;
  background: var(--vesc-bg);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--ecosystem-wire) 7%, transparent);
}
.ecosystem-rail__node--left { left: 0; transform: translateX(-50%); }
.ecosystem-rail__node--centre { left: 50%; }
.ecosystem-rail__node--right { right: 0; transform: translateX(50%); }
.ecosystem-rail__stem {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 2px;
  background: var(--ecosystem-wire);
}
.vesc-tool-logo-card {
  grid-column: 1 / -1;
  margin: -2px auto 12px;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--vesc-text);
}
.vesc-tool-logo-card__logo {
  width: 100%;
  display: grid;
  place-items: center;
}
.vesc-tool-logo-card__logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vesc-tool-logo-card__logo strong {
  color: var(--vesc-text);
  font-size: clamp(2.2rem, 6vw, 5rem);
  letter-spacing: .03em;
}
.vesc-tool-logo-card p {
  margin: 0;
  font-weight: 750;
  font-size: .94rem;
}
.vesc-tool-logo-card > span {
  margin-top: 3px;
  font-size: .78rem;
}

@media (max-width: 820px) {
  .ecosystem-map--rail {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }
  .ecosystem-product {
    text-align: left;
    border-bottom: 1px solid var(--vesc-line);
  }
  .ecosystem-product h2,
  .ecosystem-product p,
  .ecosystem-product > span { grid-column: 2; }
  .ecosystem-product p { min-height: 0; }
  .ecosystem-rail { display: none; }
  .vesc-tool-logo-card__logo { height: 120px; }
}

@media (max-width: 520px) {
  .ecosystem-product__media { margin-right: 12px; }
  .vesc-tool-logo-card__logo { height: 100px; }
}

/* Category artwork is selected directly in the Customizer and intentionally
   sits on the page without card chrome. */

/* VESC Tool artwork is transparent and mode-aware: no surrounding box. */
.vesc-tool-logo-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.vesc-tool-logo-card__logo {
  padding: 0;
  background: transparent;
}
.vesc-tool-mode-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.vesc-tool-mode-logo--light { display: none; }
:root[data-theme="light"] .vesc-tool-mode-logo--dark { display: none; }
:root[data-theme="light"] .vesc-tool-mode-logo--light { display: block; }
.vesc-tool-logo-card p { color: var(--vesc-text); }
.vesc-tool-logo-card > span { color: var(--vesc-muted); }
@media (min-width: 981px) {
  .site-header__inner {
    min-height: 76px;
    grid-template-columns: 220px 1fr auto;
    gap: 24px;
  }
  .site-branding {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    line-height: 0;
  }
  .site-branding .vesc-mode-logo-link {
    max-width: 172px;
    justify-content: flex-start;
  }
  .site-branding .vesc-mode-logo {
    max-width: 172px;
    max-height: 43px;
  }
  .primary-navigation { width: auto; }
  .primary-navigation .menu { gap: 34px; }
  .header-actions {
    grid-column: auto;
    justify-self: end;
    align-self: center;
  }
}

.ecosystem-product {
  grid-template-rows: clamp(220px, 22vw, 340px) auto;
}

.ecosystem-product__media {
  min-height: 0;
}

.ecosystem-product__media img {
  display: block;
}

.ecosystem-product__content {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
}

.ecosystem-product__content > span {
  color: var(--vesc-accent);
  font-size: .79rem;
  font-weight: 750;
}

/* Metallic gold sweep. The base remains restrained and the shimmer is slow. */
.home-ecosystem-section__heading .vesc-registered {
  display:inline-block;
  margin-left:.05em;
  font-size:var(--vesc-registered-size);
  line-height:0;
  vertical-align:super;
  transform:translateY(-.08em);
}

.official-shimmer {
  position: relative;
  display: inline-block;
  color: #d7b45b;
  background: linear-gradient(
    105deg,
    #a77b22 0%,
    #d5ad4d 28%,
    #fff2ae 44%,
    #c9952c 57%,
    #f0cf71 76%,
    #a77b22 100%
  );
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: vesc-official-shimmer 5.5s ease-in-out infinite;
  text-shadow: 0 0 22px rgba(218, 173, 70, .08);
}

@keyframes vesc-official-shimmer {
  0%, 58%, 100% { background-position: 115% 0; }
  74% { background-position: -35% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .official-shimmer { animation: none; background-position: 50% 0; }
}

@media (max-width: 820px) {
  .ecosystem-product {
    grid-template-rows: auto;
  }
  .ecosystem-product__media {
    grid-column: 1;
    grid-row: 1;
    overflow: hidden;
  }
  .ecosystem-product__content {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
  }
}

@media (max-width: 520px) {
  .ecosystem-product__media { padding-right: 12px; }
}
.home-ecosystem-section {
  padding-top: clamp(28px, 3.2vw, 46px);
  padding-bottom: clamp(28px, 3.4vw, 52px);
}

.home-ecosystem-section__heading {
  margin-bottom: clamp(20px, 2.4vw, 34px);
}

.home-ecosystem-section__heading h1 {
  margin-bottom: 10px;
}

.home-ecosystem-section__heading p {
  max-width: 820px;
  margin-inline: auto;
}

.ecosystem-map--rail {
  column-gap: clamp(26px, 4vw, 72px);
  padding-top: 0;
  align-items: start;
}

.ecosystem-product {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 10px 18px;
}

.ecosystem-product__media {
  width: 100%;
  height: clamp(170px, 15vw, 220px);
  padding: 4px 8px 14px;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ecosystem-product__media img {
  width: auto !important;
  height: auto !important;
  max-width: min(86%, 390px) !important;
  max-height: clamp(150px, 13vw, 200px) !important;
  object-fit: contain;
  object-position: center;
}

.ecosystem-product__content {
  min-height: 118px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.ecosystem-product__content h2 {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 1.55vw, 1.65rem);
}

.ecosystem-product__content p {
  width: min(100%, 330px);
  min-height: 2.55em;
  margin: 0 auto;
  font-size: .83rem;
  line-height: 1.42;
}

.ecosystem-rail {
  height: 66px;
  margin-top: 0;
}

.ecosystem-rail__stem {
  height: 62px;
}

.vesc-tool-logo-card {
  width: min(520px, 66%);
  margin-top: -4px;
  margin-bottom: 4px;
}

.vesc-tool-logo-card__logo {
  height: clamp(105px, 10vw, 138px);
}

@media (min-width: 1400px) {
  .ecosystem-product__media {
    height: 210px;
  }
  .ecosystem-product__media img {
    max-height: 190px !important;
  }
}

@media (max-width: 820px) {
  .home-ecosystem-section__heading {
    margin-bottom: 18px;
  }

  .ecosystem-map--rail {
    gap: 0;
  }

  .ecosystem-product {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 14px 0;
  }

  .ecosystem-product__media {
    width: 116px;
    height: 110px;
    margin: 0;
    padding: 4px;
  }

  .ecosystem-product__media img {
    max-width: 108px !important;
    max-height: 102px !important;
  }

  .ecosystem-product__content {
    min-height: 0;
    align-items: flex-start;
    text-align: left;
  }

  .ecosystem-product__content p {
    width: 100%;
    min-height: 0;
    margin: 0;
  }

  .ecosystem-product__content > span {
    margin-top: 8px;
    padding-top: 0;
  }

  .vesc-tool-logo-card {
    width: min(390px, 88%);
    margin-top: 14px;
  }
}

@media (max-width: 520px) {
  .ecosystem-product {
    grid-template-columns: 94px minmax(0, 1fr);
    gap: 12px;
  }

  .ecosystem-product__media {
    width: 94px;
    height: 92px;
  }

  .ecosystem-product__media img {
    max-width: 88px !important;
    max-height: 86px !important;
  }
}
@media (min-width: 981px) {
  .home-ecosystem-section {
    padding-top: clamp(20px, 2.1vw, 30px);
    padding-bottom: clamp(20px, 2.2vw, 32px);
  }

  .home-ecosystem-section__heading h1 {
    line-height: 1.02;
  }

  .ecosystem-map--rail {
    padding: 0;
    align-items: start;
  }

  .ecosystem-product__content {
    padding: 0;
  }

  .ecosystem-product__content h2 {
    margin-bottom: 5px;
  }

  .ecosystem-rail {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
    border-top: 0;
    position: relative;
  }

  .ecosystem-rail::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc((100% - var(--ecosystem-gap) - var(--ecosystem-gap)) / 6);
    right: calc((100% - var(--ecosystem-gap) - var(--ecosystem-gap)) / 6);
    height: 2px;
    background: var(--ecosystem-wire);
  }

  .ecosystem-rail__node {
    top: -7px;
  }

  .ecosystem-rail__node--left {
    left: calc((100% - var(--ecosystem-gap) - var(--ecosystem-gap)) / 6);
    transform: translateX(-50%);
  }

  .ecosystem-rail__node--centre {
    left: 50%;
    transform: translateX(-50%);
  }

  .ecosystem-rail__node--right {
    right: calc((100% - var(--ecosystem-gap) - var(--ecosystem-gap)) / 6);
    transform: translateX(50%);
  }

  .ecosystem-rail__stem {
    top: 6px;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .home-ecosystem-section {
    padding-top: 14px;
    padding-bottom: 18px;
  }
  .home-ecosystem-section__heading h1 {
    font-size: clamp(2rem, 2.7vw, 3.15rem);
  }
}
@media (min-width: 981px) {

  .ecosystem-product__media {
    margin-bottom: 0;
  }

  .vesc-tool-logo-card {
    margin-top: 0;
  }

  .vesc-tool-logo-card__logo {
    margin-bottom: 14px;
  }

  .vesc-tool-logo-card > span {
    display: block;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .vesc-tool-logo-card__logo {
    margin-bottom: 12px;
  }
}
@media (min-width: 981px) {
  .home-main--ecosystem > .home-ecosystem-section:first-child {
    padding-top: 6px;
    padding-bottom: 18px;
  }

  .home-ecosystem-section__heading {
    margin-bottom: 8px;
  }

  .home-ecosystem-section__heading h1 {
    margin-bottom: 5px;
    font-size: clamp(2.35rem, 3.15vw, 3.85rem);
  }

  .home-ecosystem-section__heading p {
    max-width: 940px;
    font-size: clamp(.92rem, 1vw, 1.06rem);
    line-height: 1.42;
  }

  .ecosystem-map--rail {
    width: min(1260px, 100%);
    margin-inline: auto;
    --ecosystem-gap: clamp(18px, 1.7vw, 28px);
    column-gap: var(--ecosystem-gap);
  }

  .ecosystem-product {
    padding: 0 2px 4px;
  }

  .ecosystem-product__media {
    margin: 0 0 2px;
  }

  .ecosystem-product__media img {
    width: auto !important;
    height: auto !important;
  }

  .ecosystem-product__content {
    min-height: 104px;
  }

  .ecosystem-product__content h2 {
    margin: 0 0 5px;
    font-size: clamp(1.28rem, 1.55vw, 1.7rem);
  }

  .ecosystem-product__content p {
    min-height: 2.35em;
    width: min(100%, 360px);
    font-size: .84rem;
    line-height: 1.38;
  }

  .ecosystem-product__content > span {
    font-size: .8rem;
  }

  .ecosystem-rail {
    height: 54px;
    margin-top: 0;
  }

  .ecosystem-rail__stem {
    height: 48px;
  }

  .vesc-tool-logo-card {
    margin: -1px auto 0;
  }

  .vesc-tool-logo-card__logo {
    margin: 0;
  }

  .vesc-tool-logo-card p {
    margin: 30px 0 5px;
    font-size: 1rem;
    line-height: 1.25;
  }

  .vesc-tool-logo-card > span {
    margin-top: 0;
    font-size: .79rem;
    line-height: 1.35;
  }
}

@media (min-width: 981px) and (max-height: 760px) {
  .home-main--ecosystem > .home-ecosystem-section:first-child {
    padding-top: 4px;
    padding-bottom: 12px;
  }
  .home-ecosystem-section__heading {
    margin-bottom: 5px;
  }
  .ecosystem-product__media {
    height: 186px;
  }
  .ecosystem-product__media img {
    max-height: 178px !important;
  }
  .ecosystem-product__content {
    min-height: 96px;
  }
  .ecosystem-rail {
    height: 46px;
  }
  .ecosystem-rail__stem {
    height: 40px;
  }
  .vesc-tool-logo-card__logo {
    height: 106px;
  }
  .vesc-tool-logo-card p {
    margin-top: 26px;
  }
}
@media (min-width: 981px) {
  .ecosystem-product__media {
    height: clamp(225px, 18vw, 270px);
    overflow: hidden;
    padding: 8px 12px;
  }

  .ecosystem-product__media img {
    max-width: min(78%, 300px) !important;
    max-height: clamp(160px, 13vw, 195px) !important;
    transform: scale(1.8);
    transform-origin: center center;
    transition: transform .18s ease;
  }

  .ecosystem-product:hover .ecosystem-product__media img {
    transform: scale(1.8) translateY(-2px);
  }

  .ecosystem-product__content {
    margin-top: 4px;
  }

  .vesc-tool-logo-card {
    width: min(500px, 46%);
  }

  .vesc-tool-logo-card__logo {
    height: clamp(112px, 8.3vw, 136px);
    overflow: visible;
  }

  .vesc-tool-logo-card__logo img {
    transform: scale(.8);
    transform-origin: center center;
  }

  .vesc-tool-logo-card p {
    margin-top: 44px;
  }
}
.ecosystem-product__media img {
  will-change: transform, opacity, filter;
}

@media (prefers-reduced-motion: no-preference) {
  .home-ecosystem-section.is-motion-ready .ecosystem-product,
  .home-ecosystem-section.is-motion-ready .ecosystem-rail,
  .home-ecosystem-section.is-motion-ready .vesc-tool-logo-card {
    opacity: 0;
    transform: translateY(18px);
  }

  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-product,
  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-rail,
  .home-ecosystem-section.is-motion-ready.is-visible .vesc-tool-logo-card {
    opacity: 1;
    transform: translateY(0);
    transition-property: opacity, transform;
    transition-duration: .58s;
    transition-timing-function: cubic-bezier(.22,.72,.2,1);
  }

  .home-ecosystem-section.is-motion-ready .ecosystem-rail::before,
  .home-ecosystem-section.is-motion-ready .ecosystem-rail__stem {
    transform-origin: center;
    transform: scaleX(0);
  }
  .home-ecosystem-section.is-motion-ready .ecosystem-rail__stem {
    transform-origin: top;
  }
  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-rail::before {
    transform: scaleX(1);
    transition: transform .65s cubic-bezier(.22,.72,.2,1) .56s;
  }
  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-rail__stem {
    transition: transform .34s ease-out .92s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-ecosystem-section .ecosystem-product,
  .home-ecosystem-section .ecosystem-rail,
  .home-ecosystem-section .vesc-tool-logo-card {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
@media (min-width: 981px) {
  .ecosystem-product__content > span {
    padding-top: 2px;
  }

  .ecosystem-product__content p {
    margin-bottom: 2px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-product {
    transition-duration: .92s;
    transition-timing-function: cubic-bezier(.2,.7,.18,1);
  }

  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-product--controllers {
    transition-delay: .04s;
  }

  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-product--bms {
    transition-delay: .22s;
  }

  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-product--accessories {
    transition-delay: .40s;
  }

  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-rail {
    transition-delay: .82s;
  }

  .home-ecosystem-section.is-motion-ready.is-visible .vesc-tool-logo-card {
    transition-delay: 1.12s;
  }

  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-rail::before {
    transition-delay: .84s;
    transition-duration: .72s;
  }

  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-rail__stem {
    transition-delay: 1.30s;
  }
}
.ecosystem-product__content p {
  margin-bottom: 0 !important;
}
.ecosystem-product__content > span {
  margin-top: var(--vesc-ecosystem-description-cta-gap, 8px) !important;
  padding-top: 0 !important;
}
@media (max-width: 980px) {
  .woocommerce div.product,
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary,
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .woocommerce-product-gallery .flex-viewport,
  .woocommerce div.product .woocommerce-product-gallery__wrapper,
  .woocommerce div.product .woocommerce-product-gallery__image,
  .woocommerce div.product .woocommerce-product-gallery__image > a {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .woocommerce div.product div.images,
  .woocommerce div.product .woocommerce-product-gallery,
  .woocommerce div.product .woocommerce-product-gallery .flex-viewport,
  .woocommerce div.product .woocommerce-product-gallery__wrapper {
    overflow: hidden;
  }

  .woocommerce div.product .woocommerce-product-gallery__image img,
  .woocommerce div.product div.images img,
  .woocommerce div.product img.wp-post-image {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-inline: auto;
    object-fit: contain;
  }

  .woocommerce div.product div.images .flex-control-thumbs {
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .woocommerce div.product div.images .flex-control-thumbs img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
  }
}

@media (max-width: 640px) {
  .woocommerce .woo-main,
  .woocommerce-page .woo-main {
    overflow-x: clip;
  }

  .woocommerce div.product div.images .flex-control-thumbs {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
  }

  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
    border-radius: 12px;
  }
}
.home-controller-lineup {
  overflow:hidden;
}
.controller-lineup-carousel {
  --controller-lineup-gap:12px;
  position:relative;
  width:100%;
}
.controller-lineup-viewport {
  width:100%;
  overflow:hidden;
  touch-action:pan-y;
}
.controller-lineup-track {
  display:flex;
  flex-wrap:nowrap;
  align-items:stretch;
  gap:var(--controller-lineup-gap);
  width:100%;
  will-change:transform;
  transition:transform .62s cubic-bezier(.22,.72,.26,1);
}
.controller-lineup-track.is-resetting {
  transition:none !important;
}
.controller-lineup-track .controller-card {
  flex:0 0 calc((100% - (var(--vesc-controller-visible) - 1) * var(--controller-lineup-gap)) / var(--vesc-controller-visible));
  align-self:stretch;
  min-width:0;
  height:auto;
}
.controller-card__copy {
  display:flex;
  flex:1 1 auto;
  flex-direction:column;
  padding-top:var(--vesc-controller-card-text-offset,18px);
}
.controller-card h3 {
  margin:0 0 5px;
}
.controller-card__copy > span {
  margin-top:auto;
  color:var(--vesc-accent);
  font-size:.76rem;
  font-weight:750;
}
.controller-lineup-nav {
  position:absolute;
  z-index:12;
  top:50%;
  width:42px;
  height:42px;
  display:none;
  place-items:center;
  padding:0;
  border:1px solid var(--vesc-line);
  border-radius:50%;
  background:color-mix(in srgb,var(--vesc-surface) 94%,transparent);
  color:var(--vesc-text);
  box-shadow:var(--vesc-shadow);
  transform:translateY(-50%);
  cursor:pointer;
  transition:border-color .16s ease,background-color .16s ease,color .16s ease,transform .16s ease;
}
.controller-lineup-nav svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.controller-lineup-nav--prev { left:8px; }
.controller-lineup-nav--next { right:8px; }
.controller-lineup-nav:hover,
.controller-lineup-nav:focus-visible {
  border-color:var(--vesc-accent);
  color:var(--vesc-accent);
  transform:translateY(-50%) scale(1.04);
  outline:none;
}
.controller-lineup-nav:disabled { display:none !important; }

@media (min-width:981px) {
  .controller-lineup-carousel.can-navigate {
    display:grid;
    grid-template-columns:42px minmax(0,1fr) 42px;
    align-items:center;
    gap:12px;
  }
  .controller-lineup-carousel.can-navigate .controller-lineup-nav {
    position:static;
    display:grid;
    transform:none;
  }
  .controller-lineup-carousel.can-navigate .controller-lineup-nav--prev { grid-column:1; grid-row:1; }
  .controller-lineup-carousel.can-navigate .controller-lineup-viewport { grid-column:2; grid-row:1; }
  .controller-lineup-carousel.can-navigate .controller-lineup-nav--next { grid-column:3; grid-row:1; }
  .controller-lineup-carousel.can-navigate .controller-lineup-nav:hover,
  .controller-lineup-carousel.can-navigate .controller-lineup-nav:focus-visible {
    transform:scale(1.04);
  }
}
/* As desktop space tightens, use two substantial cards instead of squeezing
   the full desktop card count into unreadably narrow columns. */
@media (min-width:981px) and (max-width:1280px) {
  .controller-lineup-track .controller-card {
    flex-basis:calc((100% - var(--controller-lineup-gap)) / 2);
  }
}
@media (min-width:641px) and (max-width:980px) {
  .controller-lineup-track .controller-card {
    flex-basis:calc((100% - var(--controller-lineup-gap)) / 2);
  }
}
@media (max-width:640px) {
  .controller-lineup-carousel { --controller-lineup-gap:0px; }
  .controller-lineup-track .controller-card {
    flex:0 0 100%;
    width:100%;
    max-width:100%;
  }
}
.controller-card__specs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  margin:12px 0 10px;
  overflow:hidden;
  border:1px solid var(--vesc-line);
  border-radius:9px;
  background:var(--vesc-line);
}
.controller-card__spec {
  min-width:0;
  padding:8px 6px 7px;
  background:var(--vesc-panel);
  text-align:center;
}
.controller-card__spec span,
.controller-card__spec strong {
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
}
.controller-card__spec span {
  min-height:2.4em;
  white-space:pre-line;
  margin-bottom:2px;
  color:var(--vesc-muted);
  font-size:.59rem;
  font-weight:650;
  letter-spacing:.02em;
  white-space:nowrap;
}
.controller-card__spec strong {
  color:var(--vesc-text);
  font-size:.72rem;
  font-weight:760;
  white-space:nowrap;
}
.controller-card__spec.is-empty strong { color:var(--vesc-muted); }
.controller-card__price { margin-top:2px; }

@media (max-width:640px) {
  .controller-card__specs { margin-top:9px; }
  .controller-card__spec { padding:7px 4px 6px; }
  .controller-card__spec span {
  min-height:2.4em;
  white-space:pre-line; font-size:.54rem; }
  .controller-card__spec strong { font-size:.66rem; }
}
.controller-card {
  overflow:hidden;
}
.controller-card__image {
  box-sizing:border-box;
  flex:0 0 clamp(190px, 15vw, 250px);
  width:100%;
  height:clamp(190px, 15vw, 250px);
  min-height:190px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 6px 4px;
}
.controller-card__image img,
.controller-card__image .attachment-woocommerce_thumbnail,
.controller-card__image .woocommerce-placeholder {
  display:block !important;
  position:static !important;
  inset:auto !important;
  transform:none !important;
  width:100% !important;
  max-width:100% !important;
  height:100% !important;
  max-height:100% !important;
  margin:0 !important;
  object-fit:contain !important;
  object-position:center center;
}
.controller-card__copy {
  position:relative;
  z-index:1;
  flex:1 1 auto;
  width:100%;
  min-height:0;
  background:var(--vesc-surface);
}

/* Shared Motor Controller mini-spec presentation used on category cards and
   single-product summaries. BMS intentionally does not use this component. */
.vesc-controller-mini-specs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  overflow:hidden;
  border:1px solid var(--vesc-line);
  border-radius:10px;
  background:var(--vesc-line);
}
.vesc-controller-mini-spec {
  min-width:0;
  padding:9px 7px 8px;
  background:var(--vesc-panel);
  text-align:center;
}
.vesc-controller-mini-spec span,
.vesc-controller-mini-spec strong {
  display:block;
  min-width:0;
}
.vesc-controller-mini-spec span {
  min-height:2.4em;
  margin-bottom:3px;
  color:var(--vesc-muted);
  font-size:.67rem;
  font-weight:650;
  line-height:1.2;
  white-space:pre-line;
}
.vesc-controller-mini-spec strong {
  color:var(--vesc-text);
  font-size:.84rem;
  font-weight:760;
  line-height:1.15;
}
.vesc-controller-mini-spec.is-empty strong { color:var(--vesc-muted); }

/* Motor Controllers product-category cards: specs sit between title and price. */
.woocommerce.product-category-motor-controllers ul.products li.product .vesc-controller-mini-specs,
.tax-product_cat.term-motor-controllers ul.products li.product .vesc-controller-mini-specs {
  margin:10px 0 12px;
}

/* Single Motor Controller: directly below WooCommerce short description. */
.single-product .summary .vesc-controller-mini-specs--single {
  margin:14px 0 18px;
  max-width:620px;
}
.single-product .summary .vesc-controller-mini-specs--single .vesc-controller-mini-spec {
  padding:11px 10px 10px;
}
.single-product .summary .vesc-controller-mini-specs--single .vesc-controller-mini-spec span {
  font-size:.72rem;
}

.single-product .summary .vesc-controller-mini-specs--single .vesc-controller-mini-spec strong {
  font-size:.96rem;
}

/* Capability mini-specs: numeric attributes stay in the spec grid while
   categorical and yes/no features use compact icons with accessible tooltips. */
.vesc-controller-features {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin:10px 0 12px;
}
.vesc-controller-feature {
  --vesc-tooltip-shift-x:0px;
  --vesc-tooltip-card-width:220px;
  position:relative;
  display:inline-flex;
  border-radius:9px;
  outline:none;
}
.vesc-controller-feature__icon {
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border:1px solid var(--vesc-line);
  border-radius:9px;
  background:var(--vesc-panel);
  color:var(--vesc-text);
  transition:border-color .15s ease,background-color .15s ease,transform .15s ease;
}
.vesc-controller-feature:hover .vesc-controller-feature__icon,
.vesc-controller-feature:focus-visible .vesc-controller-feature__icon,
.vesc-controller-feature.is-tooltip-open .vesc-controller-feature__icon {
  border-color:var(--vesc-accent);
  background:var(--vesc-surface-2);
  transform:translateY(-1px);
}
.vesc-controller-feature__icon svg {
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.vesc-controller-feature__icon svg .fill-dot { fill:currentColor; stroke:none; }
.vesc-controller-feature__text {
  font-size:.72rem;
  font-weight:800;
  letter-spacing:-.02em;
}
.vesc-controller-feature__icon .vesc-controller-feature__battery-svg {
  width:30px;
  height:20px;
}
.vesc-controller-feature__battery-svg text,
.vesc-controller-feature__dual-svg text {
  fill:currentColor;
  stroke:none;
  font-family:inherit;
  font-weight:850;
}
.vesc-controller-feature__battery-svg text {
  font-size:6px;
  letter-spacing:-.25px;
}
.vesc-controller-feature__icon .vesc-controller-feature__dual-svg {
  width:30px;
  height:22px;
}
.vesc-controller-feature__dual-svg text {
  font-size:6.2px;
  letter-spacing:-.25px;
}
.vesc-controller-feature__icon .vesc-controller-feature__current-sensing-svg {
  width:22px;
  height:22px;
}
.vesc-controller-feature__tooltip {
  position:absolute;
  z-index:40;
  left:50%;
  bottom:calc(100% + 8px);
  width:max-content;
  max-width:min(220px,calc(var(--vesc-tooltip-card-width) - 16px));
  padding:7px 9px;
  border:1px solid var(--vesc-line);
  border-radius:7px;
  background:var(--vesc-bg);
  color:var(--vesc-text);
  box-shadow:var(--vesc-shadow);
  font-size:.67rem;
  font-weight:600;
  line-height:1.3;
  white-space:normal;
  opacity:0;
  visibility:hidden;
  transform:translate(calc(-50% + var(--vesc-tooltip-shift-x)),4px);
  pointer-events:none;
  transition:opacity .14s ease,transform .14s ease,visibility .14s ease;
}
.vesc-controller-feature__tooltip::after {
  content:"";
  position:absolute;
  top:100%;
  left:calc(50% - var(--vesc-tooltip-shift-x));
  margin-left:-5px;
  border:5px solid transparent;
  border-top-color:var(--vesc-line);
}
.vesc-controller-feature:hover .vesc-controller-feature__tooltip,
.vesc-controller-feature:focus-visible .vesc-controller-feature__tooltip,
.vesc-controller-feature.is-tooltip-open .vesc-controller-feature__tooltip,
.vesc-controller-feature.is-tooltip-positioning .vesc-controller-feature__tooltip {
  opacity:1;
  visibility:visible;
  transform:translate(calc(-50% + var(--vesc-tooltip-shift-x)),0);
}
.vesc-controller-feature.is-tooltip-positioning .vesc-controller-feature__tooltip {
  opacity:0;
}
.controller-lineup-carousel .vesc-controller-feature__tooltip { display:none; }
.vesc-controller-feature-floating-tooltip {
  --vesc-floating-tooltip-arrow-x:50%;
  position:fixed;
  z-index:10000;
  width:max-content;
  max-width:min(260px,calc(100vw - 16px));
  padding:7px 9px;
  border:1px solid var(--vesc-line);
  border-radius:7px;
  background:var(--vesc-bg);
  color:var(--vesc-text);
  box-shadow:var(--vesc-shadow);
  font-size:.67rem;
  font-weight:600;
  line-height:1.3;
  white-space:normal;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .14s ease,visibility .14s ease;
}
.vesc-controller-feature-floating-tooltip::after {
  content:"";
  position:absolute;
  top:100%;
  left:var(--vesc-floating-tooltip-arrow-x);
  margin-left:-5px;
  border:5px solid transparent;
  border-top-color:var(--vesc-line);
}
.vesc-controller-feature-floating-tooltip.is-visible {
  opacity:1;
  visibility:visible;
}
.vesc-controller-feature-floating-tooltip.is-below::after {
  top:auto;
  bottom:100%;
  border-top-color:transparent;
  border-bottom-color:var(--vesc-line);
}
.vesc-controller-feature.is-tooltip-below .vesc-controller-feature__tooltip {
  top:calc(100% + 8px);
  bottom:auto;
}
.vesc-controller-feature.is-tooltip-below .vesc-controller-feature__tooltip::after {
  top:auto;
  bottom:100%;
  border-top-color:transparent;
  border-bottom-color:var(--vesc-line);
}
.single-product .summary .vesc-controller-features--single { margin:0 0 18px; }
.controller-card .vesc-controller-features--home,
.woocommerce ul.products li.product .vesc-controller-features--loop {
  justify-content:center;
  width:100%;
}
.controller-card .vesc-controller-features--home { margin:9px 0 3px; }
.controller-card .vesc-controller-feature__icon { width:34px; height:34px; }
.controller-card .vesc-controller-feature__icon svg:not(.vesc-controller-feature__battery-svg):not(.vesc-controller-feature__dual-svg) { width:18px; height:18px; }

/* Checkout coupon and action controls. */
body.woocommerce-checkout form.checkout_coupon {
  width:100%;
  max-width:760px;
  box-sizing:border-box;
}
body.woocommerce-checkout form.checkout_coupon .form-row-first {
  width:calc(100% - 190px) !important;
  margin:0 !important;
  float:left !important;
}
body.woocommerce-checkout form.checkout_coupon .form-row-last {
  width:178px !important;
  margin:0 !important;
  float:right !important;
}
body.woocommerce-checkout form.checkout_coupon .form-row-first input { width:100%; }
body.woocommerce-checkout form.checkout_coupon .form-row-last button { width:100%; }
body.woocommerce-checkout .woocommerce a.button,
body.woocommerce-checkout .woocommerce button.button,
body.woocommerce-checkout .woocommerce input.button,
body.woocommerce-checkout .woocommerce .button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
  border-color:var(--vesc-accent) !important;
  background:var(--vesc-accent) !important;
  color:#fff !important;
}
body.woocommerce-checkout .woocommerce a.button:hover,
body.woocommerce-checkout .woocommerce button.button:hover,
body.woocommerce-checkout .woocommerce input.button:hover,
body.woocommerce-checkout .woocommerce .button:hover,
body.woocommerce-checkout .wc-block-components-button:not(.is-link):hover {
  border-color:color-mix(in srgb,var(--vesc-accent) 82%,#000) !important;
  background:color-mix(in srgb,var(--vesc-accent) 82%,#000) !important;
  color:#fff !important;
}

/* Cart coupon field and primary actions. */
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon {
  display:flex;
  align-items:stretch;
  gap:10px;
}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon #coupon_code {
  width:clamp(240px,24vw,340px) !important;
  min-width:240px;
  min-height:48px;
  margin:0 !important;
  box-sizing:border-box;
}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon button[name="apply_coupon"],
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions button[name="update_cart"] {
  border-color:var(--vesc-accent) !important;
  background:var(--vesc-accent) !important;
  color:#fff !important;
}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon button[name="apply_coupon"]:hover,
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon button[name="apply_coupon"]:focus-visible,
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions button[name="update_cart"]:hover,
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions button[name="update_cart"]:focus-visible {
  border-color:color-mix(in srgb,var(--vesc-accent) 82%,#000) !important;
  background:color-mix(in srgb,var(--vesc-accent) 82%,#000) !important;
  color:#fff !important;
}
body.woocommerce-cart .woocommerce-cart-form table.cart td.actions button[name="update_cart"]:disabled {
  border-color:var(--vesc-accent) !important;
  background:var(--vesc-accent) !important;
  color:#fff !important;
  opacity:.5;
}

@media (max-width:980px) {
  .controller-card__image {
    flex-basis:210px;
    height:210px;
    min-height:210px;
  }
}
@media (max-width:640px) {
	body.woocommerce-checkout form.checkout_coupon .form-row-first,
	body.woocommerce-checkout form.checkout_coupon .form-row-last {
		width:100% !important;
		margin-top:10px !important;
		float:none !important;
	}
	body.woocommerce-checkout form.checkout_coupon button.button { width:100%; }
  body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon {
    display:grid;
    grid-template-columns:1fr;
  }
  body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon #coupon_code,
  body.woocommerce-cart .woocommerce-cart-form table.cart td.actions .coupon button[name="apply_coupon"],
  body.woocommerce-cart .woocommerce-cart-form table.cart td.actions button[name="update_cart"] {
    width:100% !important;
    min-width:0;
    margin:0 !important;
  }
  .controller-card__image {
    flex-basis:170px;
    height:170px;
    min-height:170px;
  }
  .vesc-controller-mini-spec {
    padding:8px 4px 7px;
  }
  .vesc-controller-mini-spec span {
    font-size:.58rem;
  }
  .vesc-controller-mini-spec strong {
    font-size:.72rem;
  }
}
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product a.button,
.woocommerce ul.products li.product .vesc-loop-product-button {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100%;
  min-height:46px;
  margin-top:14px !important;
  padding:0 18px !important;
  line-height:1.15 !important;
  text-align:center !important;
  vertical-align:middle;
  border:1px solid var(--vesc-accent) !important;
  border-radius:9px !important;
  background:var(--vesc-accent) !important;
  color:#fff !important;
  font-weight:760 !important;
  transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .2s ease;
}

/* Dark mode: orange transitions to a clean light control on hover. */
:root:not([data-theme="light"]) .woocommerce ul.products li.product .button:hover,
:root:not([data-theme="light"]) .woocommerce ul.products li.product .button:focus-visible,
:root:not([data-theme="light"]) .woocommerce ul.products li.product a.button:hover,
:root:not([data-theme="light"]) .woocommerce ul.products li.product a.button:focus-visible {
  background:#f6f7f8 !important;
  border-color:#f6f7f8 !important;
  color:#111315 !important;
}

/* Light mode: orange transitions to the dark VESC surface on hover. */
:root[data-theme="light"] .woocommerce ul.products li.product .button:hover,
:root[data-theme="light"] .woocommerce ul.products li.product .button:focus-visible,
:root[data-theme="light"] .woocommerce ul.products li.product a.button:hover,
:root[data-theme="light"] .woocommerce ul.products li.product a.button:focus-visible {
  background:#111315 !important;
  border-color:#111315 !important;
  color:#fff !important;
}

/* Keep the gallery and title starting from the same vertical baseline. */
@media (min-width:981px) {
  .woocommerce div.product div.images,
  .woocommerce div.product div.summary {
    align-self:start;
    margin-top:0 !important;
    padding-top:0 !important;
  }
  .woocommerce div.product .summary {
    padding-top:0 !important;
  }
  .woocommerce div.product .product_title {
    margin-top:0 !important;
  }
  .woocommerce div.product div.images .woocommerce-product-gallery__wrapper,
  .woocommerce div.product div.images .flex-viewport {
    margin-top:0 !important;
  }
  .single-product .woocommerce div.product div.images,
  .single-product .woocommerce div.product .woocommerce-product-gallery {
    position:relative !important;
    top:auto !important;
    inset-block-start:auto !important;
    align-self:start !important;
    margin-top:0 !important;
    padding-top:0 !important;
  }

  .single-product .woocommerce div.product div.summary {
    align-self:start !important;
    margin-top:0 !important;
    padding-top:0 !important;
  }

  .single-product .woocommerce div.product .product_title,
  .single-product .woocommerce div.product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce div.product .flex-viewport {
    margin-top:0 !important;
  }
  .single-product .woocommerce div.product {
    position: relative;
    grid-template-columns: minmax(0, 1.2fr) minmax(380px, .8fr);
    grid-auto-flow: row;
  }

  .single-product .woocommerce div.product > .woocommerce-product-gallery,
  .single-product .woocommerce div.product > div.images {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .single-product .woocommerce div.product > .summary,
  .single-product .woocommerce div.product > div.summary {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  /* Keep sale flashes and similar badges from taking up their own grid row. */

  .single-product .woocommerce div.product > .woocommerce-tabs,
  .single-product .woocommerce div.product > section.related,
  .single-product .woocommerce div.product > section.upsells {
    grid-column: 1 / -1 !important;
  }
  .single-product .woocommerce div.product {
    flex-wrap:wrap !important;
    gap:0 clamp(42px, 6vw, 90px) !important;
  }

  .single-product .woocommerce div.product::before,
  .single-product .woocommerce div.product::after {
    display:none !important;
    content:none !important;
  }

  .single-product .woocommerce div.product > .woocommerce-product-gallery,
  .single-product .woocommerce div.product > div.images {
    order:10 !important;
    flex:1 1 0 !important;
    width:0 !important;
    min-width:0 !important;
    max-width:none !important;
    align-self:flex-start !important;
    position:relative !important;
    inset:auto !important;
    top:auto !important;
    margin:0 !important;
    padding:0 !important;
  }

  .single-product .woocommerce div.product > .summary,
  .single-product .woocommerce div.product > div.summary {
    order:20 !important;
    flex:0 0 min(40%, 620px) !important;
    width:min(40%, 620px) !important;
    min-width:380px !important;
    max-width:none !important;
    align-self:flex-start !important;
    margin:0 !important;
    padding:0 !important;
  }

  .single-product .woocommerce div.product > .onsale {
    position:absolute !important;
    z-index:8;
    top:14px !important;
    left:14px !important;
  }

  .single-product .woocommerce div.product > .woocommerce-tabs,
  .single-product .woocommerce div.product > section.related,
  .single-product .woocommerce div.product > section.upsells {
    order:100 !important;
    flex:0 0 100% !important;
    width:100% !important;
    max-width:100% !important;
  }
  .single-product .woocommerce div.product {
    display:flex !important;
    flex-flow:row wrap !important;
    align-items:flex-start !important;
  }

  .single-product .woocommerce div.product > div.images,
  .single-product .woocommerce div.product > .woocommerce-product-gallery,
  .single-product .woocommerce div.product > div.summary,
  .single-product .woocommerce div.product > .summary {
    align-self:flex-start !important;
    margin-top:0 !important;
    padding-top:0 !important;
    inset-block-start:0 !important;
    top:0 !important;
    transform:none !important;
  }

  .single-product .woocommerce div.product > div.images,
  .single-product .woocommerce div.product > .woocommerce-product-gallery {
    position:relative !important;
  }

  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image > a,
  .single-product .woocommerce-product-gallery__image:first-child,
  .single-product .woocommerce-product-gallery__image:first-child > a {
    margin-top:0 !important;
    padding-top:0 !important;
    top:0 !important;
    inset-block-start:0 !important;
    vertical-align:top !important;
  }

  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image > a {
    line-height:0 !important;
  }

  .single-product .woocommerce-product-gallery__image img,
  .single-product .woocommerce-product-gallery__image:first-child img,
  .single-product .woocommerce div.product div.images img {
    display:block !important;
    width:100% !important;
    height:auto !important;
    margin:0 !important;
    padding:0 !important;
    object-position:top center !important;
    vertical-align:top !important;
  }

  .single-product .woocommerce div.product > div.summary > :first-child,
  .single-product .woocommerce div.product > .summary > :first-child,
  .single-product .woocommerce div.product .product_title {
    margin-top:0 !important;
    padding-top:0 !important;
  }
}
.single-product .woocommerce div.product div.images,
.single-product .woocommerce div.product .woocommerce-product-gallery {
  position: relative !important;
  top: auto !important;
  inset: auto !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  transform: none;
}

@media (min-width: 981px) {
  .single-product .woocommerce div.product {
    display: flex !important;
    flex-flow: row wrap !important;
    align-items: flex-start !important;
    column-gap: clamp(42px, 6vw, 90px) !important;
    row-gap: 0 !important;
  }

  .single-product .woocommerce div.product > div.images,
  .single-product .woocommerce div.product > .woocommerce-product-gallery {
    order: 10 !important;
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    align-self: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .single-product .woocommerce div.product > div.summary,
  .single-product .woocommerce div.product > .summary {
    order: 20 !important;
    flex: 0 0 min(40%, 620px) !important;
    width: min(40%, 620px) !important;
    min-width: 380px !important;
    align-self: flex-start !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .single-product .woocommerce-product-gallery .flex-viewport,
  .single-product .woocommerce-product-gallery__wrapper,
  .single-product .woocommerce-product-gallery__image,
  .single-product .woocommerce-product-gallery__image > a {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  .single-product .woocommerce-product-gallery__image img,
  .single-product .woocommerce div.product div.images img {
    display: block !important;
    margin-top: 0 !important;
    padding-top: 0 !important;
    vertical-align: top !important;
  }

  .single-product .woocommerce div.product > .woocommerce-tabs,
  .single-product .woocommerce div.product > section.related,
  .single-product .woocommerce div.product > section.upsells {
    order: 100 !important;
    flex: 0 0 100% !important;
    width: 100% !important;
  }
}
/* Keep the optional "Add for" label and its accessory price on one baseline. */
.woocommerce div.product .bundle_form .bundled_product_optional_checkbox {
  align-items: center;
  flex-wrap: wrap;
  line-height: 1.35;
}

.woocommerce div.product .bundle_form .bundled_product_optional_checkbox .price,
.woocommerce div.product .bundle_form label.bundled_product_optional_checkbox .price {
  display: inline-flex !important;
  align-items: baseline;
  margin: 0 !important;
  padding: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: 750;
  vertical-align: baseline;
}

.woocommerce div.product .bundle_form .bundled_product_optional_checkbox input {
  flex: 0 0 auto;
  margin-top: 0;
}

/* Larger, clearer accessory imagery on phones while retaining compact cards. */
@media (max-width: 720px) {
  .woocommerce div.product .bundle_form .bundled_product {
    padding: 14px !important;
  }
}

@media (max-width: 390px) {
  .woocommerce div.product .bundle_form .bundled_product {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 12px;
  }

  .woocommerce div.product .bundle_form .bundled_product_images {
    width: 96px !important;
  }
}

/*
 * Mobile/tablet WooCommerce gallery:
 * FlexSlider needs the wrapper to remain an unclipped horizontal track. Earlier
 * responsive rules clipped the wrapper itself, which left the first slide
 * visible but hid subsequent slides even though their thumbnails remained.
 * Only the FlexSlider viewport should clip the moving track.
 */
@media (max-width: 980px) {
  .single-product .woocommerce div.product .woocommerce-product-gallery,
  .single-product .woocommerce div.product div.images {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .single-product .woocommerce div.product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    border: 1px solid var(--vesc-line);
    border-radius: 12px;
    background: var(--vesc-surface);
  }

  .single-product .woocommerce div.product .woocommerce-product-gallery__wrapper {
    max-width: none !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
  }

  /* Do not clamp FlexSlider's calculated slide widths. */
  .single-product .woocommerce div.product .woocommerce-product-gallery__image {
    max-width: none !important;
    overflow: visible !important;
  }

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

  .single-product .woocommerce div.product .woocommerce-product-gallery__image img,
  .single-product .woocommerce div.product div.images img,
  .single-product .woocommerce div.product img.wp-post-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain;
  }

  .single-product .woocommerce div.product div.images .flex-control-thumbs {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }
}
@media (max-width: 720px) {
  .woocommerce div.product .bundle_form .bundled_product {
    grid-template-columns: min(var(--vesc-bundle-mobile-image-size, 118px), 42vw) minmax(0, 1fr) !important;
    column-gap: 14px !important;
  }

  .woocommerce div.product .bundle_form .bundled_product_images {
    width: min(var(--vesc-bundle-mobile-image-size, 118px), 42vw) !important;
    max-width: none !important;
  }
}

/*
 * On phones and tablets use the browser's native horizontal scrolling for the
 * WooCommerce gallery rather than allowing FlexSlider transforms and old width
 * overrides to fight each other. This preserves swipe navigation and thumbnail
 * selection while keeping every slide exactly one viewport wide.
 */
@media (max-width: 980px) {
  .single-product .woocommerce-product-gallery .flex-viewport {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .single-product .woocommerce-product-gallery .flex-viewport::-webkit-scrollbar {
    display: none;
  }

  .single-product .woocommerce-product-gallery__wrapper {
    display: flex !important;
    flex-flow: row nowrap !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
    overflow: visible !important;
  }

  .single-product .woocommerce-product-gallery__image {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
    float: none !important;
    margin: 0 !important;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .single-product .woocommerce-product-gallery__image > a,
  .single-product .woocommerce-product-gallery__image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}
.woocommerce-product-gallery {
  position: relative;
}

.vesc-gallery-controls {
  position:absolute;
  z-index:12;
  top:0;
  left:0;
  right:0;
  pointer-events:none;
}
.vesc-gallery-nav {
  position: absolute;
  z-index:2;
  top:50%;
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  padding: 0;
  border:1px solid var(--vesc-line) !important;
  border-radius:50%;
  background:color-mix(in srgb,var(--vesc-surface) 94%,transparent) !important;
  color: var(--vesc-text);
  box-shadow:var(--vesc-shadow) !important;
  cursor: pointer;
  opacity:0;
  pointer-events:auto;
  transform:translateY(-50%);
  transition:opacity .18s ease,border-color .16s ease,background-color .16s ease,color .16s ease,transform .16s ease;
  -webkit-tap-highlight-color: transparent;
}
.vesc-gallery-nav--prev { left:14px; }
.vesc-gallery-nav--next { right:14px; }
.vesc-gallery-nav svg {
  width:19px;
  height:19px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.woocommerce-product-gallery:hover .vesc-gallery-nav,
.woocommerce-product-gallery:focus-within .vesc-gallery-nav,
.vesc-gallery-nav:hover,
.vesc-gallery-nav:focus-visible {
  opacity:1;
}
.vesc-gallery-nav:hover,
.vesc-gallery-nav:focus-visible {
  border-color:var(--vesc-accent) !important;
  color:var(--vesc-accent);
  outline:none;
  transform:translateY(-50%) scale(1.04);
}
.vesc-gallery-zoom {
  position:absolute;
  z-index:1;
  inset:0 70px;
  padding:0;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  color:transparent;
  cursor:zoom-in;
  pointer-events:auto;
}
.vesc-gallery-zoom:focus-visible {
  outline:2px solid var(--vesc-accent);
  outline-offset:-4px;
}

@media (max-width: 980px) {
  /* Replace FlexSlider's transformed track with one deterministic active slide. */
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .flex-viewport {
    overflow: hidden !important;
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .woocommerce-product-gallery__wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
    transition: none !important;
    left: auto !important;
  }
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .woocommerce-product-gallery__image {
    display: none !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .woocommerce-product-gallery__image.vesc-gallery-active {
    display: block !important;
  }
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .woocommerce-product-gallery__image > a,
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto !important;
  }
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .flex-control-thumbs img.flex-active {
    outline: 2px solid var(--vesc-orange);
    outline-offset: -2px;
  }
  .vesc-gallery-controls { display:none; }
}
@media (min-width: 981px) {
  body.vesc-layout-windowed .vesc-container {
    width: min(1280px, calc(100% - 64px));
  }

  body.vesc-layout-full .vesc-container {
    width: calc(100% - 64px);
    max-width: none;
  }

  /* Keep the main single-product image comfortably inside the visible
     desktop viewport even when the source image is very large or square. */
  .single-product .woocommerce-product-gallery__image > a {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: center !important;
    width: 100% !important;
  }

  .single-product .woocommerce-product-gallery__image img,
  .single-product .woocommerce div.product div.images img,
  .single-product .woocommerce div.product img.wp-post-image {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: min(720px, calc(100vh - 150px)) !important;
    object-fit: contain !important;
    object-position: top center !important;
    margin-inline: auto !important;
  }
}
.single-product .woocommerce-product-gallery .flex-viewport {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: var(--vesc-surface) !important;
}

.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image > a {
  box-sizing: border-box !important;
  height: 100% !important;
  min-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.single-product .woocommerce-product-gallery__image > a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce div.product div.images img,
.single-product .woocommerce div.product img.wp-post-image {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* Remove the old dark-mode side gutters entirely. The square viewport itself
   is the clipping boundary, so there are no artificial black side bars. */
body.vesc-dark .single-product .woocommerce-product-gallery .flex-viewport,
html[data-theme="dark"] .single-product .woocommerce-product-gallery .flex-viewport {
  padding-inline: 0 !important;
}

@media (min-width: 981px) {
  /* Keep full-width desktop layouts from creating a gallery taller than the
     visible screen while preserving a true 1:1 media square. */
  .single-product .woocommerce div.product > .woocommerce-product-gallery,
  .single-product .woocommerce div.product > div.images {
    flex: 0 1 min(58%, calc(100vh - 150px)) !important;
    width: min(58%, calc(100vh - 150px)) !important;
    max-width: min(58%, calc(100vh - 150px)) !important;
  }

  .single-product .woocommerce-product-gallery__wrapper {
    border-radius: var(--vesc-radius) !important;
  }
}

@media (max-width: 980px) {
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .flex-viewport {
    aspect-ratio: 1 / 1 !important;
    height: auto !important;
  }
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .woocommerce-product-gallery__image.vesc-gallery-active,
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .woocommerce-product-gallery__image.vesc-gallery-active > a {
    height: 100% !important;
    min-height: 100% !important;
  }
  .single-product .woocommerce-product-gallery.vesc-gallery-mobile-managed .woocommerce-product-gallery__image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
  }
}
.site-header__inner { position:relative; }
.site-branding .vesc-mode-logo-link { max-width:var(--vesc-header-logo-width) !important; }
.site-branding .vesc-mode-logo { width:var(--vesc-header-logo-width) !important; max-width:100% !important; height:auto !important; max-height:none !important; }

.header-socials { display:flex; align-items:center; gap:5px; }
.header-social { width:32px; height:32px; display:grid; place-items:center; color:var(--vesc-muted); border-radius:8px; transition:color .2s ease,background-color .2s ease; }
.header-social:hover,.header-social:focus-visible { color:var(--vesc-accent); background:var(--vesc-surface-2); }
.header-social svg { width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.header-social--github svg,.header-social--facebook svg,.header-social--discord svg { fill:currentColor; stroke:none; }

@media (min-width:981px) {
  .site-header--inline .primary-navigation .menu { justify-content:center; }

  .site-header--stacked .site-header__inner {
    min-height:0;
    display:grid;
    grid-template-columns:1fr auto 1fr;
    grid-template-rows:auto auto;
    row-gap:var(--vesc-header-stacked-gap);
    align-items:center;
    padding-block:6px;
  }
  .site-header--stacked .site-branding {
    grid-column:1 / -1;
    grid-row:1;
    justify-self:center;
    justify-content:center;
  }
  .site-header--stacked .primary-navigation {
    grid-column:1 / -1;
    grid-row:2;
    justify-self:center;
    width:max-content;
  }
  .site-header--stacked .header-actions {
    position:absolute;
    right:0;
    bottom:6px;
  }
}

@media (max-width:980px) {
  .site-header__inner { min-height:68px; display:flex; justify-content:flex-end; padding-inline:0; }
  .site-branding {
    position:absolute !important;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    z-index:2;
    display:flex;
    justify-content:center;
    pointer-events:auto;
  }
  .site-branding .vesc-mode-logo-link { width:min(var(--vesc-header-logo-width),132px); max-width:132px !important; }
  .site-branding .vesc-mode-logo { width:100% !important; }
  .header-actions { margin-left:auto; }
  .header-actions .menu-toggle {
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    margin:0;
  }
  .primary-navigation { top:68px; }
  .header-socials { display:none; }
}

/* WooCommerce My Account navigation icons. */
.woocommerce-MyAccount-navigation ul { list-style:none; margin:0; padding:0; }
.woocommerce-MyAccount-navigation li a { display:flex; align-items:center; gap:11px; min-height:44px; }
.woocommerce-MyAccount-navigation li a::before { content:""; width:19px; height:19px; flex:0 0 19px; background:currentColor; mask:var(--vesc-account-icon) center / contain no-repeat; -webkit-mask:var(--vesc-account-icon) center / contain no-repeat; opacity:.86; }
.woocommerce-MyAccount-navigation-link--dashboard { --vesc-account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 13h8V3H3v10Zm0 8h8v-6H3v6Zm10 0h8V11h-8v10Zm0-18v6h8V3h-8Z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders { --vesc-account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M5 3h14a2 2 0 0 1 2 2v16l-4-2-3 2-3-2-3 2-4-2V5a2 2 0 0 1 2-2Zm2 5h10V6H7v2Zm0 4h10v-2H7v2Zm0 4h7v-2H7v2Z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads { --vesc-account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M11 3h2v10l3.5-3.5L18 11l-6 6-6-6 1.5-1.5L11 13V3ZM4 19h16v2H4v-2Z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods { --vesc-account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 5h18a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2Zm0 3h18V7H3v1Zm0 3v6h18v-6H3Zm2 3h6v2H5v-2Z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address { --vesc-account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7Zm0 4a3 3 0 1 0 0 6 3 3 0 0 0 0-6Z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account { --vesc-account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10Zm0 2c-5 0-9 2.5-9 5.5V22h18v-2.5C21 16.5 17 14 12 14Z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --vesc-account-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4 3h9v2H6v14h7v2H4V3Zm12.6 4.6L21 12l-4.4 4.4-1.4-1.4 2-2H10v-2h7.2l-2-2 1.4-1.4Z'/%3E%3C/svg%3E"); }

/* Motor controller category comparison dropdown. */
.vesc-controller-comparison-dropdown { margin:0 0 28px; border:1px solid var(--vesc-line); border-radius:14px; background:var(--vesc-surface); overflow:hidden; }
.vesc-controller-comparison-dropdown summary { cursor:pointer; list-style:none; min-height:62px; padding:0 20px; display:flex; align-items:center; justify-content:space-between; gap:20px; font-weight:800; }
.vesc-controller-comparison-dropdown summary::-webkit-details-marker { display:none; }
.vesc-controller-comparison-dropdown summary small { color:var(--vesc-accent); font-size:.78rem; }
.vesc-controller-comparison-scroll { overflow-x:auto; border-top:1px solid var(--vesc-line); }
.vesc-controller-comparison-content { border-top:1px solid var(--vesc-line); padding:18px 20px 4px; min-width:0; }
.vesc-controller-comparison-content > :first-child { margin-top:0; }
.vesc-controller-comparison-content > :last-child { margin-bottom:0; }
.vesc-controller-comparison-table { width:100%; min-width:720px; border-collapse:collapse; }
.vesc-controller-comparison-table th,.vesc-controller-comparison-table td { padding:13px 16px; border-bottom:1px solid var(--vesc-line); text-align:left; white-space:nowrap; }
.vesc-controller-comparison-table thead th { color:var(--vesc-muted); font-size:.72rem; text-transform:uppercase; letter-spacing:.04em; }
.vesc-controller-comparison-table tbody th { color:var(--vesc-text); }
.vesc-controller-comparison-table a,.vesc-controller-comparison-full-link { color:var(--vesc-accent); font-weight:750; }
.vesc-controller-comparison-full-link { display:inline-flex; padding:16px 20px; }
@media (max-width:980px) {
  .mobile-header-tools .header-socials { display:flex; flex-wrap:wrap; margin-top:4px; }
  .mobile-header-tools .header-social { border:1px solid var(--vesc-line); width:40px; height:40px; }
}
@media (min-width:981px) {
  .header-actions {
    gap:8px;
  }

  .search-toggle--labelled {
    height:40px;
    padding:0 14px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    border-radius:9px;
    white-space:nowrap;
  }

  .search-toggle__text {
    display:inline;
    font-size:.82rem;
    font-weight:700;
    line-height:1;
  }

  .mode-toggle--desktop {
    order:-2;
  }

  .search-toggle--labelled {
    order:-1;
  }
}

@media (max-width:980px) {
  .mode-toggle--desktop {
    display:none !important;
  }

  .search-toggle--labelled {
    width:40px;
    min-width:40px;
    height:40px;
    padding:0;
    display:inline-grid;
    place-items:center;
  }

  .search-toggle__text {
    display:none;
  }

  .mobile-mode-toggle {
    width:100%;
    min-height:46px;
    padding:0 12px;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    gap:11px;
    border:1px solid var(--vesc-line);
    border-radius:9px;
    background:transparent;
    color:var(--vesc-text);
    font:inherit;
    font-size:.9rem;
    font-weight:700;
    cursor:pointer;
  }

  .mobile-mode-toggle:hover,
  .mobile-mode-toggle:focus-visible {
    border-color:color-mix(in srgb, var(--vesc-accent) 62%, var(--vesc-line));
    background:color-mix(in srgb, var(--vesc-accent) 8%, transparent);
    color:var(--vesc-accent);
  }

  .mobile-mode-toggle svg {
    width:19px;
    height:19px;
    flex:0 0 19px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.7;
    stroke-linecap:round;
    stroke-linejoin:round;
  }
}
.header-left-tools { display:none; }
.search-toggle--mobile { display:none; }

@media (min-width:981px) {
  .site-header--inline .site-header__inner {
    display:flex;
    align-items:center;
    gap:14px;
  }
  .site-header--inline .site-branding { flex:0 0 auto; }
  .site-header--inline .header-left-tools {
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
    margin-left:4px;
  }
  .site-header--inline .primary-navigation {
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    width:max-content;
    max-width:calc(100% - 620px);
  }
  .site-header--inline .header-actions { margin-left:auto; }
  .site-header--stacked .header-left-tools {
    display:flex;
    position:absolute;
    left:0;
    bottom:12px;
    align-items:center;
    gap:8px;
  }
  .search-toggle--labelled { width:auto; min-width:104px; }
  .search-toggle--mobile { display:none !important; }
}

@media (max-width:980px) {
  .header-left-tools { display:none !important; }
  .search-toggle--mobile { display:inline-grid; place-items:center; }
}

@media (min-width:981px) and (max-width:1240px) {
  .site-header--inline .header-left-tools { gap:6px; }
  .site-header--inline .search-toggle--labelled {
    min-width:42px;
    width:42px;
    padding:0;
  }
  .site-header--inline .search-toggle__text { display:none; }
  .site-header--inline .primary-navigation { max-width:calc(100% - 500px); }
}
.vesc-about-page { padding-bottom: clamp(40px, 6vw, 84px); }
.vesc-about-page .vesc-container { width: min(var(--vesc-container, 1280px), calc(100% - 40px)); }
.vesc-about-eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--vesc-accent);
}
.vesc-about-hero {
	padding-top: clamp(54px, 8vw, 106px);
	padding-bottom: clamp(38px, 5vw, 66px);
	text-align: center;
}
.vesc-about-hero h1 {
	max-width: 920px;
	margin: 14px auto 18px;
	font-size: clamp(42px, 6vw, 76px);
	line-height: .98;
	letter-spacing: -.045em;
}
.vesc-about-lead {
	max-width: 780px;
	margin: 0 auto;
	font-size: clamp(16px, 1.5vw, 19px);
	line-height: 1.7;
	color: var(--vesc-muted);
}
.vesc-about-rule { height: 1px; background: var(--vesc-border); }
.vesc-about-story {
	display: grid;
	grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
	gap: clamp(30px, 5vw, 76px);
	padding-top: clamp(42px, 6vw, 76px);
	padding-bottom: clamp(46px, 6vw, 82px);
}
.vesc-about-story h2,
.vesc-about-feature h2,
.vesc-about-team h2,
.vesc-about-community h2,
.vesc-about-cta h2 { letter-spacing: -.035em; }
.vesc-about-story h2 { margin: 8px 0 0; font-size: clamp(28px, 3vw, 38px); }
.vesc-about-story-copy { font-size: clamp(18px, 2vw, 22px); line-height: 1.62; }
.vesc-about-story-copy p { margin: 0 0 20px; }
.vesc-about-story-copy p:last-child { margin-bottom: 0; }
.vesc-about-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(26px, 4vw, 54px);
	align-items: center;
	margin-bottom: 24px;
	padding: clamp(26px, 4vw, 48px);
	border: 1px solid var(--vesc-border);
	border-radius: 22px;
	background: var(--vesc-surface);
}
.vesc-about-feature-reverse .vesc-about-media { order: -1; }
.vesc-about-feature h2 { margin: 8px 0 14px; font-size: clamp(28px, 3vw, 38px); }
.vesc-about-feature-copy > p:not(.vesc-about-eyebrow) { margin: 0 0 14px; line-height: 1.72; color: var(--vesc-muted); }
.vesc-about-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.vesc-about-tags span {
	padding: 7px 11px;
	border: 1px solid var(--vesc-border);
	border-radius: 999px;
	font-size: 12px;
	color: var(--vesc-muted);
}
.vesc-about-media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	display: grid;
	place-items: center;
	border: 1px solid var(--vesc-border);
	border-radius: 16px;
	background: var(--vesc-surface-strong, #161616);
	color: var(--vesc-muted);
	text-align: center;
}
.vesc-about-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vesc-about-media span { padding: 24px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.vesc-about-media::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(135deg, transparent 58%, color-mix(in srgb, var(--vesc-accent) 14%, transparent));
}
.vesc-about-team { padding-top: clamp(46px, 6vw, 82px); padding-bottom: clamp(42px, 5vw, 70px); }
.vesc-about-team-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 24px; }
.vesc-about-team-heading h2 { margin: 8px 0 0; font-size: clamp(30px, 3.4vw, 42px); }
.vesc-about-team-heading > p { max-width: 390px; margin: 0; line-height: 1.62; color: var(--vesc-muted); }
.vesc-about-team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.vesc-about-person { overflow: hidden; border: 1px solid var(--vesc-border); border-radius: 16px; background: var(--vesc-surface); }
.vesc-about-person-photo { aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; background: var(--vesc-surface-strong, #161616); color: var(--vesc-muted); }
.vesc-about-person-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center top; }
.vesc-about-person-photo span { padding: 20px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.vesc-about-person-copy { padding: 17px; }
.vesc-about-person h3 { margin: 0 0 5px; font-size: 19px; line-height: 1.2; }
.vesc-about-role { margin: 0; color: var(--vesc-accent); font-size: 12px; font-weight: 800; line-height: 1.4; }
.vesc-about-bio { margin: 11px 0 0; color: var(--vesc-muted); font-size: 13px; line-height: 1.58; }
.vesc-about-community {
	display: grid;
	grid-template-columns: minmax(230px, .78fr) minmax(0, 1.22fr);
	gap: clamp(30px, 5vw, 72px);
	padding-top: clamp(34px, 5vw, 58px);
	padding-bottom: clamp(34px, 5vw, 58px);
	border-top: 1px solid var(--vesc-border);
	border-bottom: 1px solid var(--vesc-border);
}
.vesc-about-community h2 { margin: 8px 0 0; font-size: clamp(28px, 3vw, 38px); }
.vesc-about-community > div:last-child > p { margin: 0; color: var(--vesc-muted); line-height: 1.72; }
.vesc-about-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 18px; }
.vesc-about-links a { color: var(--vesc-text); text-decoration: none; border-bottom: 1px solid var(--vesc-accent); padding-bottom: 3px; }
.vesc-about-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-top: 34px;
	padding: clamp(26px, 4vw, 38px);
	border-radius: 18px;
	background: var(--vesc-accent);
	color: #111;
}
.vesc-about-cta .vesc-about-eyebrow { color: #111; }
.vesc-about-cta h2 { margin: 5px 0 0; font-size: clamp(26px, 3vw, 36px); }
.vesc-about-cta .button { flex: 0 0 auto; background: #111; color: #fff; }
.vesc-about-cta .button:hover { background: #fff; color: #111; }

@media (max-width: 900px) {
	.vesc-about-story,
	.vesc-about-feature,
	.vesc-about-community { grid-template-columns: 1fr; }
	.vesc-about-feature-reverse .vesc-about-media { order: 0; }
	.vesc-about-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.vesc-about-page .vesc-container { width: min(100% - 28px, var(--vesc-container, 1280px)); }
	.vesc-about-hero { padding-top: 38px; }
	.vesc-about-team-heading { display: block; }
	.vesc-about-team-heading > p { margin-top: 12px; }
	.vesc-about-person-copy { padding: 13px; }
	.vesc-about-bio { font-size: 12px; }
	.vesc-about-cta { align-items: flex-start; flex-direction: column; }
}
.home-hardware-software {
}

.home-hardware-software__inner {
  width: 100%;
  border-left: 0 !important;
  border-right: 0 !important;
}

/* The card lifts slightly on hover, so reserve a few pixels above the track
   and lift the hovered card above neighbouring cards instead of clipping it. */
.controller-lineup-viewport {
  padding-top: 5px;
  margin-top: -5px;
}
.controller-card {
  position: relative;
  z-index: 1;
}
.controller-card:hover,
.controller-card:focus-within {
  z-index: 5;
}
@media (min-width: 981px) {
  /* The section itself already uses .vesc-container. Remove the extra internal
     left inset so its heading begins on exactly the same x-coordinate as the
     Controller Lineup heading below it. */
  .home-hardware-software__inner {
    column-gap: clamp(32px, 4vw, 72px);
    border-left: 0 !important;
    border-right: 0 !important;
  }
  .home-hardware-software__copy {
    padding: 64px 24px 64px 0 !important;
  }
  .home-hardware-software__media {
    margin-right: 0;
  }
}

.vesc-about-qualification {
  margin: 7px 0 0;
  color: var(--vesc-muted);
  font-size: 12px;
  line-height: 1.45;
}
.vesc-about-person-links {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
}
.vesc-about-person-links a {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--vesc-border);
  border-radius: 9px;
  color: var(--vesc-text);
  background: transparent;
  transition: border-color .18s ease, color .18s ease, background .18s ease, transform .18s ease;
}
.vesc-about-person-links a:hover,
.vesc-about-person-links a:focus-visible {
  border-color: var(--vesc-accent);
  color: var(--vesc-accent);
  background: color-mix(in srgb, var(--vesc-accent) 8%, transparent);
  transform: translateY(-1px);
}
.vesc-about-person-links svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}
.vesc-about-person-links {
  justify-content: center;
  width: 100%;
}

@media (max-width: 640px) {
  .vesc-about-team-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

body.tax-product_cat.vesc-infinite-scroll-enabled .woocommerce-pagination {
  display: none;
}
.vesc-infinite-products-sentinel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  width: 100%;
  margin: 18px 0 8px;
  color: var(--vesc-muted);
  font-size: 13px;
  text-align: center;
}
.vesc-infinite-products-sentinel.is-loading::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border: 2px solid color-mix(in srgb, var(--vesc-muted) 35%, transparent);
  border-top-color: var(--vesc-accent);
  border-radius: 50%;
  animation: vescInfiniteSpin .7s linear infinite;
}
.vesc-infinite-products-sentinel.is-complete {
  min-height: 36px;
  opacity: .72;
}
@keyframes vescInfiniteSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .vesc-infinite-products-sentinel.is-loading::before { animation: none; }
}
@media (max-width: 980px) {
  /* The opened navigation is a true full-width drawer on phone and tablet. */
  .site-header .primary-navigation {
    position: fixed !important;
    top: 66px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
    border-left: 0 !important;
    border-right: 0 !important;
    border-radius: 0 0 14px 14px !important;
    padding: 16px max(16px, env(safe-area-inset-right)) 18px max(16px, env(safe-area-inset-left)) !important;
    max-height: calc(100dvh - 66px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  /* The dedicated utility account action comes after Contact Us in the menu,
     so suppress a duplicate My Account item from the assigned WP menu. */
  .primary-navigation .menu > .vesc-menu-my-account {
    display: none !important;
  }

  .mobile-header-tools {
    grid-template-columns: 1fr;
  }
  .mobile-account-link { order: 1; }
  .vesc-currency-switcher--mobile { order: 2; }
  .mobile-mode-toggle { order: 3; }
  .mobile-header-tools .header-socials { order: 4; }
}

@media (min-width: 641px) and (max-width: 980px) {
  .site-header .primary-navigation {
    top: 76px !important;
    max-height: calc(100dvh - 76px);
  }
}

/* Multi-line team qualifications entered in the Customizer remain readable. */
.vesc-about-qualification {
  white-space: pre-line;
}

/* Full-width product-category hero. */
.vesc-product-category-hero {
  --vesc-category-image: none;
  position: relative;
  width: 100%;
  min-height: clamp(145px, 13vw, 195px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, var(--vesc-surface), var(--vesc-bg));
}
.vesc-product-category-hero.has-image {
  background-image: var(--vesc-category-image);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.vesc-product-category-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(7, 9, 11, .64);
  backdrop-filter: saturate(.78);
}
:root[data-theme="light"] .vesc-product-category-hero__overlay {
  background: rgba(247, 247, 245, .72);
  backdrop-filter: saturate(.62) brightness(1.05);
}
.vesc-product-category-hero__content {
  padding-block: clamp(26px, 3vw, 40px);
  text-align: center;
}
.vesc-product-category-hero h1 {
  max-width: 1000px;
  margin: 0 auto 14px;
  color: var(--vesc-text);
  font-size: clamp(2.2rem, 3vw, 3.65rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.vesc-product-category-hero p {
  max-width: 820px;
  margin: 0 auto;
  color: var(--vesc-muted);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  line-height: 1.55;
}
.woo-main--category {
  padding-top: clamp(34px, 4vw, 58px);
}

/* Concise archive toolbar and themed product sorting control. */
.woocommerce .woocommerce-result-count {
  margin: 0 0 22px;
  color: var(--vesc-muted);
  font-size: .9rem;
  line-height: 46px;
}
.woocommerce .woocommerce-ordering {
  margin: 0 0 22px;
}
.woocommerce .woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  min-width: min(310px, 100%);
  min-height: 46px;
  margin: 0;
  padding: 0 46px 0 15px;
  border: 1px solid var(--vesc-line);
  border-radius: 10px;
  outline: 0;
  background-color: var(--vesc-surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ff7600' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  color: var(--vesc-text);
  font-weight: 650;
  cursor: pointer;
  box-shadow: none;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.woocommerce .woocommerce-ordering select:hover {
  border-color: color-mix(in srgb, var(--vesc-accent) 55%, var(--vesc-line));
}
.woocommerce .woocommerce-ordering select:focus-visible {
  border-color: var(--vesc-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vesc-accent) 17%, transparent);
}

@media (max-width: 640px) {
  .vesc-product-category-hero {
    min-height: 150px;
  }
  .vesc-product-category-hero__content {
    padding-block: 26px;
  }
  .vesc-product-category-hero h1 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }
  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none !important;
    width: 100%;
  }
  .woocommerce .woocommerce-result-count {
    line-height: 1.4;
    margin-bottom: 12px;
  }
  .woocommerce .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }
}
.ecosystem-rail__node--centre,
.ecosystem-rail__stem {
  left: 50% !important;
}
.ecosystem-rail__node--centre {
  right: auto !important;
  transform: translateX(-50%) !important;
}
.ecosystem-rail__stem {
  right: auto !important;
  transform: translateX(-50%) !important;
}
@media (prefers-reduced-motion: no-preference) {
  .home-ecosystem-section.is-motion-ready .ecosystem-rail__stem {
    transform: translateX(-50%) scaleY(0) !important;
  }
  .home-ecosystem-section.is-motion-ready.is-visible .ecosystem-rail__stem {
    transform: translateX(-50%) scaleY(1) !important;
  }
}
.contact-page {
  padding: clamp(28px, 4vw, 58px) 0 clamp(58px, 7vw, 92px);
}
.contact-hero {
  text-align: center;
  max-width: 940px;
  margin-bottom: clamp(28px, 4vw, 46px);
}
.contact-eyebrow {
  margin: 0 0 8px;
  color: var(--vesc-accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contact-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2.45rem, 5vw, 4.8rem);
  line-height: .98;
  letter-spacing: -.045em;
}
.contact-hero > p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--vesc-muted);
  font-size: clamp(1rem, 1.4vw, 1.14rem);
  line-height: 1.65;
}
.contact-self-service {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(24px, 3vw, 34px);
  padding-bottom: clamp(24px, 3vw, 34px);
  border-top: 1px solid var(--vesc-line);
  border-bottom: 1px solid var(--vesc-line);
  margin-bottom: clamp(34px, 5vw, 58px);
}
.contact-self-service h2,
.contact-form-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(1.65rem, 2.6vw, 2.45rem);
  letter-spacing: -.035em;
}
.contact-self-service__copy > p:last-child,
.contact-panel-intro {
  max-width: 760px;
  margin: 0;
  color: var(--vesc-muted);
  line-height: 1.65;
}
.contact-self-service__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.contact-self-service .button {
  display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:0 17px;
  border:1px solid var(--vesc-accent); border-radius:10px; color:#fff; background:var(--vesc-accent);
  text-decoration:none; font-weight:800; transition:background-color .18s ease,color .18s ease,transform .18s ease;
}
.contact-self-service .button:hover,.contact-self-service .button:focus-visible { transform:translateY(-1px); }
:root:not([data-theme="light"]) .contact-self-service .button:hover,:root:not([data-theme="light"]) .contact-self-service .button:focus-visible { background:#f6f7f8; border-color:#f6f7f8; color:#111315; }
:root[data-theme="light"] .contact-self-service .button:hover,:root[data-theme="light"] .contact-self-service .button:focus-visible { background:#111315; border-color:#111315; color:#fff; }
.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.contact-form-panel,
.contact-options {
  min-width: 0;
}
.contact-panel-intro {
  margin-bottom: 24px;
}
.contact-form-embed {
  margin-top: 18px;
}
.contact-form-admin-note {
  padding: 20px;
  border: 1px dashed var(--vesc-line);
  border-radius: 12px;
  background: var(--vesc-surface);
  color: var(--vesc-muted);
}
.contact-form-admin-note strong {
  color: var(--vesc-text);
}
.contact-form-admin-note p {
  margin: 6px 0 0;
}

/* Generic form plugin styling, without taking ownership of submission logic. */
.contact-form-embed :where(input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]), select, textarea) {
  width: 100%;
  max-width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid var(--vesc-line) !important;
  border-radius: 9px !important;
  background: var(--vesc-surface) !important;
  color: var(--vesc-text) !important;
  box-shadow: none !important;
  font: inherit;
}
.contact-form-embed textarea {
  min-height: 190px;
  resize: vertical;
}
.contact-form-embed :where(input, select, textarea):focus {
  outline: 2px solid color-mix(in srgb, var(--vesc-accent) 40%, transparent);
  outline-offset: 1px;
  border-color: var(--vesc-accent) !important;
}
.contact-form-embed :where(button, input[type="submit"], .wpforms-submit) {
  min-height: 46px;
  padding: 0 20px !important;
  border: 1px solid var(--vesc-accent) !important;
  border-radius: 9px !important;
  background: var(--vesc-accent) !important;
  color: #111 !important;
  font: inherit;
  font-weight: 800 !important;
  cursor: pointer;
}
.contact-form-embed :where(button, input[type="submit"], .wpforms-submit):hover {
  filter: brightness(1.08);
}
.contact-form-embed label {
  color: var(--vesc-text);
  font-weight: 700;
}

.contact-options {
  display: grid;
  gap: 14px;
}
.contact-option {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid var(--vesc-line);
  border-radius: 16px;
  background: var(--vesc-surface);
}
.contact-option__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--vesc-accent) 55%, var(--vesc-line));
  border-radius: 50%;
  color: var(--vesc-accent);
  font-weight: 900;
  font-size: 1.08rem;
}
.contact-option__label {
  margin: 1px 0 5px;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--vesc-muted);
}
.contact-option__email {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--vesc-text);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 800;
  text-decoration: none;
}
.contact-option__email:hover,
.contact-option__email:focus-visible,
.contact-option__action:hover,
.contact-option__action:focus-visible {
  color: var(--vesc-accent);
}
.contact-option p:last-child {
  margin: 0;
  color: var(--vesc-muted);
  line-height: 1.6;
}
.contact-option__action {
  display: inline-block;
  margin-top: 12px;
  color: var(--vesc-accent);
  font-weight: 800;
  text-decoration: none;
}
.contact-option--wholesale {
  background: color-mix(in srgb, var(--vesc-accent) 5%, var(--vesc-surface));
}

@media (max-width: 900px) {
  .contact-main,
  .contact-self-service {
    grid-template-columns: 1fr;
  }
  .contact-self-service__links {
    justify-content: flex-start;
  }
}
@media (max-width: 600px) {
  .contact-page {
    padding-top: 30px;
  }
  .contact-option {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 13px;
    padding: 18px;
  }
  .contact-option__icon {
    width: 40px;
    height: 40px;
  }
  .contact-self-service__links .button {
    flex: 1 1 150px;
  }
}

.vesc-product-category-hero__content { position:relative; z-index:2; }
.vesc-product-category-hero.has-bottom-fade::after {
  content:"";
  position:absolute;
  left:0; right:0; bottom:0;
  height:var(--vesc-category-fade-distance);
  z-index:1;
  pointer-events:none;
  background:linear-gradient(to bottom,transparent,var(--vesc-bg));
}

.vesc-mobile-product-heading { display:none; }
@media (max-width:980px) {
  .single-product .woocommerce div.product > .vesc-mobile-product-heading {
    display:block;
    order:5;
    flex:0 0 100%;
    width:100%;
    margin:0 0 18px;
  }
  .vesc-mobile-product-heading .product_title { margin:0 0 10px !important; font-size:var(--vesc-product-title-mobile,32px) !important; line-height:1.05; }
  .vesc-mobile-product-heading .price { display:block; margin:0 !important; }
  .single-product .woocommerce div.product > .summary .product_title,
  .single-product .woocommerce div.product > .summary > p.price,
  .single-product .woocommerce div.product > .summary > span.price { display:none !important; }
}

@media (min-width:981px) {
  .single-product .woocommerce div.product > section.related {
    flex:0 0 100% !important;
    width:100% !important;
    max-width:none !important;
    margin-inline:0 !important;
  }
  .single-product section.related ul.products {
    width:100%;
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .single-product section.upsells ul.products {
    grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  }
}
@media (min-width:641px) and (max-width:980px) {
  .single-product section.related ul.products,
  .single-product section.upsells ul.products { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:640px) {
  .single-product section.related ul.products,
  .single-product section.upsells ul.products { grid-template-columns:1fr; }
}

@media (max-width:700px) {
  .site-footer { padding-top:40px; }
  .site-footer__main { grid-template-columns:1fr; gap:34px; }
  .site-footer__column--policies { text-align:left; }
  .site-footer__social-row { min-height:100px; }
  .site-footer__legal { padding-block:22px; }
}

@media (max-width: 820px) {
  .home-wholesale__panel { grid-template-columns:1fr; gap:4px; min-height:auto; padding:40px 26px 18px; }
  .home-wholesale__copy { max-width:none; padding-bottom:0; }
  .home-wholesale__visual { min-height:390px; margin:-8px -18px -4px; }
}
@media (max-width: 520px) {
  .home-wholesale__panel { padding:34px 20px 14px; }
  .home-wholesale__visual { min-height:350px; margin:0 -14px; }
}
