/*
 * Unified site header — shared between the landing page (index.html) and
 * all WordPress/ECT theme pages. Mirror copy of the inline CSS in index.html.
 * If you change one, change the other.
 *
 * Last updated: 2026-05-19
 */

:root {
  --ilp-black: #1a1a1a;
  --ilp-dark-gray: #000000;
  --ilp-charcoal: #333333;
  --ilp-orange: #e87a1e;
  --ilp-orange-hover: #ff9533;
  --ilp-white: #ffffff;
}

/* container shared with landing page */
.site-header,
.utility-bar,
.main-nav-bar,
.site-header .container,
.utility-bar .container,
.main-nav-bar .container {
  box-sizing: border-box;
}
body .site-header *,
body .utility-bar *,
body .main-nav-bar * {
  box-sizing: border-box;
}
.site-header .container,
.utility-bar .container,
.main-nav-bar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== UTILITY BAR ========== */
.utility-bar { background: var(--ilp-black); color: #bbb; font-size: 12px; padding: 6px 0; border-bottom: 1px solid #333; }
.utility-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.utility-bar a { color: #ccc; font-size: 12px; transition: color 0.2s; text-decoration: none; }
.utility-bar a:hover { color: var(--ilp-white); }
.utility-bar .utility-links { display: flex; gap: 14px; align-items: center; }
.utility-bar .utility-links .sep { color: #555; }
.utility-bar .phone-info span { margin-right: 14px; }
.utility-bar .phone-info strong { color: #fff; font-weight: 600; }

/* ========== SITE HEADER ========== */
.site-header { background: var(--ilp-dark-gray); padding: 12px 0; border-bottom: 3px solid var(--ilp-orange); font-family: 'Open Sans', Arial, sans-serif; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header .logo-block { display: flex; align-items: center; gap: 14px; flex-shrink: 0; text-decoration: none; }
.site-header .logo-block .logo-wrap { display: flex; flex-direction: column; align-items: center; }
.site-header .logo-block img { height: 70px; width: auto; }
.site-header .logo-block .since-text { font-size: 10px; font-weight: 600; color: var(--ilp-orange); letter-spacing: 2px; text-transform: uppercase; margin-top: 2px; font-family: 'Roboto Condensed', Arial, sans-serif; }
.site-header .header-phone { color: #ccc; font-size: 14px; text-align: right; white-space: nowrap; }
.site-header .header-phone strong { color: var(--ilp-white); font-size: 16px; }
.site-header .header-phone a { color: inherit; text-decoration: none; }
.site-header .header-phone a:hover strong { color: var(--ilp-orange); }
.site-header .header-right { display: flex; align-items: center; gap: 20px; }
.site-header .cart-link { display: flex; align-items: center; gap: 8px; color: var(--ilp-white); font-size: 13px; background: rgba(255,255,255,0.08); padding: 8px 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.12); transition: background 0.2s; white-space: nowrap; text-decoration: none; }
.site-header .cart-link:hover { background: rgba(255,255,255,0.15); }
.site-header .search-btn { display: inline-flex; align-items: center; gap: 6px; background: var(--ilp-orange); border: none; color: #fff; font-size: 13px; font-weight: 700; padding: 9px 18px; border-radius: 4px; cursor: pointer; font-family: 'Open Sans', sans-serif; transition: background 0.2s; text-decoration: none; }
.site-header .search-btn:hover { background: var(--ilp-orange-hover); color: #fff; }

/* ========== HAMBURGER TOGGLE (mobile only) ========== */
.site-header .nav-toggle { display: none; background: transparent; border: 1px solid rgba(255,255,255,0.2); padding: 8px 10px; cursor: pointer; border-radius: 4px; margin-left: 4px; }
.site-header .nav-toggle .nt-bar { display: block; width: 22px; height: 2px; background: #fff; margin: 4px 0; border-radius: 2px; transition: transform 0.25s, opacity 0.2s; }
.site-header .nav-toggle.open .nt-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.site-header .nav-toggle.open .nt-bar:nth-child(2) { opacity: 0; }
.site-header .nav-toggle.open .nt-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ========== MAIN NAV BAR ========== */
.main-nav-bar { background: var(--ilp-charcoal); border-bottom: 1px solid #444; position: relative; z-index: 100; font-family: 'Open Sans', Arial, sans-serif; }
.main-nav-bar .container { display: flex; align-items: stretch; }
.main-nav-bar .nav-item { position: relative; }
.main-nav-bar .nav-item > a {
  color: #ddd; font-size: 13px; font-weight: 600; padding: 12px 16px; display: flex; align-items: center; gap: 4px;
  transition: all 0.2s; border-bottom: 2px solid transparent; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap;
  text-decoration: none;
}
.main-nav-bar .nav-item > a:hover, .main-nav-bar .nav-item:hover > a { color: var(--ilp-white); background: rgba(255,255,255,0.05); border-bottom-color: var(--ilp-orange); }
.main-nav-bar .nav-item > a.active { color: var(--ilp-white); border-bottom-color: var(--ilp-orange); }
.main-nav-bar .nav-item > a .arrow { font-size: 9px; margin-left: 2px; opacity: 0.6; }

/* Dropdown Level 1 */
.main-nav-bar .dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--ilp-dark-gray); border: 1px solid #444; border-top: 2px solid var(--ilp-orange); min-width: 260px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); z-index: 200; }
.main-nav-bar .nav-item:hover > .dropdown { display: block; }
.main-nav-bar .dropdown a { display: block; color: #ccc; font-size: 12px; font-weight: 500; padding: 9px 16px; border-bottom: 1px solid #3a3a3a; transition: all 0.15s; text-decoration: none; text-transform: none; letter-spacing: normal; }
.main-nav-bar .dropdown a:hover { color: var(--ilp-white); background: rgba(255,255,255,0.06); padding-left: 20px; }
.main-nav-bar .dropdown a:last-child { border-bottom: none; }

/* Dropdown Level 2 (sub-dropdown) */
.main-nav-bar .dropdown .sub-item { position: relative; }
.main-nav-bar .dropdown .sub-item > a::after { content: '▸'; float: right; opacity: 0.5; }
.main-nav-bar .sub-dropdown { display: none; position: absolute; top: 0; left: 100%; background: var(--ilp-dark-gray); border: 1px solid #444; border-top: 2px solid var(--ilp-orange); min-width: 250px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.main-nav-bar .dropdown .sub-item:hover > .sub-dropdown { display: block; }

/* ========== MOBILE RESPONSIVE (≤ 768px) ========== */
@media (max-width: 768px) {
  .site-header .container,
  .utility-bar .container,
  .main-nav-bar .container { padding: 0 14px; }

  .utility-bar { font-size: 11px; padding: 5px 0; }
  .utility-bar .container { justify-content: center; }
  .utility-bar .phone-info { display: none; }
  .utility-bar .utility-links { gap: 10px; font-size: 11px; }

  .site-header { padding: 10px 0; }
  .site-header .container { gap: 10px; flex-wrap: nowrap; }
  .site-header .logo-block img { height: 42px; }
  .site-header .logo-block .since-text { font-size: 8px; letter-spacing: 1.5px; }
  .site-header .header-right { gap: 8px; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
  .site-header .header-phone { display: block; font-size: 11px; text-align: right; flex-basis: 100%; order: 99; margin-top: 4px; }
  .site-header .header-phone strong { font-size: 13px; color: var(--ilp-orange); }
  .site-header .header-phone .hp-extra { display: none; }
  .site-header .search-btn { padding: 8px 10px; font-size: 0; }
  .site-header .search-btn::before { content: '🔍'; font-size: 14px; }
  .site-header .cart-link { padding: 7px 9px; font-size: 0; gap: 0; }
  .site-header .cart-link img { width: 18px; height: auto; }
  .site-header .cart-link .cart-text { display: none; }
  .site-header .nav-toggle { display: inline-block; }

  .main-nav-bar { display: none; background: var(--ilp-dark-gray); padding: 4px 0 10px; max-height: calc(100vh - 110px); overflow-y: auto; }
  .main-nav-bar.open { display: block; }
  .main-nav-bar .container { flex-direction: column; align-items: stretch; padding: 0; }
  .main-nav-bar .nav-item { width: 100%; border-bottom: 1px solid #333; }
  .main-nav-bar .nav-item > a { padding: 14px 18px; font-size: 14px; justify-content: space-between; border-bottom: none; }
  .main-nav-bar .nav-item > a:hover, .main-nav-bar .nav-item:hover > a { border-bottom-color: transparent; background: rgba(255,255,255,0.04); }
  .main-nav-bar .nav-item > a .arrow { transition: transform 0.2s; }
  .main-nav-bar .nav-item.open > a .arrow { transform: rotate(180deg); }

  .main-nav-bar .dropdown { display: none; position: static; min-width: 0; width: 100%; border: none; border-top: 1px solid #2a2a2a; box-shadow: none; background: #0d0d0d; }
  .main-nav-bar .nav-item.open > .dropdown { display: block; }
  .main-nav-bar .nav-item:hover > .dropdown { display: none; }
  .main-nav-bar .nav-item.open:hover > .dropdown { display: block; }
  .main-nav-bar .dropdown a { padding: 11px 30px; font-size: 13px; }
  .main-nav-bar .dropdown .sub-item > a::after { content: '+'; float: right; opacity: 0.7; font-size: 16px; line-height: 1; }
  .main-nav-bar .dropdown .sub-item.open > a::after { content: '−'; }
  .main-nav-bar .sub-dropdown { display: none; position: static; min-width: 0; width: 100%; border: none; box-shadow: none; background: #050505; }
  .main-nav-bar .dropdown .sub-item.open > .sub-dropdown { display: block; }
  .main-nav-bar .dropdown .sub-item:hover > .sub-dropdown { display: none; }
  .main-nav-bar .dropdown .sub-item.open:hover > .sub-dropdown { display: block; }
  .main-nav-bar .sub-dropdown a { padding: 10px 46px; font-size: 12px; }
}

@media (max-width: 380px) {
  .site-header .logo-block img { height: 36px; }
  .site-header .header-right { gap: 6px; }
  .site-header .cart-link, .site-header .search-btn { padding: 7px 8px; }
  .site-header .container,
  .utility-bar .container,
  .main-nav-bar .container { padding: 0 12px; }
}

/* ========== HIDE LEGACY THEME HEADER ON ECT/WP PAGES ========== */
/* These rules suppress the old <header id="main-header"> output if it ever
   re-appears via any cached template. The new header replaces it entirely. */
#main-header.clearfix #top-navigation,
#top-nav-wrap #top-categories { /* secondary menu — suppress, our nav covers it */
  /* keep hidden — leave commented out to enable selectively if needed */
}

/* ========================================================================
   DARK PAGE FRAME + UNIFIED FOOTER  (2026-05-19)
   - Body (outside the 1280px content area) is dark — replaces the legacy
     gray sidebar background with the brand dark color.
   - #container / #content stay WHITE per user preference (default theme).
   ======================================================================== */

body { background-color: #1a1a1a !important; }
#main-page-wrapper { background-color: transparent !important; }
/* #content keeps its default white background from theme/style.css */

/* ========================================================================
   UNIFIED FOOTER  (landing-page style)
   ======================================================================== */
.site-footer { background: #000; color: #999; padding: 40px 0 0; font-size: 13px; font-family: 'Open Sans', Arial, sans-serif; }
.site-footer .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.site-footer .footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #333; }
.site-footer .footer-about .f-logo { margin-bottom: 14px; display: flex; flex-direction: column; align-items: center; }
.site-footer .footer-about .f-logo img { height: 56px; width: auto; }
.site-footer .footer-about .f-logo .f-since { font-size: 10px; font-weight: 600; color: #e87a1e; letter-spacing: 2px; text-transform: uppercase; margin-top: 4px; font-family: 'Roboto Condensed', sans-serif; }
.site-footer .footer-about p { line-height: 1.7; margin-bottom: 14px; color: #999; padding: 0; }
.site-footer .social-row { display: flex; gap: 8px; }
.site-footer .social-row a { width: 32px; height: 32px; background: rgba(255,255,255,0.06); border: 1px solid #444; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 13px; transition: all 0.2s; text-decoration: none; }
.site-footer .social-row a:hover { background: #e87a1e; border-color: #e87a1e; color: #fff; }
.site-footer .footer-col h4 { color: #fff; font-family: 'Roboto Condensed', sans-serif; font-size: 14px; font-weight: 700; text-transform: uppercase; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 2px solid #e87a1e; display: inline-block; }
.site-footer .footer-col ul { list-style: none; padding: 0; margin: 0; }
.site-footer .footer-col li { margin-bottom: 8px; }
.site-footer .footer-col a { color: #999; transition: color 0.2s; text-decoration: none; }
.site-footer .footer-col a:hover { color: #fff; }
.site-footer .footer-bottom { padding: 16px 0; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #777; flex-wrap: wrap; gap: 8px; }
.site-footer .footer-bottom a { color: #999; text-decoration: none; }
.site-footer .footer-bottom a:hover { color: #fff; }

@media (max-width: 1024px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .site-footer .footer-grid { grid-template-columns: 1fr; gap: 24px; padding-bottom: 24px; }
  .site-footer .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========================================================================
   CONTACT FORM 7 — branded form styling
   ======================================================================== */
.wpcf7 {
  max-width: 780px;
  margin: 30px auto;
  background: #fff;
  border-radius: 8px;
  padding: 36px 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  font-family: 'Open Sans', Arial, sans-serif;
  box-sizing: border-box;
}
.wpcf7 * { box-sizing: border-box; }
.wpcf7 p { padding: 0; line-height: 1.5; }

.wpcf7 .ilp-form-intro {
  margin: 0 0 24px;
  font-size: 13px;
  color: #666;
}

.wpcf7 .req {
  color: #e87722;
  font-weight: 700;
  margin-left: 2px;
}

.wpcf7 .ilp-fieldset {
  border: none;
  padding: 0;
  margin: 0 0 30px;
}
.wpcf7 .ilp-fieldset legend {
  font-family: 'Roboto Condensed', Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
  padding: 0 0 6px;
  border-bottom: 2px solid #e87722;
  display: inline-block;
  width: auto;
}

.wpcf7 .ilp-form-row,
.wpcf7 .ilp-form-grid { margin-bottom: 18px; }
.wpcf7 .ilp-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.wpcf7 .ilp-form-grid.ilp-grid-3   { grid-template-columns: 2fr 1fr 1fr; }
.wpcf7 .ilp-form-grid.ilp-grid-2-1 { grid-template-columns: 2fr 1fr; }

.wpcf7 label {
  display: block;
  font-weight: 600;
  color: #1a1a1a;
  font-size: 13px;
  margin: 0 0 4px;
  letter-spacing: 0.2px;
}
.wpcf7 label small {
  display: block;
  font-weight: 400;
  color: #888;
  font-size: 12px;
  margin: 2px 0 6px;
  line-height: 1.4;
}

.wpcf7 .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not(.wpcf7-acceptance) {
  display: block;
  width: 100%;
  padding: 11px 14px;
  margin-top: 6px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fafafa;
  border: 1.5px solid #e0e0e0;
  border-radius: 4px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
  line-height: 1.4;
}
.wpcf7 .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):focus {
  outline: none;
  border-color: #e87722;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(232,119,34,0.15);
}
.wpcf7 textarea { min-height: 110px; resize: vertical; }
.wpcf7 select.wpcf7-select {
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23666' xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'><path d='M7 10l5 5 5-5z'/></svg>");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 12px;
  padding-right: 36px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* Checkbox / radio lists */
.wpcf7 .ilp-checkbox-label { font-size: 13px; font-weight: 600; color: #1a1a1a; margin: 0 0 10px; }
.wpcf7 .wpcf7-checkbox,
.wpcf7 .wpcf7-radio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 8px 14px;
}
.wpcf7 .wpcf7-list-item { margin: 0; }
.wpcf7 .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  font-size: 13px;
  color: #444;
  margin: 0;
  cursor: pointer;
  padding: 7px 10px;
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  background: #fafafa;
  transition: background 0.15s, border-color 0.15s;
}
.wpcf7 .wpcf7-list-item label:hover { border-color: #e87722; background: #fff; }
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
  accent-color: #e87722;
  margin: 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Acceptance (SMS opt-in) row */
.wpcf7 .ilp-form-acceptance { background: #fafafa; border: 1px solid #eee; border-radius: 6px; padding: 14px 16px; }
.wpcf7 .ilp-form-acceptance .wpcf7-list-item { display: block; }
.wpcf7 .ilp-form-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: 12px;
  color: #555;
  line-height: 1.6;
  border: none;
  background: transparent;
  padding: 0;
}
.wpcf7 .ilp-form-acceptance input[type="checkbox"] { margin-top: 3px; }

/* Honeypot — hidden but reachable for bots */
.wpcf7 .ilp-honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Submit button */
.wpcf7 .ilp-form-submit-row { margin-top: 8px; text-align: left; }
.wpcf7 .wpcf7-submit,
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
  display: inline-block;
  background: #1a1a1a;
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 13px 34px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.08s;
  font-family: 'Open Sans', sans-serif;
}
.wpcf7 .wpcf7-submit:hover,
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover { background: #e87722; }
.wpcf7 .wpcf7-submit:active { transform: translateY(1px); }
.wpcf7 .wpcf7-spinner { vertical-align: middle; margin: 0 0 0 12px; }

/* Validation */
.wpcf7 .wpcf7-not-valid {
  border-color: #cc0000 !important;
  background: #fff5f5 !important;
}
.wpcf7 .wpcf7-not-valid-tip {
  color: #cc0000;
  font-size: 12px;
  margin-top: 4px;
  font-weight: 600;
}
.wpcf7 .wpcf7-response-output {
  margin: 24px 0 0 !important;
  padding: 14px 18px !important;
  border-radius: 4px !important;
  font-size: 14px;
  border: none !important;
}
.wpcf7 .wpcf7-form.sent .wpcf7-response-output { background: #d4edda; color: #155724; }
.wpcf7 .wpcf7-form.invalid .wpcf7-response-output,
.wpcf7 .wpcf7-form.failed .wpcf7-response-output { background: #f8d7da; color: #721c24; }

.wpcf7 .ilp-form-note {
  margin: 22px 0 0;
  font-size: 12px;
  color: #888;
  text-align: center;
}

@media (max-width: 640px) {
  .wpcf7 { padding: 24px 20px; margin: 16px 8px; border-radius: 6px; }
  .wpcf7 .ilp-form-grid,
  .wpcf7 .ilp-form-grid.ilp-grid-3,
  .wpcf7 .ilp-form-grid.ilp-grid-2-1 { grid-template-columns: 1fr; }
  .wpcf7 .wpcf7-checkbox,
  .wpcf7 .wpcf7-radio { grid-template-columns: 1fr; }
  .wpcf7 .wpcf7-submit { width: 100%; }
}


/* ========================================================================
   MODERN WORDPRESS PAGE STYLING  (2026 refresh)
   Applies ONLY to WP-rendered pages (body.page / body.single). Does NOT
   affect ECT product pages because those don't get the "page" body class.
   ======================================================================== */

/* Breathing room between the nav bar and the page title — WP pages only.
   ECT product/category/proddetail pages are excluded via :not(.ilp-ect-page)
   (that class is added by functions.php for products.php / proddetail.php /
   categories.php / cart.php / etc). Those pages keep their tighter spacing. */
body.page:not(.ilp-ect-page) #content-area,
body.single:not(.ilp-ect-page) #content-area,
body.error404 #content-area {
  padding-top: 32px;
}
/* On the ECT-served pages, undo the top padding so products show closer to the nav. */
body.ilp-ect-page #content-area { padding-top: 0 !important; }

body.page #main-area,
body.single #main-area {
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}
/* the .entry-content already has plenty of padding from #main-area's 0 55px 0 65px */

body.page #main-area h1,
body.single #main-area h1 {
  font-family: 'Roboto Condensed', 'Open Sans', sans-serif !important;
  font-size: 34px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 24px !important;
  padding: 0 0 14px 28px !important;
  border-bottom: 3px solid #e87722;
  line-height: 1.2 !important;
}

body.page #main-area h2,
body.single #main-area h2 {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 36px 0 16px !important;
  padding: 0 0 8px !important;
  border-bottom: 2px solid #e87722;
  display: inline-block;
  line-height: 1.3 !important;
}

body.page #main-area h3,
body.single #main-area h3 {
  font-family: 'Roboto Condensed', sans-serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 28px 0 10px !important;
  padding: 0 !important;
  line-height: 1.35 !important;
}
body.page #main-area h3::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 18px;
  background: #e87722;
  margin-right: 10px;
  vertical-align: -3px;
  border-radius: 2px;
}

body.page #main-area h4,
body.single #main-area h4 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin: 24px 0 8px !important;
}

body.page #main-area p,
body.single #main-area p {
  margin: 0 0 16px !important;
  padding: 0 !important;
  line-height: 1.75;
}
body.page #main-area strong,
body.page #main-area b {
  color: #1a1a1a;
  font-weight: 700;
}

body.page #main-area ul,
body.single #main-area ul {
  margin: 0 0 18px !important;
  padding: 0 0 0 8px !important;
  list-style: none !important;
}
body.page #main-area ul li {
  position: relative;
  padding: 5px 0 5px 24px;
  line-height: 1.65;
}
body.page #main-area ul li::before {
  content: '\25B8';
  color: #e87722;
  font-weight: 700;
  position: absolute;
  left: 6px;
  top: 5px;
  font-size: 14px;
}

body.page #main-area ol,
body.single #main-area ol {
  margin: 0 0 18px !important;
  padding: 0 0 0 28px !important;
  counter-reset: ol-counter;
  list-style: none;
}
body.page #main-area ol li {
  counter-increment: ol-counter;
  position: relative;
  padding: 5px 0 5px 32px;
  line-height: 1.65;
}
body.page #main-area ol li::before {
  content: counter(ol-counter) '.';
  position: absolute;
  left: 0;
  color: #e87722;
  font-weight: 700;
  font-family: 'Roboto Condensed', sans-serif;
}

body.page #main-area a:not(.ectbutton):not(.wpcf7-form-control):not(.wpcf7-submit):not([class*="button"]):not([class*="btn"]) {
  color: #c45e0a;
  text-decoration: none;
  border-bottom: 1px solid rgba(232,119,34,0.35);
  transition: color 0.15s, border-color 0.15s;
}
body.page #main-area a:not(.ectbutton):not(.wpcf7-form-control):not(.wpcf7-submit):not([class*="button"]):not([class*="btn"]):hover {
  color: #1a1a1a;
  border-bottom-color: #1a1a1a;
}

body.page #main-area img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
body.page #main-area figure { margin: 20px 0; }
body.page #main-area figcaption {
  font-size: 12px;
  color: #888;
  font-style: italic;
  text-align: center;
  margin-top: 6px;
}

body.page #main-area table,
body.single #main-area table {
  width: 100% !important;
  height: auto !important;
  border-collapse: collapse !important;
  margin: 0 0 28px !important;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #eee;
  font-size: 14px;
}
body.page #main-area table td,
body.page #main-area table th {
  padding: 12px 16px !important;
  border: none !important;
  border-bottom: 1px solid #f0f0f0 !important;
  text-align: left !important;
  vertical-align: top !important;
  width: auto !important;
}
body.page #main-area table th {
  background: #1a1a1a !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: 'Roboto Condensed', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 13px !important;
  border-bottom: 2px solid #e87722 !important;
}
body.page #main-area table tr:nth-child(even) td {
  background: #fafafa;
}
body.page #main-area table tr:hover td {
  background: rgba(232,119,34,0.05);
}

body.page #main-area blockquote {
  margin: 24px 0 !important;
  padding: 16px 24px !important;
  border-left: 4px solid #e87722 !important;
  background: #fafafa !important;
  color: #555 !important;
  font-style: italic;
  border-radius: 0 4px 4px 0;
}

body.page #main-area code {
  background: #f4f4f4;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  color: #c7254e;
}
body.page #main-area pre {
  background: #1a1a1a;
  color: #f8f8f8;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  font-family: Consolas, Monaco, monospace;
  font-size: 13px;
  margin: 0 0 18px;
  line-height: 1.5;
}

body.page #main-area hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 36px 0;
}

body.page #main-area a.button,
body.page #main-area a.btn {
  display: inline-block;
  background: #1a1a1a;
  color: #fff !important;
  border: none !important;
  border-radius: 4px;
  padding: 12px 28px !important;
  font-size: 14px !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none !important;
  margin: 8px 0;
}
body.page #main-area a.button:hover,
body.page #main-area a.btn:hover { background: #e87722; }

