/* Content Protection: Print blackout */
@media print {
  body {
    display: none !important;
    visibility: hidden !important;
  }
}

/* User drag & select protection */
.blueprint-protected {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

/* Capture shield */
body.moduco-screen-capture-shield::after {
  content: "CONFIDENTIAL & PROPRIETARY — MODUCO PRECAST ECOSYSTEM";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.98);
  color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 2px;
  z-index: 999999;
}

/* Custom Modal Animations */
.moduco-modal-fade {
  animation: mdcFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.moduco-wheel-spin {
  transition: transform 4s cubic-bezier(0.15, 0.9, 0.25, 1);
}

/* ── UPCOMING PROJECTS SECTION & BANNER STYLING ──────────────────────────── */
#mdc-upcoming-section {
  background: radial-gradient(circle at 50% 20%, #162e59 0%, #0d1b33 100%) !important;
  color: #ffffff !important;
  padding: 48px 0 !important;
  position: relative !important;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

#mdc-upcoming-section .mdc-container {
  width: 80% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  box-sizing: border-box !important;
}

/* Event Summit Banner */
#mdc-upcoming-section .mdc-event-banner {
  background: linear-gradient(135deg, #1F407B 0%, #2955a3 40%, #C22126 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 20px !important;
  padding: 24px 32px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.3) !important;
  margin-bottom: 48px !important;
}

@media (max-width: 768px) {
  #mdc-upcoming-section .mdc-event-banner {
    flex-direction: column !important;
    text-align: center !important;
  }
}

#mdc-upcoming-section .mdc-event-badge {
  background: #F1CA5C !important;
  color: #0b1526 !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 9999px !important;
  letter-spacing: 0.05em !important;
  display: inline-block !important;
}

#mdc-upcoming-section .mdc-btn-claim {
  background: #ffffff !important;
  color: #1F407B !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.2s, background 0.2s !important;
  white-space: nowrap !important;
}

#mdc-upcoming-section .mdc-btn-claim:hover {
  transform: translateY(-2px) !important;
  background: #f8fafc !important;
}

/* Header & Anthem Button */
#mdc-upcoming-section .mdc-header-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 24px !important;
  margin-bottom: 40px !important;
}

@media (max-width: 768px) {
  #mdc-upcoming-section .mdc-header-row {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
}

#mdc-upcoming-section .mdc-pill-tag {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #F1CA5C !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 4px 14px !important;
  border-radius: 9999px !important;
  display: inline-block !important;
  margin-bottom: 10px !important;
}

#mdc-upcoming-section h2 {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.2 !important;
}

#mdc-upcoming-section .mdc-subhead {
  color: #cbd5e1 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  max-width: 650px !important;
  margin: 0 !important;
}

#mdc-upcoming-section .mdc-btn-anthem {
  background: #C22126 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  padding: 12px 24px !important;
  border-radius: 12px !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 20px rgba(194, 33, 38, 0.35) !important;
  transition: transform 0.2s, background 0.2s !important;
  white-space: nowrap !important;
}

#mdc-upcoming-section .mdc-btn-anthem:hover {
  transform: translateY(-2px) !important;
  background: #a81a1f !important;
}

/* Project Cards Grid - Responsive to any count (1, 2, 3, 4+) */
#mdc-upcoming-section .mdc-cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)) !important;
  gap: 28px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
}

#mdc-upcoming-section .mdc-cards-grid[data-count="1"] {
  grid-template-columns: 1fr !important;
  max-width: 760px !important;
  margin: 0 auto !important;
}

#mdc-upcoming-section .mdc-cards-grid[data-count="2"] {
  grid-template-columns: repeat(2, 1fr) !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

#mdc-upcoming-section .mdc-cards-grid[data-count="3"] {
  grid-template-columns: repeat(3, 1fr) !important;
  max-width: 1200px !important;
}

@media (max-width: 992px) {
  #mdc-upcoming-section .mdc-cards-grid,
  #mdc-upcoming-section .mdc-cards-grid[data-count="2"],
  #mdc-upcoming-section .mdc-cards-grid[data-count="3"] {
    grid-template-columns: 1fr !important;
  }
}

#mdc-upcoming-section .mdc-proj-card {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 20px !important;
  padding: 28px !important;
  backdrop-filter: blur(14px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s !important;
}

#mdc-upcoming-section .mdc-proj-card:hover {
  transform: translateY(-4px) !important;
  border-color: #F1CA5C !important;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4) !important;
}

#mdc-upcoming-section .mdc-card-top {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 14px !important;
}

#mdc-upcoming-section .mdc-loc-badge {
  background: #1F407B !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 4px 12px !important;
  border-radius: 6px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
}

#mdc-upcoming-section .mdc-timeline-badge {
  color: #F1CA5C !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

#mdc-upcoming-section .mdc-proj-card h3 {
  color: #ffffff !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.3 !important;
}

#mdc-upcoming-section .mdc-proj-card p {
  color: #cbd5e1 !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  margin: 0 0 18px 0 !important;
}

