@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Staatliches&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;900&display=swap');

:root {
  --font-family: "Inter", sans-serif;
  --font-family-1:"Instrument Serif", serif;
  --font-family-2:"DM Sans", sans-serif;
  --font-family-3: "Londrina Solid", sans-serif;
  --font-color-nav1: #f0eeee;
  --font-color-nav2: #8B0000;
  --background-color: #ffffff; 
  --default-color: #212529; 
  --heading-color: #2d465e; 
  --accent-color: #8B0000; 
  --surface-color: #ffffff; 
  --contrast-color: #ffffff;
  --nav-color: #212529; 
  --nav-hover-color: #A52A2A; 
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff; 
  --nav-dropdown-color: #212529;
  --nav-dropdown-hover-color: #A52A2A;
  --primary-default-red: #8B0000;
  --light:#F7FAFF;
  --contact-color:#181010;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-padding-top: 0; /* Default value for small screens */
}


/* Add this media query to apply padding only for md screens and above */
@media (min-width: 768px) {
  html {
    scroll-padding-top: 40px; /* Apply 40px padding only on md screens and above */
  }
}

/* For larger screens, you can increase the padding if needed */
@media (min-width: 992px) {
  html {
    scroll-padding-top: 100px; /* More padding for larger screens */
  }
}
body{
    display: flex;
    min-height: 100vh;
}