body.page #main-area table[width],
body.page #main-area table[style*="width"] { width: 100% !important; }
body.page #main-area table td[width] { width: auto !important; }
body.page #main-area table[height],
body.page #main-area table[style*="height"] { height: auto !important; }

body.page #main-area .alignnone { margin: 8px 0 16px; }
body.page #main-area .alignleft  { margin: 8px 18px 14px 0; max-width: 50%; }
body.page #main-area .alignright { margin: 8px 0 14px 18px; max-width: 50%; }
body.page #main-area .aligncenter { display: block; margin: 14px auto; }

@media (max-width: 768px) {
  body.page #main-area,
  body.single #main-area { padding: 0; }
  /* #main-area's own theme padding (0 55px 0 65px) collapses on mobile via the theme's own media queries */
  body.page #main-area h1 { font-size: 26px !important; }
  body.page #main-area h2 { font-size: 20px !important; }
  body.page #main-area h3 { font-size: 17px !important; }
  body.page #main-area table { font-size: 12px; }
  body.page #main-area table td, body.page #main-area table th { padding: 8px 10px !important; }
  body.page #main-area .alignleft,
  body.page #main-area .alignright { float: none; max-width: 100%; margin: 8px 0 14px; }
}


/* ========================================================================
   DOWNLOAD PAGES — modernize legacy <table border="1"> layouts
   The 5 Support > Downloads pages use heavy inline styling that's hard to
   read. These rules override the inline backgrounds/colors to render the
   same content as a clean three-column layout: title • compatibility • download.
   ======================================================================== */