#mdc-upcoming-section .mdc-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
  padding-top: 14px !important;
  color: #34d399 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}


/* Dual Master Catalog Banner on Projects Page */
#mdc-projects-cat-banner {
  background: linear-gradient(135deg, #0e1e38 0%, #1F407B 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 20px !important;
  padding: 24px 30px !important;
  margin-bottom: 28px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 20px !important;
  box-sizing: border-box !important;
  color: #ffffff !important;
}

@media (max-width: 768px) {
  #mdc-projects-cat-banner {
    flex-direction: column !important;
    text-align: center !important;
  }
}

#mdc-projects-cat-banner h3 {
  font-size: 17px !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin: 4px 0 !important;
}

#mdc-projects-cat-banner p {
  font-size: 12px !important;
  color: #cbd5e1 !important;
  margin: 0 !important;
}

/* ==========================================================================
   MODUCO MASTER SHEET ENTERPRISE CONSOLE STYLING
   ========================================================================== */

.mdc-master-dialog {
  max-width: 1200px !important;
  width: 96% !important;
  max-height: calc(100vh - 48px) !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 auto !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.4) !important;
  border: 1px solid #e2e8f0 !important;
  overflow: hidden !important;
}

.mdc-master-header {
  background: linear-gradient(135deg, #0f172a 0%, #1F407B 55%, #162e59 100%) !important;
  padding: 18px 24px !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mdc-master-sticky-bar {
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid #e2e8f0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
}

.mdc-master-tab {
  padding: 8px 16px !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
  border: 1px solid transparent !important;
  background: #f1f5f9 !important;
  color: #475569 !important;
}

.mdc-master-tab.active {
  background: #1F407B !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(31, 64, 123, 0.25) !important;
}

.mdc-master-tab:hover:not(.active) {
  background: #e2e8f0 !important;
  color: #1e293b !important;
}

.mdc-master-tab.sheets-active {
  background: #059669 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.25) !important;
}

.mdc-btn-save {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  padding: 9px 20px !important;
  border-radius: 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.mdc-btn-save:hover {
  background: linear-gradient(135deg, #047857 0%, #0f766e 100%) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.45) !important;
}

.mdc-btn-secondary {
  background: #1e293b !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 9px 16px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.mdc-btn-secondary:hover {
  background: #0f172a !important;
}

.mdc-btn-outline {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
  font-weight: 700 !important;
  font-size: 12px !important;
  padding: 8px 14px !important;
  border-radius: 10px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.mdc-btn-outline:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

.mdc-card-row {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 16px !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03) !important;
  transition: all 0.2s ease !important;
  margin-bottom: 12px !important;
}

.mdc-card-row:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06) !important;
}

.mdc-card-row.disabled {
  background: #fcfcfc !important;
  border-color: #fecdd3 !important;
  opacity: 0.85 !important;
}

.mdc-chip {
  padding: 6px 14px !important;
  border-radius: 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: 1px solid #e2e8f0 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.mdc-chip.active-in {
  background: #fff7ed !important;
  border-color: #fdba74 !important;
  color: #c2410c !important;
}

.mdc-chip.active-au {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
  color: #1d4ed8 !important;
}

.mdc-chip.active-ca {
  background: #fff1f2 !important;
  border-color: #fda4af !important;
  color: #be123c !important;
}

.mdc-chip.active-us {
  background: #f5f3ff !important;
  border-color: #c4b5fd !important;
  color: #6d28d9 !important;
}

.mdc-chip.inactive {
  background: #f8fafc !important;
  border-color: #e2e8f0 !important;
  color: #94a3b8 !important;
  text-decoration: line-through !important;
}

.mdc-price-cell {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 10px !important;
  padding: 6px 12px !important;
  text-align: left !important;
}

.mdc-price-cell input {
  width: 100% !important;
  border: none !important;
  background: transparent !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  color: #0f172a !important;
  padding: 2px 0 0 0 !important;
  outline: none !important;
}

.mdc-toggle-active-btn {
  padding: 5px 12px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.mdc-toggle-active-btn.on {
  background: #dcfce7 !important;
  color: #15803d !important;
}

.mdc-toggle-active-btn.off {
  background: #e2e8f0 !important;
  color: #64748b !important;
}

/* ==========================================================================
   ZOMATO-STYLE CART FLOATING BAR & SLIDE-UP DRAWER
   ========================================================================== */

#mdc-zomato-cart-bar {
  position: fixed !important;
  bottom: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(150%) !important;
  width: calc(100% - 32px) !important;
  max-width: 680px !important;
  z-index: 9999 !important;
  background: rgba(15, 23, 42, 0.94) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  padding: 12px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#mdc-zomato-cart-bar.visible {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.mdc-zomato-item-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.mdc-zomato-badge {
  background: #1F407B !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  padding: 3px 10px !important;
  border-radius: 999px !important;
  letter-spacing: 0.5px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.mdc-zomato-price-box {
  display: flex !important;
  flex-direction: column !important;
}

.mdc-zomato-deposit-pill {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #34d399 !important;
}

.mdc-zomato-btn-view {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  padding: 10px 20px !important;
  border-radius: 14px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
  transition: all 0.2s ease !important;
}

.mdc-zomato-btn-view:hover {
  transform: scale(1.02) !important;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.45) !important;
}

/* Zomato-style Cart Drawer / Modal */
.mdc-cart-item-card {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 16px !important;
  padding: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  transition: all 0.2s ease !important;
}

.mdc-cart-item-card:hover {
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
}

.mdc-stepper-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 8px !important;
  border: 1px solid #cbd5e1 !important;
  background: #ffffff !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #1e293b !important;
  transition: all 0.15s ease !important;
}

.mdc-stepper-btn:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
}

