/* ==========================================================================
   EquipDekho Redesign — header, footer, modals, homepage
   Loaded after style.css — scoped under ed- prefixed classes so it never
   collides with legacy rules still used on pages not yet redesigned.
   ========================================================================== */

/* ── Global Font ── */
* {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

body {
  font-weight: 440;
  letter-spacing: -0.01em;
  color: #1B1F23;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p, li, td, th, label, small, span {
  font-weight: 440;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', sans-serif;
  font-weight: 780;
  letter-spacing: -0.025em;
}

strong, b { font-weight: 680; }

.form-control, .form-select, input, textarea, select {
  font-family: 'Inter', sans-serif;
  font-weight: 450;
}

button, .btn, .ed-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 660;
  letter-spacing: -0.01em;
}

/* ── Select2 Theme — matches ed- design system ── */
.select2-container {
  width: 100% !important;
}

.select2-container--default .select2-selection--single {
  height: 42px;
  border: 1.5px solid var(--ed-line, #E7EAEE);
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 42px;
  padding-left: 14px;
  padding-right: 36px;
  color: #1B1F23;
  font-size: 14px;
  font-weight: 450;
  font-family: 'Inter', sans-serif;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: #9ba4af;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 42px;
  width: 32px;
  right: 6px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
  border-color: #5A6470 transparent transparent transparent;
  border-width: 5px 4px 0 4px;
}

/* Focus state */
.select2-container--default.select2-container--open .select2-selection--single,
.select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #F05312;
  box-shadow: 0 0 0 3px rgba(240, 83, 18, .1);
  outline: none;
}

/* Dropdown */
.select2-dropdown {
  border: 1.5px solid var(--ed-line, #E7EAEE);
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .1);
  overflow: hidden;
  margin-top: 4px;
}

.select2-container--default .select2-results__option {
  font-size: 13.5px;
  font-weight: 450;
  padding: 10px 14px;
  color: #1B1F23;
  font-family: 'Inter', sans-serif;
  transition: background .1s;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background: rgba(240, 83, 18, .08);
  color: #F05312;
}

.select2-container--default .select2-results__option[aria-selected=true] {
  background: rgba(240, 83, 18, .12);
  color: #F05312;
  font-weight: 600;
}

/* Search box inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
  border: 1.5px solid var(--ed-line, #E7EAEE);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 13.5px;
  font-family: 'Inter', sans-serif;
  font-weight: 450;
  transition: border-color .15s ease;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  border-color: #F05312;
  outline: none;
  box-shadow: 0 0 0 2px rgba(240, 83, 18, .1);
}

.select2-search--dropdown {
  padding: 8px 10px;
  background: #f6f7f9;
  border-bottom: 1px solid var(--ed-line, #E7EAEE);
}

/* Open arrow flip */
.select2-container--default.select2-container--open
  .select2-selection--single
  .select2-selection__arrow b {
  border-color: transparent transparent #F05312 transparent;
  border-width: 0 4px 5px 4px;
}

/* Remove ugly blue outline on Firefox */
.select2-container .select2-selection { outline: none; }

/* Fit inside ed-sell form controls */
.ed-sell-select + .select2-container .select2-selection--single,
.form-select + .select2-container .select2-selection--single {
  border: 1.5px solid var(--ed-line, #E7EAEE);
}

/* Navbar / offcanvas selects — no Select2 override needed there */

:root {
  --ed-primary: #F05312;
  --ed-primary-dark: #C7430C;
  --ed-ink: #1B1F23;
  --ed-ink-soft: #5A6470;
  --ed-line: #E7EAEE;
  --ed-bg-soft: #F6F7F9;
  --ed-radius: 12px;
  --ed-radius-sm: 8px;
  --ed-shadow: 0 8px 28px rgba(20, 23, 28, 0.08);
  --ed-shadow-sm: 0 2px 10px rgba(20, 23, 28, 0.06);
}

.ed-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Top utility bar ---------- */
.ed-topbar {
  background: #0f172a;
  color: #94a3b8;
  font-size: 12.5px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.ed-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}

.ed-topbar-left,
.ed-topbar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ed-topbar a {
  color: #94a3b8;
  text-decoration: none;
  transition: color .15s ease;
}

.ed-topbar a:hover { color: #fff; }

.ed-topbar-social {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 14px;
  border-right: 1px solid rgba(255,255,255,.1);
}

.ed-topbar-social a {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255,255,255,.06);
  font-size: 11px;
  transition: background .15s ease, color .15s ease;
}

.ed-topbar-social a:hover {
  background: var(--ed-primary);
  color: #fff;
}

.ed-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
}

.ed-topbar-link i { color: var(--ed-primary); font-size: 11px; }

/* ---------- Main header ---------- */
.ed-header {
  background: #fff;
  border-bottom: 1px solid var(--ed-line);
  position: sticky;
  top: 0;
  z-index: 1040;
  transition: box-shadow .2s ease;
}

.ed-header.ed-header-scrolled {
  box-shadow: 0 4px 24px rgba(20,23,28,.10);
}

/* Orange accent line at the very bottom of the header */
.ed-header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--ed-primary) 0%, #ff8c5a 60%, transparent 100%);
}

/* Keep backward compat for any .bottom-navbar references */
.bottom-navbar { background: #fff; border-bottom: 1px solid var(--ed-line); position: sticky; top: 0; z-index: 1040; }

.ed-nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

.ed-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.ed-nav-links { flex: 1; display: flex; }

.ed-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.ed-nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ed-ink);
  text-decoration: none;
  border-radius: var(--ed-radius-sm);
  transition: color .15s ease, background .15s ease;
  white-space: nowrap;
  position: relative;
}

.ed-nav-link i.fa-chevron-down {
  font-size: 9px;
  color: var(--ed-ink-soft);
  transition: transform .18s ease;
}

/* Active underline indicator */
.ed-nav-item.ed-active .ed-nav-link::after,
.ed-nav-item:hover .ed-nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 13px;
  right: 13px;
  height: 2px;
  border-radius: 2px;
  background: var(--ed-primary);
}

.ed-nav-item:hover .ed-nav-link,
.ed-nav-item.ed-active .ed-nav-link {
  color: var(--ed-primary);
}

.ed-nav-item:hover .ed-nav-link i.fa-chevron-down {
  transform: rotate(180deg);
  color: var(--ed-primary);
}

/* ── Mega dropdown base ── */
.ed-mega {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  box-shadow: 0 12px 40px rgba(20,23,28,.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .16s ease, transform .16s ease, visibility .16s;
  z-index: 1050;
}

.ed-nav-item:hover .ed-mega {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ── Dual-pane mega (New / Used Equipment) ── */
.ed-mega-dual {
  display: flex;
  min-width: 600px;
  overflow: hidden;
}

.ed-mega-sidebar {
  width: 210px;
  flex-shrink: 0;
  background: linear-gradient(160deg, #0f172a 0%, #1B1F23 100%);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

.ed-mega-sidebar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(240,83,18,.18);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 14px;
}

.ed-mega-sidebar-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.ed-mega-sidebar-text {
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  line-height: 1.6;
  flex: 1;
  margin: 0 0 16px;
}

.ed-mega-sidebar-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ed-primary);
  text-decoration: none;
  margin-top: auto;
}

.ed-mega-sidebar-cta i { font-size: 11px; transition: transform .15s ease; }
.ed-mega-sidebar-cta:hover i { transform: translateX(3px); }

.ed-mega-grid-panel {
  flex: 1;
  padding: 12px;
  columns: 2;
  column-gap: 4px;
  max-height: 68vh;
  overflow-y: auto;
}

/* ── Services mega (Other Services) ── */
.ed-mega-services {
  min-width: 480px;
  padding: 0;
  overflow: hidden;
}

.ed-mega-services-head {
  padding: 12px 16px;
  background: var(--ed-bg-soft);
  border-bottom: 1px solid var(--ed-line);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ed-ink-soft);
}

.ed-mega-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  padding: 8px;
}

.ed-mega-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--ed-radius-sm);
  text-decoration: none;
  color: var(--ed-ink);
  transition: background .15s ease;
}

.ed-mega-service-item:hover {
  background: var(--ed-bg-soft);
  color: var(--ed-ink);
}

.ed-mega-service-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.ed-mega-service-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ed-ink);
  line-height: 1.3;
  margin-bottom: 2px;
}

.ed-mega-service-text {
  font-size: 11.5px;
  color: var(--ed-ink-soft);
  line-height: 1.4;
}

/* shared mega link */
.ed-mega-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  font-size: 13.5px;
  color: var(--ed-ink);
  text-decoration: none;
  border-radius: 6px;
  break-inside: avoid;
  transition: background .13s ease, color .13s ease;
}

.ed-mega-link i { color: var(--ed-primary); font-size: 10px; }

.ed-mega-link:hover {
  background: var(--ed-bg-soft);
  color: var(--ed-primary);
}

.ed-nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--ed-radius-sm);
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}

.ed-btn-primary {
  background: var(--ed-primary);
  border-color: var(--ed-primary);
  color: #fff;
}

.ed-btn-primary:hover {
  background: var(--ed-primary-dark);
  border-color: var(--ed-primary-dark);
  color: #fff;
}

.ed-btn-outline {
  background: #fff;
  border-color: var(--ed-line);
  color: var(--ed-ink);
}

.ed-btn-outline:hover {
  border-color: var(--ed-primary);
  color: var(--ed-primary);
}

/* quick-nav icons (search / account / enquiries) */
.ed-quicknav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ed-quicknav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ed-ink);
  background: transparent;
  border: none;
  font-size: 17px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.ed-quicknav-link:hover {
  background: var(--ed-bg-soft);
  color: var(--ed-primary);
}

.ed-quicknav-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--ed-primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}

.ed-account-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ed-ink);
}

/* ── Hamburger (3 lines) ── */
.ed-hamburger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--ed-line);
  border-radius: var(--ed-radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
}

.ed-hamburger-line {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ed-ink);
  border-radius: 2px;
  transition: background .15s ease;
}

.ed-hamburger:hover .ed-hamburger-line { background: var(--ed-primary); }

@media (max-width: 991.98px) {
  .ed-nav-links { display: none; }
  .ed-hamburger { display: flex; }
  .ed-nav-inner { height: 62px; }
  .ed-logo img { height: 36px; }
}

/* ── Mobile offcanvas ── */
.ed-mobile-menu .offcanvas-header {
  border-bottom: 1px solid var(--ed-line);
  padding: 14px 18px;
}

