/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.related-variation-product{
    display: flex;
    gap: 10px;
    margin: 10px 0;
}
.related-variation-product .related-product-btn{
    position: relative;
    max-width: 140px;
    padding: 7px 9px;
    border: 1px solid #efefef;
    color: #333;
    background-color: #f5f5f5;
    font-size: 14px;
    border-radius: 10px;
    transition: all .3s;
    display: flex;
    text-align: center;
    flex-direction: column;
    overflow: hidden;
}
.related-variation-product .related-product-btn:hover,
.related-variation-product .related-product-btn.current-product{
    border-color: #D9232E;
}
.related-variation-product .related-product-btn.current-product:before{
    position: absolute;
    content: '';
    background-color: #D9232E;
    width: 20px;
    height: 40px;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    top: -12px;
    right: -8px;
}
.related-variation-product .related-product-btn.current-product:after{
    position: absolute;
    content: "";
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    width: 4px;
    height: 8px;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    top: 2px;
    right: 5px;
}
.related-variation-product .amount{
    color: #D9232E;
    font-weight: 600;
}