body {
  padding-top: 84px;
}

select.form-control {
    background-position: right .75rem center;
    background-size: 16px 12px;
    background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e);
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}
         .qtyinput {
            display: flex;
            align-items: center;lister:$apr1$9ztbkcju$xZBgJpuWhMhcA7cI/OaJ10
            margin-bottom: 10px;
        }
    .qtyinput i {
        cursor: pointer;
        margin: 0 10px;
    }
    .qtyinput i.disabled {
        color: #ccc;
        cursor: not-allowed;
    }


.card {
  box-shadow: 0 2px 4px rgba(126, 142, 177, .32)
}
.rhd {
  font-family: "Red Hat Display", serif;
  font-optical-sizing: auto;
}
			.toast {
				opacity: 1 !important;
			}
			#toast-container > div:hover, #toast-container > div {
				-moz-box-shadow: none !important;
				-webkit-box-shadow: none !important;
				box-shadow: none !important;
			}
           
    .navbar-custom {
      background-color: rgb(196,35,23) !important;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
      z-index: 10;
    }
    .navbar-secondary {
    background-color: rgba(144, 138, 153, 0.2) !important;
}
    .card-header {
      background-color: rgba(196, 35, 23, 0.8);
    }
    .card-header h5 {
      margin-bottom: 0px;
      color: white;
      font-size: 1rem;
      margin-left: 5px;
      font-family: "Red Hat Display", serif;
      font-optical-sizing: auto;
      font-weight: bold;      
    }
    a.navbar-brand img {
    max-width: 150px;
    filter: brightness(0) saturate(100%) invert(1);
}


.nav-icons a {
  padding: 13px 0px 13px 26px;
}
.navbar-collapse {
  flex-basis: 100%;
    flex-grow: 1;
    position: absolute;
    width: 100%;
    padding-bottom: 6px !important;
    z-index: 9999;
    background-color: lightgrey;
    padding: 0px 23px;
    padding-bottom: 30px !important;
}
input {
  font-size: 1rem;
}
body {
      display: flex;
      flex-direction: column;
      min-height: 100vh;
      font-family: Jost, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
    overflow-x: hidden !important;
    }
    .footer {
      background-color: rgb(33, 26, 33);
    margin-top: auto;
    color: white;
    border-top: 2px solid rgb(144, 138, 153);
    box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.3);
    z-index: 20;
    }
    button.btn.btn-secondary {
    background-color:#908a99;
    border-color: #908a99;
}
button.btn.btn-secondary:hover {
    background-color: #6f42c1;
}
.nav-link i.bi {
    margin-right: 5px;
}
/* Make the reader full-screen */
#reader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw; /* Full width */
    height: 100vh; /* Full height */
    z-index: 1000; /* Ensure it appears on top */
    display: none; /* Hide initially */
    background: black; /* Add a background to cover content behind */
    z-index: 99999;
}

/* Style the stop button to be at the bottom */
#stopScan {
    position: absolute;
   
    transform: translateX(-50%); /* Adjust for centering */
    padding: 15px 30px;
    font-size: 18px;
    cursor: pointer;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 5px;
    z-index: 100001; /* Ensure it appears above the reader */
    display: none; /* Hide initially */
}
.notes {
    background-color: rgba(255, 255, 0, 0.3);
    padding: 10px;
    border-radius: 10px;
    border: 1px dashed rgb(196, 35, 23) !important;
    margin-bottom: 20px;
    font-family: "Red Hat Display", serif;
    font-weight: 800;
    font-style: italic;
    font-size: 0.95rem;
    text-align: center;
}
.notes span {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  font-style: normal;
  font-family: "Red Hat Display", serif;
  font-optical-sizing: auto;
      text-align: left;
}
.qtyvalue {
  text-align: center;
}
.qtyinput i {
    cursor: pointer;
    margin: 0 6px;
}
.item-header-radius {
  border-radius: 3px !important;
}
.item-header {
  cursor: pointer;
}
.ip-price.mb-2 {
    font-size: 1.25rem;
    font-weight: bold;
}

.toast-container {
    z-index: 1055; /* Ensure toasts appear above other elements */
}
.toast {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Adjust time for fade-in */
}
.text-bg-success .toast-body {
  color: white;
}
.toast-header {
  background-color: rgb(33,26,33);
  color: white;
  font-weight: bold;
}
.toast.show {
    opacity: 1;
}
.btn-catrp {
  background-color: #4f43ae;
  color: white;
}
.btn-catrp:hover,.btn-catrp:focus,.btn-catrp:active {
  background-color: #6f42c1;
  color:white;
}
.card-in-box.shown {
  background-color:  #4f43ae; 
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: absolute;
    right: 8px;
    top: -7px;
    border-radius: 3px;
    padding: 5px 18px;
}
.item-view {
    max-height: 0; /* Start hidden */
    overflow: hidden;
    padding: 0; /* Remove padding when hidden */
    transition: max-height 0.3s ease, padding 0.3s ease; /* Smooth transition for height and padding */
}

