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;
  }

  /* Top Dollar card styling for regular item display */
  body.item .card-topdollar .card-header {
    background: linear-gradient(135deg, #ffd700 0%, #f0c800 100%) !important;
    border-color: #d4a900;
  }
  body.item .card-topdollar .card-header h5 {
    color: #1a1a1a;
  }
  body.item .card-topdollar .card-header .quickprice {
    color: #1a1a1a;
  }
  body.item .card-topdollar .card-header .toggle-icon {
    color: #1a1a1a;
  }
  body.item .card-topdollar .card-header.active {
    background: linear-gradient(135deg, #ffd700 0%, #f0c800 100%) !important;
  }
  body.item .card-topdollar .card-header.active h5 {
    color: #1a1a1a;
  }
  .topdollar-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    white-space: nowrap;
  }
  .topdollar-badge i {
    color: #c42317;
  }
  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;
}

/* ========================================
   BUYLIST COMPACT CARDS (blc-*)
   Fresh implementation with no CSS conflicts
   ======================================== */

/* Grid container */
.blc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (max-width: 1200px) {
    .blc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blc-grid {
        grid-template-columns: 1fr;
    }
}

/* Card container */
.blc-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(126, 142, 177, 0.32);
    overflow: hidden;
}

/* Header */
.blc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(196, 35, 23, 0.85);
    padding: 0.5rem 0.75rem;
    min-height: 50px;
}

.blc-header-left {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
}

.blc-header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: 0.5rem;
}

/* Title block with breadcrumb */
.blc-title-block {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0.1rem;
}

.blc-title {
    color: #fff;
    font-family: "Red Hat Display", serif;
    font-weight: 700;
    font-size: 1.15rem;
}

.blc-breadcrumb {
    color: rgba(255,255,255,0.7);
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Note icon in header */
.blc-note-icon {
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.blc-note-icon:hover {
    opacity: 1;
}

/* Cart badge */
.blc-badge {
    display: inline-block;
    background: #4f43ae;
    color: #fff;
    font-size: 0.80rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.blc-badge-hidden {
    display: none;
}

/* Top Dollar item styling */
.blc-card-topdollar .blc-header {
    background: linear-gradient(135deg, #ffd700 0%, #f0c800 100%);
}

.blc-card-topdollar .blc-title {
    color: #1a1a1a;
}

.blc-card-topdollar .blc-breadcrumb {
    color: rgba(0, 0, 0, 0.6);
}

.blc-card-topdollar .blc-note-icon {
    color: #1a1a1a;
    background: rgba(0, 0, 0, 0.1);
}

.blc-card-topdollar .blc-note-icon:hover {
    background: rgba(0, 0, 0, 0.2);
}

.blc-topdollar-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-right: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.blc-topdollar-badge i {
    color: #c42317;
}

/* Body - always visible */
.blc-body {
    padding: 0.75rem;
    background: #fff;
}

/* Media row - product image and partner logo */
.blc-media-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.blc-cond-qty input {
  border: 0px;
}

.blc-product-image {
    max-width: 146px;
    max-height: 140px;
    min-height: 100px;
    object-fit: contain;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.15s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.blc-product-image:hover {
    transform: scale(1.25);
}

.blc-partner-logo {
    max-height: 30px;
    max-width: 80px;
}

/* Conditions list */
.blc-conditions {
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}

.blc-cond-row {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
    border-bottom: 1px solid #f5f5f5;
}

.blc-cond-row:last-child {
    border-bottom: none;
}

.blc-cond-disabled {
    opacity: 0.5;
}

.blc-cond-label {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9rem;
    color: #333;
}

.blc-cond-label strong {
    font-family: "Red Hat Display", serif;
}

.blc-info {
    color: #0d6efd;
    font-size: 0.75rem;
    cursor: pointer;
}

.blc-info:hover {
    color: rgba(196, 35, 23, 0.8);
}

.blc-cond-price {
    width: 90px;
    text-align: right;
    font-weight: 700;
    font-size: 0.95rem;
    padding-right: 0.5rem;
    color: #333;
}

.blc-na {
    color: #999;
    font-weight: normal;
}

.blc-price-change {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.blc-price-up {
    color: green;
}

.blc-price-down {
    color: red;
}

.blc-price-change i {
    font-size: 0.7rem;
}

.blc-cond-qty {
    width: 110px;
}

.blc-qtyinput {
    max-width: 100px;
}

.blc-qtyinput .form-control {
    padding: 0.2rem;
    font-size: 0.85rem;
}

.blc-qtyinput .btn {
    padding: 0.2rem 0.4rem;
    font-size: 0.75rem;
}

/* Login prompt */
.blc-login-prompt {
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
    margin-top: 0.5rem;
    text-align: center;
    color: #666;
}

/* Subcategory header */
.blc-subcat-header {
    font-family: "Red Hat Display", serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin: 1.5rem 0 0.75rem 0;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid rgba(196, 35, 23, 0.3);
}

.blc-subcat-header:first-child {
    margin-top: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .blc-cond-row {
        flex-wrap: wrap;
    }

    .blc-cond-label {
        flex-basis: 50%;
    }

    .blc-cond-price {
        flex-basis: 50%;
        text-align: right;
    }

    .blc-cond-qty {
        flex-basis: 100%;
        width: 100%;
        margin-top: 0.25rem;
    }

    .blc-qtyinput {
        max-width: 100%;
    }
}

/* ========================================
   PAGINATION (blc-pagination)
   ======================================== */

.blc-pagination {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

.blc-pagination ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
}

.blc-pagination li {
    display: flex;
}

.blc-pagination li a,
.blc-pagination li span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.blc-pagination li a:hover {
    background: rgba(196, 35, 23, 0.1);
    border-color: rgba(196, 35, 23, 0.5);
    color: rgb(196, 35, 23);
}

.blc-pagination li.active span {
    background: rgba(196, 35, 23, 0.85);
    border-color: rgba(196, 35, 23, 0.85);
    color: #fff;
    font-weight: 600;
}

.blc-pagination li.disabled span {
    background: #f5f5f5;
    border-color: #eee;
    color: #aaa;
    cursor: not-allowed;
}

.blc-pagination li.ellipsis span {
    border: none;
    background: transparent;
    min-width: 24px;
    padding: 0;
}

@media (max-width: 576px) {
    .blc-pagination li a,
    .blc-pagination li span {
        min-width: 32px;
        height: 32px;
        padding: 0 0.5rem;
        font-size: 0.85rem;
    }
}

/* Pagination row with sort dropdown */
.blc-pagination-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.blc-pagination-row .blc-pagination {
    margin: 0;
}

.blc-sort-wrapper {
    display: flex;
    align-items: center;
}

.blc-sort-select {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.blc-sort-select:hover {
    background: rgba(196, 35, 23, 0.1);
    border-color: rgba(196, 35, 23, 0.5);
    color: rgb(196, 35, 23);
}

.blc-sort-select:focus {
    outline: none;
    border-color: rgba(196, 35, 23, 0.5);
    box-shadow: 0 0 0 2px rgba(196, 35, 23, 0.1);
}

@media (max-width: 576px) {
    .blc-pagination-row {
        justify-content: center;
    }

    .blc-sort-select {
        height: 32px;
        padding: 0 0.5rem;
        font-size: 0.85rem;
    }
}