/* LOGIN PAGE      */
.login-container{
    margin: auto;
    align-self: center;
    justify-self: center;
    max-width: 1050px;
    min-height: 550px;
    border-radius: 20px;
    background: linear-gradient(to bottom, #8B0000, #5C0000);
    box-shadow: 0 8px 8px rgba(0, 0, 0, 0.4);
    overflow-x: hidden;
    border-style: ridge;
}
.login-input-group > input{
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
  border: none;
}
.login-header{
    height: 150px;
    position: relative;
}
.login-header > h5{
    font-size: 1.5em;
    font-family: var(--font-family);
}
.login-header > p{
    
    font-family: var(--font-family);
    font-size: 0.850rem;
}
.login-footer > a{
  font-family: var(--font-family);
  
}
.red-bg{
    background-color: var(--accent-color);
}
.red-text{
  font-family: var(--font-family);
  color: var(--font-color-nav2);
  font-size: 0.900rem;
  font-weight: 600;
}
.white-text{
    color:white;
    font-family: var(--font-family);
}
.white-bg{
    background-color: #ffffff;
}
.thick-line {
  height: 2px;
  background-color: rgb(255, 255, 255); /* solid black */
  border: none;            /* removes default styling */
  margin: 20px 0;          /* optional spacing */
  opacity: 1; 
}
.icon-container{
    background-color: white;
    display: flex;
    align-items: center;
}
.login-body{
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 275px;
    gap: 20px;
}
.login-body > button{
    height: 66px;
    max-width: 393px;
    color: white;
    margin: 0 auto;
    border-radius: 19px;
    font-size: 1.045em;
    font-weight: bold;
}
.login-body > button:hover{
    box-shadow: 0 10px 3px rgba(109, 28, 4, 0.4);
    color: white;
}
.login-btn{
    background: linear-gradient(to right, #B4EBFF, #60B9AA);
    border: none;
}
.login-btn:hover{
    box-shadow: 0 10px 3px rgb(109, 28, 4);
    background: linear-gradient(to left, #B4EBFF, #60B9AA);
    transition: 3s all;
}
.reg-btn{
    background: linear-gradient(to right, #9DF9AB, #2AAE3E);
    border: none;
}
.reg-btn:hover{
    background: linear-gradient(to left, #9DF9AB, #2AAE3E);
    border: none;
    transition: 3s all;
}
.login-footer{
    display: flex;
    justify-items: center;
}
.login-footer > a{
    text-decoration: none;
    color: white;
    font-size: 1em;
    font-weight: 400;
    justify-self: center;
    text-align: center;
    margin: 0 auto;
}
.login-footer > a:hover{
    text-decoration: underline;
}
.sign-in-modal{
    background: linear-gradient(to top, #8B0000, #8B0000);
}
.spinning-image {
    animation: spin3d 5s ease-in-out infinite;
    transform-origin: center;
  }
  
  @keyframes spin3d {
    0%, 89% {
      transform: rotateY(0deg) rotateZ(0deg);
    }
    90% {
      transform: rotateY(90deg) rotateZ(5deg);
    }
    95% {
      transform: rotateY(270deg) rotateZ(-5deg);
    }
    100% {
      transform: rotateY(360deg) rotateZ(0deg);
    }
  }

  /* LOGIN PAGE -----------------------------------  END */
  /*  */
.expanded-navbar{
    display: flex;
    align-items: center;
    height: 65px;
    width: 100%;
    background-color: var(--accent-color);

}
.expanded-navbar > .navbar-menu > a{
  padding: 10px 10px;
  border-radius: 10px;
}
.custom-login{
  border-radius: 10px 0 0 10px !important;
}
.navbar-menu > a:hover{

    background-color: var(--accent-color);
    text-decoration: none;

}
.brand-text {
    font-weight: 700;
}
.menu{
    justify-content: space-between;
}
.menu > a{
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
}

.hide > .menu{
    display: none;
}

.show > .menu > a{
    transition: all 0.3s ease-in-out;
    margin: 0.5em 0;
    padding: 0.5em 0;
}
.show > .menu{
padding: 0 20px 30px 20px;
flex-direction: column;
align-items: center;
justify-content: center;
display: flex;
}
.login-signup > a{
    padding: 0 10px 0 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    text-align: center;
}
.collapsed-navbar{
    background-color: var(--accent-color);
    width: 100%;
    min-height: 65px;
}
.collapsed-navbar > .menu > a{
  padding: 10px 20px;
  border-radius: 10px;
}


.navbar-brand img {
  height: 40px;
}


.search-bar {
  border-radius: 20px;
  padding-left: 35px;
  background-color: #f0eeee;
  background-image: url('https://img.icons8.com/ios-filled/50/search.png');
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: 10px center;
}

.placeholder-box {
  background-color: #f0eeee;
  border-radius: 8px;
  width: 100%;
  height: 100%;
}


.nav-text-1{
   font-family: var(--font-family);
   color: var(--font-color-nav1);
   font-size: 0.8125rem;
   font-weight: 600;
}

.nav-text-2 {
  font-family: var(--font-family);
  color: var(--font-color-nav2);
  font-size: 0.875rem;
}

.menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }
  
  .bar {
    width: 100%;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }
.product-title-1{
  font-weight: 600;
  font-family: var(--font-family-3);
  color: var(--accent-color);
  
}
  
  .mini-navbar{
    display: flex;
    gap: 20px;
    align-items: center;
  }
  .mini-navbar > navbar > a, .mini-navbar > navbar > div > a, .mini-navbar > navbar > div > .dropdown-hover > a{
    margin: 0 10px;
    text-decoration: none;
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9em;
  }

  /* Add to mrbstyle.css */
 
.dropdown-hover {
  position: relative;
  display: inline-block;
}

.dropdown-hover-menu {
  display: none;
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-hover:hover .dropdown-hover-menu {
  display: block;
}
.dropdown-menu{
  border: none;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}
.dropdown-menu > li{
  padding: 10px 20px;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.9em;
}
.dropdown-menu > li > a{
  text-decoration: none;
  color: var(--accent-color);
  font-weight: 500;
  font-size: 0.9em;
  border-radius: 10px;
}

/* To maintain consistent styling with Bootstrap dropdowns */
.dropdown-hover .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}

  .icon-input {
    position: relative;
    display: inline-block;
    width: 286px;
  }
  
  .icon-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1rem;
    pointer-events: none;
  }
  
  .icon-input input {
    width: 100%;
    height: 45px;
    padding-left: 40px; /* space for the icon */
    border: none;
    border-radius: 30px;
    background-color: #D9D9D9;
    outline: none;
    font-size: 16px;
  }
  .clean-dropdown {
    background: none;
    border: none;
    box-shadow: none;
    color: var(--accent-color);
    font-weight: 500;
    min-width: 150px; /* control width for alignment */
    padding: 0.5rem 1rem;
  }
  
  .clean-dropdown:focus,
  .clean-dropdown:hover {
    background: none;
    color: var(--accent-color);
    outline: none;
    box-shadow: none;
  }
  
  .dropdown-caret {
    margin-left: auto;
    font-size: 0.75rem;
  }
  
  .clean-dropdown-menu {
    border: none;
    background: white;
    box-shadow: none;
    padding: 0;
    min-width: auto;
  }
  
  .clean-dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem;
    color: var(--accent-color);
    background: none;
  }
  
  .clean-dropdown-menu .dropdown-item:hover {
    background: rgba(0, 0, 0, 0.05);
  }
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(344px, 1fr));
    gap: 1.5rem;
    justify-content: center;
    justify-items: center;
  }
  .new-product{
    background-color: var(--accent-color);
    color: var(--font-color-nav1);
    font-size: 0.890rem;
    font-weight: 500;
    font-family: var(--font-family-2);
    padding: 5px 10px;
    border-radius: 10px;
    text-align: center;
    position: absolute;
    bottom: 110px;
    left: 10px;
  }
  .product-card{
    width: 344px;
    border: none;
    cursor: pointer;
  }
  .product-card:hover{
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 4px rgba(182, 182, 182, 0.4);
    transition: all 0.3s ease-in-out;
  }
  .product-img{
    height: 306px;
    width: 344px;
    background-color: #bebebe;
    size-adjust: contain;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  .product-title{
    max-width: 315px;
    overflow: hidden;
    font-size: 0.995rem;
    color: var(--accent-color);
    font-weight: 600px;
    font-family: var(--font-family-2);
    font-weight: 700;
  }
  .help-icon{
    color: #838383;
    font-size: 1.5em;
    font-weight: 300;
  }
  .old-price{
    color: #969696;
    text-decoration: line-through;
    font-size: 1.125rem;
  }
  .new-price{
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--font-family-2);
  }
  .product-pagination{
    margin: 0 auto;
    justify-self: center;
    gap: 1.3rem;
  }
  .product-pagination > li{
    font-weight: 700;
    height: 40px;
    width: 40px;
    text-align: center;
    background-color: white;
  }
  .product-pagination > li > a{
    font-size: 1.3em;
    color: var(--accent-color);
  }
  .product-pagination > li > a:hover{
    background-color: #ac660b;
    color: #ffffff;
  }
  .page-link-active{
    background-color: var(--accent-color);
    color: white !important;
    font-family: var(--font-family-2);
  }
  .quote{
    text-align: center;
    margin-top: 50px;
    font-size: 1.6rem;
    font-weight: 750;
  }
  /* PRODUCTS-1 ENDDDDDDDDDDDDDDDDDDDDDDDDDDDD */
  /* 2 TYPES OF FIRE EX */
  .types-of-fireex-section{
    background: linear-gradient(to bottom, #8B4513, #4a2d1a);
    min-height: 30vh;
    
  }
  .types-of-fireex-section > p{
    font-size: 20px;
    font-weight: 600;
  }
  .table-headers{
    font-size: 20px;
    font-weight: bold;
  }
  .types-of-fireex-section > .container > .row > .col, .types-of-fireex-section > .row > .col-2{
    min-height: 72px;
    align-items: center;
  }
  .types-of-fireex-section > .container > .row > .col, .types-of-fireex-section > .row > .col-2 > p{
    margin: 0;
  }
  .left-bordered{
    border-left: 1px solid white;
  }
  .right-bordered{
    border-right: 1px solid white;
  }
  .top-bordered{
    border-top: 1px solid white;
  }
  .bottom-bordered{
    border-bottom: 1px solid white;
  }

  .position-responsive {
    position: relative;
    top: 0;
  }
  
  @media (min-width: 992px) {
    .position-responsive {
      position: absolute;
    }
  }

  .custom-accordion-item{
    background-color: #6C1A00 !important;
    color: white !important;
    text-align: center !important;
    font-size: 16px;
    font-weight: 400;
    
  }
  .custom-accordion-body{
    background-color: #772005 !important;
    color: white !important;
    border: none;
  }
  .accordion-item-custom{
    border: none;
  }
  .accordion-button::after {
    content: "\25BC"; /* ▼ down arrow Unicode */
    font-size: 1rem;
    color: #ffffff;
    background-image: none;
    transform: rotate(0deg);
    transition: transform 0.3s ease;
  }
  
  .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg); /* flip arrow when open */
  }
