.product {
    padding: 0 0 35px 0;
    position: relative;
    border-radius: 5px;
    background-color: #f5f1e9;
}

.woosw-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 27px;
    height: 25px;
    border-radius: 5px;
    border: none;
    background-color: #febc00;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

.woosw-icon-2:before,
.woosw-icon-4:before,
.woosw-icon-8:before {
    color: #FFF;
}

.product-state {
    position: absolute;
    top: 10px;
    right: 47px;
    display: block;
    padding: 2.5px 5px;
    border-radius: 5px;
    box-sizing: border-box;
    font-weight: bold;
    color: #FFF;
    background-color: #659147;
}

.outofstock,
.onbackorder {
    background-color: #cc0000;
}

.product-image img {
    border-radius: 5px 5px 0 0;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.product-name {
    padding: 15px 0 0 0;
    text-align: center;
}

.product-name a {
    font-family: "Bon Vivant Serif";
    font-size: 2rem;
    line-height: 2rem;
    letter-spacing: 0.1rem;
    font-weight: bold;
    text-decoration: none;
    color: #659147;
    -webkit-user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}

.product-content-wrap .product-price {
    display: block;
    width: 100%;
    margin: 5px 0 0 0;
    text-align: center;
    font-weight: bold;
    color: #333;
}

.product-content-wrap .product-regular-price {
    margin: 0 5px 0 0;
    text-decoration: line-through;
}

.product-cart-action {
    position: absolute;
    bottom: -20px;
    left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0 15px;
}

.product-cart-action input {
    width: 55px;
    padding: 5px;
    box-sizing: border-box;
    border-radius: 5px 0 0 5px;
    border: 2px solid #659147;
    text-align: center;
    font-weight: bold;
    transition: all 0.3s ease-out;
}

.product-cart-action button {
    padding: 10px 40px 10px 10px;
    box-sizing: border-box;
    font-weight: bold;
    color: #FFF;
    border-radius: 0 5px 5px 0;
    border: none;
    background-color: #659147;
    background-image: url(../img/cart_icon.svg);
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20%;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.product-cart-action a {
    width: fit-content;
    margin: 0 auto;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    color: #FFF;
    border-radius: 5px;
    background-color: #659147;
    transition: all 0.3s ease-out;
    cursor: pointer;
}

.product-loading {
    position: absolute;
    display: inline-flex;
    align-items: center;
    top: calc(50% - 12.5px);
    right: 15px;
    width: 25px;
    height: 25px;
    padding: 2.5px;
    box-sizing: border-box;
    border-radius: 5px;
    opacity: 0;
    transition: all 0.3s ease-out;
}

.product-loading.adding {
    opacity: 1;
    background-color: #cccccc;
}

.product-loading.added {
    opacity: 1;
    background-color: #659147;
}

.product-loading span {
    height: 20px;
    line-height: 2;
}

.product-loading.adding span {
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes rotation {
    to {
        -webkit-transform: rotate(360deg);
    }
}

.product-loading span:before {
    color: #FFF;
    font-size: 2rem;
    line-height: 2rem;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-loading.adding span:before {
    font-family: 'Material Icons' !important;
    content: "\e863";
}

.product-loading.added span:before {
    font-family: 'Material Icons' !important;
    content: "\e876";
}

@media (min-width: 800px) {
    .product-name a {
        font-size: 2.5rem;
        line-height: 2.5rem;
    }

    .product-name a:hover {
        color: #374c26;
    }

    .product-cart-action:hover input {
        border-color: #374c26;
    }

    .product-cart-action:hover button,
    .product-cart-action:hover a {
        background-color: #374c26;
    }

    .woosw-btn:hover {
        background-color: #ad8000;
    }
}