.ed-mobile-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 4px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ed-ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ed-line);
  transition: color .13s ease;
}

.ed-mobile-link:hover { color: var(--ed-primary); }

.ed-mobile-link-icon {
  color: var(--ed-primary);
  width: 18px;
  text-align: center;
  margin-right: 10px;
  font-size: 13px;
}

.ed-mobile-link span { display: flex; align-items: center; }

.ed-mobile-link i.fa-chevron-down {
  font-size: 10px;
  color: var(--ed-ink-soft);
  transition: transform .15s ease;
}

.ed-mobile-submenu {
  background: var(--ed-bg-soft);
  border-bottom: 1px solid var(--ed-line);
  padding: 6px 0;
}

.ed-mobile-submenu a {
  display: flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 13.5px;
  color: var(--ed-ink-soft);
  text-decoration: none;
  transition: color .13s ease, background .13s ease;
}

.ed-mobile-submenu a:hover {
  color: var(--ed-primary);
  background: rgba(240,83,18,.05);
}

/* ── Search offcanvas ── */
.ed-search-panel { border: none; }

.ed-search-panel-header {
  background: #fff;
  border-bottom: 1px solid var(--ed-line);
  padding: 18px 0 20px;
}

.ed-search-panel-head-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ed-search-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.ed-search-panel-title i { color: var(--ed-primary); }

.ed-search-panel .offcanvas-body {
  padding-top: 20px;
  background: var(--ed-bg-soft);
}

.ed-search-input-wrap {
  position: relative;
}

.ed-search-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ed-ink-soft);
  font-size: 14px;
}

.ed-search-input {
  width: 100%;
  padding: 14px 16px 14px 46px;
  border-radius: var(--ed-radius);
  border: 1.5px solid var(--ed-line);
  font-size: 15px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.ed-search-input:focus {
  outline: none;
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 3px rgba(240,83,18,.12);
}

.ed-search-quicklinks {
  margin-top: 20px;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 4px 6px;
}

.ed-search-quicklinks h6 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ed-ink-soft);
  margin: 10px 6px 6px;
  font-weight: 700;
}

.ed-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px;
  border-radius: var(--ed-radius-sm);
  text-decoration: none;
  color: var(--ed-ink);
  font-size: 14px;
  transition: background .13s ease, color .13s ease;
}

.ed-search-result i.fa-arrow-right { font-size: 11px; color: var(--ed-ink-soft); }

.ed-search-result:hover {
  background: rgba(240,83,18,.06);
  color: var(--ed-primary);
}

.ed-search-empty {
  padding: 14px 6px;
  color: var(--ed-ink-soft);
  font-size: 14px;
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ed-footer {
  background: #0f172a;
  color: #94a3b8;
}

/* Newsletter strip */
.ed-footer-newsletter {
  background: linear-gradient(135deg, #1B1F23 0%, #1a2332 100%);
  border-top: 1px solid rgba(240,83,18,.2);
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 32px 0;
}

.ed-footer-newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.ed-footer-newsletter-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ed-footer-newsletter-title i { color: var(--ed-primary); }

.ed-footer-newsletter-text p {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.ed-footer-newsletter-form { flex-shrink: 0; }

.ed-footer-newsletter-input-wrap {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--ed-radius-sm);
  padding: 5px 5px 5px 14px;
  gap: 10px;
  min-width: 360px;
}

.ed-footer-newsletter-input-wrap i { color: #64748b; font-size: 14px; flex-shrink: 0; }

.ed-footer-newsletter-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 13.5px;
  min-width: 0;
}

.ed-footer-newsletter-input-wrap input::placeholder { color: #64748b; }

.ed-footer-newsletter-note {
  font-size: 11.5px;
  color: #475569;
  margin: 7px 0 0;
  text-align: right;
}

@media (max-width: 767.98px) {
  .ed-footer-newsletter-inner { flex-direction: column; gap: 20px; }
  .ed-footer-newsletter-input-wrap { min-width: 0; width: 100%; }
  .ed-footer-newsletter-note { text-align: left; }
}

/* Main footer */
.ed-footer-top {
  padding: 52px 0 24px;
  border-top: 1px solid rgba(255,255,255,.05);
}

.ed-footer-brand img {
  height: 40px;
  margin-bottom: 14px;
  opacity: .9;
}

.ed-footer-brand p {
  font-size: 13px;
  line-height: 1.7;
  color: #64748b;
  max-width: 260px;
  margin-bottom: 18px;
}

/* Social icons in brand col */
.ed-footer-brand-social {
  display: flex;
  gap: 8px;
}

.ed-footer-brand-social a {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: background .15s ease, color .15s ease;
}

.ed-footer-brand-social a:hover {
  background: var(--ed-primary);
  color: #fff;
}

.ed-footer-heading {
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.ed-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ed-footer-links li {
  margin-bottom: 10px;
}

.ed-footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #64748b;
  text-decoration: none;
  font-size: 13.5px;
  transition: color .15s ease, gap .15s ease;
}

.ed-footer-links a i {
  font-size: 11px;
  color: var(--ed-primary);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.ed-footer-links a:hover {
  color: #fff;
  gap: 10px;
}

.ed-footer-contact a { flex-wrap: nowrap; }

.ed-app-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ed-app-badges img {
  max-height: 38px;
  border-radius: 6px;
  opacity: .85;
  transition: opacity .15s ease;
}

.ed-app-badges a:hover img { opacity: 1; }

.ed-footer-ad {
  border-radius: var(--ed-radius);
  overflow: hidden;
  position: relative;
}

/* Bottom bar */
.ed-footer-bottom-wrap {
  border-top: 1px solid rgba(255,255,255,.08);
}

.ed-footer-bottom {
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #475569;
  flex-wrap: wrap;
  gap: 10px;
}

.ed-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ed-footer-bottom-links a {
  color: #475569;
  text-decoration: none;
  transition: color .15s ease;
  font-size: 12.5px;
}

.ed-footer-bottom-links a:hover { color: #fff; }

.ed-footer-bottom-links span { color: #334155; }

.ed-footer-social {
  display: flex;
  gap: 6px;
}

.ed-footer-social a {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  background: rgba(255,255,255,.06);
  color: #64748b;
  text-decoration: none;
  font-size: 12px;
  transition: background .15s ease, color .15s ease;
}

.ed-footer-social a:hover {
  background: var(--ed-primary);
  color: #fff;
}

@media (max-width: 767.98px) {
  .ed-footer-top { padding: 32px 0 8px; }

  .ed-footer-col {
    border-bottom: 1px solid rgba(255,255,255,.07);
    padding-bottom: 6px;
  }

  .ed-footer-heading {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    padding: 14px 0;
  }

  .ed-footer-heading .ed-caret {
    font-size: 12px;
    transition: transform .15s ease;
  }

  .ed-footer-heading[aria-expanded="true"] .ed-caret {
    transform: rotate(180deg);
  }

  .ed-footer-links {
    padding-bottom: 14px;
  }
}

/* ==========================================================================
   Modals
   ========================================================================== */
.ed-modal .modal-content {
  border: none;
  border-radius: 20px;
  overflow: hidden;
}

.ed-modal-head {
  background: linear-gradient(120deg, var(--ed-primary) 0%, var(--ed-primary-dark) 100%);
  color: #fff;
  padding: 22px 26px;
  position: relative;
}

.ed-modal-head .ed-modal-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.ed-modal-head h5 {
  font-weight: 700;
  margin-bottom: 4px;
  font-size: 19px;
}

.ed-modal-head p {
  font-size: 12.5px;
  opacity: .9;
  margin: 0;
}

.ed-modal-head .btn-close {
  position: absolute;
  top: 18px;
  right: 18px;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.ed-modal .modal-body {
  padding: 26px;
}

.ed-form-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ed-ink-soft);
  margin-bottom: 14px;
}

.ed-modal .form-control,
.ed-modal .form-select {
  border-radius: var(--ed-radius-sm);
  border: 1.5px solid var(--ed-line);
  padding: 11px 14px;
  font-size: 14.5px;
}

.ed-modal .form-control:focus,
.ed-modal .form-select:focus {
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 3px rgba(240, 83, 18, .12);
}

.ed-modal .modal-footer {
  border-top: none;
  padding: 0 26px 26px;
}

.ed-modal .home-modal-btn {
  background: var(--ed-primary);
  border: none;
  border-radius: var(--ed-radius-sm);
  padding: 12px;
  font-weight: 600;
}

.ed-modal .home-modal-btn:hover {
  background: var(--ed-primary-dark);
}

.ed-otp-boxes {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* ==========================================================================
   Homepage
   ========================================================================== */
.ed-section {
  padding: 52px 0;
}

.ed-section-bg {
  background: var(--ed-bg-soft);
}

.ed-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
  flex-wrap: wrap;
  gap: 10px;
}

.ed-section-eyebrow {
  color: var(--ed-primary);
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
  display: block;
}

.ed-section-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--ed-ink);
  margin: 0;
}

.ed-section-link {
  color: var(--ed-primary);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ed-section-link:hover {
  text-decoration: underline;
  color: var(--ed-primary-dark);
}

/* hero */
.ed-hero {
  background: linear-gradient(180deg, #FFF4EC 0%, #FFFFFF 100%);
  padding: 36px 0 8px;
}

/* full-bleed image hero banner */
.ed-hero-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--ed-ink);
  overflow: hidden;
}

.ed-hero-banner video.ed-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ed-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 17, 20, .82) 0%, rgba(15, 17, 20, .55) 48%, rgba(15, 17, 20, .25) 100%);
  z-index: 1;
}

.ed-hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 60px 0;
  color: #fff;
}

.ed-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #FFB68F;
  margin-bottom: 16px;
}

.ed-hero-eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--ed-primary);
  display: inline-block;
}

.ed-hero-banner-content h1 {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -.01em;
}

.ed-hero-banner-content p {
  font-size: 16px;
  color: rgba(255, 255, 255, .82);
  max-width: 480px;
  margin-bottom: 28px;
}

.ed-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.ed-btn-lg {
  padding: 13px 26px;
  font-size: 14.5px;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.ed-btn-outline-light {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff;
}

.ed-btn-outline-light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--ed-ink);
}

.ed-hero-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  padding: 6px;
  backdrop-filter: blur(6px);
}

.ed-hero-pill {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  transition: all .15s ease;
}

.ed-hero-pill:hover {
  color: #fff;
}

.ed-hero-pill-active {
  background: var(--ed-primary);
  color: #fff;
}