/* 2TYPES OF FIRE EX - END */
/* CONTACTSSSSSSSSSSSSSSSSSSSSS */

.contact-info-1{
  font-family: var(--font-family);
  color: var(--contact-color);
  font-weight: 700;
}

.contact-info-2{
  font-family: var(--font-family);
  color: var(--contact-color);
  font-size: 0.890rem;
  text-align: justify;
}



.footer > .container > h2{
  font-size: 2.5em;
  font-weight: bold;
  color: #AB2A02;
}.footer > .container > span{
  font-weight: bold;
  color: #AB2A02;
}

.footer > .container > .row{
  margin-bottom: 30px;
}
.footer > .container > .row > i, .footer > .container > .row > span, .footer > .container > .row > span > a{
  font-size: 25px;
  color: #AB2A02;
  font-weight: 900;
}

.google-map{
  width: 100%;
  height: 300px;
  border-radius: 20px;
  margin: 0 auto;
  border-radius: 20px;
}

.chatbox-label{
  font-family: "Inter", sans-serif;
  font-weight: bolder;
  font-style: normal;
  font-size: 1.25em;
  color: #dd443a;
  text-align: justify;
  margin-top: 10px;
  width: 100%;
  border-radius: 10px;
  text-align: center;
}
.chatbox{
  border-radius: 25px;
  margin: 15px 0 0 0;
  background-color: #6C1A00;
  min-height: 450px;
  max-height: 450px;
  overflow-y: scroll;
  scrollbar-width: thin !important; /* Changed from 'none' to 'thin' to show the scrollbar */
  width: 400px;
  padding-bottom: 10px;
}
.chatbox::-webkit-scrollbar {
  width: 6px; /* Width of the scrollbar */
}

