/* ============================================
   Plantacles Site-Wide CSS Overrides
   ============================================ */

/* 1. HTML & BODY DEFAULTS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (max-width: 768px) {
  html {
    font-size: 14px;
  }
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #222222;
  background-color: #FFFFFF;
  line-height: 1.5;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* 2. CONTAINER — full-width like admin panel */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
  width: 100%;
  max-width: 100% !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 3vw, 2rem);
  padding-right: clamp(1rem, 3vw, 2rem);
}

/* 2. FOCUS & ACCESSIBILITY */
button:focus,
button:active:focus,
input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #1F6F43;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(31, 111, 67, 0.1);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus {
  box-shadow: 0 0 0 3px rgba(31, 111, 67, 0.1);
  outline: 2px solid #1F6F43;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  border-color: #1F6F43;
  box-shadow: 0 0 0 3px rgba(31, 111, 67, 0.1);
}

/* 3. SCROLLBAR STYLING */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #F8FAF7;
}

::-webkit-scrollbar-thumb {
  background: #A8C9A1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1F6F43;
}

/* 4. SELECTION STYLING */
::selection {
  background-color: #1F6F43;
  color: #FFFFFF;
}

::-moz-selection {
  background-color: #1F6F43;
  color: #FFFFFF;
}

/* 5. LINKS */
a {
  color: #1F6F43;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

a:hover {
  color: #2D8659;
}

/* 6. IMAGES */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 7. CODE BLOCKS */
code,
pre {
  font-family: 'Menlo', 'Monaco', 'Courier New', monospace;
  background-color: #F8FAF7;
  border-radius: 4px;
  padding: 2px 6px;
}

pre {
  padding: 12px 16px;
  overflow-x: auto;
}

/* 8. BOOTSTRAP OVERRIDES */
.btn-primary {
  background-color: #1F6F43;
  border-color: #1F6F43;
  color: #FFFFFF;
  font-weight: 600;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: #2D8659;
  border-color: #2D8659;
}

.btn-primary:active {
  background-color: #0F5033;
  border-color: #0F5033;
}

.btn-outline-primary {
  color: #1F6F43;
  border-color: #1F6F43;
}

.btn-outline-primary:hover {
  background-color: #1F6F43;
  border-color: #1F6F43;
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #A8C9A1;
  border-color: #A8C9A1;
  color: #222222;
}

.btn-secondary:hover {
  background-color: #8BAA82;
  border-color: #8BAA82;
}

.btn-accent {
  background-color: #D4A017;
  border-color: #D4A017;
  color: #FFFFFF;
}

.btn-accent:hover {
  background-color: #B8860B;
  border-color: #B8860B;
}

/* Wishlist buttons */
.wishlist-toggle {
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e3dc;
  color: #6c757d;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  z-index: 2;
}

.wishlist-toggle:hover {
  color: #dc3545;
  border-color: #dc3545;
  background: #fff;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.15);
}

.wishlist-toggle.active {
  background: #fff;
  border-color: #e0e3dc;
  color: #dc3545;
}

.wishlist-toggle.active:hover {
  border-color: #dc3545;
}

.wishlist-btn {
  border: 1px solid #d5d9d9;
  background: #fff;
  color: #0f1111;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.wishlist-btn:hover {
  border-color: #dc3545;
  color: #dc3545;
  background: #fff5f5;
}

.wishlist-btn.active {
  border-color: #dc3545;
  color: #dc3545;
  background: #fff5f5;
}

.wishlist-btn.active:hover {
  background: #ffe8e8;
}

/* 9. FORM INPUTS */
.form-control {
  border: 1px solid #E0E3DC;
  border-radius: 8px;
  padding: 12px 16px;
  height: 44px;
  font-size: 1rem;
  transition: all 0.2s ease-in-out;
}

.form-control:focus {
  border-color: #1F6F43;
  box-shadow: 0 0 0 3px rgba(31, 111, 67, 0.1);
}

.form-select {
  border: 1px solid #E0E3DC;
  border-radius: 8px;
  padding: 12px 16px;
  height: 44px;
}

.form-select:focus {
  border-color: #1F6F43;
  box-shadow: 0 0 0 3px rgba(31, 111, 67, 0.1);
}

.form-check-input {
  width: 20px;
  height: 20px;
  border: 1px solid #E0E3DC;
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: #1F6F43;
  border-color: #1F6F43;
}

/* 10. BADGES */
.badge {
  font-weight: 600;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
}

.badge-primary {
  background-color: #E8F3ED;
  color: #1F6F43;
}

.badge-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28A745;
}

