/*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;
}

.price {
    font-size: 1rem;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 700;
}
.cost{
    font-size: 0.7rem;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 800;
    text-decoration: line-through; /* adds strikethrough */
    opacity: 0.8; 
    color: #fa1010;
}

.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;
}

/* Section title */
.related-products h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #222;
    margin: 0;
}

/* Custom navigation */
.related-products .custom-nav button {
    border: none;
    background: #f5f5f5;
    color: #333;
    width: 36px;
    height: 36px;
    border-radius: 20%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 5px;
    transition: all 0.3s ease;
    box-shadow: 0px 2px 6px rgba(0,0,0,0.15);
}
.related-products .custom-nav button:hover {
    background: #000;
    color: #fff;
}

/* Product card */
.product-card {
    border: 1px solid #000000;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.05);
}
.item{
    border: 1px solid #000000;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0px 3px 8px rgba(0,0,0,0.05);
    width: 300px;
}
.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 15px rgba(0,0,0,0.1);
}

/*Product image */
.product-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 10px;
    background: #f9f9f9;
    position: relative;
}

.product-img .discount {
    position: absolute;
    top: 10px;     
    left: 10px;    
    background: red;
    color: white;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    z-index: 2; 
}

/* Product content */
.product-content {
    padding: 10px 15px;
}
.product-content h2.product-title {
    font-size: 0.95rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    height: 40px;
    overflow: hidden;
}
.product-content h2.product-title a {
    text-decoration: none;
    color: #333;
}
.product-content h2.product-title a:hover {
    color: #000;
}

/* Price styling */
.product-content span {
    font-size: 1rem;
    font-weight: 600;
    color: #000;
}

/* Owl carousel dots*/
.owl-dots {
    text-align: center;
    margin-top: 15px;
}
.owl-dot span {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 20%;
    margin: 5px 4px;
    display: block;
    transition: all 0.3s ease;
}
.owl-dot.active span {
    background: #000;
    transform: scale(1.2);
}
/* Position cart actions inside image, bottom-right */
.product-img-action-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.cart-actions {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart button (circle style) */
.cart {
    border-radius: 50%;
    width: 42px;
    height: 42px;
    padding: 0;
    background: #fcee1f;
    border: none;
    color: #000;
    font-size: 18px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: background 0.3s;
}

.cart:hover {
    background: #000;
}

/* Quantity controls floating */
.quantity-controls {
    background: white;
    border-radius: 20px;
    padding: 3px 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    gap: 6px;
}

.quantity-controls .btn {
    border-radius: 20%;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fcee1f;
}

.quantity-controls .btn :hover{
    background: #000;
    color: #ccc;
}

.quantity-controls .quantity {
    min-width: 18px;
    text-align: center;
    font-weight: bold;
}

#toast{
    position: fixed;
    top: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    display: none;
    font-size: 14px;
    z-index: 1000;
}

  