@media (max-width: 767.98px) {
  .ed-hero-banner {
    min-height: 460px;
  }

  .ed-hero-banner-content {
    padding: 44px 0;
  }

  .ed-hero-banner-content h1 {
    font-size: 30px;
  }

  .ed-hero-pills {
    width: 100%;
    justify-content: center;
  }
}

.ed-hero-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 4px;
}

.ed-hero-subtitle {
  color: var(--ed-ink-soft);
  font-size: 14px;
  margin-bottom: 22px;
}

/* service tiles (loans / lease / insurance / solar / spares / property) */
.ed-tile {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 18px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ed-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--ed-shadow);
  border-color: transparent;
}

.ed-tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(240, 83, 18, .1);
  color: var(--ed-primary);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}

.ed-tile-title {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ed-ink);
  margin-bottom: 5px;
}

.ed-tile-text {
  font-size: 11.5px;
  line-height: 1.4;
  color: var(--ed-ink-soft);
  margin-bottom: 14px;
}

.ed-tile-btn {
  background: var(--ed-ink);
  color: #fff;
  border: none;
  border-radius: var(--ed-radius-sm);
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  width: 100%;
  transition: background-color .15s ease;
}

.ed-tile-btn:hover {
  background: var(--ed-primary);
}

/* ad slots */
.ed-ad-slot {
  position: relative;
  border-radius: var(--ed-radius);
  overflow: hidden;
  border: 1px solid var(--ed-line);
}

.ed-ad-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-ad-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(20, 23, 28, .72);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 3px 8px;
  border-radius: 4px;
}

/* product / listing cards */
.ed-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}

.ed-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-3px);
}

.ed-card-img {
  height: 180px;
  overflow: hidden;
  background: var(--ed-bg-soft);
}

.ed-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
}

.ed-card:hover .ed-card-img img {
  transform: scale(1.06);
}

.ed-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-card-text {
  font-size: 13px;
  color: var(--ed-ink-soft);
  margin-bottom: 14px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-card-meta {
  font-size: 12px;
  color: var(--ed-ink-soft);
  margin-bottom: 4px;
}

.ed-card-footer {
  margin-top: auto;
}

.ed-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 9px 0;
  background: var(--ed-bg-soft);
  color: var(--ed-ink);
  border-radius: var(--ed-radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--ed-line);
  transition: all .15s ease;
}

.ed-card-btn:hover {
  background: var(--ed-primary);
  border-color: var(--ed-primary);
  color: #fff;
}

/* blog / news cards */
.ed-blog-card {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 14px;
  text-decoration: none;
  height: 100%;
  transition: box-shadow .18s ease;
}

.ed-blog-card:hover {
  box-shadow: var(--ed-shadow);
}

.ed-blog-card img {
  width: 130px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--ed-radius-sm);
  flex-shrink: 0;
}

.ed-blog-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-blog-text {
  font-size: 12.5px;
  color: var(--ed-ink-soft);
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-blog-date {
  font-size: 11.5px;
  color: #9aa1a9;
}

/* CTA strip */
.ed-cta-strip {
  background: var(--ed-ink);
  border-radius: var(--ed-radius);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  color: #fff;
}

.ed-cta-strip h4 {
  font-weight: 700;
  margin-bottom: 6px;
}

.ed-cta-strip p {
  color: #9aa1a9;
  margin: 0;
  font-size: 14px;
}

@media (max-width: 767.98px) {
  .ed-section {
    padding: 36px 0;
  }

  .ed-section-title {
    font-size: 21px;
  }

  .ed-cta-strip {
    text-align: center;
    justify-content: center;
  }
}

/* ==========================================================================
   Auth screens (login / OTP)
   ========================================================================== */
.ed-auth-wrap {
  min-height: 100vh;
  display: flex;
}

.ed-auth-art {
  flex: 1 1 50%;
  position: relative;
  background-size: cover;
  background-position: center;
}

.ed-auth-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 31, 35, .15) 0%, rgba(27, 31, 35, .75) 100%);
}

.ed-auth-art-content {
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 48px;
  z-index: 1;
  color: #fff;
}

.ed-auth-art-content img {
  height: 38px;
  margin-bottom: 18px;
}

.ed-auth-art-content h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.ed-auth-art-content p {
  font-size: 14px;
  opacity: .85;
  max-width: 360px;
}

.ed-auth-form {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: #fff;
}

.ed-auth-card {
  width: 100%;
  max-width: 380px;
}

.ed-auth-card .ed-tile-icon {
  margin: 0 0 18px;
}

.ed-auth-card h1 {
  font-size: 26px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 6px;
}

.ed-auth-card>p {
  color: var(--ed-ink-soft);
  font-size: 14px;
  margin-bottom: 28px;
}

.ed-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.ed-input-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ed-primary);
}

.ed-input {
  width: 100%;
  border-radius: var(--ed-radius-sm);
  border: 1.5px solid var(--ed-line);
  background: var(--ed-bg-soft);
  padding: 13px 16px 13px 46px;
  font-size: 15px;
}

.ed-input:focus {
  outline: none;
  border-color: var(--ed-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(240, 83, 18, .12);
}

.ed-auth-btn {
  width: 100%;
  background: var(--ed-primary);
  color: #fff;
  border: none;
  padding: 13px;
  border-radius: var(--ed-radius-sm);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 16px;
  transition: background-color .15s ease;
}

.ed-auth-btn:hover {
  background: var(--ed-primary-dark);
  color: #fff;
}

.ed-auth-link {
  font-size: 13.5px;
  color: var(--ed-ink-soft);
  text-align: center;
}

.ed-auth-link a {
  color: var(--ed-primary);
  font-weight: 600;
  text-decoration: none;
}

.ed-otp-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 24px;
}

.ed-otp-box {
  width: 48px;
  height: 52px;
  border-radius: var(--ed-radius-sm);
  border: 1.5px solid var(--ed-line);
  background: var(--ed-bg-soft);
}

.ed-otp-box input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 19px;
  font-weight: 600;
  color: var(--ed-ink);
  border-radius: var(--ed-radius-sm);
}

.ed-otp-box input:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--ed-primary) inset;
}

@media (max-width: 767.98px) {
  .ed-auth-art {
    display: none;
  }

  .ed-auth-form {
    padding: 32px 18px;
  }
}

/* ==========================================================================
   Forms (sell equipment, list property, etc.)
   ========================================================================== */
.ed-form-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  box-shadow: var(--ed-shadow-sm);
  padding: 32px;
}

.ed-form-section {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-form-section:last-of-type {
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 8px;
}

.ed-form-section-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 18px;
}

.ed-form-section-title i {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(240, 83, 18, .1);
  color: var(--ed-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.ed-form-card label.form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ed-ink);
  margin-bottom: 7px;
}

.ed-form-card .form-control,
.ed-form-card .form-select {
  border-radius: var(--ed-radius-sm);
  border: 1.5px solid var(--ed-line);
  padding: 10px 14px;
  font-size: 14.5px;
}

.ed-form-card .form-control:focus,
.ed-form-card .form-select:focus {
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 3px rgba(240, 83, 18, .12);
}

.ed-form-card .form-text {
  font-size: 12px;
}

@media (max-width: 575.98px) {
  .ed-form-card {
    padding: 20px;
  }
}

/* ==========================================================================
   Listing / category browse pages
   ========================================================================== */
.ed-tabs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 28px;
}

.ed-tabs::-webkit-scrollbar {
  height: 5px;
}

.ed-tabs::-webkit-scrollbar-thumb {
  background: var(--ed-line);
  border-radius: 5px;
}

.ed-tab {
  flex-shrink: 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--ed-line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ed-ink-soft);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all .15s ease;
}

.ed-tab:hover {
  border-color: var(--ed-primary);
  color: var(--ed-primary);
}

.ed-tab.ed-tab-active {
  background: var(--ed-primary);
  border-color: var(--ed-primary);
  color: #fff;
}

.ed-logo-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 110px;
  text-decoration: none;
  transition: all .18s ease;
}

.ed-logo-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-3px);
  border-color: transparent;
}

.ed-logo-card img {
  height: 48px;
  max-width: 100%;
  object-fit: contain;
}

.ed-logo-card-title {
  width: 100%;
  font-size: 12px;
  font-weight: 500;
  color: var(--ed-ink);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ed-empty-state {
  background: var(--ed-bg-soft);
  border: 1px dashed var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 40px 20px;
  text-align: center;
  color: var(--ed-ink-soft);
  font-size: 14px;
}

/* manufacturer detail */
.ed-manufacturer-banner {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: center;
  margin-bottom: 36px;
}

.ed-manufacturer-banner img {
  width: 110px;
  height: 110px;
  object-fit: contain;
  border-radius: var(--ed-radius-sm);
  border: 1px solid var(--ed-line);
  padding: 10px;
  background: #fff;
  flex-shrink: 0;
}

.ed-manufacturer-banner h1,
.ed-manufacturer-banner h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 8px;
}

.ed-manufacturer-banner p {
  color: var(--ed-ink-soft);
  font-size: 14px;
  margin: 0;
}

@media (max-width: 575.98px) {
  .ed-manufacturer-banner {
    flex-direction: column;
    text-align: center;
  }
}

/* product listing card with price */
.ed-product-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}

.ed-product-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-3px);
}

.ed-product-card .ed-card-img {
  height: 190px;
}

.ed-product-price {
  font-size: 17px;
  font-weight: 700;
  color: var(--ed-ink);
}

.ed-product-price small {
  font-size: 12px;
  font-weight: 400;
  color: var(--ed-ink-soft);
}

/* ==========================================================================
   Product detail page
   ========================================================================== */
.ed-gallery {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 16px;
  height: 100%;
}

.ed-gallery-main {
  border-radius: var(--ed-radius-sm);
  overflow: hidden;
  height: 360px;
  background: var(--ed-bg-soft);
}

.ed-gallery-main .carousel-item img,
.ed-gallery-main img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  background: var(--ed-bg-soft);
}

.ed-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  overflow-x: auto;
}

.ed-gallery-thumb {
  width: 68px;
  height: 58px;
  border-radius: var(--ed-radius-sm);
  overflow: hidden;
  border: 2px solid var(--ed-line);
  cursor: pointer;
  flex-shrink: 0;
  background: var(--ed-bg-soft);
  padding: 0;
}

.ed-gallery-thumb.ed-thumb-active {
  border-color: var(--ed-primary);
}

.ed-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ed-detail-panel {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 28px;
  height: 100%;
}