.item-view.active {
    max-height: 8000px; /* Arbitrary large value */
    overflow: visible; /* Allow overflow during expansion */
    padding: 1rem; /* Ensure padding is restored during expansion */
}
.shadowme {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.cartpanel {
    position: absolute;
    top: 100%; /* Places it directly below the Box link */
    left: 66%; /* Centers it horizontally */
    transform: translateX(-50%); /* Ensures perfect centering */
    background-color: #4f43ae;
    padding: 10px 15px;    
    border-radius: 8px; /* Rounded edges for the bubble */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1050; /* Ensures it appears above other content */
    white-space: nowrap; /* Keeps text on one line */
    position: absolute;
    color: white;
    font-weight: bold;
}

.cartpanel::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent purple transparent;
}

.cartpanel::after {
    content: '';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent #ddd transparent;
}

.cartpanel.hide {
  display: none;
}

.nav-icons .position-relative {
    display: inline-block; /* Ensures the relative positioning works */
}



div#cart-items {
    display: inline;
    float: left;
    margin-right: 5px;
}

div#cart-value {
    display: inline;
}
span.subcategory {
  display: block;
  font-weight: 800;
  font-size: 1.25rem;
  font-family: "Red Hat Display", serif;
  margin-bottom: 3px;
  color: black;
}
.search-title {
  font-family: "Red Hat Display", serif;
  font-optical-sizing: auto;
  font-weight: 900;
  padding: 10px;
  padding-left: 0px;
}
a.nav-link {
    font-family: "Red Hat Display", serif;
    font-optical-sizing: auto;
    font-weight: 900;
    font-size: 1rem;
}
button, h4 {
  font-family: "Red Hat Display", serif;
    font-optical-sizing: auto;
}
.cartpanel, .card-in-box {
    font-family: Jost, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
    font-size: 0.85rem;
}
.card-body.item-view {
  font-family: Jost, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
  font-size: 1rem;
}
.cart-container {
    display: flex; /* Aligns child elements in a row */
    gap: 8px; /* Adds spacing between spans */
    font-family: Jost, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
    margin-left: 50px;
    padding: 5px;
}
.toast-container.bottom-center {
    bottom: 20px; /* Distance from the bottom */
    left: 50%; /* Center horizontally */
    transform: translateX(-50%); /* Adjust for center alignment */
    z-index: 1055; /* Ensure it's above other elements */
}
.badge.rounded-pill {
    padding-bottom: 5px;
    font-family: Jost, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
    font-size: 0.85rem;
    padding-top: 5px;
}
a {
  color: rgb(196,35,23) ;
}
.navbar-secondary a.nav-link {
  color: #4f43ae; 
}
.alert-message a {
  color: white;
  font-weight: bold;
}
strong {
  font-weight: bold;
}
.order-print {
  position: absolute;
    right: 7px;
    top: 7px;
}
.complete-sub {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 60px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.formnotes {
  background-color: lightyellow;
    border-radius: 10px;
    padding: 10px;
    display: block;
    border: 1px dashed darkgrey;
    margin-bottom: 10px;
}
.btn {
  font-family: Jost, -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica Neue, Arial, sans-serif;
}
.cb .card-body p {
  font-size: 1rem;
}
.inline-logo {
  max-width: 140px;
  margin-bottom: 6px;
}
.display-leader {        
        font-size: 2rem;
        font-weight: bold;
    }
#cookieModal .modal-dialog {
  margin: 0;
}
.cookie-modal-content {
    position: fixed;
    bottom: 0;
    width: 100%;
    margin: 0;
    border-radius: 0; /* Remove rounded corners */
  }

  .cookie-modal-content .modal-body {
    padding: 1rem;
    background-color: #f8f9fa; /* Light gray background */
  }
  footer a {
    color: white;
  }
  footer a:hover {
    color: rgba(196, 35, 23, 0.8);
  }
  footer i {
    margin-right: 5px;
  }
  .pricearrow {   
    font-size: 1rem;
    cursor: pointer;
    padding-top: 6px;
    display: inline;   
  }
  .info-icon {
    font-size: 1rem;
    cursor: pointer;
    color: #0d6efd;
    padding-top: 6px;
    display: inline;
    }

    .info-icon:hover {
     color:rgba(196, 35, 23, 0.8); /* Darker hover color */
    }
    .tooltip-inner {
    background-color: rgba(196, 35, 23, 1); /* Custom background */
    color: #fff; /* Custom text color */
  }
  .tooltip .tooltip-arrow:before {
  border-top-color: rgba(196, 35, 23, 1) !important;  /* Match the tooltip background */
}
.condsub {
    font-weight: bold;
    padding: 10px;
    text-align: right;
    padding-right: 20px;
}
.hero-content h1 {
    font-weight: 900 !important;
    font-size: 4rem;
}

.hero-content {
  z-index: 2;
}