/* Bill Details section styled like food delivery */
.mdc-bill-table {
  width: 100% !important;
  font-size: 12px !important;
  color: #475569 !important;
}

.mdc-bill-table td {
  padding: 5px 0 !important;
}

.mdc-bill-table tr.total-row td {
  padding-top: 10px !important;
  border-top: 1px dashed #cbd5e1 !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  color: #0f172a !important;
}

.mdc-bill-table tr.deposit-row td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  color: #047857 !important;
  background: #ecfdf5 !important;
  border-radius: 8px !important;
}

/* Activity Logs in Master Sheet */
.mdc-logs-table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 12px !important;
}

.mdc-logs-table th {
  background: #f1f5f9 !important;
  color: #475569 !important;
  font-weight: 800 !important;
  text-align: left !important;
  padding: 10px 14px !important;
  border-bottom: 2px solid #e2e8f0 !important;
  text-transform: uppercase !important;
  font-size: 10px !important;
  letter-spacing: 0.5px !important;
}

.mdc-logs-table td {
  padding: 12px 14px !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: top !important;
}

.mdc-logs-table tr:hover td {
  background: #f8fafc !important;
}

.mdc-badge-event {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.mdc-badge-event.order_created {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
}

.mdc-badge-event.customer_registered {
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  border: 1px solid #bfdbfe !important;
}

.mdc-badge-event.cart_updated {
  background: #fef3c7 !important;
  color: #b45309 !important;
  border: 1px solid #fde68a !important;
}

.mdc-badge-event.inquiry_locked {
  background: #fff1f2 !important;
  color: #be123c !important;
  border: 1px solid #fecdd3 !important;
}

.mdc-badge-event.wheel_spun {
  background: #f3e8ff !important;
  color: #7e22ce !important;
  border: 1px solid #e9d5ff !important;
}

.mdc-badge-event.admin_action {
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

.mdc-badge-event.order_status_updated {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
}

.mdc-badge-event.inquiry_unlocked {
  background: #f8fafc !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}

/* Status Dropdown Selector in Admin Orders View */
.mdc-order-select-status {
  padding: 4px 8px !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  border: 1px solid #cbd5e1 !important;
  background-color: #fff !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s ease !important;
}

.mdc-order-select-status:focus {
  border-color: #1F407B !important;
  box-shadow: 0 0 0 2px rgba(31, 64, 123, 0.15) !important;
}

.mdc-order-select-status[data-status="pending_deposit"] {
  background-color: #fffbeb !important;
  color: #b45309 !important;
  border-color: #fde68a !important;
}

.mdc-order-select-status[data-status="in_production"] {
  background-color: #eff6ff !important;
  color: #1d4ed8 !important;
  border-color: #bfdbfe !important;
}

.mdc-order-select-status[data-status="ready_for_dispatch"] {
  background-color: #f5f3ff !important;
  color: #6d28d9 !important;
  border-color: #ddd6fe !important;
}

.mdc-order-select-status[data-status="delivered"] {
  background-color: #ecfdf5 !important;
  color: #047857 !important;
  border-color: #a7f3d0 !important;
}

.mdc-order-select-status[data-status="cancelled"] {
  background-color: #fef2f2 !important;
  color: #b91c1c !important;
  border-color: #fecaca !important;
}


/* ── USER AUTHENTICATION & PROFILE MENU ─────────────────────────────── */
#mdc-user-nav-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.mdc-user-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 9999px;
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.mdc-user-pill-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  transform: translateY(-1px);
}

.mdc-user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 12px 30px -4px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.05);
  padding: 6px;
  z-index: 99999;
  display: none;
  animation: mdcDropIn 0.2s ease-out forwards;
}

.mdc-user-dropdown.open {
  display: block;
}

@keyframes mdcDropIn {
  from { opacity: 0; transform: translateY(-8px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mdc-user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
}

.mdc-user-dropdown-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}

.mdc-user-dropdown-item.danger:hover {
  background: #fef2f2;
  color: #dc2626;
}

/* ── ZOMATO ARCHITECTURAL CHIPS & CUSTOMIZATION ───────────────────── */
.mdc-site-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #475569;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.mdc-site-chip:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.mdc-site-chip.selected {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #93c5fd;
  box-shadow: 0 1px 2px rgba(29, 78, 216, 0.15);
}