.ed-detail-title {
  font-size: 21px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 4px;
}

.ed-detail-price {
  font-size: 25px;
  font-weight: 700;
  color: var(--ed-primary);
  white-space: nowrap;
}

.ed-detail-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--ed-bg-soft);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: var(--ed-ink-soft);
  margin-top: 12px;
}

.ed-detail-badge i {
  color: var(--ed-primary);
}

.ed-spec-box {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--ed-line);
  font-size: 14px;
  color: var(--ed-ink-soft);
  line-height: 1.75;
}

.ed-spec-box .ed-spec-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ==========================================================================
   Filter bars (properties, listings, etc.)
   ========================================================================== */
.ed-filter-bar {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  box-shadow: var(--ed-shadow-sm);
  padding: 18px;
  margin-bottom: 32px;
}

.ed-filter-bar .form-select,
.ed-filter-bar .form-control {
  border-radius: var(--ed-radius-sm);
  border: 1.5px solid var(--ed-line);
  padding: 11px 14px;
  font-size: 14px;
  height: 48px;
}

.ed-filter-bar .form-select:focus,
.ed-filter-bar .form-control:focus {
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 3px rgba(240, 83, 18, .12);
}

.ed-btn-icon-square {
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
}

.ed-card-meta i {
  color: var(--ed-primary);
  width: 14px;
}

/* fact grid (used in property / equipment detail info blocks) */
.ed-fact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.ed-fact i {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(240, 83, 18, .1);
  color: var(--ed-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13.5px;
  flex-shrink: 0;
}

.ed-fact-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ed-ink-soft);
  margin-bottom: 2px;
}

.ed-fact-value {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ed-ink);
  word-break: break-word;
}

/* ==========================================================================
   Generic page hero (used on service/detail pages: solar, transport, etc.)
   ========================================================================== */
.ed-page-hero {
  position: relative;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-color: var(--ed-ink);
  overflow: hidden;
  margin-bottom: 40px;
}

.ed-page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 17, 20, .5) 0%, rgba(15, 17, 20, .8) 100%);
}

.ed-page-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 0 20px;
}

.ed-page-hero-content .ed-hero-eyebrow {
  justify-content: center;
}

.ed-page-hero-content h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 6px;
}

.ed-page-hero-content p {
  font-size: 14px;
  color: rgba(255, 255, 255, .85);
  margin: 0;
  max-width: 520px;
  margin: 0 auto;
}

@media (max-width: 767.98px) {
  .ed-page-hero {
    height: 200px;
    margin-bottom: 28px;
  }

  .ed-page-hero-content h1 {
    font-size: 23px;
  }
}

/* scheme / subsidy cards */
.ed-scheme-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 20px;
  height: 100%;
  transition: box-shadow .18s ease, transform .18s ease;
}

.ed-scheme-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-2px);
}

.ed-scheme-card-logo {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  border-radius: var(--ed-radius-sm);
  background: var(--ed-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.ed-scheme-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ed-scheme-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 6px;
}

.ed-scheme-card-text {
  font-size: 13px;
  color: var(--ed-ink-soft);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-scheme-card-actions {
  display: flex;
  gap: 8px;
}

.ed-scheme-card-actions .ed-card-btn {
  width: auto;
  padding: 8px 16px;
}

@media (max-width: 575.98px) {
  .ed-scheme-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .ed-scheme-card-actions {
    justify-content: center;
  }
}

/* highlight strip (used under page heroes for quick value props) */
.ed-highlight-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-top: -34px;
  margin-bottom: 36px;
  position: relative;
  z-index: 3;
}

.ed-highlight-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  box-shadow: var(--ed-shadow);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.ed-highlight-card i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(240, 83, 18, .1);
  color: var(--ed-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ed-highlight-card-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ed-ink);
}

.ed-highlight-card-text {
  font-size: 12px;
  color: var(--ed-ink-soft);
}

/* select with leading icon */
.ed-select-icon {
  position: relative;
}

.ed-select-icon i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ed-primary);
  z-index: 2;
  pointer-events: none;
}

.ed-select-icon select {
  padding-left: 42px !important;
}

/* pill radio toggle group */
.ed-radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ed-radio-pill {
  position: relative;
}

.ed-radio-pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.ed-radio-pill label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--ed-line);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ed-ink-soft);
  cursor: pointer;
  transition: all .15s ease;
  margin: 0;
}

.ed-radio-pill input:checked+label {
  background: var(--ed-primary);
  border-color: var(--ed-primary);
  color: #fff;
}

@media (max-width: 767.98px) {
  .ed-highlight-strip {
    margin-top: -24px;
    gap: 12px;
  }

  .ed-highlight-card {
    min-width: 0;
    flex: 1 1 calc(50% - 12px);
    padding: 12px 14px;
  }
}

/* ==========================================================================
   Solar pages (index + detail)
   ========================================================================== */

/* --- Stats strip --- */
.ed-solar-stats-strip {
  background: #fff;
  border-bottom: 1px solid var(--ed-line);
  padding: 18px 0;
}

.ed-solar-stats-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}

.ed-solar-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 36px;
}

.ed-solar-stat-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--ed-primary);
  line-height: 1.1;
}

.ed-solar-stat-label {
  font-size: 12px;
  color: var(--ed-ink-soft);
  margin-top: 3px;
  text-align: center;
}

.ed-solar-stat-div {
  width: 1px;
  height: 36px;
  background: var(--ed-line);
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .ed-solar-stat {
    padding: 10px 18px;
  }

  .ed-solar-stat-num {
    font-size: 19px;
  }

  .ed-solar-stat-div {
    display: none;
  }
}

/* --- Solar Project Type Cards --- */
.ed-solar-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
  position: relative;
}

.ed-solar-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-4px);
}

.ed-solar-card--featured {
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 2px rgba(240, 83, 18, .15);
}

.ed-solar-card--featured:hover {
  box-shadow: 0 12px 36px rgba(240, 83, 18, .18);
}

.ed-solar-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  background: var(--ed-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}

.ed-solar-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: var(--ed-ink);
}

.ed-solar-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
  opacity: .92;
}

.ed-solar-card:hover .ed-solar-card-img img {
  transform: scale(1.06);
}

.ed-solar-card-icon-wrap {
  position: absolute;
  bottom: -20px;
  left: 20px;
  z-index: 3;
}

.ed-solar-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--ed-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  box-shadow: 0 4px 12px rgba(240, 83, 18, .35);
  border: 3px solid #fff;
}

.ed-solar-card-body {
  padding: 28px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-solar-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 8px;
}

.ed-solar-card-text {
  font-size: 13.5px;
  color: var(--ed-ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

.ed-solar-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.ed-solar-card-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--ed-ink);
  padding: 5px 0;
  border-bottom: 1px solid var(--ed-line);
}

.ed-solar-card-features li:last-child {
  border-bottom: none;
}

.ed-solar-card-features li i {
  color: var(--ed-primary);
  font-size: 12px;
  flex-shrink: 0;
}

/* --- EPC Partner Cards (index listing) --- */
.ed-epc-partner-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.ed-epc-partner-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-3px);
  border-color: rgba(240, 83, 18, .3);
}

.ed-epc-partner-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: var(--ed-bg-soft);
  border-bottom: 1px solid var(--ed-line);
}

.ed-epc-partner-logo img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}

.ed-epc-partner-body {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.ed-epc-partner-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--ed-ink);
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-epc-partner-cta {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ed-primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: gap .15s ease;
}

.ed-epc-partner-card:hover .ed-epc-partner-cta {
  gap: 7px;
}

/* --- Solar CTA Strip --- */
.ed-solar-cta-strip {
  background: linear-gradient(120deg, var(--ed-ink) 0%, #2b3340 100%);
  border-radius: var(--ed-radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ed-solar-cta-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(240, 83, 18, .15);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  border: 1.5px solid rgba(240, 83, 18, .25);
}

.ed-solar-cta-text {
  flex: 1;
  min-width: 200px;
}

.ed-solar-cta-text h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
}

.ed-solar-cta-text p {
  color: #9aa1a9;
  margin: 0;
  font-size: 14px;
}

@media (max-width: 767.98px) {
  .ed-solar-cta-strip {
    flex-direction: column;
    text-align: center;
    padding: 28px 22px;
    align-items: center;
  }

  .ed-solar-cta-text {
    min-width: 0;
  }

  .ed-solar-cta-strip .ed-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Solar Detail page
   ========================================================================== */

/* --- Breadcrumb --- */
.ed-breadcrumb {
  margin-bottom: 24px;
}

.ed-breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ed-breadcrumb ol li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ed-ink-soft);
}

.ed-breadcrumb ol li:not(:last-child)::after {
  content: '/';
  color: var(--ed-line);
}

.ed-breadcrumb ol li a {
  color: var(--ed-ink-soft);
  text-decoration: none;
  transition: color .15s ease;
}

.ed-breadcrumb ol li a:hover {
  color: var(--ed-primary);
}

.ed-breadcrumb ol li.active {
  color: var(--ed-ink);
  font-weight: 600;
}

/* --- EPC Profile Banner --- */
.ed-epc-profile-banner {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 32px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
  box-shadow: var(--ed-shadow-sm);
}

.ed-epc-profile-logo-wrap {
  width: 120px;
  height: 120px;
  border-radius: var(--ed-radius-sm);
  background: var(--ed-bg-soft);
  border: 1px solid var(--ed-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  flex-shrink: 0;
}

.ed-epc-profile-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ed-epc-profile-info {
  flex: 1;
  min-width: 0;
}

.ed-epc-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240, 83, 18, .08);
  color: var(--ed-primary);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(240, 83, 18, .2);
  margin-bottom: 12px;
}

.ed-epc-profile-info h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ed-ink);
  margin-bottom: 10px;
}

.ed-epc-profile-info p {
  font-size: 14px;
  color: var(--ed-ink-soft);
  line-height: 1.7;
  margin: 0;
}

.ed-epc-profile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 180px;
  flex-shrink: 0;
}

.ed-epc-profile-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.ed-epc-profile-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--ed-bg-soft);
  border: 1px solid var(--ed-line);
  color: var(--ed-ink-soft);
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.ed-epc-profile-tags span i {
  color: var(--ed-primary);
  font-size: 11px;
}

@media (max-width: 767.98px) {
  .ed-epc-profile-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 22px;
  }

  .ed-epc-profile-actions {
    width: 100%;
    min-width: 0;
  }

  .ed-epc-profile-tags {
    justify-content: center;
  }
}