.hero-section {
  position: relative;
  height: 100vh; /* Desktop default */
  
  background-image: url('/src/img/leader-back.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  display: flex;
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for readability */
  z-index: 1;
}
.fplogo {
  max-width: 220px;
}
.hero-content .btn {
  font-weight: 700;
  font-size: 1.5rem;
}
.sitemessage {
    position: absolute;
    top: 0px;
    width: 100%;
    text-align: center;
    left: 0;
    font-weight: 900;
    padding: 10px;
    font-size: 1.25rem;
    z-index: 4;
    color: yellow;
}
@media (max-width: 991px) { 
  .hero-content {
    margin-top: 1rem;
  }
body {
  min-height: auto;
}
html {
  overflow-x: hidden;
 }
 .content {
  margin-top: 6rem;
 }
}

@media (max-width: 768px) { 
  .hero-content h1 {
    font-size: 2rem;
  }
  .fplogo {
    max-width: 140px;
  }
  body {
    min-height: auto;
  }
  .sitemessage {
    font-size: 1rem;
  }
  .col-12.col-md-6.col-lg-3.mx-auto.text-center.mb-2 {
    border: 1px solid grey;
    border-radius: 10px;
    padding: 10px 5px;
  }
  .cond-guide .card-body img {
    max-width: 100% !important
  }
 
}
body.item .card-header {
    background-color: white;
    border: 1px solid rgba(33, 26, 33, 0.5);
    box-shadow: 0 2px 4px rgba(126, 142, 177, .32);
    z-index: 5;
    border-radius: 3px !important;
  }
  body.item .card-header h5 {
    color: rgb(33,26,33);
  }
  body.item .card-header.active {
    background-color: rgb(196,35,23) !important;
    color: white;
  }
  body.item .card-header.active h5 {
    color: white;
  }
  body.item .card {
    background-color: rgb(244, 247, 252);
    box-shadow: none;
  }
  body.item .item-view {
    transition: max-height 0.2s, border 0.5s, background-color 0.5s;
  }
  body.item .card-in-box.shown {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    top: -20px;
    border-radius: 8px;
  }
  body.item .card-body {
    box-shadow: 0 2px 4px rgba(126, 142, 177, .32);
    margin: 0px 15px 0px 15px;
    border: 1px solid  rgb(244, 247, 252);
    border-top: 0px;
    border-radius: 10px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
  }
  body.item .card-body.item-view.active {
    border: 1px solid rgba(33, 26, 33, 0.5);
    border-top: 0px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(126, 142, 177, .32);
    padding-bottom: 0.5rem;
  }
  body.item .toggle-icon {
    float: left;
    margin: 0px 10px 0px 0px;
  }
  body.item .notes {
    padding: 15px;
  }
  body.item .pricechange.down {
    color: red;
  }
  body.item .pricechange.up {
    color: green;
  }
  .searchlabel {
    background-color: white;
    position: absolute;
    top: -8px;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    padding: 1px 10px 1px 10px;
    font-size: 0.75rem;
    border: 1px solid lightgrey;
    z-index: -1;
  }
  header form {
    width: 90%;
  }
  .navbar-collapse form {
    width: 100% !important;
  }

  .glowme {    
    animation: glow 1.5s infinite alternate;  
  }
  @keyframes glow {
    from {
      box-shadow: 0 0 5px #4f43ae !important, 0 0 5px #4f43ae !important, 0 0 5px #4f43ae !important,
        0 0 5px #4f43ae !important;
    }
    to {
      box-shadow: 0 0 10px yellow, 0 0 10px yellow, 0 0 10px yellow,
        0 0 10px yellow;
    }
   }

   div.mobilesearch {
    position: absolute;
    z-index: 6;
    left: 0;
    right: 0;
    width: 100%;
    margin: auto;
    background-color: rgb(196,35,23) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
div.mobilesearch form {
    width: 80%;
    margin: auto;
}
section.search-results {
    padding-top: 100px;
}
div#loading-spinner {
    position: absolute;
    margin: auto;
    width: 100%;
    text-align: left;
    background-color: white;
    padding: 17px 10px;
    font-family: 'Red Hat Display';
    font-weight: bold;
    z-index: 7;
    border-bottom: 1px solid rgb(196,35,23);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.navbar-collapse {
    padding-top: 20px;
}
#reader {
    position: fixed !important;
}
#stopScan {
    position: fixed !important; /* Keep it fixed on the screen */
    top: 10px; /* Distance from the top */
    right: 10px; /* Position it in the top-right corner */
    z-index: 100000; /* Ensure it's above everything */
    background: rgba(255, 0, 0, 0.8); /* Semi-transparent red */
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    display: none; /* Hidden by default */
}

.shipment-address {
    border: 1px solid orange;
    padding: 12px;
    font-size: 1rem;
    border-radius: 10px;
    background-color: rgb(196, 35, 23) !important;
    color: floralwhite;
}