/* start slider css */
#detail_image_box__slides {
    width: 100%;
    max-width: 700px;
    margin: auto;
    overflow: hidden;
  }
  
  .slick-list {
    overflow: hidden;
  }
  
  .slick-track {
    display: flex;
  }
  
  .slick-slide {
    box-sizing: border-box;
    text-align: center;
  }
  
  .slick-slide img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
  }
  
  /* === Thumbnail === */
  .slick-dots {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
    list-style: none;
  }
  
  .slick-dots li {
    display: inline-block;
  }
  
  .slick-dots button.thumbnail {
    all: unset;
    cursor: pointer;
    display: inline-block;
  }
  
  .slick-dots button.thumbnail img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    transition: border-color 0.3s ease;
  }
  
  .slick-dots li.slick-active button.thumbnail img {
    border-color: #007bff;
  }
  
/* end slider css */

#item_detail {
    padding-bottom: 16px;
    margin-top: 16px;
}


#detail_wrap .btn {
    outline: none !important;
}

#item_photo_area {
    padding-top: 16px;
}


.card {
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
    padding: 16px;
}

.card-category {
    background-color:#fef5e8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 100%;
    padding: 64px;
    /* margin-left: 48px;
    margin-right: 48px; */
    margin-bottom: 48px;
    margin-top: 16px;
    border: 1px solid #dc3f02;
}

.card-category p {
    font-size: 16px;
    font-weight: bold;
    color: #dc3f02;
    margin-bottom: 8px;
}

.card-category a {
    font-size: 16px;
    font-weight: bold;
    color: black;
    margin-top: 8px;
}

#detail_description_box__sale_price {
    text-align: end !important;
    font-weight: bold;
    font-size: 18px;
}


.purchase-area {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.quantity-control {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

#add-cart {
    width: 140px;
    font-size: 12px;
    margin-left: 10px;
    background-color: #dc3f02;
    color: white;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px; 
}

#add-cart > div{
    background: white;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;  
  align-items: center;
  justify-content: center; 
}

#add-cart .icon {    
    background: black !important;
  }

#add-cart:hover {    
    background-color: white;
    color: black;
    border-radius: 4px;
    border: 1px solid #dc3f02;
}

#add-cart:hover > div{
    background: black;
}

#add-cart:hover .icon{
    background: white !important;
}

#favorite {
    width: 140px;
    font-size: 12px;
    margin-left: 10px;
    background-color: black;
    color: white;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 0px;
}

#favorite:hover {    
    background-color: white;
    color: black;
    border-radius: 4px;
    border: 1px solid black;
}

#favorite:hover .icon{
    background: #dc3f02 !important;
}



#btn-out-of-stock {
    width: 140px;
    font-size: 12px;
    margin-left: 10px;
    background-color: #dc3f02;
    color: white;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}


.btn-number {
    border-radius: 50%;
    background-color: black;
    height: 24px !important;
    width: 24px !important;
}

.btn-number:hover {
    background-color: rgba(0, 0, 0, 0.251);
}

.quantity-control button {
    width: 34px;
    height: 34px;
    padding: 0;
    text-align: center;
    line-height: 32px;
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.quantity-control input {
    width: 60px;
    height: 34px;
    text-align: center;
    margin: 0 5px;
}

.cart-button {
    flex: 1;
}

.cart-button button {
    height: 44px;
    font-size: 16px;
    font-weight: bold;
}

dl.quantity dd {
    padding-left: 0em !important; 
}
/* css cho icon :hover */
.icon-minus {
    mask:url(../img/common/icon-minus-black.svg);
}
.icon-plus {
    mask:url(../img/common/icon-plus-black.svg);
}

.icon-angle-right {
    mask: url(../img/common/icon-angle-right-black.svg);
}

.icon-heart {
    mask: url(../img/common/icon-heart-black.svg);
}

.icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: white;
    -webkit-mask-size: cover;
    mask-size: cover;
}
.icon-black {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: black;
    -webkit-mask-size: cover;
    mask-size: cover;
}