/* --- Service Cards (detail page) --- */
.ed-service-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease;
}

.ed-service-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-4px);
}

.ed-service-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--ed-bg-soft);
}

.ed-service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ed-service-card:hover .ed-service-card-img img {
  transform: scale(1.07);
}

.ed-service-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 17, 20, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .2s ease;
}

.ed-service-card:hover .ed-service-card-overlay {
  opacity: 1;
}

.ed-service-portfolio-btn {
  background: #fff;
  color: var(--ed-ink);
  font-size: 13px;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--ed-radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background .15s ease, color .15s ease;
}

.ed-service-portfolio-btn:hover {
  background: var(--ed-primary);
  color: #fff;
}

.ed-service-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-service-card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 7px;
}

.ed-service-card-text {
  font-size: 13px;
  color: var(--ed-ink-soft);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-service-card-footer {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.ed-service-card-footer .ed-btn {
  flex: 1;
  font-size: 13px;
  padding: 9px 12px;
}

/* ==========================================================================
   Properties pages (index + detail)
   ========================================================================== */

/* --- Floating search card --- */
.ed-prop-search-wrap {
  margin-top: -48px;
  position: relative;
  z-index: 10;
  margin-bottom: 0;
}

.ed-prop-search-card {
  background: #fff;
  border-radius: var(--ed-radius);
  box-shadow: 0 12px 40px rgba(20,23,28,.14);
  padding: 8px 8px 8px 24px;
  border: 1px solid var(--ed-line);
}

.ed-prop-search-form {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.ed-prop-search-field {
  flex: 1;
  min-width: 180px;
}

.ed-prop-search-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--ed-ink-soft);
  margin-bottom: 4px;
}

.ed-prop-search-label i {
  color: var(--ed-primary);
}

.ed-prop-search-field .form-select {
  border: none !important;
  box-shadow: none !important;
  padding: 6px 0;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ed-ink);
  background-color: transparent;
  padding-right: 28px;
}

.ed-prop-search-field .form-select:focus {
  border: none !important;
  box-shadow: none !important;
}

.ed-prop-search-divider {
  width: 1px;
  height: 44px;
  background: var(--ed-line);
  flex-shrink: 0;
  margin: 0 20px;
}

.ed-prop-search-btn {
  flex-shrink: 0;
  height: 52px;
  padding: 0 26px;
  font-size: 14px;
  border-radius: var(--ed-radius-sm);
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  .ed-prop-search-card {
    padding: 16px;
  }

  .ed-prop-search-form {
    flex-direction: column;
    gap: 12px;
  }

  .ed-prop-search-field {
    width: 100%;
    min-width: 0;
  }

  .ed-prop-search-field .form-select {
    border: 1.5px solid var(--ed-line) !important;
    border-radius: var(--ed-radius-sm) !important;
    padding: 11px 14px !important;
    height: 48px;
  }

  .ed-prop-search-divider {
    display: none;
  }

  .ed-prop-search-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Property Listing Cards --- */
.ed-prop-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.ed-prop-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

.ed-prop-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
  background: var(--ed-bg-soft);
}

.ed-prop-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.ed-prop-card:hover .ed-prop-card-img img {
  transform: scale(1.06);
}

.ed-prop-card-type {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(27,31,35,.78);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.ed-prop-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-prop-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-prop-card-location {
  font-size: 12.5px;
  color: var(--ed-ink-soft);
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-prop-card-location i {
  color: var(--ed-primary);
  margin-right: 3px;
}

.ed-prop-card-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--ed-bg-soft);
  border-radius: var(--ed-radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.ed-prop-mini-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ed-prop-mini-stat-val {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ed-ink);
  line-height: 1.2;
}

.ed-prop-mini-stat-label {
  font-size: 10.5px;
  color: var(--ed-ink-soft);
  margin-top: 2px;
}

.ed-prop-mini-stat-sep {
  width: 1px;
  height: 30px;
  background: var(--ed-line);
  flex-shrink: 0;
  margin: 0 10px;
}

.ed-prop-card-footer {
  margin-top: auto;
  display: flex;
  justify-content: flex-end;
}

.ed-prop-card-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--ed-primary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap .15s ease;
}

.ed-prop-card:hover .ed-prop-card-cta {
  gap: 8px;
}

/* --- Detail page header --- */
.ed-prop-detail-hero {
  background: var(--ed-bg-soft);
  border-bottom: 1px solid var(--ed-line);
  padding: 24px 0 28px;
  margin-bottom: 36px;
}

.ed-prop-detail-hero-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.ed-prop-detail-hero-info {
  flex: 1;
  min-width: 0;
}

.ed-prop-detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ed-ink);
  margin: 10px 0 6px;
  line-height: 1.25;
}

.ed-prop-detail-location {
  font-size: 13.5px;
  color: var(--ed-ink-soft);
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.ed-prop-detail-location i {
  color: var(--ed-primary);
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .ed-prop-detail-title {
    font-size: 20px;
  }
}

/* --- Info Panel (detail right col) --- */
.ed-prop-info-panel {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 24px;
  box-shadow: var(--ed-shadow-sm);
  position: sticky;
  top: 90px;
}

.ed-prop-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-prop-info-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--ed-bg-soft);
  border-radius: var(--ed-radius-sm);
  padding: 12px 14px;
}

.ed-prop-info-stat-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ed-prop-info-stat-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--ed-ink);
  line-height: 1.2;
}

.ed-prop-info-stat-label {
  font-size: 11px;
  color: var(--ed-ink-soft);
  margin-top: 2px;
}

.ed-prop-info-section {
  padding: 16px 0;
  border-bottom: 1px solid var(--ed-line);
}

.ed-prop-info-section:last-of-type {
  border-bottom: none;
}

.ed-prop-info-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ed-ink);
  margin-bottom: 12px;
}

.ed-prop-info-section-title i {
  color: var(--ed-primary);
  width: 14px;
}

.ed-prop-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 6px 0;
  font-size: 13.5px;
}

.ed-prop-info-label {
  color: var(--ed-ink-soft);
  flex-shrink: 0;
}

.ed-prop-info-val {
  font-weight: 600;
  color: var(--ed-ink);
  text-align: right;
}

/* ==========================================================================
   Spare Tools pages (index + detail)
   ========================================================================== */

/* --- Hero variant for spare tools (no bg image — use gradient) --- */
.ed-spare-hero {
  background: linear-gradient(135deg, #1a2332 0%, #1B1F23 50%, #2a1a0e 100%) !important;
  background-image: none !important;
}

.ed-spare-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 60%, rgba(240,83,18,.14) 0%, transparent 55%),
    radial-gradient(circle at 85% 25%, rgba(240,83,18,.08) 0%, transparent 45%);
  z-index: 0;
}

.ed-spare-hero::after {
  background: rgba(15,17,20,.4) !important;
}

/* --- Category Cards (index grid) --- */
.ed-spare-cat-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  text-decoration: none;
  height: 100%;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.ed-spare-cat-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-4px);
  border-color: rgba(240,83,18,.25);
}

.ed-spare-cat-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ed-bg-soft);
  padding: 20px;
  border-bottom: 1px solid var(--ed-line);
  overflow: hidden;
  transition: background .2s ease;
}

.ed-spare-cat-card:hover .ed-spare-cat-img {
  background: #fff0e9;
}

.ed-spare-cat-img img {
  max-height: 110px;
  max-width: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.ed-spare-cat-card:hover .ed-spare-cat-img img {
  transform: scale(1.08);
}

.ed-spare-cat-body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
}

.ed-spare-cat-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ed-ink);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-spare-cat-cta {
  font-size: 12px;
  font-weight: 700;
  color: var(--ed-primary);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: gap .15s ease;
}

.ed-spare-cat-card:hover .ed-spare-cat-cta {
  gap: 7px;
}

/* --- Feature cards (index why-section) --- */
.ed-spare-feature {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 28px 24px;
  height: 100%;
  transition: box-shadow .18s ease, transform .18s ease;
}

.ed-spare-feature:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-3px);
}

.ed-spare-feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 16px;
}

.ed-spare-feature h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 8px;
}

.ed-spare-feature p {
  font-size: 13.5px;
  color: var(--ed-ink-soft);
  line-height: 1.65;
  margin: 0;
}

/* --- Detail page — image panel --- */
.ed-spare-detail-img-panel {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

.ed-spare-detail-img-panel img {
  max-height: 260px;
  max-width: 100%;
  object-fit: contain;
}

/* --- Detail page — sidebar enquiry card --- */
.ed-spare-enquiry-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 20px;
  box-shadow: var(--ed-shadow-sm);
}

.ed-spare-enquiry-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.ed-spare-enquiry-head > i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Detail page — info panel --- */
.ed-spare-detail-panel {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 30px;
  box-shadow: var(--ed-shadow-sm);
}

.ed-spare-detail-head {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-spare-detail-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ed-ink);
  margin: 10px 0 0;
}

.ed-spare-detail-desc {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-spare-detail-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ed-ink);
  margin-bottom: 12px;
}

.ed-spare-detail-section-title i {
  color: var(--ed-primary);
}

.ed-spare-detail-desc-text {
  font-size: 14px;
  color: var(--ed-ink-soft);
  line-height: 1.75;
}

/* --- Highlight rows inside detail panel --- */
.ed-spare-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-spare-highlight-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--ed-bg-soft);
  border-radius: var(--ed-radius-sm);
  padding: 12px 16px;
}

.ed-spare-highlight-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ed-spare-highlight-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ed-ink);
}

.ed-spare-highlight-text {
  font-size: 12px;
  color: var(--ed-ink-soft);
  margin-top: 1px;
}

@media (max-width: 991.98px) {
  .ed-spare-enquiry-card {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .ed-spare-detail-panel {
    padding: 20px;
  }

  .ed-spare-detail-title {
    font-size: 21px;
  }
}

/* ==========================================================================
   Homepage — stats strip, service tiles, machine swiper, scheme swiper
   ========================================================================== */

/* --- Stats strip (floats below hero) --- */
.ed-home-stats-wrap {
  background: #fff;
  border-bottom: 1px solid var(--ed-line);
  box-shadow: 0 4px 24px rgba(20,23,28,.06);
}

.ed-home-stats-card {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 18px 0;
}

.ed-home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 40px;
}

.ed-home-stat-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--ed-primary);
  line-height: 1.1;
  letter-spacing: -.01em;
}