body.page #main-area table[border] {
  border-collapse: separate !important;
  border-spacing: 0 8px !important;
  border: none !important;
  background: transparent !important;
  width: 100% !important;
  height: auto !important;
  font-size: 14px;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  margin: 8px 0 24px !important;
}
body.page #main-area table[border] tbody { background: transparent !important; }
body.page #main-area table[border] tr {
  background: transparent !important;
  transition: transform 0.15s;
}
body.page #main-area table[border] td {
  background: #fff !important;
  color: #1a1a1a !important;
  padding: 18px 20px !important;
  border: 1px solid #e6e6e6 !important;
  border-left: none !important;
  border-right: none !important;
  text-align: left !important;
  vertical-align: middle !important;
  font-size: 14px !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  height: auto !important;
}
body.page #main-area table[border] td:first-child {
  border-left: 4px solid #1a1a1a !important;
  border-radius: 6px 0 0 6px !important;
  width: 48% !important;
  font-weight: 600;
}
body.page #main-area table[border] td:nth-child(2) {
  background: #fff8f0 !important;
  border-left: 1px solid #f0e2d0 !important;
  width: 32% !important;
}
body.page #main-area table[border] td:last-child {
  border-right: 1px solid #e6e6e6 !important;
  border-radius: 0 6px 6px 0 !important;
  text-align: center !important;
  width: 20% !important;
}

