/*Item-list categories*/
.price {
    color: #333;
}
.category-sidebar {
    background-color: #f9f9f9;
}
.category-checkbox {
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;    
    cursor: pointer;
}

.category-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #007bff; /* Customize checkbox color */
}

.category-checkbox p {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
/*Slider*/
/* Change the active selected range color */
.irs-bar {
    background-color:  #000 !important; /* Jumia orange */
}

/* Optional: also change handle glow & other UI accents */
.irs-from, .irs-to, .irs-single {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #fcee1f;
}
/* Increase handle (circle/thumb) size */
.irs-handle {
    width: 24px;
    height: 24px;
    top: 25px; /* Adjust if it shifts */
    border: 4px solid #fcee1f;
}

/* Optional: increase the track height */
.irs-line,
.irs-bar {
    height: 10px;
}

.blurred {
  filter: blur(3px);
  opacity: 0.6;
  pointer-events: none;
}

.out-of-stock-overlay {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 0, 0, 0.8);
  color: white;
  padding: 3px 6px;
  font-weight: bold;
  border-radius: 5px;
  margin-bottom: 2rem;
}
.out-of-stock-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding: 1rem;
}
.view-similar {
  margin-top: 2rem; /* or 2rem depending on the space you want */
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 1;
  text-transform: uppercase;
}



/*Order-details page*/
.repeat-order {
    display: flex;
    align-items: center; /* vertically align items */
    gap: 20px; /* space between items */
    padding: 10px;
    border-bottom: 1px solid #ccc; /* optional: separates rows */
  }
  
  .order-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .description {
    flex: 1; /* allows the description to take available space */
  }
  
  .repeat-order p {
    margin: 0;
    min-width: 80px; /* ensures consistent width */
    text-align: center;
  }
  .total {
    align-items: end;
    margin-right: 1rem;
  }
  .form-select,
  .form-control:focus {
    outline: none;
    border-color: #28a745;
    box-shadow: 0 0 5px rgba(40, 167, 69, 0.3);
  }
  .form-select,
  .form-select option {
    color:#808080;
  }
  /* Style the modal header */
.modal-header {
    background-color: #e7d141; 
    color: white;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}

/* Style the modal title */
.modal-title {
    font-weight: 600;
    font-size: 1.25rem;
}

/* Style the modal body */
.modal-body {
    padding: 1.5rem;
    background-color: #f8f9fa; /* light gray */
}

/* Style the form elements */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-select {
    border-radius: 0.375rem;
    border: 1px solid #ced4da;
    padding: 0.5rem 0.75rem;
}

/* Modal footer styling */
.modal-footer {
    justify-content: flex-end;
    padding: 1rem;
    background-color: #f1f1f1;
    border-top: 1px solid #dee2e6;
    border-bottom-left-radius: 0.3rem;
    border-bottom-right-radius: 0.3rem;
}
.order-status.active {
    background-color: #d4edda;
    color: #155724;
    font-weight: bold;
}
.order-status.active i {
    color: green;
}



  /*Item details page*/
  .quantity-control {
    display: flex;
    align-items: center;
    max-width: 120px;
    margin-right: 1rem;
    border: 1px solid #ced4da;
    border-radius: 5px;
    overflow: hidden;
    background: #f8f9fa;
}
.quantity-control .qty-btn {
    background: linear-gradient(760deg, #fcee1f 0%, #000000 100%);
    color: #fff;
    border: none;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.1s ease;
}
.quantity-control .qty-btns:hover {
    background: #949623;
}
.quantity-control .qty-btns:active {
    transform: scale(0.95);
}
.quantity-control .qty-btns:disabled {
    background: #6c757d;
    opacity: 0.5;
    cursor: not-allowed;
}
.quantity-control .qty-display {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    padding: 5px 10px;
    color: #333;
    background: #fff;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    min-width: 40px;
}
.quantity-control .qty-hidden {
    display: none;
}
.detail-extralink {
    display: flex;
    justify-content: flex-start; /* Align items to the left */
    align-items: center; /* Optional: vertically center items */
    margin-left: 0; /* Ensure there's no unwanted margin */
}
.stock-count{
    font-size: 1rem;
    margin-right: 1rem;
    font-weight: bold;
}
  