.ed-home-stat-label {
  font-size: 12px;
  color: var(--ed-ink-soft);
  margin-top: 3px;
  text-align: center;
}

.ed-home-stat-div {
  width: 1px;
  height: 40px;
  background: var(--ed-line);
  flex-shrink: 0;
}

@media (max-width: 575.98px) {
  .ed-home-stat { padding: 10px 18px; }
  .ed-home-stat-num { font-size: 20px; }
  .ed-home-stat-div { display: none; }
}

/* --- Service tiles --- */
.ed-home-service-tile {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 20px 16px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.ed-home-service-tile:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-4px);
  border-color: transparent;
}

.ed-home-service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
  flex-shrink: 0;
}

.ed-home-service-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ed-ink);
  text-decoration: none;
  margin-bottom: 5px;
  line-height: 1.2;
}

.ed-home-service-title:hover {
  color: var(--ed-primary);
}

.ed-home-service-text {
  font-size: 11.5px;
  color: var(--ed-ink-soft);
  line-height: 1.4;
  margin-bottom: 14px;
  flex: 1;
}

.ed-home-service-btn {
  width: 100%;
  background: var(--ed-ink);
  color: #fff;
  border: none;
  border-radius: var(--ed-radius-sm);
  padding: 8px 0;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s ease;
  margin-top: auto;
}

.ed-home-service-btn:hover {
  background: var(--ed-primary);
}

/* --- Machine Swiper --- */
.ed-machine-swiper {
  padding-bottom: 4px;
}

.ed-machine-swiper .swiper-slide {
  height: auto;
}

/* --- Scheme Swiper --- */
.ed-scheme-swiper {
  border-radius: var(--ed-radius);
  overflow: hidden;
  height: 320px;
}

.ed-scheme-swiper .swiper-slide {
  background: var(--ed-ink);
}

.ed-scheme-swiper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 767.98px) {
  .ed-scheme-swiper { height: 220px; }
}

/* ==========================================================================
   Split hero — text column + real <img> column with a gradient seam.
   Shared by any page hero that pairs copy with a promotional graphic
   (Loan & Lease, Insurance, ...). Page-specific text/CTAs live in the
   markup; this only styles the shared layout shell.
   ========================================================================== */
.ed-split-hero {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 460px;
  background-color: #0f172a;
  overflow: hidden;
}

.ed-split-hero-text {
  position: relative;
  z-index: 2;
  flex: 1 1 0;
  display: flex;
  align-items: center;
  padding: 64px 20px 64px max(20px, calc((100vw - 1280px) / 2 + 20px));
}

.ed-split-hero-content {
  color: #fff;
  max-width: 560px;
}

.ed-split-hero-content h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin: 12px 0 14px;
  letter-spacing: -.01em;
}

.ed-split-hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  max-width: 460px;
  line-height: 1.65;
}

/* Image column — a real <img>, not a background, so it's never cropped. */
.ed-split-hero-image {
  position: relative;
  flex: 0 0 44%;
  min-height: 0;
  background-color: #0f172a;
  overflow: hidden;
}

.ed-split-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* The gradient seam between the two sections, layered on top of the image. */
.ed-split-hero-image::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 140px;
  z-index: 1;
  background: linear-gradient(90deg, #0f172a 0%, rgba(15,23,42,0) 100%);
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .ed-split-hero-text { padding: 40px 20px; }
  .ed-split-hero-content { max-width: 100%; }
  .ed-split-hero-content h1 { font-size: 26px; }
}
/* --- Benefits strip --- */
.ed-ll-benefits-wrap {
  background: #fff;
  border-bottom: 1px solid var(--ed-line);
  box-shadow: 0 4px 20px rgba(20,23,28,.06);
}

.ed-ll-benefits-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
}

.ed-ll-benefit {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 32px;
}

.ed-ll-benefit-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ed-ll-benefit-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 2px;
}

.ed-ll-benefit-text {
  font-size: 12px;
  color: var(--ed-ink-soft);
}

.ed-ll-benefit-div {
  width: 1px;
  height: 42px;
  background: var(--ed-line);
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  .ed-ll-benefit { padding: 10px 16px; }
  .ed-ll-benefit-div { display: none; }
}

/* --- Tabs --- */
.ed-ll-tabs-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.ed-ll-tabs {
  display: inline-flex;
  background: var(--ed-bg-soft);
  border: 1px solid var(--ed-line);
  border-radius: 999px;
  padding: 5px;
  gap: 4px;
}

.ed-ll-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  border-radius: 999px;
  border: none;
  background: transparent;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ed-ink-soft);
  cursor: pointer;
  transition: all .18s ease;
  white-space: nowrap;
}

.ed-ll-tab:hover {
  color: var(--ed-ink);
  background: rgba(240,83,18,.06);
}

.ed-ll-tab-active {
  background: var(--ed-primary) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(240,83,18,.3);
}

/* --- Loan / Lease Cards --- */
.ed-ll-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.ed-ll-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-4px);
  border-color: rgba(240,83,18,.2);
}

.ed-ll-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-ll-card-logo {
  width: 64px;
  height: 64px;
  border-radius: var(--ed-radius-sm);
  background: var(--ed-bg-soft);
  border: 1px solid var(--ed-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

.ed-ll-card-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ed-ll-card-meta { flex: 1; min-width: 0; }

.ed-ll-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.ed-ll-roi-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid rgba(240,83,18,.2);
}

.ed-ll-roi-badge--lease {
  background: rgba(99,102,241,.1);
  color: #6366f1;
  border-color: rgba(99,102,241,.2);
}

.ed-ll-card-desc {
  font-size: 13px;
  color: var(--ed-ink-soft);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.ed-ll-card-features {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.ed-ll-card-features span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ed-ink-soft);
}

.ed-ll-card-features span i {
  color: #10b981;
  font-size: 12px;
  flex-shrink: 0;
}

/* --- General Enquiry Section --- */
.ed-ll-enquiry-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.ed-ll-enquiry-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ed-ll-enquiry-point {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius-sm);
  padding: 14px 16px;
}

.ed-ll-ep-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ed-ll-ep-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 2px;
}

.ed-ll-ep-text {
  font-size: 12px;
  color: var(--ed-ink-soft);
}

.ed-ll-enquiry-form-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 32px;
  box-shadow: var(--ed-shadow-sm);
}

.ed-ll-form-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-ll-form-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ed-ll-enquiry-form-card .form-select,
.ed-ll-enquiry-form-card .form-control {
  border-radius: var(--ed-radius-sm);
  border: 1.5px solid var(--ed-line);
  padding: 11px 14px;
  font-size: 14px;
}

.ed-ll-enquiry-form-card .form-select:focus,
.ed-ll-enquiry-form-card .form-control:focus {
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 3px rgba(240,83,18,.12);
}

@media (max-width: 991.98px) {
  .ed-ll-enquiry-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 575.98px) {
  .ed-ll-enquiry-form-card { padding: 20px; }
}

/* --- How It Works steps --- */
.ed-ll-step {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 28px 22px;
  text-align: center;
  height: 100%;
  position: relative;
  transition: box-shadow .18s ease, transform .18s ease;
}

.ed-ll-step:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-3px);
}

.ed-ll-step-num {
  font-size: 42px;
  font-weight: 900;
  color: rgba(240,83,18,.08);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -.03em;
}

.ed-ll-step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 14px;
}

.ed-ll-step h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 8px;
}

.ed-ll-step p {
  font-size: 13px;
  color: var(--ed-ink-soft);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   Page hero shared (news, projects, insurance)
   ========================================================================== */

.ed-page-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0f172a 0%, #1B1F23 55%, #1a2332 100%);
  overflow: hidden;
  padding: 52px 0 68px;
  text-align: center;
}

.ed-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 60%, rgba(240,83,18,.14) 0%, transparent 50%),
    radial-gradient(circle at 80% 30%, rgba(99,102,241,.09) 0%, transparent 45%);
}

.ed-page-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px;
}

.ed-page-hero-content h1 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin: 10px 0 12px;
  letter-spacing: -.01em;
}

.ed-page-hero-content p {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

.ed-hero-eyebrow {
  display: inline-block;
  background: rgba(240,83,18,.18);
  color: #ffa07a;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(240,83,18,.28);
}

.ed-news-hero::before {
  background-image:
    radial-gradient(circle at 25% 55%, rgba(240,83,18,.15) 0%, transparent 50%),
    radial-gradient(circle at 75% 25%, rgba(16,185,129,.08) 0%, transparent 45%);
}

.ed-proj-hero::before {
  background-image:
    radial-gradient(circle at 15% 65%, rgba(240,83,18,.16) 0%, transparent 50%),
    radial-gradient(circle at 85% 35%, rgba(245,158,11,.08) 0%, transparent 45%);
}

.ed-empty-state {
  text-align: center;
  padding: 48px 24px;
  background: var(--ed-bg-soft);
  border-radius: var(--ed-radius);
  border: 1px dashed var(--ed-line);
  color: var(--ed-ink-soft);
  font-size: 14px;
}

@media (max-width: 767.98px) {
  .ed-page-hero { padding: 38px 0 58px; min-height: 220px; }
  .ed-page-hero-content h1 { font-size: 24px; }
}

/* ==========================================================================
   News page
   ========================================================================== */

.ed-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ed-ink);
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.ed-news-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-4px);
  border-color: rgba(240,83,18,.22);
  color: var(--ed-ink);
  text-decoration: none;
}

.ed-news-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.ed-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.ed-news-card:hover .ed-news-card-img img {
  transform: scale(1.04);
}

.ed-news-card-date {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(15,23,42,.72);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
}

.ed-news-card-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-news-card-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ed-ink);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-news-card-excerpt {
  font-size: 13px;
  color: var(--ed-ink-soft);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 14px;
}

.ed-news-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ed-primary);
  margin-top: auto;
}

.ed-news-card-cta i { transition: transform .18s ease; font-size: 11px; }
.ed-news-card:hover .ed-news-card-cta i { transform: translateX(4px); }

/* News detail article */
.ed-article {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
}

.ed-article-cover { width: 100%; max-height: 440px; overflow: hidden; }

.ed-article-cover img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.ed-article-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 18px 28px 0;
}

.ed-article-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.ed-article-date,
.ed-article-time {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ed-ink-soft);
}

.ed-article-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--ed-ink);
  line-height: 1.3;
  padding: 14px 28px 0;
  margin: 0;
}

.ed-article-body {
  padding: 18px 28px 24px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #2d3748;
}