body.page #main-area table[border] tr:hover td { background: #fafafa !important; }
body.page #main-area table[border] tr:hover td:nth-child(2) { background: #fff4e6 !important; }
body.page #main-area table[border] tr:hover td:first-child { border-left-color: #e87722 !important; }

/* Strip the inline white-on-black / orange backgrounds from inner wrappers */
body.page #main-area table[border] td span,
body.page #main-area table[border] td strong,
body.page #main-area table[border] td p,
body.page #main-area table[border] td em,
body.page #main-area table[border] td div {
  background: transparent !important;
  color: inherit !important;
  font-family: 'Open Sans', Arial, sans-serif !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
  font-weight: inherit;
  text-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline;
}
body.page #main-area table[border] td p { display: block; margin: 0 !important; }
body.page #main-area table[border] td strong { font-weight: 600; }

/* Compatibility column links — brand orange */
body.page #main-area table[border] td:nth-child(2) a {
  color: #c45e0a !important;
  border-bottom: 1px dotted rgba(196,94,10,0.4) !important;
}
body.page #main-area table[border] td:nth-child(2) a:hover {
  color: #1a1a1a !important;
  border-bottom-color: #1a1a1a !important;
}

/* Download column — every anchor in the rightmost column becomes a button */
body.page #main-area table[border] td:last-child a {
  display: inline-block !important;
  background: #1a1a1a !important;
  color: #fff !important;
  padding: 11px 22px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  text-decoration: none !important;
  font-size: 12px !important;
  border-bottom: none !important;
  transition: background 0.2s, transform 0.1s !important;
  margin: 0 0 6px !important;
  white-space: nowrap;
}
body.page #main-area table[border] td:last-child a:hover {
  background: #e87722 !important;
  color: #fff !important;
}
body.page #main-area table[border] td:last-child a::before {
  content: '\2913';
  display: inline-block;
  margin-right: 6px;
  font-size: 14px;
  vertical-align: -1px;
}

