/* General Styles */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #F8F9FA; /* Off-White */
    color: #212529; /* Dark Gray */
}

h1, h2 {
    color: #0000FF; /* Deep Blue */
}

.card-text {
  font-size: 11px; /* Adjust the size as needed */
  font-weight: normal; /* Can make the text less bold */
  background-color: #0000FF; /* Blue background for non-hover state */
  color: #fff; /* A slightly muted color for smaller text */
}

/* Navbar link buttons */
.navbar-dark .navbar-nav .nav-link {
    background-color: #0000FF; /* Blue background for non-hover state */
    color: #ffffff; /* White text for contrast */
    padding: 10px 15px; /* Button-like padding */
    border-radius: 5px; /* Rounded corners for button appearance */
    margin-right: 5px; /* Spacing between buttons */
    text-align: center;
}

/* Hover and focus states */
.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    background-color: #002752; /* Darker blue for hover state */
    color: #FFC107; /* Yellow text for hover */
    text-decoration: none; /* Remove underline */
}

/* New rule to target site name color in navbar */
.navbar-brand .display-5 {
  color: #0000FF;
  font-size: 1.25rem;
  display: inline-block;
}

@media (min-width: 992px) {
    .navbar-brand .display-5 {
        font-size: 1.75rem;
    }
}
/* Main Content */
.container {
    background-color: #FFFFFF; /* White background for main content */
    color: #212529; /* Dark Gray text */
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-top: 10px; /* Reduced gap between navbar and content */
}

/* Buttons */
button, .button {
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    color: #FFFFFF; /* White text */
    background-color: #0000FF; /* Deep Blue */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
}

button:hover, .button:hover {
    background-color: #002752; /* Darker Blue for hover state */
}

/* Lists */
.list-group-item {
    background-color: #FFFFFF; /* White for better readability */
    color: #212529; /* Dark Gray */
}

.list-group-item:hover {
    background-color: #FFC107; /* Highlight on hover */
    color: #0000FF; /* Deep Blue text */
}

.products {
            font-family: Arial, sans-serif;
            margin: 10px;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
            border: 5px solid #ccc; /* 5px border around the container */
            padding: 10px; /* Padding inside the border */
        }
        .search-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }
        .filters {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
        }
        .filters input[name="searchQuery"] {
        width: 50%; /* Double the width of the search input box */
        }
        .results-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }
        .result-item {
            border: 1px solid #ccc;
            border-radius: 5px;
            background-color: #f9f9f9; /* Light gray background for each item */
            text-align: center;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
             padding: 10px; /* Padding inside the item */
        }
       .result-item a {
            text-decoration: none;
            color: inherit;
            display: flex;
            flex-direction: column;
            height: 100%;
            justify-content: space-between;
        }
        .result-item img {
            width: auto;
            max-width: 100%;
            height: 200px; /* Fixed height for consistent sizing */
            object-fit: contain;
            margin-bottom: 5px;
        }
      .result-item > a > div{
          display: flex;
          justify-content: space-between;
          align-items: baseline;
          margin-top: auto; /* pushes the row to the bottom */
      }
      .result-item > a > div p {
          margin-bottom: 0;
      }
     .result-item h3 {
      text-decoration: none;
      font-size: 14px;
      color: #FFFFFF; /* White text */
      }
      .result-item card-details {
    font-color: #0000FF; /* White text */
    font-weight: bold; /* Bold font */
    font-size: 12px; /* Adjust the size as needed */
    text-align: center; /* Centers the text inside the .card */
    }
    
    /* Bid Price Styling */
bid-price {
margin-left: 2px; /* Add a gap from the left edge */
text-align: center;
}
        .view-button {
            background-color: red;
            color: black;
            text-align: center;
            padding: 10px 15px;
            display: block; /* Changed to block */
            border-radius: 5px;
            font-size: 16px;
            font-weight: bold;
        }
         .view-button:hover {
            background-color: #FFC107;
        }
        button[type="submit"] {
            background-color: red;
            color: black;
            font-weight: bold;
            border: none;
            padding: 12px 20px;
            font-size: 16px;
            cursor: pointer;
            border-radius: 5px;
            margin-top: 20px; /* Adds spacing */
            margin-bottom: 10px; /* Adds margin below the button */
            width: 100%; /* Button takes 80% of the container's width */
            text-align: center; /* Left-align the button's text */
        }
        button[type="submit"]:hover {
            background-color: #FFC107;
        }

.card p {
margin-left: 2px; /* Add a gap from the left edge */
}

