:root {
  --template-color-0: #bcca00 !important;
  --template-color-1: #c6d401 !important;
}
html,
body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  flex-direction: column;
}
.form-control:focus {
  border: 1px solid #333 !important;
  outline: none !important;
}
.carousel {
  overflow: hidden;
  position: relative;
}
.slides-container {
  display: flex;
  transition: transform 0.5s ease;
}
.slide {
  flex: 0 0 100%;
}
.carousel img {
  max-width: 100%;
  height: 100%;
  width: 100%;
  object-fit: contain;
}
#navbarSupportedContent {
  background: white !important;
}
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}
.carousel-control.prev {
  left: 10px;
}
.carousel-control.next {
  right: 10px;
}
.modal-content {
  max-width: 800px !important;
}
.modal {
  padding: 1rem 0 1rem 0 !important;
}
.modal-body {
  max-height: 90dvh !important;
  overflow-y: auto;
}
.modal-body::-webkit-scrollbar {
  width: 10px;
}
.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.modal-body::-webkit-scrollbar-thumb {
  background: #888;
}
.modal-body::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.slides-container .slide:nth-of-type(n + 2) img {
  object-fit: scale-down !important;
  mix-blend-mode: multiply;
}

/* Equal height product cards */
.card {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.card-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.card-body .clamp-text {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.4 !important;
  max-height: calc(1.4em * 3) !important;
}

.card-body .flex.items-center {
  margin-top: auto !important;
}

/* Ensure consistent column heights in Bootstrap grid */
.row {
  display: flex !important;
  flex-wrap: wrap !important;
}

.col-lg-4, .col-md-6, .col-12 {
  display: flex;
  margin-bottom: 2rem !important;
}

@media (min-width: 100px) and (max-width: 996px) {
  #loginBtn {
    width: 100%;
  }
  #settingsBtn {
    width: 100%;
  }
}
footer .copyright_section .container {
  display: flex;
  gap: 1rem;
}
footer .copyright_section .container p {
  width: 100% !important;
  margin: 0 !important;
  text-align: center;
}
.social_icon ul {
  flex-direction: column;
}
footer .copyright_section .container a {
  width: 100% !important;
  margin: 0 !important;
  text-align: center;
}
@media (min-width: 0px) and (max-width: 505px) {
  footer .copyright_section .container {
    flex-direction: column;
  }
}