/* ── ZOMATO SAVINGS CELEBRATION ──────────────────────────────────── */
.mdc-savings-callout {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px dashed #059669;
  color: #065f46;
  padding: 10px 14px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  animation: pulseSavings 2s infinite ease-in-out;
}

@keyframes pulseSavings {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

/* ── ZOMATO ORDER PROGRESS TRACKER ───────────────────────────────── */
.mdc-order-tracker {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  padding: 16px 8px 8px;
}

.mdc-tracker-line-bg {
  position: absolute;
  top: 30px;
  left: 36px;
  right: 36px;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.mdc-tracker-line-fill {
  position: absolute;
  top: 30px;
  left: 36px;
  width: 33%;
  height: 3px;
  background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
  z-index: 2;
  transition: width 1s ease-in-out;
}

.mdc-tracker-step {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 25%;
}

.mdc-tracker-node {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  color: #94a3b8;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
}

.mdc-tracker-node.completed {
  background: #10b981;
  border-color: #059669;
  color: #ffffff;
}

.mdc-tracker-node.current {
  background: #1F407B;
  border-color: #3b82f6;
  color: #ffffff;
  box-shadow: 0 0 0 4px rgba(31, 64, 123, 0.2);
  animation: trackerPulse 2s infinite ease-in-out;
}

@keyframes trackerPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.mdc-tracker-label {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  line-height: 1.25;
}

.mdc-tracker-step.active .mdc-tracker-label {
  color: #0f172a;
}

/* ── HEADER 3-ZONE BALANCED LAYOUT: LOGO LEFT, NAV CENTER, ACTIONS RIGHT ── */
header .max-w-7xl {
  max-width: 100% !important;
  padding-left: clamp(1.25rem, 3vw, 3.5rem) !important;
  padding-right: clamp(1.25rem, 3vw, 3.5rem) !important;
}

/* ── TRUE 3-COLUMN HEADER ARCHITECTURE (LOGO LEFT, NAV CENTER, GET IN TOUCH RIGHT) ── */
header .max-w-7xl {
  max-width: 100% !important;
  padding-left: clamp(1rem, 2.5vw, 2.5rem) !important;
  padding-right: clamp(1rem, 2.5vw, 2.5rem) !important;
}

header .max-w-7xl > div,
header .flex.items-center.justify-between {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  position: relative !important;
}

@media (min-width: 1024px) {
  header .max-w-7xl > div,
  header .flex.items-center.justify-between {
    display: grid !important;
    grid-template-columns: 1fr auto 1fr !important;
    align-items: center !important;
    width: 100% !important;
    column-gap: 1rem !important;
  }

  /* Zone 1: Moduco Logo pinned to Far Left */
  header a[data-ocid="header.logo.link"] {
    justify-self: start !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: static !important;
    z-index: 10 !important;
  }

  /* Zone 2: Navigation strictly centered in the exact mathematical midpoint */
  header nav[aria-label="Primary navigation"] {
    justify-self: center !important;
    position: static !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: clamp(0.45rem, 0.95vw, 1.25rem) !important;
    margin: 0 auto !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    padding: 0 !important;
    z-index: 10 !important;
  }

  /* Zone 3: Actions Cluster & Get In Touch pinned to Far Right */
  header .flex.items-center.gap-4 {
    justify-self: end !important;
    margin-left: 0 !important;
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 0.75rem !important;
    z-index: 10 !important;
  }
}

header a[data-ocid="header.logo.link"] img {
  height: 2.25rem !important;
  width: auto !important;
}

header nav[aria-label="Primary navigation"] a {
  white-space: nowrap !important;
  font-size: clamp(12px, 0.9vw, 13px) !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  padding: 4px 2px !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Unified Account Pill Button */
#mdc-user-nav-container {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

.mdc-user-pill-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 14px !important;
  border-radius: 9999px !important;
  border: 1px solid #cbd5e1 !important;
  background: #f8fafc !important;
  color: #0f172a !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.mdc-user-pill-btn:hover {
  background: #f1f5f9 !important;
  border-color: #94a3b8 !important;
  transform: translateY(-1px) !important;
}

/* Primary GET IN TOUCH CTA */
header a[data-ocid="header.cta.button"] {
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  padding: 7px 18px !important;
  border-radius: 9999px !important;
}

/* Hide bulky standalone navbar duplicates so right side is never crowded */
#mdc-header-location-pill,
#mdc-header-bookings-btn {
  display: none !important;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  header nav[aria-label="Primary navigation"] {
    gap: 0.55rem !important;
  }
  header nav[aria-label="Primary navigation"] a {
    font-size: 12px !important;
  }
}

/* ==========================================================================
   NEXT-LEVEL ZOMATO EXPERIENCE: SLIDE-OVER DRAWER & IN-PLACE STEPPERS
   ========================================================================== */

/* ── Zomato-style Card Buttons & Stepper ── */
.btn-zomato-add {
  background: #ffffff !important;
  color: #059669 !important;
  border: 1.5px solid #10b981 !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  border-radius: 10px !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 1px 3px rgba(16, 185, 129, 0.12) !important;
}

.btn-zomato-add:hover {
  background: #ecfdf5 !important;
  border-color: #059669 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(16, 185, 129, 0.2) !important;
}

.mdc-card-stepper {
  background: #059669 !important;
  color: #ffffff !important;
  border-radius: 10px !important;
  padding: 2px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3) !important;
  animation: mdcPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-card-minus,
.btn-card-plus {
  width: 26px !important;
  height: 26px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  background: transparent !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 14px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background 0.15s ease !important;
}

.btn-card-minus:hover,
.btn-card-plus:hover {
  background: rgba(0, 0, 0, 0.15) !important;
}

.btn-view-cart-direct {
  background: linear-gradient(135deg, #10b981 0%, #1F407B 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 11px !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.25) !important;
}

.btn-view-cart-direct:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35) !important;
}

