/*Mini Cart Styles Inline External*/

.add-to-wishlist-otieno {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 16px;
  border-radius: 8px 0px 0px 8px;
  font-family: 'Mulish', sans-serif;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 100%;
  width: 100%;
}

/* Header */
.wishlist__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.wishlist__close {
  cursor: pointer;
  font-size: 20px;
  color: #999;
}

.wishlist__close:hover {
  color: #000;
}

/* Items container */
.wishlist__items {
  height: calc(100vh - 70px - 90px) !important;
  overflow-y: auto;
  margin-bottom: 16px;
}

/* Footer */
.wishlist__footer {
  border-top: 1px solid #eee;
  padding-top: 16px;
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
}

.wishlist__total-label {
  font-weight: bold;
  font-size: 16px;
  color: #202020;
  min-width:30%;

}

.wishlist__price {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  min-width:30%;
}

.wishlist__checkout {
  display: inline-block;
  width: 100% !important;
  background-color: #000;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.wishlist__checkout:hover {
  background-color: #333;
}


/*Ending Of Mini Cart Styles*/


/* === Mini Cart Wrapper === */
.add-to-wishlist-otieno {
  position: fixed;
  top: 0;
  right: -100%;
  width: 30vw;
  height: 100vh;
  background: #fff;
  padding: 13px 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: -4px 0 6px rgba(0, 0, 0, 0.08);
  z-index: 9999999999999999999999;
  transition: right 0.5s ease-in-out;
}

.add-to-wishlist-otieno.open {
  right: 0;
}

/* === Header === */
.wishlist__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wishlist__title {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Mulish', sans-serif;
  color: var(--dark);
  letter-spacing: 1.8px;
}

.wishlist__close {
  width: 35px;
  height: 35px;
  background: #f5f5f5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* === Items Section === */
.wishlist__items {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 0;
  padding-bottom:30px !important;
}

.wishlist__item {
  display: flex;
  gap: 12px;
  padding: 6px;
  background: #f5f5f5;
  border-radius: 12px;
}

.wishlist-otieno-item-info-wrapper{
    width:100%;   
    display: flex;
    flex-direction: column;
    align-items: space-between !important;
}

img.wishlist__item-image{
 width:100%; 
 height: 100%; 
 max-width:150px;
 object-fit: cover; 
 border-radius: 6px;
}


.wishlist__item-body {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  flex: 1;
}

.wishlist__item-title {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Mulish', sans-serif;
  color: #202020;
  line-height: 150%;
}

/* === Attributes === */
.wishlist__attributes {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  gap: 4px;
  line-height: 20px;
}

.wishlist__attribute {
  display: flex;
  gap: 10px;
  font-size: 12px;
}

.wishlist__attribute-name {
  color: var(--secondary);
  font-size: 14px;
}

.wishlist__attribute-value {
  color: #202020;
  font-weight: 700;
  font-family: 'Mulish', sans-serif;
  letter-spacing: 0.32px;
  text-transform:capitalize;
}

/* === Quantity Controls === */
.wishlist__item-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.wishlist__quantity-wrapper {
  display: flex;
  align-items: center;
  justify-content:space-between;
  gap: 16px;
}

.wishlist__quantity-box {
  padding: 4px 12px;
  border: 1px solid var(--gray, #999) !important;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0px;
  background: #f5f5f5;
  max-height:31px;
}

.wishlist__quantity-input {
  width: 60px !important;
  border: none;
  background: transparent;
  text-align: center;
  font-size: 12px;
  font-family: 'Mulish', sans-serif;
  font-weight: 500;
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
  
}

.wishlist__quantity-input::-webkit-inner-spin-button,
.wishlist__quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.wishlist__quantity-btn {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  cursor: pointer;
}

/* === Price + Delete === */
.wishlist__price {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Mulish', sans-serif;
  letter-spacing: 1.8px;
  color: #202020;
}

.wishlist-otieno-delete-item {
  background: #202020;
  color: #fff;
  padding: 6px;
  border-radius: 6px;
  font-size: 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* === Footer === */
.wishlist__footer {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position:absolute;
  bottom:20px;
  padding:0px 26px;
  width:100%;
  left:50%;
  transform:translateX(-50%);
  background:#fff;
  row-gap:10px;
}

.wishlist__price-section {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wishlist__total-label {
  font-size: 16px;
  font-weight: 700;
  color: #202020;
  font-family: 'Mulish', sans-serif;
}

.update-cart{
    color:var(--primary);
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:8px;
}

.wishlist__total-amount {
  font-size: 24px;
  font-weight: 700;
  font-family: 'Mulish', sans-serif;
  color: #202020;
  letter-spacing: 1.2px;
}

.wishlist__badge {
  background: rgba(232, 181, 4, 0.10);
  color: #E8B604;
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 62px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === Checkout Button === */
.wishlist__checkout {
  width: 100%;
  padding: 12px 24px;
  background: #0096EB;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.wishlist__total-label, #wishlist-total-amount{
    width:50%;
}

#wishlist-total-amount{
    text-align:right;
}

.wishlist_add_to_cart {
    font-size:12px !important; 
    padding:6px 12px !important;
}

/* === Responsive (Mobile) === */
@media (max-width: 1048px) {
  .add-to-wishlist-otieno {
    width: 60% !important;
    height: 100%;
  }
  .wishlist__price-section {
    flex-direction: column-reverse !important;
  }
}

/* === Responsive (Mobile) === */
@media (max-width: 863px) {
    
  .add-to-wishlist-otieno {
    width: 60% !important;
    height: 100%;
  }
    .wishlist__item-title{
      font-size:16px;
      line-height:115%;
  }
  .wishlist__price {
      font-size:28px;
  }
  
}


/* === Responsive (Mobile) === */
@media (max-width: 600px) {
    
  .add-to-wishlist-otieno {
    width: 100% !important;
  }
  
  .wishlist__footer{
      padding-top:10px;
  }
}


/* === Responsive (Mobile & Tablet) === */
@media (max-width: 780px) {
  .wishlist {
    width: 100% !important;
    height: 100%;
  }

  .wishlist__item-footer {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  
  .wishlist__quantity-box {
      max-height: 28px;
      padding: 0px 8px !important;
      gap:0px;
    }
    
    .wishlist__quantity-box input{
        font-size: 12px;
    }
    
    .wishlist__quantity-wrapper{
        gap:8px !important;
    }
    
    .wishlist__item-image{
        height:125px !important;
    }
    
      .wishlist__price {
        font-size: 16px;
    }
    
  
}

@media (max-width: 612px) {
  .wishlist__attribute-name,
  .wishlist__attribute-value {
    font-size: 9px;
  }

  .wishlist__price {
    font-size: 16px;
  }

  .wishlist__item-footer {
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    gap: 12px;
  }

  img.wishlist__item-image {
    width: 40%;
    height: 155px;
  }
}