.chatbox::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1); /* Subtle track background */
  border-radius: 10px;
}

.chatbox::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3); /* Semi-transparent thumb */
  border-radius: 10px;
}

.chatbox::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5); /* Lighter on hover */
}
.usermessagebox{
  border-radius: 25px;
  margin: 0 auto;
  width: 400px;
  gap: 10px;
}
.usermessagebox.sending .send-button {
  opacity: 0.7;
  pointer-events: none;
}
.pic-container{
  height: 40px;
  width: 40px;
  aspect-ratio: 1/1;
  display: flex;
  border: 1px solid #dd443a;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ffffff;
  justify-self: center;
}
.user-pic{
  justify-self: center;
  margin: 0 auto;
  height: 40px;
  width: 40px;
}
.usermessagebox input{
  height: 56px;
  border-radius: 15px;
  padding: 10px;
  width: 100%;
  background-color: #ffffff;
  color: #dd443a;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 1em;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}
.send-button{
  border: none;
  background-color: #6C1A00;
  color: #f0e7da;
  padding: 10px;
  border-radius: 20px;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-size: 0.75em;
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}
.send-button:hover{
  background-color: #dd443a;
  color: #f0e7da;
  transition: all 0.3s ease-in-out;
}
.replier-img{
  height: 155px;
  width: 155px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: 2px solid #dd443a;
  margin: 0 auto;  
  margin-top: 40px;
}
.replier-job{
  font-size: small;
  font-weight: 600;
  color: #acacac;
  text-align: center;
  font-style: italic;
}
.chat-message-container{
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.chats{
  display: flex;
  flex-direction: column;
}
.chat-message, .chat-reply{
  padding: 7px;
  width: 80%;
  max-width: 350px;
  color: #232323;
  font-family: var(--font-family-2);
  font-style: normal;
  font-size: 0.70em;
  display: flex;
  margin-top: 10px;
  align-items: center;
}
.chat-message{
  background-color: #E4FF98;
  border-radius: 15px 15px 5px 15px;
  margin-left: auto;
  margin-right: 10px;
  padding-left: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
}
.chat-reply{
  background-color: #D9D9D9;
  border-radius: 15px 15px 15px 5px;
  margin-right: auto;
  margin-left: 10px;
  padding-right: 10px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
}
.chat-message > p, .chat-reply > p{
  font-size: 0.890rem;
  line-height: 19px;
  font-weight: 600;
  color: #651A03;
  margin-bottom: 0;
}
.chat-time{
  font-size: 10px;
  display: block;
}
.reply-time{
  margin-right: 10px;
  margin-left: auto;
  padding-right: 10px;
}
.message-time{
  margin-left: auto;
  margin-right: 10px;
  padding-right: 10px;
}
.reply-time{
  margin-left: 10px;
  margin-right: auto;
}
.send-icon-products{
  font-size: 2em;
}
/*      INDIVIDUAL PRODUCTS                                      */

.indiv-product-page-container{
  justify-self: center; 
  max-width: 1350px;
  margin: 0 auto;
}
.indiv-product-container{
  background-color: white;
  box-shadow: 0 4px 4px rgba(182, 182, 182, 0.4);

}
.main-img{
  height: 425px;
  width: 419px;
  background-color: rgb(206, 206, 206);
  display: block;
  border-radius: 20px;
}
.other-img{
  background-color: rgb(224, 224, 224);
  height: 88px;
  width: 88px;
  border-radius: 10px;
  margin: 0 10px;
}
.indiv-product-title{
  color: #860000;
  font-weight: bolder;
  font-size: 32px;
  text-wrap: normal;
}
.indiv-product-rating{
  font-size: 1.5em;
  font-weight: bolder;
  margin: 0 10px 0 0;
}

.real-rating{
  color: #BECC00 !important;
}
.invalid-rating{
  color: #D9D9D9 !important;
} 
.product-indiv-infos > .row{
  margin-bottom: 20px;
}
.product-indiv-infos .row > :first-child{
  font-size: 20px;
  font-weight: bold;
  color: #0e0e0e;
  max-width: 123px;
  margin: 0;
}
.product-indiv-desc{
  overflow-y: scroll;
  scrollbar-width: none;
  text-align: justify;
  font-size: 16px;
  min-height: 264px;
}
.product-indiv-old-price{
  font-size: 25px;
  font-weight: 400;
  color: #969696;
  text-decoration: line-through;
}
.product-indiv-price{
  font-size: 35px;
  font-weight: bolder;
  color: #AB2A02;
}
.quantity-controls{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.product-indiv-quantity{
  font-size: 24px;
  color: #AB2A02;
  font-weight: bolder;
}
.quantity-controls > button{
  background-color: #ffffff;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
  color: rgb(141, 141, 141);
  border: none;
  font-size: 20px;
  border-radius: 5px;
  font-weight: bold;
  width: 31px;
  height: 31px;
}
.BuyNow-btn{
  width: 174px;
  height: 43px;
  color: white;
  background-color: #BECC00;
  border-radius: 59px;
  border: none;
  font-size: 20px;
  font-weight: bolder;
  margin: 0 auto;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.4);
}
/* sidebarRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR                                                 */
.sidebar-title{
  font-size: 20px;
  font-weight: bolder;
  color: #AB2A02;
  margin-bottom: 20px;
}
.indiv-products-sidebar{
  background-color: #ffffff;
  box-shadow: 0 4px 4px rgba(182, 182, 182, 0.4);
  border-radius: 0 10px 10px 0;
  max-height: 1200px;
}
.sidebar-card-img{
  display: block;
  background-color: #c5c5c5;
  border-radius: 10px;
  min-width: 150px;
  min-height: 150px;
  aspect-ratio: 1/1;
}
.indiv-product-card{
  border: none !important;
  overflow-x: hidden;
  margin-bottom: 20px;
}
.sidebar-product-title{
  font-size: 12px;
  color: #929292;
  font-weight: 400;
  text-decoration: underline;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sidebar-star{
  color: #cfda39 !important;
  font-size: large;
}
.sidebar-rating{
  font-size: 15px;
  font-weight: bolder;
  color: #242424;
  margin: 0 5px;
}
.sidebar-price{
  font-size: 20px;
  font-weight: bolder;
  color: #AB2A02;
  letter-spacing: 2px;
}

.indiv-product-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}
/* Add these styles to your mrbstyle.css file */

/* Mobile scrolling sidebar */
@media (max-width: 991px) {
  .sidebar-products-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 16px;
    padding-bottom: 15px;
    margin-bottom: 50px;
  }
  
  .indiv-product-card {
    display: inline-block;
    min-width: 200px;
    max-width: 250px;
    margin-right: 0; /* Remove default margins */
    white-space: normal;
    vertical-align: top;
    flex-shrink: 0;
    padding: 10px;
    border-radius: 10px;
    transition: all 0.3s ease;
  }
  
  /* Card hover effects for mobile */
  .indiv-product-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.05);
    cursor: pointer;
  }

  /* Nice scrollbar styling */
  .sidebar-products-scroll::-webkit-scrollbar {
    height: 5px;
  }

  .sidebar-products-scroll::-webkit-scrollbar-thumb {
    background: #6B3410;
    border-radius: 10px;
  }
  
  .sidebar-products-scroll::-webkit-scrollbar-track {
    background: rgba(171, 42, 2, 0.1);
    border-radius: 10px;
  }
}

