
.gilman-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth; /* para smooth scroll */
}
    /* Sidebar */
    #sidebar {
      background-color: #1a2035 !important;
      color: white;
      padding-top: 20px;
      text-align: left;
    }

    #sidebar a {
      color: white;
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px 20px;
      text-decoration: none;
    }

    #sidebar a:hover {
      background-color: #343a40;
      text-decoration: none;
    }

    /* Active link */
    #sidebar a.active {
      background-color: #007bff;
      color: white;
      font-weight: bold;
    }

    /* Sidebar fixed for desktop with bigger width */
    @media (min-width: 768px) {
      #sidebar {
        position: fixed;
        height: 100%;
        width: 250px;
      }
      #all-content {
        margin-left: 250px;
        padding: 20px;
      }
      #all-content_cart {
        margin-left: 250px;
        padding: 20px;
      }
    }

    /* Mobile header */
    @media (max-width: 767.98px) {
      #sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-left: 52px;
        z-index: 999;
      }
      #sidebar-collapse {
        background-color: #1a2035;
        border: none;
        color: white;
        font-size: 24px;
      }
      #mobile-menu {
        display: none;
        background-color: #1a2035;
        position: absolute;
        top: 60px;
        width: 100%;
        left: 0;
        z-index: 998;
      }
      #mobile-menu a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
      }
      #all-content {
        margin-top: 100px;
        padding: 10px;
      }
    }

    /* Footer */
   footer {
  background-color: #fff;
  border-top: 1px solid #eee;
  text-align: center;
  padding: 10px 0;
  margin-top: auto;
}

footer .copyright {
  color: black; /* © 2025 in black */
}

footer .company {
  color: #1572e8; /* company name in blue */
}

    /* Cards */
    .product-card img {
      width: 100%;
      height: auto;
      object-fit: cover;
      border-bottom: 1px solid #ddd;
    }

    .product-card {
      margin-bottom: 15px;
      border-radius: 8px;
      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      font-size: 14px;
      cursor: pointer;
    }

    .product-card:hover {
      transform: scale(1.03);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    .product-card .card-title {
      font-weight: bold; /* bold name */
    }
    .product-card .price,
    .product-card .stock {
      font-weight: bold; /* bold price & stock */
    }

    /* Smaller logo */
    #sidebar img {
      height: 25px;
      margin-bottom: 10px;
    }

    /* Title and filter */
    #product-header {
      margin-bottom: 20px;
      
      flex-direction: column;
      align-items: center;
    }

    #product-header h1 {
      font-size: 1.5rem;
      margin-bottom: 10px;
      text-align: center;
    }
    
    @media (max-width: 768px) {
  #product-header h1 {
    font-size: 19px;
    margin-bottom: 8px;
    text-align: center;
    margin-top:-55px;
  }
}
.gilman-logo {
  display: block;
  margin: 0 auto;
}

    #product-header .dropdown {
      align-self: flex-start;
    }

    /* Back to top button */
    #btn-back-to-top {
      position: fixed;
      bottom: 20px;
      right: 20px; will-change: transform;
      display: none;
      z-index: 999;
    }
    
    .card-img-top{
        width: 100%; height: auto;
    }
    
    .gilman-products-name{
        font-size:18.14px;
    }
    .gilman-products-model{
        font-size:12px;
        color: #000 !important;
        font-weight:bold;
    }
    
    .stock-available{
        font-size:16px;
        font-weight:bold;
        color: #000 !important;
        margin-top: -16px;
    }
    
    .price{
         font-size:15px;
        font-weight:bold;
        color: #000 !important;
    }
    
    
    
    @media only screen and (max-width: 768px) {
    .gilman-products-name {
        font-size: 12px; /* Slightly smaller for mobile */
    }

    .gilman-products-model {
        font-size: 8.5px;
        text-align:center;
    }

   .stock-available {
        font-size: 13px;
         margin-top: -16px;
         padding-left:10px;
    }

    .price {
        font-size: 12px;
        margin-top: -5px;
        padding-left:10px;
    }
}




    /* General Layout Styling */
.col-md-6, .col-lg-4 {
    padding: 15px; /* Add spacing between elements */
}

figure {
    margin: 0;
    padding: 0;
    text-align: center;
}

img {
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
}

figcaption {
    font-size: 14px;
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 580px) {
    .col-lg-4 {
        width: 163px;
        margin-left:-6px;
        margin-right:9px;
        padding-left:0px;padding-right:0px;
    }
}

