
.page-template-underberg-shop {
    background-color: #719440;
    background-size: cover;
    background-repeat: no-repeat;
    background-image: linear-gradient(90deg,#3B5911 0%,#4B7C1D 43%,#4B7C1D 64%,#3B5911 100%);
}
.page-template-underberg-shop #content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1170px;
    margin: 60px auto 0;
    padding: 0 15px;
    font-family: 'Open Sans';
    font-style: normal;
}

.underberg-product-wrapper {
    max-width: 75%;
    flex: 0 0 75%;
    padding-right: 30px;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.underberg-product-wrapper > div {
    max-width: 28.5%;
    flex: 0 0 28.5%;
    padding: 15px;
    margin: 0 15px;
    text-align: center;
    transition: all .3s;
    margin-bottom: 40px;
    border-radius: 10px;
    position: relative;
}


.underberg-product > h2 a {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    padding-top: 6px;
    transition: all 0.3s;
    color: #fff;
    margin: 10px 0 0;
    font-family: 'Open Sans';
    display: block;
}

.underberg-product span.woocommerce-Price-amount.amount {
    color: #fff;
    font-size: 12px;
    margin-bottom: 20px;
}

.underberg-product.added-to-cart {
    background: #fff;
}


.underberg-product.added-to-cart h2 a,
.underberg-product.added-to-cart span.woocommerce-Price-amount.amount {
    color: #000;
}

.underberg-product.added-to-cart h2 {
    margin-bottom: 3px;
}

.underberg-product a.added_to_cart {
    display: none;
}

.underberg-product:after {
    content: "\2714"!important;
    width: 40px !important;
    height: 40px !important;
    overflow: hidden;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: all .3s;
    text-align: center;
    line-height: 40px;
    color: #fff;
    display: block;
    position: absolute;
    left: 50%;
    margin: -20px 0 0 -20px;
    top: auto;
    bottom: -20px !important;
    background-color: #064a0f;
}

.underberg-product.added-to-cart:after {
    opacity: 1;
    z-index: 99;
}

.underberg-product.processing ,
.added-to-cart.processing{
    opacity: .6;
}

div#underberg-mini-cart-wrapper {
    position: relative;
}

.added-to-cart.processing:after {
    content: "";
    background: #000;
    top: 0;
    position: absolute;
    z-index: 99;
    height: 100%;
    width: 100%;
    opacity: .3;
}


.underberg-product.processing:before,
div#underberg-mini-cart-wrapper.processing:before {
    content: '';
    border: 6px solid #f3f3f3;
    border-radius: 50%;
    border-top: 5px solid #426917;
    width: 35px;
    height: 35px;
    -webkit-animation: spin 2s linear infinite;
    animation: spin 2s linear infinite;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    left: 0;
    right: 0;
    margin: auto;
  }
  
  /* Safari */
  @-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }


.underberg-product-sidebar {
    max-width: 25%;
    flex: 0 0 25%;
    padding-left: 20px;
}

.underberg-product-sidebar > h3 {
    font-weight: 700;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid #ffffff73;
    padding-bottom: 15px;
    margin-bottom: 30px;
    font-family: 'Open Sans';
    margin-top: 0;
}

.underberg-product-sidebar > a {
    background-color: #9d0000;
    color: #fff !important;
    padding: 12px 20px;
    display: inline-block;
    transition: all .3s;
    text-decoration: none;
    margin-top: 30px;
    font-family: 'Open Sans';
    font-style: initial;
}

.underberg-product-sidebar > a:hover {
    background: #720000;
    text-decoration: none;
}

.product-added-to-cart {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 1px solid #ffffff73;
    padding-bottom: 20px;
}

.product-added-to-cart h3 {
    color: #fff;
    font-size: 16px;
    font-family: 'Open Sans';
    margin: 0 0 6px;
    text-transform: initial;
}

.product-added-content {
    max-width: 75%;
    flex: 0 0 75%;
}

.product-added-quantity {
    max-width: 25%;
    flex: 0 0 25%;
    padding-left: 20px;
    font-family: 'Open Sans';
}

.product-added-quantity input {
    width: 100%;
    font-family: 'Open Sans';
}

.product-added-content div {
    color: #fff;
    font-size: 15px;
    font-family: 'Open Sans';
}

.underberg-product img {
    max-width: 100%;
    width: auto;
    height: auto;
}

.product-cart-total {
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px dashed #ffffffa8;
    padding-bottom: 18px;
}
.product-cart-total> span {
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 720px) {
    .underberg-product-wrapper > div,
    .underberg-product-wrapper,
    .underberg-product-sidebar {
        max-width: 100%;
        flex: 0 0 100%;
    }

    .underberg-product-wrapper {
        padding-right: 0px;
    }
    .underberg-product-sidebar {
        padding-left: 0;
    }
}

.woocommerce-checkout div#customer_details .col-1,
.woocommerce-checkout div#customer_details .col-2,
.woocommerce form .form-row-first, 
.woocommerce form .form-row-last, 
.woocommerce-page form .form-row-first, 
.woocommerce-page form .form-row-last {
    width: 100%;
}


p#collecter_type_field span.woocommerce-input-wrapper label {
    display: inline !important;
    margin-right: 20px;
}

p#collecter_type_field span.woocommerce-input-wrapper input {
    margin-right: 6px;
}