.product-reviews-comments{
  background-color: white;
  box-shadow: 0 4px 4px rgba(182, 182, 182, 0.4);

}
.product-reviews-comments > h2{
  font-size: 32px;
  font-weight: bold;
  color: #AB2A02;
  margin: 0 auto;
}
.product-reviews-comments > div > span{
  font-size: 1.2em;
  font-weight: normal;
  color: #7e7e7e;
  
}
.product-reviews-comments .dropdown-hover > a, .product-reviews-comments .dropdown-hover li > a{
  font-size: 1.2em;
  font-weight: normal;
  color: #7e7e7e;
  text-decoration: none;
  width: 200px;
}
.comment{
  box-shadow: 0 5px 5px rgba(182, 182, 182, 0.4);
  background-color: white;
  border-radius: 20px;
  padding: 15px 30px;
}
.commenter-name , .comment-date, .comment-text{
  font-size: 0.9em;
  font-style: italic;
  font-weight: normal;
  color: #7e7e7e;
}
.seeall-btn{
  background-color: white;
  border: none;
  color: #9e9e9e;
  font-size: 20px;
  font-style: italic;
}

/* BUY NOW MODEL-------------------------------------------------------------------------------------------------------------------- */

.modal-open {
  padding-right: 0 !important;
}
.modal-dialog{
  min-width: 520px !important;
  border-radius: 20px !important;
}
.modal-content{
  border-radius: 20px !important;
}
.modal-product-header{
  border-bottom: 1px solid #a5a5a5;
  margin: 0 20px;
  padding: 0px;
}
#buynowmodel img{
  width: 155px;
  height: 155px;
  background-color: #d4d4d4;
  margin: 0 auto;
}
#buynowmodel h3{
  font-size: 24px;
  font-weight: 700;
  color: #AB2A02;
  max-height: 106px;
  height: 106px;
  text-overflow: ellipsis;
}
.modal-product-address{
  font-size: 13px;
  font-style: italic;
  color: #a3a3a3;
  line-height: 18px;
}
.modal-body > .container > .row > span{
  font-size: 17px;
  font-weight: bold;
  color: #555555;
  margin: 0;
  font-style: italic;
}
.modal-body > .container > .row p, .modal-body > .container > .row label{
  font-size: 17px;
  font-weight: 400;
  color: #555555;
  margin: 0;
  text-wrap: normal;
}
.Cancelbuy-btn{
  background-color: #fff;
  border: none;
  color: #c9c9c9;
  font-size: 20px;
}
.Cancelbuy-btn:hover{
  text-decoration: underline;
}
.select-loc-icon{
  color: #838383;
  font-size: 1.5em;
  font-weight: 300;
}