.ed-article-body p { margin-bottom: 16px; }
.ed-article-body h2, .ed-article-body h3 { font-weight: 700; margin: 24px 0 10px; color: var(--ed-ink); }
.ed-article-body ul, .ed-article-body ol { padding-left: 20px; margin-bottom: 16px; }
.ed-article-body img { max-width: 100%; border-radius: var(--ed-radius-sm); }

.ed-article-footer {
  padding: 16px 28px 24px;
  border-top: 1px solid var(--ed-line);
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 575.98px) {
  .ed-article-cover img { height: 220px; }
  .ed-article-title { font-size: 20px; padding: 12px 16px 0; }
  .ed-article-meta { padding: 14px 16px 0; }
  .ed-article-body { padding: 14px 16px 18px; font-size: 14.5px; }
  .ed-article-footer { padding: 14px 16px 18px; }
}

/* ==========================================================================
   Projects page
   ========================================================================== */

.ed-proj-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}

.ed-proj-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-4px);
  border-color: rgba(240,83,18,.2);
}

.ed-proj-card-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: var(--ed-bg-soft);
  border: 1px solid var(--ed-line);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.ed-proj-card-icon-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ed-proj-card-body { flex: 1; }

.ed-proj-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 10px;
  line-height: 1.35;
}

.ed-proj-card-text {
  font-size: 13.5px;
  color: var(--ed-ink-soft);
  line-height: 1.65;
  margin-bottom: 18px;
}

/* Projects show/detail */
.ed-proj-detail-img {
  border-radius: var(--ed-radius);
  overflow: hidden;
  border: 1px solid var(--ed-line);
  background: var(--ed-bg-soft);
}

.ed-proj-detail-img img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.ed-proj-detail-panel {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 28px;
}

.ed-proj-detail-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ed-primary);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}

.ed-proj-detail-desc {
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--ed-ink-soft);
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-proj-detail-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.ed-prop-detail-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1B1F23 100%);
  padding: 32px 0;
}

.ed-prop-detail-hero-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.ed-prop-detail-hero-info { flex: 1; min-width: 0; }

.ed-prop-detail-title {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 10px 0 0;
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .ed-prop-detail-title { font-size: 22px; }
  .ed-proj-detail-panel { padding: 18px; }
}

/* ==========================================================================
   Insurance page
   ========================================================================== */

.ed-ins-type-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ed-ins-type-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1.5px solid var(--ed-line);
  border-radius: var(--ed-radius-sm);
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ed-ink-soft);
  min-width: 90px;
  text-align: center;
}

.ed-ins-type-tab:hover {
  border-color: rgba(240,83,18,.3);
  background: rgba(240,83,18,.04);
  color: var(--ed-ink);
}

.ed-ins-type-tab-active {
  border-color: var(--ed-primary) !important;
  background: rgba(240,83,18,.06) !important;
  color: var(--ed-primary) !important;
  box-shadow: 0 0 0 3px rgba(240,83,18,.12);
}

.ed-ins-type-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--ed-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ed-ins-type-img img {
  max-width: 36px;
  max-height: 36px;
  object-fit: contain;
}

.ed-ins-plan-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 140px 1fr auto;
  grid-template-rows: auto auto;
  gap: 8px 20px;
  align-items: center;
  transition: box-shadow .18s ease, border-color .18s ease;
}

.ed-ins-plan-card:hover {
  box-shadow: var(--ed-shadow-sm);
  border-color: rgba(240,83,18,.2);
}

.ed-ins-plan-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  grid-row: span 2;
}

.ed-ins-plan-logo img {
  max-width: 110px;
  max-height: 52px;
  object-fit: contain;
}

.ed-ins-plan-company {
  font-size: 12px;
  font-weight: 600;
  color: var(--ed-ink-soft);
}

.ed-ins-plan-stats {
  display: flex;
  align-items: center;
}

.ed-ins-plan-stat {
  text-align: center;
  padding: 0 18px;
}

.ed-ins-plan-stat:first-child { padding-left: 0; }

.ed-ins-plan-stat-label {
  font-size: 11.5px;
  color: var(--ed-ink-soft);
  margin-bottom: 3px;
}

.ed-ins-plan-stat-val {
  font-size: 18px;
  font-weight: 800;
  color: var(--ed-ink);
}

.ed-ins-plan-stat-div {
  width: 1px;
  height: 36px;
  background: var(--ed-line);
  flex-shrink: 0;
}

.ed-ins-plan-desc {
  font-size: 13px;
  color: var(--ed-ink-soft);
  line-height: 1.55;
  margin: 0;
  grid-column: 2;
}

.ed-ins-plan-btn {
  grid-column: 3;
  grid-row: span 2;
  white-space: nowrap;
  align-self: center;
}

@media (max-width: 767.98px) {
  .ed-ins-plan-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 12px;
  }
  .ed-ins-plan-logo { flex-direction: row; align-items: center; grid-row: auto; }
  .ed-ins-plan-btn { grid-column: 1; grid-row: auto; width: 100%; justify-content: center; }
  .ed-ins-plan-desc { grid-column: 1; }
}

.ed-ins-form-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 28px;
  box-shadow: var(--ed-shadow-sm);
  position: sticky;
  top: 20px;
}

.ed-ins-form-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-ins-form-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: rgba(240,83,18,.1);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ed-ins-form-card .form-control,
.ed-ins-form-card .form-select {
  border-radius: var(--ed-radius-sm);
  border: 1.5px solid var(--ed-line);
  padding: 10px 13px;
  font-size: 13.5px;
}

.ed-ins-form-card .form-control:focus,
.ed-ins-form-card .form-select:focus {
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 3px rgba(240,83,18,.12);
}

@media (max-width: 575.98px) {
  .ed-ins-form-card { padding: 18px; }
}

/* ==========================================================================
   Global Search — panel + results page
   ========================================================================== */

/* ── Search panel body ── */
.ed-search-body { background: var(--ed-bg-soft); }

/* Spinner inside input */
.ed-search-spinner {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid var(--ed-line);
  border-top-color: var(--ed-primary);
  border-radius: 50%;
  animation: ed-spin .6s linear infinite;
}

@keyframes ed-spin { to { transform: translateY(-50%) rotate(360deg); } }

/* Clear button */
.ed-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  background: var(--ed-line);
  border-radius: 50%;
  color: var(--ed-ink-soft);
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease;
}

.ed-search-clear:hover { background: var(--ed-primary); color: #fff; }

/* Default suggestions layout */
.ed-search-default-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 4px 0;
}

@media (max-width: 767.98px) {
  .ed-search-default-row { grid-template-columns: 1fr; }
}

.ed-search-section {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 16px;
}

.ed-search-section-head {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--ed-ink-soft);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ed-search-section-head i { color: var(--ed-primary); }

/* Popular search chips */
.ed-search-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ed-sp-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ed-line);
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--ed-ink);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.ed-sp-chip:hover {
  border-color: var(--ed-primary);
  color: var(--ed-primary);
  background: rgba(240,83,18,.05);
}

/* Category browse grid */
.ed-search-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
}

.ed-search-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  border-radius: var(--ed-radius-sm);
  border: 1px solid var(--ed-line);
  text-decoration: none;
  color: var(--ed-ink);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.ed-search-cat:hover {
  border-color: rgba(240,83,18,.25);
  box-shadow: 0 2px 12px rgba(240,83,18,.08);
  color: var(--ed-ink);
}

.ed-search-cat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}

/* Skeleton loader */
.ed-search-skeleton-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--ed-line);
}

.ed-skel-img {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(90deg, #e7eaee 25%, #f0f1f3 50%, #e7eaee 75%);
  background-size: 200% 100%;
  animation: ed-shimmer 1.2s infinite;
  flex-shrink: 0;
}

.ed-skel-body { flex: 1; }

.ed-skel-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, #e7eaee 25%, #f0f1f3 50%, #e7eaee 75%);
  background-size: 200% 100%;
  animation: ed-shimmer 1.2s infinite;
  margin-bottom: 8px;
}

.ed-skel-line-lg { width: 65%; }
.ed-skel-line-sm { width: 40%; height: 9px; }

@keyframes ed-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Live search result items */
.ed-lsr-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--ed-radius-sm);
  text-decoration: none;
  color: var(--ed-ink);
  transition: background .13s ease;
  margin-bottom: 2px;
}

.ed-lsr-item:hover { background: #fff; color: var(--ed-ink); }

.ed-lsr-thumb {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ed-line);
  background: var(--ed-bg-soft);
  flex-shrink: 0;
}

.ed-lsr-thumb img { width: 100%; height: 100%; object-fit: cover; }

.ed-lsr-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ed-ink-soft);
  font-size: 18px;
}

.ed-lsr-body { flex: 1; min-width: 0; }

.ed-lsr-top { margin-bottom: 4px; }

.ed-lsr-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ed-lsr-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--ed-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.35;
}

.ed-lsr-sub {
  font-size: 12px;
  color: var(--ed-ink-soft);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ed-lsr-arrow {
  font-size: 11px;
  color: var(--ed-ink-soft);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .13s ease, transform .13s ease;
}

.ed-lsr-item:hover .ed-lsr-arrow {
  opacity: 1;
  transform: translateX(2px);
}

/* No results */
.ed-search-no-results {
  text-align: center;
  padding: 32px 16px;
  color: var(--ed-ink-soft);
  font-size: 14px;
}

.ed-search-no-results i {
  font-size: 28px;
  color: var(--ed-line);
  display: block;
  margin-bottom: 10px;
}

/* View all button */
.ed-search-view-all {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  margin-top: 6px;
  border-radius: var(--ed-radius-sm);
  background: rgba(240,83,18,.06);
  border: 1.5px dashed rgba(240,83,18,.25);
  color: var(--ed-primary);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: background .15s ease;
}

.ed-search-view-all:hover { background: rgba(240,83,18,.11); color: var(--ed-primary); }

#edSearchViewAllCount {
  font-size: 12px;
  font-weight: 500;
  color: var(--ed-ink-soft);
}

/* Search highlight mark */
.ed-search-mark {
  background: rgba(240,83,18,.18);
  color: var(--ed-primary);
  padding: 0 2px;
  border-radius: 3px;
  font-style: normal;
}

/* ── FAQ Section ── */
.ed-faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.ed-faq-head {
  text-align: center;
  margin-bottom: 36px;
      padding-top: 23px;

}

.ed-faq-subtitle {
  font-size: 15px;
  color: var(--ed-ink-soft);
  margin-top: 6px;
  margin-bottom: 0;
}