/* ── Zomato Right Slide-Over Drawer ── */
.mdc-drawer-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 999999 !important;
  display: flex !important;
  justify-content: flex-end !important;
  overflow: hidden !important;
}

.mdc-drawer-backdrop {
  position: absolute !important;
  inset: 0 !important;
  background: rgba(15, 23, 42, 0.6) !important;
  backdrop-filter: blur(6px) !important;
  -webkit-backdrop-filter: blur(6px) !important;
  opacity: 0 !important;
  transition: opacity 0.35s ease !important;
}

.mdc-drawer-overlay.open .mdc-drawer-backdrop {
  opacity: 1 !important;
}

.mdc-drawer-panel {
  position: relative !important;
  width: 100% !important;
  max-width: 520px !important;
  height: 100% !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  transform: translateX(100%) !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.25) !important;
  z-index: 10 !important;
  box-sizing: border-box !important;
}

.mdc-drawer-overlay.open .mdc-drawer-panel {
  transform: translateX(0) !important;
}

.mdc-drawer-header {
  padding: 16px 20px !important;
  background: linear-gradient(135deg, #0f172a 0%, #1F407B 65%, #162e59 100%) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.mdc-drawer-close-btn {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 20px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.mdc-drawer-close-btn:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  transform: scale(1.05) !important;
}

.mdc-drawer-body {
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  padding: 16px 20px !important;
  space-y: 16px !important;
  background: #f8fafc !important;
}

.mdc-drawer-footer {
  padding: 14px 20px !important;
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
  flex-shrink: 0 !important;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05) !important;
}

/* ── Gamified Perk Progress Bar ── */
.mdc-perk-bar-container {
  background: #e2e8f0 !important;
  border-radius: 999px !important;
  height: 6px !important;
  overflow: hidden !important;
  margin-top: 6px !important;
}

.mdc-perk-bar-fill {
  background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #F1CA5C 100%) !important;
  height: 100% !important;
  border-radius: 999px !important;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ── 1-Tap Upgrade Chips ── */
.mdc-upgrade-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
}

.mdc-upgrade-chip:hover {
  border-color: #10b981 !important;
  background: #f0fdf4 !important;
}

.mdc-upgrade-chip.selected {
  background: #ecfdf5 !important;
  border-color: #059669 !important;
  color: #065f46 !important;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.15) !important;
}

.mdc-upgrade-chip.selected::after {
  content: " ✓" !important;
  font-weight: 900 !important;
  color: #059669 !important;
}

/* ── Zomato Promo Coupon Card ── */
.mdc-coupon-box {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%) !important;
  border: 1px dashed #f59e0b !important;
  border-radius: 14px !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  transition: all 0.2s ease !important;
}

.mdc-coupon-apply-btn {
  background: #f59e0b !important;
  color: #78350f !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  padding: 4px 10px !important;
  border-radius: 8px !important;
  border: none !important;
  cursor: pointer !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.15s ease !important;
}

.mdc-coupon-apply-btn:hover {
  background: #d97706 !important;
  color: #ffffff !important;
}

.mdc-coupon-apply-btn.applied {
  background: #10b981 !important;
  color: #ffffff !important;
  cursor: default !important;
}

/* ── Cart Drawer Submit Order Button & Action Buttons ── */
#btn-submit-cart-order {
  background: linear-gradient(135deg, #059669 0%, #0d9488 45%, #1F407B 100%) !important;
  color: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  width: 100% !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  border: none !important;
  box-shadow: 0 4px 14px rgba(31, 64, 123, 0.35) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#btn-submit-cart-order:hover {
  background: linear-gradient(135deg, #047857 0%, #0f766e 45%, #162e59 100%) !important;
  box-shadow: 0 6px 20px rgba(31, 64, 123, 0.45) !important;
  transform: translateY(-1px) !important;
}

#btn-submit-cart-order span,
#btn-submit-cart-order * {
  color: #ffffff !important;
  font-weight: 800 !important;
}

#btn-submit-signup {
  background: linear-gradient(135deg, #059669 0%, #0d9488 100%) !important;
  color: #ffffff !important;
}

#btn-submit-signup:hover {
  background: linear-gradient(135deg, #047857 0%, #0f766e 100%) !important;
}

#btn-spin-wheel {
  background: linear-gradient(135deg, #1F407B 0%, #C22126 100%) !important;
  color: #ffffff !important;
}