/* 11. CARDS */
.card {
  border: 1px solid #E0E3DC;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(31, 111, 67, 0.08);
  transition: all 0.2s ease-in-out;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(31, 111, 67, 0.1);
}

.card-header {
  background-color: #F8FAF7;
  border-bottom: 1px solid #E0E3DC;
  border-radius: 12px 12px 0 0;
}

/* 12. ALERTS */
.alert {
  border: none;
  border-radius: 12px;
  border-left: 4px solid;
  padding: 1rem 1.5rem;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #155724;
  border-left-color: #28A745;
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: #856404;
  border-left-color: #FFC107;
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: #721c24;
  border-left-color: #DC3545;
}

.alert-info {
  background-color: rgba(23, 162, 184, 0.1);
  color: #0c5460;
  border-left-color: #17A2B8;
}

/* 13. NAVBAR */
.navbar {
  box-shadow: 0 2px 8px rgba(31, 111, 67, 0.05);
}

.navbar-brand {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: #1F6F43 !important;
  font-size: 1.25rem;
}

.navbar-nav .nav-link {
  color: #222222 !important;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  padding: 0.5rem 0.75rem !important;
}

.navbar-nav .nav-link:hover {
  color: #1F6F43 !important;
}

.navbar-nav .nav-link.active {
  color: #1F6F43 !important;
}

/* 14. DROPDOWNS */
.dropdown-menu {
  border: 1px solid #E0E3DC;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(31, 111, 67, 0.1);
}

.dropdown-item {
  color: #222222;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #F8FAF7;
  color: #1F6F43;
}

.dropdown-divider {
  border-color: #E0E3DC;
}

/* 15. PAGINATION */
.pagination {
  gap: 4px;
}

.page-link {
  color: #1F6F43;
  border: 1px solid #E0E3DC;
  border-radius: 8px;
  transition: all 0.2s ease-in-out;
}

.page-link:hover {
  background-color: #F8FAF7;
  border-color: #1F6F43;
}

.page-item.active .page-link {
  background-color: #1F6F43;
  border-color: #1F6F43;
}

/* 16. MODALS */
.modal-content {
  border: 1px solid #E0E3DC;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(31, 111, 67, 0.15);
}

.modal-header {
  border-bottom: 1px solid #E0E3DC;
  padding: 1.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: 1px solid #E0E3DC;
  padding: 1.5rem;
}

/* 17. TABS */
.nav-tabs {
  border-bottom: 2px solid #E0E3DC;
}

.nav-tabs .nav-link {
  color: #666666;
  border: none;
  border-bottom: 3px solid transparent;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  position: relative;
  bottom: -2px;
}

.nav-tabs .nav-link:hover {
  color: #1F6F43;
  border-bottom-color: #D4A017;
}

.nav-tabs .nav-link.active {
  color: #1F6F43;
  background-color: transparent;
  border-bottom-color: #1F6F43;
}

/* 18. PROGRESS BARS */
.progress {
  background-color: #F0F2EF;
  border-radius: 12px;
  height: 8px;
}

.progress-bar {
  background-color: #1F6F43;
}

/* 19. TABLES */
table {
  border-collapse: collapse;
}

.table {
  border-color: #E0E3DC;
}

.table th {
  background-color: #F8FAF7;
  color: #222222;
  font-weight: 600;
  border-color: #E0E3DC;
}

