/*
Theme Name: OLift Engine
Theme URI: https://hk.olift.com
Author: OLift Equipment
Description: Minimal in-house theme for hk.olift.com. Built to remove third-party theme branding and residual demo assets, and to standardize on an industrial B2B visual system (Navy #0A2540 / Efficiency Orange #FF6B00). No bundled demo content, slider frameworks, or vendor branding.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: olift-engine
*/

:root {
  --olift-navy: #0A2540;
  --olift-orange: #FF6B00;
  --olift-bg: #FFFFFF;
  --olift-bg-alt: #F5F7FA;
  --olift-border: #E3E8ED;
  --olift-text: #17242E;
  --olift-text-muted: #4B5B67;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--olift-text);
  background: var(--olift-bg);
  line-height: 1.55;
}

a { color: var(--olift-navy); text-decoration: none; }
a:hover { color: var(--olift-orange); }

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

.olift-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.olift-header {
  background: var(--olift-bg);
  border-bottom: 1px solid var(--olift-border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.olift-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 24px;
}

.olift-header__brand {
  font-weight: 700;
  font-size: 18px;
  color: var(--olift-navy);
}

.olift-header__nav ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.olift-header__nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--olift-navy);
}

.olift-header__cta {
  display: inline-block;
  background: var(--olift-orange);
  color: #fff;
  padding: 10px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
}
.olift-header__cta:hover { background: #E05F00; color: #fff; }

.olift-page-title {
  background: var(--olift-bg-alt);
  border-bottom: 1px solid var(--olift-border);
  padding: 40px 0;
}
.olift-page-title p.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--olift-text-muted);
  margin: 0 0 8px;
}

.olift-main {
  padding: 48px 0;
}

.olift-main h1 { font-size: 34px; line-height: 1.25; margin: 0 0 16px; color: var(--olift-navy); }
.olift-main h2 { font-size: 24px; margin: 40px 0 16px; color: var(--olift-navy); }
.olift-main h3 { font-size: 18px; margin: 24px 0 10px; color: var(--olift-navy); }

.olift-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.olift-card {
  background: var(--olift-bg-alt);
  border: 1px solid var(--olift-border);
  border-radius: 6px;
  padding: 20px;
}

.olift-footer {
  background: var(--olift-navy);
  color: #DCE4EA;
  padding: 40px 0;
  margin-top: 48px;
}
.olift-footer a { color: #DCE4EA; }
.olift-footer a:hover { color: var(--olift-orange); }
.olift-footer__brand { font-weight: 700; color: #fff; font-size: 16px; margin-bottom: 8px; }
.olift-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.olift-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 13px;
  color: #A9B7C2;
}

@media (max-width: 768px) {
  .olift-header__inner { flex-wrap: wrap; }
  .olift-header__nav ul { flex-wrap: wrap; gap: 12px; }
}

/* Product category template */
.olift-breadcrumb {
  font-size: 13px;
  color: var(--olift-text-muted);
  margin-bottom: 16px;
}
.olift-breadcrumb a { color: var(--olift-text-muted); }
.olift-breadcrumb a:hover { color: var(--olift-orange); }

.olift-category__body { margin-bottom: 32px; }

.olift-grid--products { margin-bottom: 32px; }

.olift-product-card { display: flex; flex-direction: column; }
.olift-product-card__image { border-radius: 4px; overflow: hidden; margin-bottom: 12px; }
.olift-product-card h3 { margin-top: 0; font-size: 16px; }
.olift-product-card h3 a { color: var(--olift-navy); }

.olift-card__link {
  display: inline-block;
  font-weight: 600;
  font-size: 14px;
  color: var(--olift-navy);
}
.olift-card__link:hover { color: var(--olift-orange); }

.olift-category__cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--olift-border);
  padding-top: 24px;
  margin-top: 24px;
}

/* 升级询盘按钮 - Olift 2026 优化 */
.request-quote-button,
.olift-header__cta {
    background-color: #FF8C00 !important;
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 4px;
    padding: 12px 24px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
/* 真正的 Elementor 询盘按钮：保持与修复前一致的外观 */
a.elementor-button[href*="contact-us"] {
    background-color: #FF8C00 !important;
    color: #ffffff !important;
    font-weight: bold;
    border-radius: 4px;
    padding: 12px 24px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
/* 排除页脚与正文内联微链接，避免被误渲染为按钮 - Olift 2026 修复 */
.olift-footer a,
.elementor-widget-text-editor a,
.olift-header__nav a {
    background-color: transparent !important;
    color: inherit !important;
    padding: 0 !important;
    text-transform: none !important;
    font-weight: inherit !important;
    border-radius: 0 !important;
}
/* 导航栏橙色线条 - Olift 2026 优化 */
header.olift-header, 
section[data-id="n0010dd6"] { 
    border-bottom: 3px solid #FF8C00 !important; 
}
