@font-face {
  font-family: "Orbitron Bold";
  src: url("fonts/orbitron-bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Monument Bold";
  src: url("fonts/monument-bold.woff2") format("woff2");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Monument";
  src: url("fonts/monument.woff2") format("woff2");
  font-weight: regular;
  font-style: normal;
}

:root[data-bs-theme="dark"] {
  --bs-body-bg: rgb(15, 15, 15);  /* true black background */
  --bs-body-color: #fff; /* white text */
}

.form-select:focus, .form-control:focus {
  border-color: green !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 128, 0, 0.25) !important;
}

ul {
  list-style: none;
}

@media (max-width: 991px) {
  .navbar-nav {
    text-align: left;                  /* center their text */
    width: 100%;
  }

  .navbar-nav .nav-item {
    margin: 5px 0;  /* space between items vertically */
  }
}

.left li {
  font-size: 14px;
  padding: 0.5vh 0;
  background: transparent;
  transition: background 0.2s;
}

/* Highlight when hovering li */
.left li:hover,
.left li:focus,
.left li.active {
  background: rgba(240, 240, 255, 0.9);
}

/* Keep the li highlighted when hovering over the right panel */
.left li:hover ~ .right,
.right:hover {
  /* This alone won’t keep the li highlighted —
     so we’ll need JS to add a class */
}

.left li.active {
  background: rgba(240, 240, 255, 0.9);
}

#searchForm {
  width: 30vw;
  max-width: 30vw;
  position: relative;
}

@media (max-width: 576px) {
  #searchForm {
    width: 90vw !important;
    max-width: 90vw !important;
  }
}

#suggestionsList,
#suggestionsList li,
.dropdown-menu,
.list-group {
  background-color: inherit !important;
  color: #000000 !important; /* make text readable */
}

.dropdown-mega {
  display: none;
  position: fixed;             /* ✅ fixed to viewport */
  top: 11vh;
  color: black;                  /* adjust so it sits just under the navbar */
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;                 /* 80% of screen width */
  height: 400px;               /* fixed height */
  background: white;
  border-radius: 0 0 8px 8px;
  padding: 2rem;
  z-index: 1050;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);

  display: flex;
  gap: 2rem;
  align-items: flex-start;
  justify-content: flex-start;

  opacity: 1;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

/* Show when hovering nav item */
.nav-item:hover .dropdown-mega {
  display: flex;
  opacity: 1;
  visibility: visible;
}

/* Left categories */
.dropdown-mega .left {
  flex: 1;
  border-right: 1px solid #e5e5e5;
  padding-right: 1.5rem;
  overflow-y: auto;
}

/* Right products */
.dropdown-mega .right {
  flex: 3;
  padding-left: 1.5rem;
  overflow-y: auto;
}

@media (max-width: 991px) {
  .dropdown-mega {
    display: none; 
    height: auto;
    top: 0;
    color: white !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;                 /* center based on screen */
    flex-direction: row;        /* ⬅ make it side by side on mobile */
    gap: 0;
    background: inherit !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 0;
  }

  #megaContent li a{
    color: white !important;
    font-size: 14px !important;
  }

  .dropdown-mega.show {
    display: flex;
  }

  .dropdown-mega .left {
    flex: 1;
    margin-left: -5vw;;
    max-height: 300px;
    overflow-y: auto;
  }

  .left li:hover,
  .left li:focus,
  .left li.active {
    background: transparent;
  }

  .dropdown-mega .right {
    flex: 2;
    max-height: 300px;
    overflow-y: auto;
  }

  /* Center nav links on mobile */
}

/* Carousel arrow icons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-image: none;
  font-size: 2.5rem; /* default size */
  color: #28a745;
}

.carousel-control-prev:focus, .carousel-control-next:focus { 
  opacity: 0; outline: none; box-shadow: none;
}

    /* Hide until hover */
.carousel-control-prev,
.carousel-control-next {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 1;
}

    /* Mobile adjustments */
@media (max-width: 768px) {
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    font-size: 0;
  }
  .carousel {
    min-height: 35vh; /* smaller carousel */
  }
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


@media (min-width: 992px) {  /* lg and up */
  .navbar .container-fluid {
    padding-left: 12vw !important;
    padding-right: 12vw !important;
  }
}

@media (max-width: 991px) {  /* md and below */
  .navbar .container-fluid {
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }
}


.card:hover {
  box-shadow: 0 20px 20px 0 rgba(0, 0, 0, 0.4)
}

