/*
Theme Name: Veltrix VoltCycle eBike 3D
Theme URI: https://veltrixcode.com/templates/
Author: VeltrixCode
Author URI: https://veltrixcode.com
Description: Built for electric bike brands and mobility dealers — featuring an angled telemetry header, an interactive 3D bicycle wireframe stage with dual spoked wheels and frame triangles, and 8 eBikes & accessories. Includes header_sport_mobility navigation, interactive 3D wireframe stage (model_electric_bike), 8 curated showcase items, niche calculator, and 3-layer footer. Developed by veltrixcode.com.
Version: 1.0.0
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: veltrix-voltcycle-ebike-3d
Tags: custom-header, custom-logo, custom-menu, featured-images, full-width-template, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks
*/

:root {
  --vx-primary: #ea580c;
  --vx-secondary: #ca8a04;
  --vx-accent: #18181b;
  --vx-bg-main: #ffffff;
  --vx-bg-alt: #f8fafc;
  --vx-bg-dark: #18181b;
  --vx-card-bg: #ffffff;
  --vx-card-border: #d4d4d8;
  --vx-text-main: #18181b;
  --vx-text-muted: #52525b;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--vx-bg-main);
  color: var(--vx-text-main);
  line-height: 1.55;
}
a { color: var(--vx-primary); text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.86; }
.vx-container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.vx-topbar {
  background: var(--vx-bg-alt);
  border-bottom: 1px solid var(--vx-card-border);
  font-size: 12px;
  padding: 7px 0;
  color: var(--vx-text-muted);
}
.vx-topbar-sport, .vx-topbar-neon {
  background: #18181b;
  color: #f4f4f5;
  border-bottom: 2px solid var(--vx-primary);
}
.vx-topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.vx-header {
  background: var(--vx-card-bg);
  border-bottom: 1px solid var(--vx-card-border);
  position: relative;
  z-index: 100;
}
.vx-header-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 24px; flex-wrap: wrap; }
.vx-brand { font-size: 20px; font-weight: 800; color: var(--vx-text-main); display: inline-flex; align-items: center; gap: 10px; }
.vx-brand-badge { background: var(--vx-primary); color: #ffffff; font-size: 11px; padding: 3px 8px; border-radius: 6px; letter-spacing: 0.04em; }
.vx-nav { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
.vx-nav a { color: var(--vx-text-main); font-weight: 600; font-size: 13px; }

.vx-megastore-mid { display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 14px 24px; }
.vx-megastore-search { display: flex; border: 2px solid var(--vx-primary); border-radius: 8px; overflow: hidden; background: var(--vx-bg-main); }
.vx-megastore-search select { border: none; background: var(--vx-bg-alt); color: var(--vx-text-main); padding: 8px 10px; font-size: 12px; font-weight: 600; }
.vx-megastore-search input { border: none; flex: 1; padding: 8px 12px; font-size: 13px; background: transparent; color: var(--vx-text-main); }
.vx-megastore-search button { border: none; background: var(--vx-primary); color: #fff; font-weight: 700; padding: 8px 16px; cursor: pointer; }
.vx-megastore-deptbar { background: var(--vx-primary); padding: 8px 0; }
.vx-nav-dept a { color: #ffffff !important; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }

.vx-header-swiss-editorial { border-bottom: 2px solid var(--vx-text-main); background: var(--vx-bg-main); }
.vx-swiss-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.5fr; gap: 16px; align-items: center; padding: 16px 24px; }
.vx-swiss-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--vx-secondary); display: inline-block; }
.vx-swiss-sub, .vx-swiss-col-coords { font-size: 11px; color: var(--vx-text-muted); font-family: monospace; }
.vx-swiss-status { color: var(--vx-secondary); font-weight: 700; margin-top: 2px; }
.vx-nav-swiss { justify-content: flex-end; font-family: monospace; }

.vx-header-tropical-wrap { background: transparent; border-bottom: none; padding: 10px 0; }
.vx-tropical-capsule {
  background: var(--vx-card-bg);
  border: 2px solid var(--vx-card-border);
  border-radius: 999px;
  padding: 10px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 10px 25px rgba(13, 148, 136, 0.10);
}
.vx-btn-pill { border-radius: 999px !important; background: var(--vx-secondary) !important; }

.vx-noc-led { color: #10b981; }
.vx-noc-tag { background: #059669; color: #fff; font-family: monospace; font-size: 11px; padding: 3px 8px; border-radius: 4px; }

.vx-sport-skew { background: var(--vx-primary); color: #fff; font-size: 11px; font-weight: 800; padding: 4px 10px; display: inline-block; transform: skewX(-12deg); }
.vx-nav-sport a { text-transform: uppercase; font-weight: 800; letter-spacing: 0.03em; }

.vx-realty-filterstrip { background: var(--vx-bg-alt); border-top: 1px solid var(--vx-card-border); padding: 7px 0; font-size: 12px; }
.vx-realty-filter-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }

.vx-conservatory-split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 24px; gap: 18px; }
.vx-conservatory-crest { text-align: center; }
.vx-brand-centered { display: flex; flex-direction: column; align-items: center; color: var(--vx-text-main); }
.vx-crest-ring { font-size: 10px; letter-spacing: 0.14em; color: var(--vx-primary); font-weight: 700; }

.vx-header-apothecary { border-top: 3px double var(--vx-primary); border-bottom: 3px double var(--vx-primary); }
.vx-apothecary-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px; }
.vx-apothecary-seal { font-size: 11px; font-weight: 700; color: var(--vx-primary); letter-spacing: 0.08em; }
.vx-apothecary-pillbar { background: var(--vx-bg-alt); padding: 8px 0; border-top: 1px solid var(--vx-card-border); }
.vx-nav-pills { justify-content: center; }
.vx-nav-pills a { background: var(--vx-card-bg); padding: 4px 12px; border-radius: 999px; border: 1px solid var(--vx-card-border); font-size: 12px; }

.vx-header-neon-split { background: #0b0e14; border-bottom: 1px solid var(--vx-primary); }
.vx-neon-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px 24px; gap: 16px; }
.vx-neon-emblem { border: 2px solid var(--vx-primary); padding: 6px 16px; border-radius: 8px; color: var(--vx-primary); font-weight: 900; letter-spacing: 0.06em; }
.vx-neon-ticker { background: #161b24; border: 1px solid var(--vx-primary); color: var(--vx-primary); padding: 8px 16px; border-radius: 8px; font-size: 12px; font-weight: 700; text-align: center; letter-spacing: 0.08em; }

.vx-exec-tier1 { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; flex-wrap: wrap; gap: 16px; }
.vx-exec-widgets { display: flex; gap: 22px; flex-wrap: wrap; }
.vx-exec-widget { display: flex; flex-direction: column; font-size: 12px; border-left: 3px solid var(--vx-primary); padding-left: 10px; }
.vx-exec-tier2 { background: var(--vx-primary); padding: 9px 0; }
.vx-exec-nav-inner { display: flex; justify-content: space-between; align-items: center; }
.vx-nav-exec a { color: #ffffff !important; }
.vx-btn-exec { background: #ffffff !important; color: var(--vx-primary) !important; padding: 7px 16px !important; font-size: 12px !important; }

.vx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--vx-primary); color: #ffffff; font-weight: 700; font-size: 13px;
  padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer;
}
.vx-btn-outline {
  background: transparent; color: var(--vx-text-main);
  border: 2px solid var(--vx-card-border);
}
.vx-hero { padding: 36px 0; background: var(--vx-bg-alt); border-bottom: 1px solid var(--vx-card-border); }
.vx-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.vx-hero-stage-left { grid-template-columns: 0.98fr 1.02fr; }
.vx-hero-centered-lead { text-align: center; max-width: 780px; margin: 0 auto; }
.vx-badge {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--vx-card-bg); border: 1px solid var(--vx-card-border);
  color: var(--vx-primary); font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.vx-hero h1 { font-size: 30px; line-height: 1.18; margin: 0 0 12px; color: var(--vx-text-main); }
.vx-hero p { font-size: 14px; color: var(--vx-text-muted); margin: 0 0 18px; }
.vx-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.vx-stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.vx-stats-stack { display: grid; grid-template-columns: 1fr; gap: 12px; }
.vx-stat-box {
  background: var(--vx-card-bg); border: 1px solid var(--vx-card-border);
  border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column;
}
.vx-stat-box strong { font-size: 16px; color: var(--vx-primary); }
.vx-stat-box span { font-size: 11px; color: var(--vx-text-muted); }
.vx-stage-card {
  background: var(--vx-card-bg); border: 2px solid var(--vx-card-border);
  border-radius: 16px; padding: 12px;
}
.vx-stage-bar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; font-size: 11px; color: var(--vx-text-muted);
}
.vx-3d-canvas {
  width: 100%; height: 300px; display: block; border-radius: 10px;
  background: var(--vx-bg-main); border: 1px solid var(--vx-card-border); cursor: grab;
}

.vx-section { padding: 44px 0; }
.vx-section-header { margin-bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px; }
.vx-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vx-card {
  background: var(--vx-card-bg); border: 1px solid var(--vx-card-border);
  border-radius: 14px; overflow: hidden;
}
.vx-card-img { width: 100%; height: 150px; object-fit: cover; display: block; border-bottom: 1px solid var(--vx-card-border); aspect-ratio: 3 / 2; }
.vx-card-body { padding: 14px; }
.vx-card-cat { font-size: 11px; font-weight: 700; color: var(--vx-primary); text-transform: uppercase; }
.vx-card-title { font-size: 15px; font-weight: 700; margin: 6px 0; color: var(--vx-text-main); }
.vx-card-meta { font-size: 12px; color: var(--vx-text-muted); margin-bottom: 10px; }
.vx-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--vx-card-border); }
.vx-price { font-size: 16px; font-weight: 800; color: var(--vx-secondary); }

.vx-footer { background: var(--vx-bg-alt); border-top: 2px solid var(--vx-card-border); margin-top: 48px; }
.vx-prefooter { padding: 32px 0; border-bottom: 1px solid var(--vx-card-border); }
.vx-footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding: 36px 0; }
.vx-footer-col h3 { margin: 0 0 12px; font-size: 15px; color: var(--vx-text-main); }
.vx-footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 13px; }
.vx-footer-bottom { padding: 18px 0; border-top: 1px solid var(--vx-card-border); font-size: 12px; color: var(--vx-text-muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.wp-caption { background: var(--vx-card-bg); border: 1px solid var(--vx-card-border); max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption-text { font-size: 12px; color: var(--vx-text-muted); margin: 0; padding: 0 4px 5px; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; height: 1px; width: 1px; overflow: hidden; }
.gallery-caption, .bypostauthor, .sticky {}

@media (max-width: 960px) {
  .vx-hero-grid, .vx-grid-4, .vx-footer-cols, .vx-swiss-grid, .vx-conservatory-split, .vx-neon-grid, .vx-megastore-mid { grid-template-columns: 1fr; }
}