.form-row {
          display: flex;
          align-items: center; /* Align items vertically in the center */
          gap: 10px; /* Add some space between elements in the row */
          margin-bottom: 10px; /* Add some space after each row */
        }
        .form-row select {
           flex: 1; /* Allow select boxes to grow and fill space */
           min-width: 150px;
        }
           .form-row input {
              flex: 1; /* Allow input boxes to grow and fill space */
        }
//Featured Grid
/* Hero Section */
.hero {
    background: #e0f7fa;
    text-align: center;
    padding: 50px 0;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.hero .lead {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Button Style */
.btn {
    display: inline-flex; /* Changed to inline-flex */
    align-items: center;    /* Vertically center button text */
    justify-content: center; /* Center text horizontally */
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    white-space: nowrap; /* Prevent wrapping if there are longer words */
  /*  min-width: 100px; set a minimum width for buttons if required */
}

.btn-primary {
    background-color: #0000FF;
    color: white;
}
.btn-secondary {
    background-color: #6c757d;
    color: white;
    display: inline-block;
}

/* Container for buttons - use this class when you want a row of buttons */
.button-row {
  display: flex;
  gap: 10px; /* add some spacing between buttons */
  align-items: center; /* Vertically center buttons */
  justify-content: flex-start; /* Align buttons from the start */
}

.featured-products {
    padding: 40px 0;
}

.featured-products h2 {
    text-align: center;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: space-around;
}

.product-card {
  width: 300px; /* Set consistent card width */
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  text-align: center;
}

.product-card .btn {
    margin-top: auto; /* Push the button to the bottom */
}
.product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 1.3em;
}
.product-card h3 a {
  text-decoration: none;
  color: #333;
}

.ebay-resellers {
    background: #f8f9fa;
    padding: 40px 0;
}

.ebay-resellers h2 {
    text-align: center;
    margin-bottom: 30px;
}

.ebay-resellers-content{
    max-width: 800px;
    margin: 0 auto;
}
.ebay-resellers-content ul{
    list-style-type: square;
    padding-left: 20px;
}
.why-choose-us {
    padding: 40px 0;
}
.why-choose-us h2 {
    text-align: center;
    margin-bottom: 30px;
}
.why-choose-us-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}
.feature {
  text-align: center;
}
.feature-icon {
    max-width: 100px;
    height: auto;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;

}

/* Product page styles */

.product-hero {
  padding: 40px 0;
  background: #e0f7fa;
}

.product-hero .container {
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-hero-content{
    display: flex;
    align-items: center;
    max-width: 1000px;

}
.product-hero-content .product-details{
    flex: 1;
  padding-left: 20px;
}
.product-image-hero {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    flex: 1;
}

.product-features {
  padding: 40px 0;
}
.product-features h2{
    text-align: center;
    margin-bottom: 20px;
}
.feature-grid {
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-grid .feature {
    background: white;
     padding: 15px;
     border-radius: 8px;
     border: 1px solid #ddd;
    text-align: center;
}

.how-to-order {
    padding: 40px 0;
  background: #f8f9fa;
}
.how-to-order h2{
    text-align: center;
    margin-bottom: 20px;
}
.how-to-order ol {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
}
.contact-us {
    padding: 40px 0;
    text-align: center;
}

    .cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 0;
    text-align: center;
    z-index: 1000;
}

.cookie-banner-content {
  max-width: 900px;
    margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
}

.cookie-banner-content p {
  margin: 0;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

    .cookie-modal {
        position: fixed;
        top: 0;
        left: 0;
        color: black;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1001; /* Ensure above the banner */
    }

.cookie-modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    width: 50%;
    max-width: 600px;
}

.cookie-categories {
    margin-bottom: 20px;
}

.cookie-category {
   margin-bottom: 15px;
}

.cookie-category label {
    display: block;
}
.cookie-modal-buttons {
     display: flex;
    gap: 10px;
  justify-content: flex-end;
}
/* Flexbox for buttons */
.button-container {
  display: flex; /* Align buttons in a row */
  gap: 10px; /* Add spacing between buttons */
  justify-content: center; /* Center buttons horizontally */
}
        section {
            margin-bottom: 10px;
        }
        p {
            margin-bottom: 10px;
        }
        a {
            color: #2980b9;
            text-decoration: none;
        }
        a:hover {
            text-decoration: underline;
        }
        .highlight {
            background-color: #f1c40f;
            padding: 5px;
            border-radius: 3px;
        }
        .faq {
            margin-bottom: 20px;
        }
        .faq h3 {
            margin-bottom: 10px;
        }
