/* ==========================================================================
   MYLAUNDRY DRYCLEANER & COMMERCIAL MACHINERY - MODERN STYLESHEET
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #0088CC;
  --primary-hover: #0077b5;
  --primary-dark: #0A3977;
  --primary-light: #EBF5FB;
  --primary-gradient: linear-gradient(135deg, #0088CC 0%, #0A3977 100%);
  --machinery-gradient: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  
  --accent-green: #10B981;
  --accent-green-light: #ECFDF5;
  --accent-gold: #F59E0B;
  --accent-gold-light: #FEF3C7;
  
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  
  --bg-page: #F8FAFC;
  --bg-card: #FFFFFF;
  --bg-card-subtle: #F1F5F9;
  
  --border-color: #E2E8F0;
  --border-focus: #0088CC;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 12px 30px -10px rgba(0, 136, 204, 0.12);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

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

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  transition: var(--transition);
}

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

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

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-bar {
  background: var(--primary-dark);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.badge-tag {
  background: #FFB703;
  color: #000;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-bar a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   MAIN NAVIGATION
   ========================================================================== */
.main-header {
  background: #FFFFFF;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

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

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

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
}

.machinery-nav-pill {
  background: var(--accent-gold-light);
  color: #B45309 !important;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-header-cart {
  position: relative;
  background: var(--primary-light);
  color: var(--primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.btn-header-cart:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: #EF4444;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
}

.btn-reward-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-green-light);
  color: #047857;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  border: 1px solid #A7F3D0;
}

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 136, 204, 0.25);
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(10, 57, 119, 0.3);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-main);
}

/* ==========================================================================
   HERO DUAL DIVISION SECTION
   ========================================================================== */
.hero-section {
  padding: 40px 0 60px;
  position: relative;
  background: radial-gradient(circle at top right, rgba(0, 136, 204, 0.08) 0%, rgba(248, 250, 252, 1) 60%);
}

.division-switcher {
  display: inline-flex;
  background: #FFFFFF;
  padding: 6px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-bottom: 30px;
}

.division-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.division-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(0, 136, 204, 0.3);
}

.division-btn.machinery-btn.active {
  background: var(--text-main);
  color: #FFFFFF;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 50px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--primary);
  background: linear-gradient(135deg, #0088CC 0%, #0A3977 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 540px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1.5px solid var(--border-color);
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.btn-secondary:hover {
  background: var(--bg-card-subtle);
  border-color: var(--text-muted);
}

.hero-features-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.hero-feat-item i {
  color: var(--accent-green);
  font-size: 1rem;
}

/* Quick Instant Order Box */
.quick-order-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 136, 204, 0.15);
  position: relative;
  overflow: hidden;
}

.quick-order-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary-gradient);
}

.quick-order-header {
  margin-bottom: 20px;
}

.quick-order-header h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.quick-order-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  background: #FFFFFF;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.15);
}

.zone-rate-pill {
  font-size: 0.8rem;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-top: 6px;
  font-weight: 600;
}

/* ==========================================================================
   LAUNDRY SERVICES & CATEGORIES SECTION
   ========================================================================== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

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

/* ==========================================================================
   CATEGORY SHOWCASE CARDS (MATCHES CUSTOMER APP HOME SCREEN GRID)
   ========================================================================== */
.category-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

@media (max-width: 640px) {
  .category-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

.category-card-item {
  position: relative;
  height: 140px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 2.5px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  background: #F1F5F9;
}

.category-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 136, 204, 0.2);
  border-color: var(--primary);
}

.category-card-item.active {
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35);
}

.category-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.category-card-item:hover .category-card-bg {
  transform: scale(1.08);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05) 0%, rgba(15, 23, 42, 0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  transition: background 0.3s ease;
}

.category-card-item.active .category-card-overlay {
  background: linear-gradient(180deg, rgba(0, 136, 204, 0.15) 0%, rgba(10, 57, 119, 0.9) 100%);
}

.category-card-title {
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 2px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  letter-spacing: -0.01em;
}