.table td {
  border-color: #E0E3DC;
}

.table tbody tr:hover {
  background-color: #F8FAF7;
}

/* 20. BREADCRUMB */
.breadcrumb {
  background-color: transparent;
  padding: 0;
  font-size: 0.875rem;
}

.breadcrumb-item a {
  color: #1F6F43;
}

.breadcrumb-item.active {
  color: #666666;
}

/* 21. SPINNER/LOADING */
.spinner-border {
  border-color: #F8FAF7;
  border-right-color: #1F6F43;
}

.spinner-grow {
  background-color: #1F6F43;
}

/* 22. FOOTER — base; see pages.css for component styles */
footer.site-footer {
  background-color: var(--home-cream, #FAF9F6);
  border-top: 1px solid var(--home-border, #E5E2DC);
  margin-top: auto;
}

/* 23. RESPONSIVE UTILITIES */
@media (max-width: 768px) {
  .container,
  .container-sm,
  .container-md {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

/* 24. CUSTOM GRID SYSTEM */
.grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.grid-1 {
  grid-template-columns: 1fr;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.grid-6 {
  grid-template-columns: repeat(6, 1fr);
}

.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-7 { gap: 1.75rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Responsive Grid */
@media (max-width: 1024px) {
  .grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-6,
  .grid-5,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .grid-6,
  .grid-5,
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

/* 25. SECTION PADDING */
.section {
  padding: 3rem 0;
}

.section-sm {
  padding: 1.5rem 0;
}

.section-lg {
  padding: 4rem 0;
}

.section-xl {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  .section {
    padding: 2rem 0;
  }

  .section-lg {
    padding: 3rem 0;
  }

  .section-xl {
    padding: 4rem 0;
  }
}

/* 26. FLEX UTILITIES */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-start {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* 27. SPACING UTILITIES */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-7 { margin-bottom: 1.75rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-12 { padding: 3rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }

.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }

/* 28. DISPLAY UTILITIES */
.d-block { display: block; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-none { display: none; }

.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }

/* 29. TEXT UTILITIES */
.text-white { color: #FFFFFF; }
.text-white-50 { color: rgba(255, 255, 255, 0.5); }
.text-muted { color: #666666; }
.text-primary { color: #1F6F43; }
.text-accent { color: #D4A017; }
.text-success { color: #28A745; }
.text-danger { color: #DC3545; }
.text-info { color: #17A2B8; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fw-normal { font-weight: 400; }

.fs-1 { font-size: 2.5rem; }
.fs-2 { font-size: 2rem; }
.fs-3 { font-size: 1.75rem; }
.fs-4 { font-size: 1.5rem; }
.fs-5 { font-size: 1.25rem; }

.small { font-size: 0.875rem; }

/* 30. BACKGROUND UTILITIES */
.bg-light-bg { background-color: #F8FAF7; }
.bg-light-gray { background-color: #F0F2EF; }
.bg-white { background-color: #FFFFFF; }
.bg-gradient { background: linear-gradient(135deg, #1F6F43 0%, #2D8659 100%); }

/* 31. BORDER UTILITIES */
.border-0 { border: 0 !important; }
.border-1 { border: 1px solid #E0E3DC; }
.border-top { border-top: 1px solid #E0E3DC; }
.border-bottom { border-bottom: 1px solid #E0E3DC; }
.border-primary { border-color: #1F6F43; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-3xl { border-radius: 24px; }

/* 32. SHADOW UTILITIES */
.shadow-sm { box-shadow: 0 2px 8px rgba(31, 111, 67, 0.08); }
.shadow { box-shadow: 0 4px 16px rgba(31, 111, 67, 0.1); }
.shadow-lg { box-shadow: 0 8px 32px rgba(31, 111, 67, 0.12); }

/* 33. WIDTH & HEIGHT */
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.min-vh-100 { min-height: 100vh; }

/* 34. POSITION */
.position-relative { position: relative; }
.position-absolute { position: absolute; }
.position-sticky { position: sticky; }

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.z-1000 { z-index: 1000; }

/* 35. OVERFLOW */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* 36. HOVER EFFECTS */
.hover-lift {
  transition: all 0.3s ease-in-out;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(31, 111, 67, 0.15);
}

/* 37. ANIMATION UTILITIES */
.animate-fade-in-left {
  animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-in-right {
  animation: fadeInRight 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 38. IMAGE UTILITIES */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 39. LIST UTILITIES */
.list-unstyled {
  list-style: none;
  padding-left: 0;
}

.list-group-flush .list-group-item {
  border-left: 0;
  border-right: 0;
}

/* 40. SMOOTH TRANSITION */
.smooth-transition {
  transition: all 0.3s ease-in-out;
}

/* 25. UTILITY CLASSES */
.text-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.text-break {
  word-break: break-word;
  overflow-wrap: break-word;
}

.no-underline {
  text-decoration: none !important;
}

.smooth-transition {
  transition: all 0.2s ease-in-out;
}

/* 26. PRINT STYLES */
@media print {
  body {
    color: black;
    background: white;
  }

  a {
    text-decoration: underline;
  }

  button,
  input,
  select,
  textarea {
    background: transparent;
  }

  .d-print-none {
    display: none !important;
  }
}

/* 41. RESPONSIVE DISPLAY UTILITIES */
/* Extra Small (XS) - Default */
.d-xs-none { display: none; }
.d-xs-block { display: block; }
.d-xs-inline { display: inline; }
.d-xs-inline-block { display: inline-block; }
.d-xs-flex { display: flex; }
.d-xs-grid { display: grid; }

/* Small (SM) - 576px and up */
@media (min-width: 576px) {
  .d-sm-none { display: none !important; }
  .d-sm-block { display: block !important; }
  .d-sm-inline { display: inline !important; }
  .d-sm-inline-block { display: inline-block !important; }
  .d-sm-flex { display: flex !important; }
  .d-sm-grid { display: grid !important; }
}

/* Medium (MD) - 768px and up */
@media (min-width: 768px) {
  .d-md-none { display: none !important; }
  .d-md-block { display: block !important; }
  .d-md-inline { display: inline !important; }
  .d-md-inline-block { display: inline-block !important; }
  .d-md-flex { display: flex !important; }
  .d-md-grid { display: grid !important; }
}

/* Large (LG) - 992px and up */
@media (min-width: 992px) {
  .d-lg-none { display: none !important; }
  .d-lg-block { display: block !important; }
  .d-lg-inline { display: inline !important; }
  .d-lg-inline-block { display: inline-block !important; }
  .d-lg-flex { display: flex !important; }
  .d-lg-grid { display: grid !important; }
}

/* Extra Large (XL) - 1200px and up */
@media (min-width: 1200px) {
  .d-xl-none { display: none !important; }
  .d-xl-block { display: block !important; }
  .d-xl-inline { display: inline !important; }
  .d-xl-inline-block { display: inline-block !important; }
  .d-xl-flex { display: flex !important; }
  .d-xl-grid { display: grid !important; }
}

/* 42. ENHANCED ROW/COLUMN UTILITIES */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.row > * {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.col {
  flex: 1 0 0%;
}

.col-12 { flex: 0 0 auto; width: 100%; }
.col-11 { flex: 0 0 auto; width: 91.66666667%; }
.col-10 { flex: 0 0 auto; width: 83.33333333%; }
.col-9 { flex: 0 0 auto; width: 75%; }
.col-8 { flex: 0 0 auto; width: 66.66666667%; }
.col-7 { flex: 0 0 auto; width: 58.33333333%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-5 { flex: 0 0 auto; width: 41.66666667%; }
.col-4 { flex: 0 0 auto; width: 33.33333333%; }
.col-3 { flex: 0 0 auto; width: 25%; }
.col-2 { flex: 0 0 auto; width: 16.66666667%; }
.col-1 { flex: 0 0 auto; width: 8.33333333%; }

/* SM Breakpoint */
@media (min-width: 576px) {
  .col-sm-12 { flex: 0 0 auto; width: 100%; }
  .col-sm-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-sm-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-sm-9 { flex: 0 0 auto; width: 75%; }
  .col-sm-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-sm-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
  .col-sm-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-sm-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-sm-3 { flex: 0 0 auto; width: 25%; }
  .col-sm-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-sm-1 { flex: 0 0 auto; width: 8.33333333%; }
}

/* MD Breakpoint */
@media (min-width: 768px) {
  .col-md-12 { flex: 0 0 auto; width: 100%; }
  .col-md-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-md-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-md-9 { flex: 0 0 auto; width: 75%; }
  .col-md-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-md-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  .col-md-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-md-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-md-1 { flex: 0 0 auto; width: 8.33333333%; }
}

/* LG Breakpoint */
@media (min-width: 992px) {
  .col-lg-12 { flex: 0 0 auto; width: 100%; }
  .col-lg-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-lg-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-lg-1 { flex: 0 0 auto; width: 8.33333333%; }
}

/* XL Breakpoint */
@media (min-width: 1200px) {
  .col-xl-12 { flex: 0 0 auto; width: 100%; }
  .col-xl-11 { flex: 0 0 auto; width: 91.66666667%; }
  .col-xl-10 { flex: 0 0 auto; width: 83.33333333%; }
  .col-xl-9 { flex: 0 0 auto; width: 75%; }
  .col-xl-8 { flex: 0 0 auto; width: 66.66666667%; }
  .col-xl-7 { flex: 0 0 auto; width: 58.33333333%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.66666667%; }
  .col-xl-4 { flex: 0 0 auto; width: 33.33333333%; }
  .col-xl-3 { flex: 0 0 auto; width: 25%; }
  .col-xl-2 { flex: 0 0 auto; width: 16.66666667%; }
  .col-xl-1 { flex: 0 0 auto; width: 8.33333333%; }
}

/* 43. DISPLAY CLASSES FIX FOR BOOTSTRAP */
.d-lg-none { display: none !important; }
.d-lg-block { display: block !important; }
.d-lg-inline-block { display: inline-block !important; }
.d-lg-flex { display: flex !important; }

/* 44. ROW GAP UTILITIES */
.row.gap-1 { gap: 0.25rem; }
.row.gap-2 { gap: 0.5rem; }
.row.gap-3 { gap: 0.75rem; }
.row.gap-4 { gap: 1rem; }
.row.gap-5 { gap: 1.25rem; }
.row.gap-6 { gap: 1.5rem; }

/* 45. STICKY POSITIONING */
.sticky-lg-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

@media (max-width: 991px) {
  .sticky-lg-top {
    position: relative;
  }
}

/* 46. NAVBAR FIXES */
.navbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  font-weight: 700 !important;
}

/* Let Bootstrap handle navbar-nav layout for responsive behavior */
.navbar-nav {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  color: #222222 !important;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #1F6F43 !important;
}

.navbar-nav .nav-link i {
  margin-right: 0.5rem;
}

/* Desktop layout for navbar-nav */
@media (min-width: 992px) {
  .navbar-nav {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
}

/* Mobile layout */
@media (max-width: 991px) {
  .navbar-nav {
    flex-direction: column !important;
    width: 100% !important;
  }

  /* Ensure desktop-only sections are truly hidden on mobile */
  .d-lg-flex {
    display: none !important;
  }
}

/* Ensure proper styling for dropdown toggles in navbar */
.navbar .dropdown-toggle::after {
  margin-left: 0.25rem;
}

/* Button styling in navbar */
.navbar .btn-primary {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

/* Ensure proper alignment of navbar collapse items */
.navbar-collapse {
  flex-basis: 100%;
}

