.reItem4 {
    margin: 10px;
    padding: 5px 10px;
    border: 1px solid #878787;
    text-align: center;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.reItem4 a.bl-bigger {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}
.reItem4 a img{
    margin: auto;
    min-height: 150px;
}

.reItem4 .p_price{
    position: relative;
    background-color: #d61518;
    height: 25px;
    padding-top: 4%;
    font-size: 15px;
    color: #FFFFFF;
    font-weight: 600;
    line-height: 16px;
}
.top-recomment-item {
    position: relative;
    font-size: 15px;
    line-height: 20px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 0 -15px 18px;
    background-color: #ff6814;
    padding: 0 5px;
    box-sizing: border-box;
    height: 50px;
    min-height: 50px;
}
.top-recomment-item:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid #b67919;
    border-right: 6px solid transparent;
}
.top-recomment-item:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid #b67919;
    border-left: 6px solid transparent;
}

.item_list li .top-recomment-item p {
    margin-top: 5px;
}

.search_list_p {
    position: relative;
    border: 1px solid #000;
    border-radius: 12px;
    width: max-content;
    padding: 10px 20px;
    margin: 20px auto;
    font-weight: 600;
}

.search_list_p:after {
    content: "";
    display: block;
    border-top: 12px solid #000;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
}

.search_list_p:before {
    content: "";
    display: block;
    border-top: 11px solid #fff;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    z-index: 1;
}
.p_price {
    border-radius: 3px;
}
.p_price i {
    padding-right: 5px;
}
.end_p {
    text-align: right;
    color: #d61518;
    font-size: 16px;
}
.first_price {
    padding-right: 5px;
    color: #3e4349;
}
.end_label {
    color: #d61518;
    font-size: 18px;
    font-weight: 600;
}
.item_list .slick-prev, .item_list .slick-next, .item_list .slick-prev:hover, .item_list .slick-prev:focus, .item_list .slick-next:hover, .item_list .slick-next:focus {
    width: 25px;
    height: 25px;
    background: #3e4349;
    border-radius: 50%;
}

.item_list .slick-prev:before {
    content: '\f0d9';
    font-family: 'FontAwesome';
    margin-right: 3px;
    color: #fff;
    font-size: 20px;
    opacity: 1;
}

.item_list .slick-next:before {
    content: '\f0da';
    font-family: 'FontAwesome';
    margin-left: 3px;
    color: #fff;
    font-size: 20px;
    opacity: 1;
}

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
/* The Close Button */

.modal-content .close {
  position: absolute;
  top: -12px;
  right: -15px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: -1px 2px 5px 0px rgba(0,0,0,0.75);
  float: right;
  font-weight: bold;
}

#myModal .close:after {
  content: unset;
}

.close-modal-cart {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
}

.close-modal-cart:after {
  content: "\2716";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 18px;
  line-height: 26px;
  color: #fff;
  text-align: center;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.bottom-modal-item {
    border-top: 2px solid #000;
    padding-top: 15px;
}

.select-item-recoment {
    display: flex;
    margin-bottom: 15px;
}
.select-same-design{
    height: 40px;
    font: menu;
    width: 96%;
}

.jcf-select {
    margin-right: 8px;
    border-radius: 3px;
    background: #fff;
    position: relative;
}

.select-item-recoment button {
    border: 0;
    background: #343434;
    color: #fff;
    border-radius: 5px;
}

.buy-item-recomment {
    display: flex;
    justify-content: space-between;
    text-align: center;
    font-size: 18px;
}

.buy-item-recomment a {
    background: #e90101;
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    border-bottom: 2px solid #970000;
    flex: 1;
    margin-right: 15px;
}

.buy-item-recomment a:last-child {
    background: #fff;
    color: #7daabf;
    border-top: 1px solid #cccccb;
    border-left: 1px solid #cccccb;
    border-right: 1px solid #cccccb;
    border-bottom: 3px solid #cccccb;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
}

.top-modal-item {
    display: flex;
    justify-content: space-between;
}
.two-span-button{
    display: flex;
    -webkit-box-pack: justify;
    justify-content: space-between;
    margin-bottom: 3px;
    height: 45px;
    min-height: 45px;
    max-height: 45px;
}
.two-span-button span {
    background: #007b80;;
    width: 48.5%;
    height: 45px;
    border: 1px solid #000;
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 18px;
    color: #fff;
    align-items: center;
    align-content: center;
    flex-wrap: wrap;
}
.two-span-button span:last-child {
    background: #444;
}
.number-side-in{
    width: 100%;
    height: 45px;
    min-height: 45px;
    max-height: 45px;
    border: 1px solid #000;
    position: relative;
    background: #747474;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-line-pack: center;
    align-content: center;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 12px;
    line-height: 20px;
    color: #fff;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 3px;
    text-align: center;
}
.right-top-recomment-item{
    color: #020202;
    background: transparent;
}
.right-top-recomment-item:before {
    display: none;
}
.right-top-recomment-item:after {
    display: none;
}

.modal-content {
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 10px;
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 30%;
}

.modal-content .select-item-recoment {
    position: relative;
}

.modal-content .select-item-recoment:after {
    content: '';
    border-top: 7px solid #e90101;
    border-right: 7px solid transparent;
    border-left: 7px solid transparent;
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.modal-content .select-same-design {
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    outline: 0;
    width: 100%;
    border-radius: 5px;
    padding: 0 10px;
}

.modal-content .two-span-button span:after,
.modal-content .number-side-in:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border: 1px solid #fff;
}
.item_list .slick-arrow {
    z-index: 2;
}

.item_list .slick-next {
    right: 0;
}
.item_list .slick-prev {
    left: 0;
}
.image_preview_itemre {
    max-height: 200px;
    width: 100%
}
.reItem4 img{
    min-height: 150px;
}
#myModal {
    z-index: 99999;
}

.info-modal-cart {
  margin-top: 15px;
  line-height: 21px;
}

.top-modal-item .left-modal-item {
  position: relative;
  width: 50%;
}

.top-modal-item .left-modal-item .image_preview_itemre {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: contain;
}