.category-card-count {
  color: #E2E8F0;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* Category Filter Tabs Bar */
.category-filter-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .category-filter-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 8px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}

.category-tab-btn {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.88rem;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: var(--transition);
  cursor: pointer;
}

.category-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.category-tab-btn.active {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.3);
}

.cat-tab-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.1);
  background: #FFFFFF;
}

/* ==========================================================================
   PRODUCTS GRID & ITEM CARDS (MATCHES CUSTOMER APP PRODUCTS SCREEN)
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.product-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(0, 136, 204, 0.35);
}

.product-img-box {
  position: relative;
  width: 100%;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #F1F5F9;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .product-img-box {
    height: 140px;
  }
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

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

.product-category-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #0A3977;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  text-transform: capitalize;
}

.product-info-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-name {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #0F172A;
  text-transform: capitalize;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .product-name {
    font-size: 0.98rem;
  }
}

.product-variations-preview {
  font-size: 0.78rem;
  color: #64748B;
  margin-bottom: 10px;
  line-height: 1.4;
  min-height: 2.8em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-pricing-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}

.product-price-label {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #0A3977;
}

.btn-select-options {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: 0 4px 10px rgba(0, 136, 204, 0.2);
}

.btn-select-options:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 136, 204, 0.3);
}

.btn-select-options.in-cart {
  background: #059669;
  box-shadow: 0 4px 10px rgba(5, 150, 105, 0.25);
}

/* ==========================================================================
   SERVICE VARIATIONS MODAL (MATCHES CUSTOMER APP BOTTOM SHEET)
   ========================================================================== */
.variation-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.variation-modal-box {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: modalSlideUp 0.25s ease-out;
}

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

.variation-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid #E2E8F0;
  background: #FFFFFF;
}

.modal-product-meta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-product-thumb {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid #E2E8F0;
  background: #F1F5F9;
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

.variation-modal-body {
  padding: 20px 22px;
  overflow-y: auto;
  flex: 1;
}

.variation-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 16px;
  margin-bottom: 12px;
  transition: border-color 0.2s, background 0.2s;
}

.variation-item-row:hover {
  border-color: #0088CC;
  background: #F0F9FF;
}

.variation-item-row.has-qty {
  border-color: #059669;
  background: #ECFDF5;
}

.variation-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: #1E293B;
  text-transform: capitalize;
  margin-bottom: 2px;
}

.variation-price {
  color: #0088CC;
  font-weight: 800;
  font-size: 0.95rem;
}

.variation-item-row.has-qty .variation-price {
  color: #059669;
}

