/* ==========================================================================
   Dev Engineering — Heavy Machinery Import & Rental Portal Stylesheet
   Design Inspiration: SANY Global Heavy Industry Portal
   Support Hotline & WhatsApp: 0300 3500056
   ========================================================================== */

:root {
  --primary-red: #d91424;
  --primary-red-hover: #b80d1b;
  --primary-dark: #111827;
  --secondary-dark: #1f2937;
  --steel-gray: #4b5563;
  --light-gray-bg: #f5f6f8;
  --border-color: #e5e7eb;
  --border-dark: #d1d5db;
  --card-bg: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --accent-orange: #f97316;
  --rent-green: #059669;
  --rent-green-light: #ecfdf5;
  --import-blue: #0284c7;
  --import-blue-light: #f0f9ff;
  --whatsapp-green: #25d366;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.14);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.22s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--light-gray-bg);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------------- Top Utility Bar ---------------- */
.top-notice-bar {
  background-color: #0d121c;
  color: #d1d5db;
  font-size: 12.5px;
  padding: 6px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge-official {
  background: var(--primary-red);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 2px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.top-notice-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e5e7eb;
  font-weight: 600;
  transition: var(--transition);
}

.top-contact-link:hover {
  color: #ffffff;
}

/* ---------------- Main Header Navbar ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  height: 72px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-emblem {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #d91424, #9a0c18);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 20, 36, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #111827;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand-title span {
  color: var(--primary-red);
}

.brand-subtitle {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

/* Navigation Menu */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: 28px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-main);
  padding: 24px 0;
  position: relative;
  transition: var(--transition);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-red);
}

/* Import & Rental nav button pill styles */
.nav-link-import,
.nav-link-rental {
  padding: 7px 14px !important;
  border-radius: 20px;
  font-size: 13.5px !important;
  font-weight: 600 !important;
}

.nav-link-import {
  background: var(--import-blue-light);
  color: var(--import-blue) !important;
  border: 1.5px solid #bae6fd;
}

.nav-link-import:hover {
  background: var(--import-blue) !important;
  color: #fff !important;
  border-color: var(--import-blue);
}

.nav-link-import.active::after,
.nav-link-rental.active::after {
  display: none;
}

.nav-link-import.active,
.nav-link-import:hover {
  color: var(--import-blue) !important;
}

.nav-link-rental {
  background: var(--rent-green-light);
  color: var(--rent-green) !important;
  border: 1.5px solid #a7f3d0;
}

.nav-link-rental:hover {
  background: var(--rent-green) !important;
  color: #fff !important;
  border-color: var(--rent-green);
}

.nav-link-import.active {
  background: var(--import-blue) !important;
  color: #fff !important;
  border-color: var(--import-blue);
}

.nav-link-rental.active {
  background: var(--rent-green) !important;
  color: #fff !important;
  border-color: var(--rent-green);
}

/* YouTube-Style Autocomplete Search Container */
.search-input-wrapper {
  position: relative;
  width: 290px;
}

.search-input-box {
  width: 100%;
  padding: 8px 12px 8px 34px;
  font-size: 13.5px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  outline: none;
  background: #ffffff;
  transition: var(--transition);
}

.search-input-box:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(217, 20, 36, 0.1);
}

.search-icon-inside {
  position: absolute;
  left: 10px;
  top: 9px;
  pointer-events: none;
  color: #6b7280;
}

/* YouTube-Style Dropdown Results */
.search-suggestions-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  max-height: 380px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
}

.search-suggestions-dropdown.show {
  display: block;
}

