.p-image{
    overflow: hidden;
    border-radius: 8px;
}
.product-name{
    font-size: 18px;
    font-weight: 500;
    
    color:#145995;
    margin-bottom:0;
}
.price{
    font-size: 14px;
    font-weight: 800;
    margin-bottom:0;
    margin-top:14px;
}
.action-buttons{
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}
.text-button{
    background-color: #145995;
    color:#fff;
    text-align: center;
    padding:6px 16px;
}
.icon-buttons{
    border:2px solid #BB4430;
    color:#BB4430;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    width: 35px;
    text-align: center;
}
.product-img {
  position: relative;
  color: #fff;
}
.ribbon1 {
  position: absolute;
  top: -6px;
  right: 10px;
}

.ribbon1:after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 10px solid #1c3c74;
  /*border-image: linear-gradient(to left bottom, #145995, #17528d, #1a4a85, #1b437c, #1c3c74) 100% 0 0 0 ;*/
}

.ribbon1 span {
  position: relative;
  display: block;
  text-align: center;
  background: #1c3c74;
  /*background-image: linear-gradient(to left bottom, #145995, #17528d, #1a4a85, #1b437c, #1c3c74);*/
  font-size: 14px;
  line-height: 1;
  padding: 11px 8px 5px;
  border-top-right-radius: 8px;
  width: 80px;
}

.ribbon1 span:before,
.ribbon1 span:after {
  position: absolute;
  content: "";
}

.ribbon1 span:before {
  height: 6px;
  width: 6px;
  left: -4px;
  top: 0;
  background: #1c3c74;
  /*background-image: linear-gradient(to left bottom, #145995, #17528d, #1a4a85, #1b437c, #1c3c74);*/
}

.ribbon1 span:after {
  height: 6px;
  width: 8px;
  left: -8px;
  top: 0;
  border-radius: 8px 8px 0 0;
  /*background-image: linear-gradient(to left bottom, #145995, #17528d, #1a4a85, #1b437c, #1c3c74);*/
  background: #1c3c74;
}

.ribbon4 {
  position: absolute;
  top: 5px;
  padding: 5px 7px;
  left: 14px;
  background: #145995;
  box-shadow: -1px 2px 3px rgba(0, 0, 0, .3);
  border-top-right-radius: 7px;
  border-bottom-right-radius: 7px;

}
.ribbon4 span {
    font-size: 14px;
}

.ribbon4:before,
.ribbon4:after {
  content: "";
  position: absolute;
}

.ribbon4:before {
  width: 7px;
  height: 100%;
  top: 0;
  left: -6.5px;
  padding: 0 0 7px;
  background: inherit;
  border-radius: 5px 0 0 5px;
}

.ribbon4:after {
  width: 6px;
    height: 9px;
    bottom: -4px;
    left: -6.5px;
    background: #145995;
    border-radius: 0px 0 0 5px;
}
@media (min-width: 500px) {
  .ribbons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .ribbon {
    width: 48%;
  }
}
.flex-options {
    display: flex;
    justify-content: space-between;
}

.badge {
    background-image: linear-gradient(to left bottom, #145995, #17528d, #1a4a85, #1b437c, #1c3c74);
    padding: 8px 15px;
    border-radius: 8px;
    height: fit-content;
    font-size: 11px;
}





.modal-badge {
    position: relative;
}

.ribbon4 {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    padding: 8px;
    background: red;
    box-shadow: -1px 2px 3px rgba(0, 0, 0, .3);
    font-size: 12px;
    line-height: 1;
    color: #fff;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
}

.ribbon4:before,
.ribbon4:after {
    content: "";
    position: absolute;
}

.ribbon4:before {
    width: 7px;
    height: 100%;
    top: 0;
    left: -6.5px;
    padding: 0 0 7px;
    background: inherit;
    border-radius: 5px 0 0 5px;
}

.ribbon4:after {
    width: 7px;
    height: 15px;
    bottom: -6px;
    left: -6.5px;
    background: red;
    border-radius: 5px 0 0 5px;
}

@media (min-width: 500px) {
    .ribbons-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .ribbon {
        width: 48%;
    }
}