/* Date below button — small gray subtitle */
body.page #main-area table[border] td:last-child span,
body.page #main-area table[border] td:last-child p {
  display: block !important;
  font-size: 11px !important;
  color: #888 !important;
  font-weight: 400 !important;
  margin-top: 4px !important;
}

/* Video tutorial link in middle column — green play arrow style */
body.page #main-area table[border] td:nth-child(2) a[href*="youtu"],
body.page #main-area table[border] td:nth-child(2) a[href*="youtube"] {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: #c0392b !important;
  border-bottom: none !important;
}
body.page #main-area table[border] td:nth-child(2) a[href*="youtu"]::before,
body.page #main-area table[border] td:nth-child(2) a[href*="youtube"]::before {
  content: '\25B6';
  display: inline-block;
  margin-right: 5px;
  color: #c0392b;
  font-size: 10px;
  vertical-align: 1px;
}

/* Strip italic that's used for credentials note */
body.page #main-area table[border] td em { font-style: normal; }

/* Mobile: stack columns */
@media (max-width: 768px) {
  body.page #main-area table[border],
  body.page #main-area table[border] tbody,
  body.page #main-area table[border] tr,
  body.page #main-area table[border] td {
    display: block !important;
    width: 100% !important;
    border-radius: 0 !important;
  }
  body.page #main-area table[border] tr {
    margin-bottom: 16px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
  }
  body.page #main-area table[border] td:first-child { border-radius: 6px 6px 0 0 !important; border-left: 4px solid #1a1a1a !important; }
  body.page #main-area table[border] td:last-child { border-radius: 0 0 6px 6px !important; text-align: left !important; }
}