/* COMMENTS AND REVIEW MODAL-------------------------------------------------------------------------------------------------------------------- */
#comrevmodal h3{
  font-size: 30px;
  font-weight: 700;
  color: #AB2A02;
  text-overflow: ellipsis;
}
#comrevmodal .dropdown-hover{
  max-width: 130px;
}
#comrevmodal .modal-body >.row > span{
  max-width: 90px;
}
#comrevmodal .dropdown-hover > a, #comrevmodal .dropdown-hover li > .dropdown-item{
  font-size: 1em;
  font-weight: normal;
  color: #414141 !important;
  text-decoration: none;
  width: 200px;
}#comrevmodal .comments-container{
  overflow-y: scroll;
  scrollbar-width: none;

}

.alt-features .icon-box {
  display: flex;
}

.alt-features .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: var(--contrast-color);
}

.alt-features .icon-box i {
  font-size: 44px;
  line-height: 44px;
  color: var(--contrast-color);
  margin-right: 15px;
}

.alt-features .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--contrast-color), transparent 30%);
  margin-bottom: 0;
  
}

.ticket-hole {
  width: 24px;
  height: 24px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.receipt{
  font-family: var(--font-family-2);
  color: var(--accent-color);
  font-weight: 700;
}

.bruh{
  font-family: var(--font-family-2);
  font-size: 1rem;
}

.bruh1{
  font-family: var(--font-family-2);
  font-size: 0.870rem;
}

table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 20px;
    }

    th, td {
      border: 1px solid white;
      padding: 15px;
      text-align: left;
      vertical-align: top;
    }

    th {
      text-align: center;
      color: var(--contrast-color);
    }

    td:first-child {
      font-weight: bold;
      width: 20%;
      color: var(--contrast-color);
    }

    td{
      color: var(--contrast-color);
    }

    .copyright{
      font-family: var(--font-family-2);
    }