.variation-modal-footer {
  padding: 16px 22px;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.modal-delivery-indicator {
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  color: #92400E;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-align: center;
}

.modal-delivery-indicator.free-unlocked {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #065F46;
}

.modal-footer-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.qty-counter {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: var(--radius-full);
  padding: 3px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  background: var(--primary);
  color: #FFFFFF;
}

.qty-value {
  padding: 0 12px;
  font-weight: 800;
  font-size: 0.95rem;
  color: #0F172A;
  min-width: 24px;
  text-align: center;
}

/* ==========================================================================
   COMMERCIAL MACHINERY DIVISION (VIP SHOWCASE)
   ========================================================================== */
.machinery-division-section {
  background: #0B1329;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.machinery-division-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 20%, rgba(0, 136, 204, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.machinery-division-section h2, 
.machinery-division-section h3, 
.machinery-division-section h4 {
  color: #FFFFFF;
}

.badge-gold {
  background: var(--accent-gold);
  color: #000;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.machinery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.machinery-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 30px;
  backdrop-filter: blur(12px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.machinery-card:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(0, 136, 204, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.machinery-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(0, 136, 204, 0.2), rgba(245, 158, 11, 0.2));
  color: #38BDF8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.machinery-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.machinery-spec-list {
  list-style: none;
  margin: 18px 0 24px;
}

.machinery-spec-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 8px;
}

.machinery-spec-list li i {
  color: var(--accent-green);
  font-size: 0.8rem;
}

.btn-machinery-quote {
  background: linear-gradient(135deg, #0088CC 0%, #0284C7 100%);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-machinery-quote:hover {
  background: linear-gradient(135deg, #0A3977 0%, #0088CC 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
}

/* Machinery Trust Badges */
.machinery-trust-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.trust-item h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.trust-item p {
  font-size: 0.8rem;
  color: #94A3B8;
}

/* ==========================================================================
   ORDER TRACKING SECTION
   ========================================================================== */
.track-section {
  background: #FFFFFF;
  border-radius: 30px;
  padding: 50px 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-color);
  margin: 60px 0;
}

.track-input-group {
  display: flex;
  gap: 12px;
  max-width: 580px;
  margin: 24px auto 0;
}

.track-input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 600;
  outline: none;
}

.track-input:focus {
  border-color: var(--primary);
}

.track-result-card {
  margin-top: 40px;
  padding: 30px;
  border-radius: 20px;
  background: var(--bg-page);
  border: 1px solid var(--border-color);
}

.timeline-steps {
  display: flex;
  justify-content: space-between;
  margin: 30px 0;
  position: relative;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 30px;
  right: 30px;
  height: 3px;
  background: #CBD5E1;
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
  text-align: center;
}

.step-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #CBD5E1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #94A3B8;
  margin-bottom: 8px;
}

.timeline-step.completed .step-node {
  background: var(--accent-green);
  border-color: var(--accent-green);
  color: #FFFFFF;
}

.timeline-step.active .step-node {
  background: var(--primary);
  border-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(0, 136, 204, 0.25);
}

.step-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.timeline-step.completed .step-label,
.timeline-step.active .step-label {
  color: var(--text-main);
}

/* ==========================================================================
   CART & CHECKOUT DRAWER
   ========================================================================== */
.cart-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -520px;
  width: 100%;
  max-width: 480px;
  height: 100%;
  background: #FFFFFF;
  z-index: 1000;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

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

.cart-drawer-title {
  font-size: 1.25rem;
  font-weight: 800;
}

.cart-close-btn {
  font-size: 1.4rem;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-close-btn:hover {
  background: var(--bg-card-subtle);
  color: var(--text-main);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-items-list {
  list-style: none;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.cart-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.cart-item-info span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Reward / Wallet Box in Drawer */
.wallet-box {
  background: var(--accent-green-light);
  border: 1.5px dashed var(--accent-green);
  border-radius: var(--radius-md);
  padding: 14px;
  margin: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wallet-box-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wallet-box-left i {
  color: #059669;
  font-size: 1.4rem;
}

.wallet-box h5 {
  font-size: 0.9rem;
  color: #065F46;
}

.wallet-box p {
  font-size: 0.8rem;
  color: #047857;
}

.reward-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--accent-green);
  cursor: pointer;
}

/* Calculations Table */
.cart-summary-box {
  background: var(--bg-page);
  border-radius: var(--radius-md);
  padding: 16px;
  margin: 16px 0;
  border: 1px solid var(--border-color);
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.summary-line.total-line {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
}

.discount-val {
  color: #DC2626;
  font-weight: 700;
}

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
  background: #FFFFFF;
}

.btn-checkout {
  width: 100%;
  background: var(--primary);
  color: #FFFFFF;
  padding: 14px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.3);
}

.btn-checkout:hover {
  background: var(--primary-dark);
}

/* Floating Bottom Bar on Mobile */
.mobile-cart-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  padding: 12px 20px;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 90;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #0F172A;
  color: #94A3B8;
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a:hover {
  color: #FFFFFF;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-contact-item i {
  color: var(--primary);
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.85rem;
}

/* ==========================================================================
   RESPONSIVE QUERIES
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 28px;
  }
  
  .hero-cta-group, .hero-features-row {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar-right {
    display: none;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-cart-bar {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 2.3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-steps {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
  
  .timeline-steps::before {
    display: none;
  }
  
  .timeline-step {
    flex-direction: row;
    gap: 12px;
  }
}

/* ==========================================================================
   GOOGLE MAP LOCATION & AREA PICKER (MATCHES CUSTOMER APP MAPSCREEN)
   ========================================================================== */
.btn-map-trigger {
  background: #E0F2FE;
  color: #0088CC;
  border: 1px solid #BAE6FD;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.btn-map-trigger:hover {
  background: #0088CC;
  color: #FFFFFF;
}

.input-with-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.input-suffix-btn {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  padding: 0 14px;
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.input-suffix-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(0, 136, 204, 0.3);
}

.map-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.map-modal-container {
  position: relative;
  width: 100%;
  max-width: 880px;
  height: 90vh;
  max-height: 720px;
  background: #FFFFFF;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: mapModalZoom 0.25s ease-out;
}

@keyframes mapModalZoom {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.map-top-bar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 1000;
  display: flex;
  gap: 10px;
  align-items: center;
}

.map-search-wrap {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  padding: 0 14px;
  height: 48px;
  border: 1.5px solid #E2E8F0;
}

.map-search-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.95rem;
  font-family: inherit;
  margin-left: 10px;
  background: transparent;
  color: #0F172A;
}

.map-clear-search-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
}