/* Keyframe animations */
@keyframes mdcPopIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ── PRODUCT MODAL: SHOW ONLY IMAGES (HIDE DESCRIPTION & REQUEST QUOTE) ── */
div:has(> [data-ocid="portfolio.product.close_button"]) {
  max-width: 980px !important;
  width: 92vw !important;
  background: #090d16 !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 20px !important;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.85) !important;
}

div:has(> [data-ocid="portfolio.product.close_button"]) > .p-6.space-y-4,
div:has(> [data-ocid="portfolio.product.close_button"]) > div:last-child:not(.relative),
div:has(> [data-ocid="portfolio.product.close_button"]) .p-6.space-y-4,
[data-ocid="portfolio.product.request_specs_button"] {
  display: none !important;
}

div:has(> [data-ocid="portfolio.product.close_button"]) > .relative.aspect-video {
  aspect-ratio: 16 / 10 !important;
  width: 100% !important;
  max-height: 82vh !important;
}

div:has(> [data-ocid="portfolio.product.close_button"]) button[data-ocid="portfolio.product.close_button"] {
  background: rgba(0, 0, 0, 0.65) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(8px) !important;
  width: 42px !important;
  height: 42px !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 50 !important;
  transition: all 0.2s ease !important;
}

div:has(> [data-ocid="portfolio.product.close_button"]) button[data-ocid="portfolio.product.close_button"]:hover {
  background: #e11d48 !important;
  border-color: #e11d48 !important;
  transform: scale(1.05) !important;
}

div:has(> [data-ocid="portfolio.product.close_button"]) [data-ocid="portfolio.product.slider_prev"],
div:has(> [data-ocid="portfolio.product.close_button"]) [data-ocid="portfolio.product.slider_next"] {
  background: rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  backdrop-filter: blur(8px) !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 9999px !important;
  transition: all 0.2s ease !important;
}

div:has(> [data-ocid="portfolio.product.close_button"]) [data-ocid="portfolio.product.slider_prev"]:hover,
div:has(> [data-ocid="portfolio.product.close_button"]) [data-ocid="portfolio.product.slider_next"]:hover {
  background: #1F407B !important;
  border-color: #F1CA5C !important;
  transform: translateY(-50%) scale(1.08) !important;
}

/* Also on /products modules modal: hide specs and show only image */
.fixed.inset-0.z-50 .relative.bg-background.border.border-border.rounded-2xl .p-6.sm\:p-8.pt-2,
.fixed.inset-0.z-50 .relative.bg-background.border.border-border.rounded-2xl button:last-child {
  display: none !important;
}

.fixed.inset-0.z-50 .relative.bg-background.border.border-border.rounded-2xl {
  max-width: 960px !important;
  background: #090d16 !important;
  border-radius: 20px !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.fixed.inset-0.z-50 .relative.bg-background.border.border-border.rounded-2xl .relative.h-64.sm\:h-80 {
  height: 75vh !important;
  max-height: 750px !important;
}

/* ── REMOVE HYBRID, PRECAST, AND PREFAB TAGS IN PRODUCTS ── */
[data-ocid*="portfolio.product"] .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.bg-zinc-800,
[data-ocid*="portfolio.product"] .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.dark\:bg-zinc-700,
[data-ocid*="portfolio.product"] .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.bg-zinc-500,
[data-ocid*="portfolio.product"] .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.dark\:bg-zinc-550,
[data-ocid*="portfolio.product"] .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.bg-zinc-200,
[data-ocid*="portfolio.product"] .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.dark\:bg-zinc-200,
.group.relative .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.bg-zinc-800,
.group.relative .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.dark\:bg-zinc-700,
.group.relative .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.bg-zinc-500,
.group.relative .flex.flex-wrap.gap-1\.5.mt-1\.5 > span.bg-zinc-200,
[data-mdc-hidden-tag="true"] {
  display: none !important;
}

/* ── FIX BOTTOM CTA SECTION SIZING (REMOVE EXCESSIVE HEIGHT / EMPTY VOID) ── */
[data-ocid="products.cta.section"],
[data-ocid="portfolio.cta.section"],
[data-ocid="home.cta.section"],
[data-ocid="partners.cta.section"] {
  height: auto !important;
  min-height: auto !important;
  max-height: none !important;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
}

/* ── REMOVE UNWANTED SPACE / GAP BETWEEN HEADER AND BLUE HERO BAR ── */
[data-ocid="home.hero.section"],
[data-ocid="global.hero.section"],
section[data-ocid*="hero"] {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* ── FIXED FOOTER PRODUCT SCROLLING MARQUEE (FROSTED GLASS) ── */
#mdc-hero-products-marquee-bar {
  display: block !important;
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 45 !important;
  max-height: none !important;
  background: rgba(255, 255, 255, 0.14) !important;
  backdrop-filter: blur(18px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(180%) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.35) !important;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
  padding: 8px 0 !important;
}

#mdc-hero-products-marquee-bar:hover .mdc-animate-marquee-left,
#mdc-hero-products-marquee-bar .mdc-animate-marquee-left:hover {
  animation-play-state: paused !important;
}