@media (max-width: 992px) {
    .col-md-6 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .modal-title {
        font-size: 1.5rem;
    }

    .text-center1 {
        font-size: 1.2rem;
    }

    .h3tags {
        font-size: 1rem;
    }

    .product-img {
        max-width: 90%;
        height: auto;
    }

    .qty-input {
        width: 60px; /* Make quantity input box smaller on smaller screens */
    }

    .btn-decrease, .btn-increase {
        padding: 5px 10px;
    }

    .price {
        font-size: 1.2rem;
    }

    .add-to-cart-btn {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .modal-title {
        font-size: 1.2rem;
    }

    .h3tags {
        font-size: 0.9rem;
    }

    .price {
        font-size: 12px;
    }

    .qty-input {
        width: 50px;
    }

    .add-to-cart-btn {
        font-size: 1rem;
    }
}


.parameterscss{
    font-size:14px;
    font-weight:bold;
}

.model-ram-pump{
    text-align: center;
    font-size: 14.98px;
    font-weight: normal;
}
h1.text-center1 {
    text-align: center;
    font-size: 18.2px;
    font-weight: normal;
}

 .h3tags{
                                
    font-size: 14px;
    font-weight: normal;
    }
    
    
#description_id {
    font-size: 16px;          /* Adjust the font size */
    color: #333;              /* Set the text color */
    line-height: 1.6;         /* Set the line height for readability */
    font-family: Arial, sans-serif; /* Set the font family */
    max-width: 600px;         /* Optional: limit the width of the paragraph */
    margin: 0px auto;        /* Center the paragraph with some margin */
    padding: 10px;            /* Add some padding for spacing */
    background-color: transparent; /* Optional: background color for contrast */
    border: 0px solid #ddd;   /* Optional: border for the paragraph */
    border-radius: 5px;       /* Optional: rounded corners */
    text-align: justify;      /* Justify the text for a cleaner look */
}

.out-of-stock {
    color: red;
    font-weight: bold;

  }
  .outofstockcolor{
    color: red;
  }


.product-price {
    font-size: 15px;
    font-weight: bold;
    color: #000 !important;
}

input.qty-input {
    /* your styles here */
    background-color: white;
    width: 76px;
}

input.total-price-input {
    width: 150px; background-color: white;
    /* You can adjust as needed */
}
button .add-to-cart-btn {
    width: 200px;  /* You can adjust this value as needed */
}


.no-underline {
        text-decoration: none;
        color: inherit; /* optional: para same color sa text */
    }

    .no-underline:hover {
        text-decoration: none; /* still no underline on hover */
    }
    
    
    @media (max-width: 600px) {
  .mobile-br {
    display: block;
  }
}

/* Hide it on larger screens */
@media (min-width: 601px) {
  .mobile-br {
    display: none;
  }

    }
    
    
    
    
/*Messenger chat css*/    
    
    
      .chat-toggle {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 999;
    }
    .chat-widget {
      position: fixed;
      bottom: 70px;
      right: 20px;
      width: 350px;
      max-height: 87vh;
      background: white;
      border: 1px solid #ccc;
      border-radius: 8px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.15);
      display: flex;
      flex-direction: column;
      overflow: hidden;
      z-index: 1000;
    }
    .chat-header {
      background: #0d6efd;
      color: white;
      padding: 10px 15px;
      font-weight: bold;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .chat-body {
      flex: 1;
      padding: 10px;
      overflow-y: auto;
      background: #f8f9fa;
    }
    .chat-footer {
      padding: 10px;
      border-top: 1px solid #ccc;
      background: #fff;
    }
    .message.admin { text-align: right; }
    .message.customer { text-align: left; }
    .message .bubble {
      display: inline-block;
      margin: 5px 0;
      padding: 10px 15px;
      border-radius: 15px;
      max-width: 75%;
    }
    .message.admin .bubble {
      background: transparent;
      color: #000;
      border: none;
    }
    .message.customer .bubble {
      background: transparent;
      color: #000;
      border: none;
    }
    .message small { display: block; font-size: 11px; color: #666; }

    @media (max-width: 768px) {
      .chat-widget {
        width: 100%;
        right: 0;
        left: 0;
        bottom: 0;
        max-height: 87vh;
        border-radius: 12px 12px 0 0;
      }
    }
      
/*End Messenger chat css*/      