/* ============================================================
   Cloud Remote Pricing Plans (page id 3867)
   ============================================================ */
.ilp-plans-wrap {
  max-width: 1100px;
  margin: 28px auto 36px;
  padding: 0 8px;
}
.ilp-plans-title {
  font-size: 28px !important;
  color: #ff6501 !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 0 6px !important;
  font-weight: 800 !important;
  border: none !important;
  letter-spacing: -0.3px;
}
.ilp-plans-sub {
  text-align: center;
  color: #555;
  font-size: 16px;
  margin: 0 0 22px !important;
}
.ilp-plans-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.ilp-plan-card {
  background: #fff;
  border: 2px solid #ff6501;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.ilp-plan-card.ilp-plan-primary {
  box-shadow: 0 6px 22px rgba(255,101,1,0.18);
}
.ilp-plan-head {
  background: linear-gradient(135deg,#222 0%,#1a1a1a 100%);
  color: #fff;
  padding: 18px 20px;
  text-align: center;
}
.ilp-plan-head h3 {
  margin: 0 0 6px;
  color: #fff !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  border: none !important;
}
.ilp-plan-head p {
  margin: 4px 0;
  color: #ddd;
  font-size: 13px;
  line-height: 1.45;
}
.ilp-plan-head a {
  color: #ff6501 !important;
  text-decoration: underline !important;
}
.ilp-plan-head .ilp-plan-note {
  color: #ff6501;
  font-weight: 600;
  font-size: 12.5px;
  margin-top: 8px;
}
.ilp-tier-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 6px 14px !important;
  flex: 1;
}
.ilp-tier-list li {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px 6px;
  border-bottom: 1px solid #eee;
}
.ilp-tier-list li:last-child { border-bottom: none; }
.ilp-tier-days {
  font-weight: 700;
  color: #222;
  font-size: 15px;
  text-align: center;
  background: #fff3e8;
  border-radius: 6px;
  padding: 8px 4px;
}
.ilp-tier-prices {
  display: flex;
  flex-direction: column;
  text-align: center;
  line-height: 1.2;
}
.ilp-tier-price {
  font-size: 22px;
  font-weight: 800;
  color: #ff6501;
}
.ilp-tier-price small {
  font-size: 12px;
  color: #555;
  font-weight: 600;
}
.ilp-tier-meta {
  font-size: 11.5px;
  color: #666;
  margin-top: 2px;
}
.ilp-plan-cta {
  display: block;
  margin: 0 18px 18px;
  background: #ff6501;
  color: #fff !important;
  text-align: center;
  padding: 13px 18px;
  border-radius: 8px;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  transition: background 0.15s ease, transform 0.15s ease;
}
.ilp-plan-cta:hover { background: #e25901; transform: translateY(-1px); }
.ilp-plan-cta-call { background: #1a1a1a; }
.ilp-plan-cta-call:hover { background: #000; }
.ilp-plans-foot {
  text-align: center;
  margin: 26px 0 8px !important;
  font-size: 20px;
  font-weight: 700;
  color: #ff6501;
}
.ilp-plans-foot a { color: #ff6501 !important; text-decoration: none !important; }
.ilp-plans-foot a:hover { text-decoration: underline !important; }

@media (max-width: 820px) {
  .ilp-plans-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .ilp-tier-list li { grid-template-columns: 1fr; gap: 6px; }
  .ilp-tier-days { width: 100px; margin: 0 auto 4px; }
  .ilp-plans-title { font-size: 22px !important; }
}