.map-search-dropdown {
  position: absolute;
  top: 56px;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  border: 1px solid #E2E8F0;
  list-style: none;
  max-height: 220px;
  overflow-y: auto;
  z-index: 1100;
  padding: 6px 0;
}

.map-search-dropdown li {
  padding: 10px 16px;
  font-size: 0.88rem;
  color: #1E293B;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #F1F5F9;
  transition: background 0.15s;
}

.map-search-dropdown li:hover {
  background: #F0F9FF;
  color: #0088CC;
}

.map-top-actions {
  display: flex;
  gap: 8px;
}

.map-gps-btn {
  height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  background: #FFFFFF;
  color: #0A3977;
  border: 1.5px solid #E2E8F0;
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: var(--transition);
}

.map-gps-btn:hover {
  background: #0088CC;
  color: #FFFFFF;
  border-color: #0088CC;
}

.map-close-btn {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #FFFFFF;
  color: #64748B;
  border: 1.5px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: var(--transition);
}

.map-close-btn:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

.map-canvas-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.leaflet-map-canvas {
  width: 100%;
  height: 100%;
  z-index: 1;
}

.map-center-pin-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  pointer-events: none;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -80px; /* offset for bottom floating sheet */
}

@media (max-width: 640px) {
  .map-center-pin-wrap {
    margin-top: -110px;
  }
}

.map-center-pin {
  font-size: 46px;
  color: #EF4444;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
  line-height: 1;
  animation: pinBounce 1.5s infinite ease-in-out;
}

@keyframes pinBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.map-center-pin-shadow {
  width: 16px;
  height: 6px;
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  filter: blur(1.5px);
  margin-top: -4px;
}

.map-zone-legend {
  position: absolute;
  top: 72px;
  left: 14px;
  z-index: 998;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #0A3977;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0088CC;
  display: inline-block;
  box-shadow: 0 0 0 2px rgba(0, 136, 204, 0.3);
}

.map-bottom-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #FFFFFF;
  border-radius: 24px 24px 0 0;
  padding: 16px 20px 20px;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.15);
  border-top: 1px solid #E2E8F0;
}

.map-sheet-handle {
  width: 40px;
  height: 4px;
  background: #CBD5E1;
  border-radius: 4px;
  margin: 0 auto 12px;
}

.map-zone-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.map-zone-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 800;
}

.map-zone-badge.in-zone {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.map-zone-badge.out-zone {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.map-zone-badge.checking {
  background: #F1F5F9;
  color: #64748B;
}

.map-zone-fee {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0088CC;
}

.map-address-display-box {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 14px;
}

.map-address-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.map-address-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0F172A;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.map-confirm-btn {
  width: 100%;
  justify-content: center;
  padding: 12px;
  font-size: 0.98rem;
  border-radius: 12px;
}

@media (max-width: 640px) {
  .map-modal-overlay {
    padding: 0 !important;
  }
  .map-modal-container {
    width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
  }
}