.suggestion-header {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  padding: 8px 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.suggestion-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s ease;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.highlighted {
  background-color: #f1f5f9;
}

.suggestion-thumb {
  width: 46px;
  height: 38px;
  border-radius: 3px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e2e8f0;
}

.suggestion-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.suggestion-name {
  font-size: 13px;
  font-weight: 600;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.suggestion-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 2px;
  text-transform: uppercase;
}

.tag-import {
  background: var(--import-blue-light);
  color: var(--import-blue);
  border: 1px solid #bae6fd;
}

.tag-rent {
  background: var(--rent-green-light);
  color: var(--rent-green);
  border: 1px solid #a7f3d0;
}

.tag-both {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.suggestion-spec {
  font-size: 11.5px;
  color: #64748b;
}

.suggestion-empty {
  padding: 18px 14px;
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* Header Action Tools */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-header-wa:hover {
  background: #d1fae5;
  border-color: #6ee7b7;
}

.btn-inquiry-primary {
  background-color: var(--primary-red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  box-shadow: 0 2px 6px rgba(217, 20, 36, 0.3);
}

.btn-inquiry-primary:hover {
  background-color: var(--primary-red-hover);
}

.mobile-menu-toggle {
  display: none;
  padding: 8px;
  font-size: 22px;
  color: var(--text-main);
}

/* ---------------- Hero Section ---------------- */
.hero-showcase {
  position: relative;
  background: linear-gradient(to right, rgba(10, 15, 25, 0.94) 0%, rgba(15, 23, 42, 0.85) 50%, rgba(15, 23, 42, 0.45) 100%),
              url('https://images.unsplash.com/photo-1541888946425-d0fbb186c5f8?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat;
  color: #ffffff;
  padding: 60px 24px 75px;
  min-height: 440px;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  max-width: 800px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(217, 20, 36, 0.25);
  border: 1px solid rgba(217, 20, 36, 0.5);
  color: #ff858d;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title span {
  color: var(--primary-red);
}

.hero-desc {
  font-size: 16.5px;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 26px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-hero-quote {
  background: var(--primary-red);
  color: #ffffff;
  padding: 12px 26px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 3px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(217, 20, 36, 0.45);
}

.btn-hero-quote:hover {
  background: var(--primary-red-hover);
  transform: translateY(-1px);
}

.btn-hero-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 3px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-hero-wa:hover {
  background: #1eb956;
  transform: translateY(-1px);
}

.btn-hero-call {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 12px 20px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.08);
}

.btn-hero-call:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------------- SANY "Help Me Choose" Strip ---------------- */
.help-choose-strip {
  background-color: #fff1f2;
  border-bottom: 1px solid #ffe4e6;
  padding: 12px 24px;
  text-align: center;
}

.help-choose-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #be123c;
  font-weight: 600;
  transition: var(--transition);
}

.help-choose-link span {
  color: var(--primary-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------- Service Switcher Tabs Bar (Import vs Rent) ---------------- */
.service-mode-bar {
  background: #ffffff;
  border-bottom: 2px solid #e5e7eb;
  padding: 12px 24px;
}

.service-mode-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.service-switcher-pills {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 6px;
  gap: 4px;
}

.service-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  border-radius: 4px;
  transition: var(--transition);
}

.service-tab-btn:hover {
  color: #111827;
}

.service-tab-btn.active-all {
  background: #ffffff;
  color: #111827;
  box-shadow: var(--shadow-sm);
}

.service-tab-btn.active-import {
  background: var(--primary-red);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 20, 36, 0.3);
}

.service-tab-btn.active-rent {
  background: var(--rent-green);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.3);
}

.service-quick-hint {
  font-size: 13px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ---------------- Horizontal Category Icons Strip ---------------- */
.category-nav-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 14px 24px 0;
  position: sticky;
  top: 72px;
  z-index: 850;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.category-nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow-x: auto;
  gap: 8px;
  scrollbar-width: thin;
  padding-bottom: 2px;
}

.cat-tab-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 18px 12px;
  color: var(--text-main);
  font-size: 13.5px;
  font-weight: 500;
  white-space: nowrap;
  position: relative;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
}

.cat-tab-btn svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.cat-tab-btn:hover {
  color: var(--primary-red);
}

.cat-tab-btn.active {
  color: var(--primary-red);
  font-weight: 700;
  border-bottom: 3px solid var(--primary-red);
}

/* ---------------- Main Catalog Section (Screenshot 2 Match) ---------------- */
.catalog-section {
  max-width: 1440px;
  margin: 28px auto 60px;
  padding: 0 24px;
}

.catalog-header-blurb {
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.catalog-header-blurb h2 {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.catalog-header-blurb p {
  font-size: 14px;
  color: var(--text-muted);
}

.catalog-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
  align-items: start;
}

/* ---------------- Filter Sidebar ---------------- */
.filter-sidebar {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 22px 20px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 160px;
}

.filter-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 18px;
}

.filter-head-row h3 {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.btn-reset-filter {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.btn-reset-filter:hover {
  color: var(--primary-red);
}

.filter-group {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f1f5f9;
}

.filter-group:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.filter-group-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  color: #374151;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
}

.custom-checkbox-label:hover {
  color: var(--primary-red);
}

.custom-checkbox-label input[type="checkbox"],
.custom-checkbox-label input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-red);
  cursor: pointer;
}

.custom-select {
  width: 100%;
  padding: 8px 12px;
  font-size: 13.5px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  background-color: #ffffff;
  color: var(--text-main);
  outline: none;
}

/* ---------------- Machinery Series Cards (Screenshot 2 Match) ---------------- */
.catalog-content-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.machinery-series-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.machinery-series-card:hover {
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.machinery-series-card.highlight-card {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(217, 20, 36, 0.25);
}

.card-top-header {
  padding: 18px 24px 12px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-title-link {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.card-title-link:hover {
  color: var(--primary-red);
}

.card-title-link span.arrow {
  color: var(--primary-red);
  font-size: 18px;
  transition: transform 0.2s;
}

.card-title-link:hover span.arrow {
  transform: translateX(4px);
}

.card-header-badges {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-service-pill {
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.badge-import-tag {
  background: var(--import-blue-light);
  color: var(--import-blue);
  border: 1px solid #bae6fd;
}

.badge-rent-tag {
  background: var(--rent-green-light);
  color: var(--rent-green);
  border: 1px solid #a7f3d0;
}

/* Card Body */
.card-main-body {
  padding: 24px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 32px;
  align-items: center;
}

.card-image-box {
  position: relative;
  background: #0f172a;
  border-radius: 4px;
  overflow: hidden;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #f1f5f9;
  cursor: zoom-in;
}

.card-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.machinery-series-card:hover .card-image-box img {
  transform: scale(1.05);
}

.zoom-hover-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(17, 24, 39, 0.82);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.card-image-box:hover .zoom-hover-badge {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(217, 20, 36, 0.9);
}

.condition-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(17, 24, 39, 0.85);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 0.3px;
}

.card-specs-area {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.active-model-title {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--primary-red);
}

.specs-grid-compact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}

.spec-row {
  display: flex;
  flex-direction: column;
}

.spec-key {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.spec-val {
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
}

.status-dual-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
}

.status-import-line {
  color: #0369a1;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.status-rent-line {
  color: #047857;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Model Pill Badges Row */
.card-model-pills-row {
  padding: 14px 24px 18px;
  background: #fafafa;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.model-pills-container {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.model-pill-btn {
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  background: #ffffff;
  border: 1px solid var(--border-dark);
  padding: 5px 12px;
  border-radius: 2px;
  transition: var(--transition);
}

.model-pill-btn:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.model-pill-btn.active {
  background: var(--primary-red);
  color: #ffffff;
  border-color: var(--primary-red);
  box-shadow: 0 2px 6px rgba(217, 20, 36, 0.25);
}

.card-action-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-card-quote {
  background: var(--primary-red);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 3px;
  transition: var(--transition);
}

.btn-card-quote:hover {
  background: var(--primary-red-hover);
}

.btn-card-rent {
  background: var(--rent-green);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 3px;
  transition: var(--transition);
}

.btn-card-rent:hover {
  background: #047857;
}

.btn-card-specs {
  border: 1px solid var(--border-dark);
  background: #ffffff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 3px;
  transition: var(--transition);
}

.btn-card-specs:hover {
  border-color: #111827;
  color: #111827;
}

/* Empty State */
.no-results-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 60px 24px;
  text-align: center;
  border-radius: 4px;
}

/* ---------------- Floating Action Dock (Streamlined: No Pre/After sales) ---------------- */
.floating-action-dock {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 880;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  box-shadow: -2px 0 16px rgba(0, 0, 0, 0.12);
  border-radius: 6px 0 0 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  border-right: none;
}

.dock-item {
  width: 66px;
  height: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #4b5563;
  border-bottom: 1px solid #f1f5f9;
  transition: var(--transition);
}

.dock-item svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.dock-item:hover {
  background-color: #f8fafc;
  color: var(--primary-red);
}

.dock-item.inquiry-dock {
  background-color: var(--primary-red);
  color: #ffffff;
}

.dock-item.inquiry-dock:hover {
  background-color: var(--primary-red-hover);
}

.dock-item.whatsapp-dock {
  color: var(--whatsapp-green);
}

.dock-item.whatsapp-dock:hover {
  background-color: #ecfdf5;
}

.dock-item.phone-dock {
  color: #0284c7;
}

.dock-item.phone-dock:hover {
  background-color: #f0f9ff;
}

.dock-item:last-child {
  border-bottom: none;
}

/* ---------------- Import Process Section ---------------- */
.import-process-section {
  background: #ffffff;
  padding: 70px 24px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title-wrap {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--primary-red);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: inline-block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
  margin-bottom: 14px;
}

.section-subtitle {
  font-size: 15.5px;
  color: var(--text-muted);
}

.import-steps-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--light-gray-bg);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 28px 22px;
  position: relative;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-red);
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.step-number {
  font-size: 32px;
  font-weight: 900;
  color: #e2e8f0;
  margin-bottom: 14px;
  line-height: 1;
}

.step-card:hover .step-number {
  color: rgba(217, 20, 36, 0.25);
}

.step-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 70px 24px 30px;
}

.footer-container {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand h4 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 14px;
}

.footer-brand h4 span {
  color: var(--primary-red);
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.footer-col h5 {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 13.5px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  fill: var(--primary-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ---------------- Modals ---------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: 6px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalFadeIn 0.22s ease-out;
}

.modal-card.wide {
  max-width: 900px;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
}

.btn-close-modal {
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  transition: var(--transition);
}

.btn-close-modal:hover {
  color: var(--primary-red);
}

.modal-body {
  padding: 24px;
}

/* Inquiry Form */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.form-control {
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(217, 20, 36, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
}

.btn-submit-inquiry {
  width: 100%;
  background: var(--primary-red);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 12px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-submit-inquiry:hover {
  background: var(--primary-red-hover);
}

/* Specs Modal Table */
.specs-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 13.5px;
}

.specs-detail-table th,
.specs-detail-table td {
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.specs-detail-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  width: 35%;
}

.specs-detail-table td {
  color: #1e293b;
  font-weight: 500;
}

/* Equipment Finder Wizard */
.wizard-step-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.wizard-choice-card {
  border: 2px solid var(--border-color);
  padding: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wizard-choice-card:hover,
.wizard-choice-card.selected {
  border-color: var(--primary-red);
  background: #fff5f5;
}

.wizard-choice-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.wizard-choice-card p {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Toast Message */
.toast-msg {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #111827;
  color: #ffffff;
  padding: 14px 22px;
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  z-index: 1100;
  display: none;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  border-left: 4px solid var(--primary-red);
}

.toast-msg.show {
  display: flex;
  animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 240px 1fr;
    gap: 20px;
  }
  .card-main-body {
    grid-template-columns: 280px 1fr;
  }
  .import-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .primary-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .search-input-wrapper {
    width: 200px;
  }
  .hero-title {
    font-size: 28px;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .card-main-body {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .import-steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .floating-action-dock {
    width: 52px;
  }
  .dock-item {
    width: 52px;
    height: 54px;
    font-size: 9px;
  }
}

/* ---------------- Fullscreen Image Lightbox Viewer ---------------- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: lightboxFadeIn 0.22s ease-out;
}

.lightbox-overlay.active {
  display: flex;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.btn-close-lightbox {
  position: absolute;
  top: 18px;
  right: 28px;
  color: #ffffff;
  font-size: 42px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2010;
  transition: var(--transition);
  padding: 4px 10px;
}

.btn-close-lightbox:hover {
  color: var(--primary-red);
  transform: scale(1.15);
}

.lightbox-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 95vw;
  max-height: 94vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  animation: lightboxZoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightboxZoomIn {
  from {
    transform: scale(0.9);
    opacity: 0.8;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-caption {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 85vw;
  color: #ffffff;
  flex-wrap: wrap;
  gap: 14px;
}

.lightbox-title {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.lightbox-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 13.5px;
  font-weight: 700;
  transition: var(--transition);
}

.lightbox-wa-btn:hover {
  background: #1eb954;
  box-shadow: 0 3px 12px rgba(37, 211, 102, 0.45);
}