.econtainer, .ncontainer, .tcontainer, .tpcontainer, .rcontainer, .pcontainer {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* smooth touch scrolling */
  scroll-behavior: smooth;           /* smooth scroll when snapping */
  padding-bottom: 10px;
  cursor: grab;                       /* shows draggable cursor */
}
img {
  user-select: none;
}

.econtainer a, .ncontainer a, .tcontainer a, .tpcontainer a, .rcontainer a, .pcontainer a {
  text-decoration: none;                   /* shows draggable cursor */
}

@media (max-width: 991px) {
  .slides {
    height: 30vh;
  }
}

/* optional: change cursor while dragging */
.rcontainer:active, .pcontainer:active {
  cursor: grabbing;
}


.tcontainer::-webkit-scrollbar, .econtainer::-webkit-scrollbar, .tpcontainer::-webkit-scrollbar, .ncontainer::-webkit-scrollbar, .rcontainer::-webkit-scrollbar, .pcontainer::-webkit-scrollbar {
  visibility: hidden;
}

.tcontainer::-webkit-scrollbar-thumb, .econtainer::-webkit-scrollbar-thumb, .tpcontainer::-webkit-scrollbar-thumb, .ncontainer::-webkit-scrollbar-thumb, .rcontainer::-webkit-scrollbar-thumb, .pcontainer::-webkit-scrollbar-thumb {
  background: #198754;
}

.card-title {
  font-size: 12px;
  font-weight: bold;
  white-space: nowrap;       /* keep text in a single line */
  overflow: hidden;          /* hide overflow text */
  text-overflow: ellipsis;   /* add "..." at the end */
}

.card {
  flex: 0 0 auto; /* prevents shrinking */
  background: black;
  color: white;
  border: 1px solid rgba(100, 100, 100, .6);
}

[data-bs-theme="light"] .card {
  background-color: #fff;   /* white card */
  color: #000;              /* dark text */
}

.rcontainer .card {
  flex: 0 0 calc(33.333% - 1rem);
  width: calc(33.333% - 1rem);
}

@media (max-width: 918px) {
  .rcontainer .card {
    flex: 0 0 calc(50% - 1rem);
    width: calc(50% - 1rem);
  }

  .econtainer .card {
    flex: 0 0 50%;
    width: 50%;
  }
}

@media (max-width: 768px) {
  .econtainer .card {
    flex: 0 0 100%;
    width: 100%;
  }
}

.maps {
  width: 65%;
  height: 400px;
}

.map-dets {
  width: 35%;
}

@media (max-width: 768px) {
  .maps {
    width: 100%;
    height: 200px;
    margin-top: 20px;
  }       
  .map-dets {
    width: 100%;
    height: 200px;
    margin-top: 20px;
  }         
  
}

.container a {
  text-decoration: none;
}

.text-content {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4; /* show only 5 lines */
  -webkit-box-orient: vertical;
}

.text-content.expanded {
  -webkit-line-clamp: unset;
  display: block;
}

#toggleBtn {
  background: none;
  border: none;
  margin-bottom: 2vh;
  color: #198754; /* Bootstrap green */
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.emailus, .facebook{
  bottom: 3vh;
  right: 2vw;
  z-index: 10;
  position: fixed;
  height: 40px;
}

.contacts a{
  margin: 5px 0;
}

.contacts a:hover {
  text-decoration: underline !important;
}

.contacts {
  padding-top: 15px;
  user-select: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button {
  border: none;
}

.accordion-button:not(.collapsed) {
  background-color: #198754; /* your bg-success color */
  color: #fff;
  box-shadow: none;
}

.scroll-wrapper {
  position: relative;
}

.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
}
.scroll-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.scroll-btn {
  position: absolute;
  top: 10%;                        /* center vertically */
  transform: translateY(-50%);     /* adjust to perfect center */
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 5;
}

.scroll-btn.left {
  right: 1%;
}

.scroll-btn.right {
  right: 1%;
}

@media (max-width: 991px) {
  .scroll-btn.left {
  display: none;
}

.scroll-btn.right {
  display: none;
}
}

/* Ensure Bootstrap modals always appear above all product containers */
.modal{
  z-index: 2000 !important;  /* higher than any container */
}

/* Optional: make sure product containers don’t create stacking context */
.tcontainer,
.ncontainer,
.tpcontainer,
.rcontainer,
.pcontainer {
  position: static !important; /* removes stacking context */
  z-index: auto !important;
}