.full-width-bg {
  width: 100%;
  background: linear-gradient(to bottom, #C42F01, #3f1103);
}

/* LOCATION MODAL STYLING */
.modal-open {
  padding-right: 0 !important;
  overflow: hidden;
}

#locationModal .modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
}

#locationModal .modal-content {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: none;
  overflow: hidden;
}

#locationModal .modal-header {
  background: linear-gradient(135deg, #C42F01, #AB2A02);
  color: white;
  border-bottom: none;
  padding: 1.5rem;
}

#locationModal .modal-header .modal-title {
  font-weight: 600;
  font-size: 1.25rem;
  font-family: var(--font-family);
}

#locationModal .modal-header .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

#locationModal .modal-header .btn-close:hover {
  opacity: 1;
}

#locationModal .modal-body {
  padding: 2rem;
  background-color: #fafafa;
}

#locationModal .modal-body p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

#locationModal .list-group {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#locationModal .list-group-item {
  border: none;
  border-bottom: 1px solid #e9ecef;
  padding: 1.25rem;
  transition: all 0.3s ease;
  cursor: pointer;
  background-color: white;
}

#locationModal .list-group-item:last-child {
  border-bottom: none;
}

#locationModal .list-group-item:hover {
  background-color: #f8f9fa;
  transform: translateX(5px);
}