@keyframes mdc-marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.mdc-animate-marquee-left {
  display: flex !important;
  width: max-content !important;
  animation: mdc-marquee-left 220s linear infinite !important;
}

#mdc-methodology-steps-section {
  padding-top: 48px !important;
  padding-bottom: 48px !important;
}

/* ── SPACE BETWEEN PRODUCT CARDS AND SECTION TITLES ── */
#mdc-products-main-catalog-container {
  margin-bottom: 96px !important;
  padding-bottom: 32px !important;
}

#mdc-products-catalog-grid {
  margin-bottom: 64px !important;
}

#catalog .space-y-4.text-center {
  margin-top: 80px !important;
  padding-top: 24px !important;
}

/* ── ADMIN PANEL MASTER MODAL EXPANSIVE WIDTH & TOP-ALIGNED FIX ── */
#mdc-master-modal {
  display: flex !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding: 24px 12px !important;
  overflow-y: auto !important;
  z-index: 999999 !important;
}

#mdc-master-modal > div {
  width: 96vw !important;
  max-width: 1440px !important;
  margin: 16px auto !important;
  max-height: 94vh !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45) !important;
}

#mdc-master-modal > div > div:last-child {
  max-height: calc(94vh - 70px) !important;
  overflow-y: auto !important;
}

#master-prods-container {
  max-height: calc(94vh - 220px) !important;
}

/* ── PRODUCTS PAGE HERO SECTION HEIGHT & MARQUEE SPACING FIX ── */
#mdc-products-hero-section {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  overflow: hidden !important;
  min-height: 600px !important;
  height: calc(100vh - 4.5rem) !important;
  max-height: 820px !important;
  padding-top: 30px !important;
  padding-bottom: 90px !important;
}

#mdc-products-hero-section .hero-content-inner {
  position: relative !important;
  z-index: 10 !important;
  width: 84% !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding-top: 20px !important;
  padding-bottom: 40px !important;
}

#mdc-products-hero-section .hero-action-buttons {
  margin-top: 20px !important;
  margin-bottom: 24px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
}

#mdc-products-hero-section .hero-marquee-bar {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 20 !important;
  width: 100% !important;
}

/* ── MODUCO GLOBAL MODALS & OVERLAYS STACKING CONTEXT ENFORCEMENT ── */
#mdc-vsa-modal,
#mdc-cart-drawer,
#mdc-customer-portal-modal,
#mdc-auth-modal,
#mdc-refund-modal,
#mdc-cad-plan-modal,
#mdc-master-modal,
#mdc-career-apply-modal,
#mdc-review-modal,
#mdc-image-modal,
.mdc-modal-overlay,
[id*="mdc-"][id*="-modal"],
.z-\[999999\],
.z-\[9999999\],
.z-\[10001\] {
  z-index: 9999999 !important;
  position: fixed !important;
}

/* ── FLOATING GOLDEN PRIVILEGE WHEEL BUTTON IN RIGHT CORNER ── */
#mdc-floating-wheel-btn {
  position: fixed !important;
  bottom: 78px !important;
  right: 24px !important;
  z-index: 9999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #F1CA5C 0%, #E5A81E 100%) !important;
  color: #0b1526 !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 0.02em !important;
  border: 1.5px solid rgba(255, 255, 255, 0.7) !important;
  box-shadow: 0 10px 25px -5px rgba(241, 202, 92, 0.5), 0 8px 10px -6px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
}

#mdc-floating-wheel-btn:hover {
  transform: translateY(-2px) scale(1.04) !important;
  background: linear-gradient(135deg, #FFE180 0%, #F1CA5C 100%) !important;
  box-shadow: 0 15px 30px -5px rgba(241, 202, 92, 0.7), 0 10px 12px -6px rgba(0, 0, 0, 0.35) !important;
}

#mdc-floating-wheel-btn .wheel-spin-icon {
  font-size: 16px;
  line-height: 1;
  display: inline-block;
  animation: mdc-spin 10s linear infinite;
}

@keyframes mdc-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  #mdc-floating-wheel-btn {
    bottom: 72px !important;
    right: 16px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
  }
}

/* ── FLOATING AI SALES ASSISTANT IN RIGHT CORNER ── */
#mdc-floating-assistant-btn {
  position: fixed !important;
  bottom: 84px !important;
  right: 24px !important;
  z-index: 9999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 18px !important;
  border-radius: 9999px !important;
  background: linear-gradient(135deg, #1F407B 0%, #0F2347 100%) !important;
  color: #ffffff !important;
  font-family: inherit !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
  border: 1.5px solid rgba(241, 202, 92, 0.45) !important;
  box-shadow: 0 10px 25px -5px rgba(31, 64, 123, 0.45), 0 8px 10px -6px rgba(0, 0, 0, 0.25) !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  user-select: none !important;
}