.ed-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ed-faq-item {
  background: #fff;
  border: 1.5px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.ed-faq-item.ed-faq-open {
  border-color: rgba(240,83,18,.3);
  box-shadow: 0 4px 20px rgba(240,83,18,.07);
}

.ed-faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ed-ink);
  cursor: pointer;
  transition: color .15s ease;
}

.ed-faq-q:hover { color: var(--ed-primary); }

.ed-faq-item.ed-faq-open .ed-faq-q { color: var(--ed-primary); }

.ed-faq-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--ed-bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--ed-ink-soft);
  flex-shrink: 0;
  transition: background .18s ease, color .18s ease, transform .25s ease;
}

.ed-faq-item.ed-faq-open .ed-faq-icon {
  background: var(--ed-primary);
  color: #fff;
  transform: rotate(45deg);
}

.ed-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .25s ease;
  padding: 0 22px;
}

.ed-faq-a p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--ed-ink-soft);
  line-height: 1.75;
}

/* ── Search Results Page ── */
.ed-search-page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1B1F23 100%);
  padding: 36px 0 48px;
}

.ed-search-page-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ed-search-page-title h1 {
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  margin: 8px 0 0;
  line-height: 1.3;
}

.ed-search-page-q {
  color: var(--ed-primary);
}

.ed-search-page-form {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.ed-search-page-input-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
}

.ed-search-page-input-wrap i.fa-search {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ed-ink-soft);
  font-size: 15px;
}

.ed-search-page-input-wrap input {
  width: 100%;
  padding: 14px 42px 14px 46px;
  border-radius: var(--ed-radius);
  border: 1.5px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 15px;
  transition: border-color .15s ease, background .15s ease;
}

.ed-search-page-input-wrap input::placeholder { color: rgba(255,255,255,.4); }

.ed-search-page-input-wrap input:focus {
  outline: none;
  border-color: var(--ed-primary);
  background: rgba(255,255,255,.09);
}

.ed-search-page-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: 10px;
  text-decoration: none;
  transition: background .15s ease;
}

.ed-search-page-clear:hover { background: var(--ed-primary); color: #fff; }

/* Filter tabs */
.ed-search-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.ed-search-ftab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--ed-line);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ed-ink-soft);
  cursor: pointer;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.ed-search-ftab:hover { border-color: var(--ed-primary); color: var(--ed-primary); }

.ed-search-ftab-active {
  background: var(--ed-primary) !important;
  border-color: var(--ed-primary) !important;
  color: #fff !important;
}

.ed-search-ftab-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(0,0,0,.08);
  font-size: 11px;
  font-weight: 700;
}

.ed-search-ftab-active .ed-search-ftab-count {
  background: rgba(255,255,255,.22);
}

/* Results grid */
.ed-search-results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1199.98px) { .ed-search-results-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767.98px)  { .ed-search-results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 479.98px)  { .ed-search-results-grid { grid-template-columns: 1fr; } }

.ed-sr-card {
  background: #fff;
  border: 1px solid var(--ed-line);
  border-radius: var(--ed-radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ed-ink);
  display: flex;
  flex-direction: column;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.ed-sr-card:hover {
  box-shadow: var(--ed-shadow);
  transform: translateY(-3px);
  border-color: rgba(240,83,18,.2);
  color: var(--ed-ink);
  text-decoration: none;
}

.ed-sr-card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
  background: var(--ed-bg-soft);
  flex-shrink: 0;
}

.ed-sr-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}

.ed-sr-card:hover .ed-sr-card-img img { transform: scale(1.04); }

.ed-sr-card-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--ed-line);
}

.ed-sr-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid;
  text-transform: uppercase;
  letter-spacing: .04em;
  backdrop-filter: blur(4px);
}

.ed-sr-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ed-sr-card-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--ed-ink);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ed-sr-card-sub {
  font-size: 12.5px;
  color: var(--ed-ink-soft);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ed-sr-card-sub i { font-size: 11px; flex-shrink: 0; }

.ed-sr-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ed-primary);
  margin-top: auto;
}

.ed-sr-card-cta i { font-size: 10px; transition: transform .15s ease; }
.ed-sr-card:hover .ed-sr-card-cta i { transform: translateX(3px); }

/* Landing / empty states */
.ed-search-landing,
.ed-search-empty-page {
  text-align: center;
  padding: 48px 24px;
}

.ed-search-landing-icon,
.ed-search-empty-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: rgba(240,83,18,.08);
  color: var(--ed-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.ed-search-landing h3,
.ed-search-empty-page h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ed-ink);
  margin-bottom: 8px;
}

.ed-search-landing p,
.ed-search-empty-page p {
  font-size: 14px;
  color: var(--ed-ink-soft);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

.ed-search-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 20px;
}

.ed-search-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--ed-line);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ed-ink);
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}

.ed-search-chip:hover { border-color: var(--ed-primary); color: var(--ed-primary); }
.ed-search-chip i { font-size: 12px; color: var(--ed-primary); }

/* ==========================================================================
   Sell / List Equipment Page
   ========================================================================== */

/* Hero */
.ed-sell-hero::before { background: linear-gradient(135deg, rgba(240,83,18,.75) 0%, rgba(15,23,42,.88) 100%); }

/* Card sections */
.ed-sell-card {
  background: #fff;
  border: 1.5px solid var(--ed-line);
  border-radius: var(--ed-radius);
  padding: 24px 28px;
  margin-bottom: 16px;
}

.ed-sell-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--ed-line);
}

.ed-sell-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.ed-sell-card-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--ed-ink);
  margin: 0 0 2px;
}

.ed-sell-card-sub {
  font-size: 13px;
  color: var(--ed-ink-soft);
  margin: 0;
}

/* Form controls */
.ed-sell-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ed-ink);
  margin-bottom: 6px;
}

.ed-sell-input,
.ed-sell-select {
  border: 1.5px solid var(--ed-line);
  border-radius: var(--ed-radius-sm);
  font-size: 14px;
  color: var(--ed-ink);
  padding: 10px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.ed-sell-input:focus,
.ed-sell-select:focus {
  border-color: var(--ed-primary);
  box-shadow: 0 0 0 3px rgba(240,83,18,.1);
  outline: none;
}

/* Purpose toggle */
.ed-purpose-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

@media (max-width: 575.98px) { .ed-purpose-toggle { grid-template-columns: 1fr; } }

.ed-purpose-option { cursor: pointer; display: block; }

.ed-purpose-box {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 2px solid var(--ed-line);
  border-radius: var(--ed-radius);
  background: var(--ed-bg-soft);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
  position: relative;
}

.ed-purpose-box:hover { border-color: rgba(240,83,18,.35); }

.ed-purpose-box-active {
  border-color: var(--ed-primary) !important;
  background: rgba(240,83,18,.04) !important;
  box-shadow: 0 0 0 3px rgba(240,83,18,.1);
}

.ed-purpose-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ed-purpose-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ed-purpose-text strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--ed-ink);
}

.ed-purpose-text span {
  font-size: 12.5px;
  color: var(--ed-ink-soft);
}

.ed-purpose-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ed-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: #fff;
  flex-shrink: 0;
  transition: background .15s ease, border-color .15s ease;
}

.ed-purpose-box-active .ed-purpose-check {
  background: var(--ed-primary);
  border-color: var(--ed-primary);
}

/* Price row */
.ed-sell-price-type-hint {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ed-ink-soft);
  margin-left: 4px;
}

.ed-sell-price-wrap {
  position: relative;
}

.ed-sell-price-prefix {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  font-weight: 700;
  color: var(--ed-ink-soft);
  pointer-events: none;
}

.ed-sell-price-input { padding-left: 30px !important; }

/* Hint text */
.ed-sell-hint {
  margin-top: 10px;
  padding: 10px 14px;
  background: rgba(240,83,18,.05);
  border-left: 3px solid var(--ed-primary);
  border-radius: 0 var(--ed-radius-sm) var(--ed-radius-sm) 0;
  font-size: 13px;
  color: var(--ed-ink-soft);
  line-height: 1.5;
}

.ed-sell-hint i { color: var(--ed-primary); margin-right: 5px; }

/* File upload zones */
.ed-sell-file-zone {
  border: 2px dashed var(--ed-line);
  border-radius: var(--ed-radius);
  background: var(--ed-bg-soft);
  min-height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color .15s ease, background .15s ease;
}

.ed-sell-file-zone:hover {
  border-color: var(--ed-primary);
  background: rgba(240,83,18,.03);
}

.ed-sell-file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.ed-sell-file-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 20px;
  pointer-events: none;
}

.ed-sell-file-body i {
  font-size: 28px;
  color: var(--ed-primary);
  margin-bottom: 4px;
}

.ed-sell-file-body span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ed-ink);
}

.ed-sell-file-body small {
  font-size: 11.5px;
  color: var(--ed-ink-soft);
}

.ed-sell-file-preview {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: calc(var(--ed-radius) - 2px);
}

.ed-sell-file-zone-multi { min-height: 140px; align-items: flex-start; padding: 10px; }

.ed-sell-multi-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  pointer-events: none;
}

.ed-sell-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid var(--ed-line);
}

/* Submit row */
.ed-sell-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 20px 0 4px;
}

.ed-sell-submit-note {
  font-size: 13px;
  color: var(--ed-ink-soft);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 7px;
}

.ed-sell-submit-note i { color: var(--ed-primary); }

@media (max-width: 575.98px) {
  .ed-sell-card { padding: 18px 16px; }
  .ed-sell-submit-row { flex-direction: column; align-items: stretch; }
  .ed-sell-submit-row .ed-btn { width: 100%; justify-content: center; }
}

/* ==========================================================================
   Property Page Additions
   ========================================================================== */

/* Sell-property hero variant */
.ed-sell-prop-hero::before {
  background: linear-gradient(135deg, rgba(99,102,241,.78) 0%, rgba(15,23,42,.90) 100%);
}

/* Listing type badge on property cards */
.ed-prop-card-listing-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* 4-column listing type toggle on sell-property */
.ed-prop-lt-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

@media (max-width: 767.98px) {
  .ed-prop-lt-grid { grid-template-columns: 1fr 1fr !important; }
}

@media (max-width: 479.98px) {
  .ed-prop-lt-grid { grid-template-columns: 1fr !important; }
}

/* Active state for purpose check (complement to JS-toggled box class) */
.ed-purpose-check-active {
  background: var(--ed-primary) !important;
  border-color: var(--ed-primary) !important;
}