#locationModal .list-group-item.active {
  background: linear-gradient(135deg, #C42F01, #AB2A02);
  color: white;
  transform: translateX(5px);
}

#locationModal .list-group-item.active h6,
#locationModal .list-group-item.active small {
  color: white !important;
}

#locationModal .list-group-item h6 {
  font-weight: 600;
  color: #333;
  margin-bottom: 0.5rem;
}

#locationModal .list-group-item small.text-success {
  background-color: #d4edda;
  color: #155724 !important;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.75rem;
}

#locationModal .list-group-item.active small.text-success {
  background-color: rgba(255, 255, 255, 0.2);
  color: white !important;
}

#locationModal .list-group-item small.text-muted {
  color: #6c757d;
  font-size: 0.85rem;
}

#locationModal .modal-footer {
  background-color: white;
  border-top: 1px solid #e9ecef;
  padding: 1.5rem;
}

#locationModal .modal-footer .btn {
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

#locationModal .modal-footer .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
}

#locationModal .modal-footer .btn-secondary:hover {
  background-color: #5a6268;
  border-color: #545b62;
  transform: translateY(-2px);
}

#locationModal .modal-footer .btn-primary {
  background: linear-gradient(135deg, #C42F01, #AB2A02);
  border: none;
}

#locationModal .modal-footer .btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #AB2A02, #8b2202);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(196, 47, 1, 0.3);
}

#locationModal .modal-footer .btn-primary:disabled {
  background-color: #e9ecef;
  color: #6c757d;
  cursor: not-allowed;
  opacity: 0.6;
}

/* Responsive adjustments for location modal */
@media (max-width: 576px) {
  #locationModal .modal-dialog {
    margin: 1rem;
    max-width: calc(100% - 2rem);
  }
  
  #locationModal .modal-body {
    padding: 1.5rem;
  }
  
  #locationModal .modal-header {
    padding: 1.25rem;
  }
  
  #locationModal .list-group-item {
    padding: 1rem;
  }
  
  #locationModal .modal-footer {
    padding: 1.25rem;
  }
  
  #locationModal .modal-footer .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
}

/* Animation for modal appearance */
#locationModal.fade .modal-dialog {
  transform: translate(0, -50px);
  transition: transform 0.3s ease-out;
}

#locationModal.show .modal-dialog {
  transform: translate(0, 0);
}

/* Fix for Bootstrap modal backdrop and scrollbar issues */
body.modal-open {
  padding-right: 0 !important;
}

.modal-backdrop {
  background-color: rgba(0, 0, 0, 0.5);
}

/* Custom scrollbar for modal if content overflows */
#locationModal .modal-body {
  scrollbar-width: thin;
  scrollbar-color: #C42F01 #f1f1f1;
}

#locationModal .modal-body::-webkit-scrollbar {
  width: 6px;
}

#locationModal .modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 3px;
}

#locationModal .modal-body::-webkit-scrollbar-thumb {
  background: #C42F01;
  border-radius: 3px;
}

#locationModal .modal-body::-webkit-scrollbar-thumb:hover {
  background: #AB2A02;
}

/* GCash QR Modal Specific Styling - Fix visibility issues */
#gcashQRModal {
    z-index: 1060 !important; /* Higher than other modals */
}

#gcashQRModal .modal-dialog {
    z-index: 1061 !important;
    margin: 1.75rem auto !important;
}

#gcashQRModal.show {
    display: block !important;
    opacity: 1 !important;
}

#gcashQRModal.show .modal-dialog {
    transform: none !important;
}


/* Fix potential conflicts with existing modal styles */
.modal.fade.show {
    display: block !important;
}

/* Override any conflicting styles */
.modal-open {
    padding-right: 0 !important;
    overflow: hidden !important;
}

/* Ensure GCash modal content is visible */
#gcashQRModal .modal-content {
    background-color: white !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border: none !important;
    overflow: visible !important;
}