#mdc-floating-assistant-btn:hover {
  transform: translateY(-2px) scale(1.04) !important;
  border-color: #F1CA5C !important;
  box-shadow: 0 15px 30px -5px rgba(31, 64, 123, 0.6), 0 10px 12px -6px rgba(0, 0, 0, 0.35) !important;
}

#mdc-floating-assistant-btn .bot-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: mdc-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes mdc-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

@media (max-width: 640px) {
  #mdc-floating-assistant-btn {
    bottom: 80px !important;
    right: 16px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
  }
}

/* Fix review cards image height and aspect ratio universally */
#mdc-portfolio-reviews-hub .group > div:first-child {
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  width: 100% !important;
  position: relative !important;
  overflow: hidden !important;
}

#mdc-portfolio-reviews-hub .group > div:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

/* ==========================================================================
   BOOK @ 1% - 7-DAY REFUND & CREDIT NOTE POLICY HOVER TOOLTIP
   ========================================================================== */

.mdc-book-btn-wrapper {
  position: relative !important;
  display: flex !important;
  flex: 1 1 0% !important;
}

.mdc-book-btn-wrapper .btn-quick-order {
  width: 100% !important;
}

/* Floating Tooltip Container */
.mdc-policy-tooltip {
  position: absolute !important;
  bottom: calc(100% + 12px) !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(8px) !important;
  width: 290px !important;
  max-width: 90vw !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #10b981 !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(16, 185, 129, 0.15) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s !important;
  z-index: 99999 !important;
  font-family: inherit !important;
  text-align: left !important;
}

/* Downward Arrow Caret */
.mdc-policy-tooltip::after {
  content: '' !important;
  position: absolute !important;
  bottom: -6px !important;
  left: 50% !important;
  transform: translateX(-50%) rotate(45deg) !important;
  width: 10px !important;
  height: 10px !important;
  background: #ffffff !important;
  border-right: 1.5px solid #10b981 !important;
  border-bottom: 1.5px solid #10b981 !important;
}

/* Reveal on hover */
.mdc-book-btn-wrapper:hover .mdc-policy-tooltip,
.mdc-book-btn-wrapper:focus-within .mdc-policy-tooltip {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

.mdc-policy-tooltip-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-bottom: 1px solid #f1f5f9 !important;
  padding-bottom: 6px !important;
  margin-bottom: 8px !important;
}

.mdc-policy-tooltip-badge {
  background: #ecfdf5 !important;
  color: #047857 !important;
  border: 1px solid #a7f3d0 !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  padding: 2px 7px !important;
  border-radius: 9999px !important;
}

.mdc-policy-tooltip-item {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  margin-bottom: 6px !important;
  color: #334155 !important;
}

.mdc-policy-tooltip-item:last-child {
  margin-bottom: 0 !important;
}

.mdc-policy-tooltip-icon {
  font-size: 13px !important;
  flex-shrink: 0 !important;
  line-height: 1.2 !important;
}

.mdc-policy-tooltip-item strong {
  color: #0f172a !important;
  font-weight: 800 !important;
}

/* Allow policy tooltip to escape parent card bounds */
#mdc-products-catalog-grid .group,
[id^="mdc-dyn-"],
.mdc-project-addon {
  overflow: visible !important;
}

/* ── Prominent Specs Button on Cards ── */
.btn-card-specs {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  background: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  padding: 6px 12px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.btn-card-specs:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
  color: #0f172a !important;
}

.dark .btn-card-specs {
  background: #1e293b !important;
  color: #f1f5f9 !important;
  border-color: #334155 !important;
}

.dark .btn-card-specs:hover {
  background: #334155 !important;
  border-color: #475569 !important;
}

/* ── Specs Modal Flooring Options Cards ── */
.mdc-specs-flooring-card {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.mdc-specs-flooring-card:hover {
  border-color: #1F407B !important;
  transform: translateY(-1px);
}

.dark .mdc-specs-flooring-card:hover {
  border-color: #38bdf8 !important;
}

/* ── Universal Modal Elevation & Safari WebKit Layer Isolation ── */
#mdc-vsa-modal,
#mdc-wo-modal,
#mdc-specs-modal,
#mdc-cart-drawer-overlay,
#mdc-submit-review-modal,
#mdc-refund-modal,
#mdc-auth-modal,
#mdc-golden-wheel-overlay,
#mdc-warranty-modal,
#mdc-ineligible-modal {
  z-index: 2147483647 !important;
  isolation: isolate !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow-y: auto !important;
  padding: 20px 16px !important;
  box-sizing: border-box !important;
}

#mdc-vsa-modal > div,
#mdc-wo-modal > div,
#mdc-specs-modal > div,
#mdc-refund-modal > div,
#mdc-auth-modal > div,
#mdc-golden-wheel-overlay > div,
#mdc-warranty-modal > div {
  margin: auto !important;
  max-height: 92vh !important;
  overflow-y: auto !important;
}

body:has(#mdc-vsa-modal) [data-ocid="contact.form.card"],
body:has(#mdc-wo-modal) [data-ocid="contact.form.card"],
body:has(#mdc-specs-modal) [data-ocid="contact.form.card"] {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

