﻿

:root {
    --colorMain: #808080;
    --colorHover: #aaaaaa;
    --colorAlert: #FF0000;
}

.shopProductProductNumber
{
    display: none;
}

#descriptionTop {
    clear: both;
    margin-bottom: 30px;
}

#shopContainer {
    /*display: grid;  only used with category sidecolumn*/
    grid-column-gap: 30px;
    grid-template-columns: 250px auto; 
}

#shopSideContainer {
    grid-column: 1;
    grid-row: 1 / -1;
    display: none; /* Do not show categories at the moment */
}

#shopProducts {
    grid-column: 2;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0 0 0 0;
}

.shopProductContainer {
    position: relative;
    width: Calc(100% / 2);
    border-bottom: 1px solid #cccccc;
    border-right: 1px solid #cccccc;
    padding: 25px;
}

    .shopProductContainer:nth-child(even) {
        border-right: none;
    }

.shopProductContainer:before {
    background: #fff;
    content: "";
    height: 40px;
    position: absolute;
    left: -20px;
    bottom: -20px;
    width: 40px;
    z-index: 2;
}

.productDetailLink {
    display: inline-block;
    text-decoration: none;
    padding: 0px;
    border: 0px;
    background-image: initial;
    background-position: 0px center;
    background-size: initial;
    background-repeat: initial;
    background-attachment: initial;
    background-origin: initial;
    background-clip: initial;
    text-align: left;
    cursor: pointer;
    position: absolute;
    z-index: 3;
    inset: 1px;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(175, 203, 8, 0.05);
    transition: all 0.2s ease;
    border-radius: 20px;
}

.productDetailLink:hover {
    opacity: 1;
}

.shopProduct {
    margin-bottom: 45px;
    font-size: 13px;
}

.shopProductImageContainer {
    position: relative;
    float: left;
    margin-right: 20px;
    /*    z-index: 3;*/
    /*    pointer-events: none;*/
}

.shopProductImageContainer img {
    max-height: 180px;
    max-width: 220px;
}

.shopProductContentContainer
{
    overflow: hidden;
}

.shopProductTitle {
    position: relative;
    z-index: 5;
    pointer-events: none;
    margin: 7px 0 5px 0;
}

.shopProductTitle h2 {
    font-size: 22px;
}

.shopProductProductNumber {
    pointer-events: none;
    font-size: 16px;
    color: #404040;
}

.shopProductDescription {
    position: relative;
    z-index: 5;
    margin-top: 10px;
    pointer-events: none;
}

.shopProductDescription p:last-child
{
    padding: 0;
}

.shopProductPriceContainer {
    pointer-events: none;
    margin-top: 15px;
}

.shopProductPrice {
    font-weight: 700;
}

.shopProductPriceWithoutDiscount {
    font-size: 17px;
}

.shopProductPriceDiscountPercent.circle {
    position: absolute;
    left: 10px;
    top: 15px;
    background-color: var(--colorAlert);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    padding: 7px;
    text-align: center;
    color: #fff;
    font-size: 18px;
    line-height: 38px;
    text-shadow: 1px 1px #4c4c4c;
    border: 1px solid #fff;
}

.productAttributeTextFieldError,
.productAttributeRadioButtonError {
    color: var(--colorAlert);
    display: none;
}

.is-invalid .productAttributeTextFieldError,
.is-invalid .productAttributeRadioButtonError {
    display: inline-block;
}

.shopProductFooter {
    bottom: 15px;
    left: 25px;
    position: absolute;
    right: 25px;
    z-index: 5;
}

.shopProductFooterCartControlContainer {
    display: flex;
    float: right;
}

.shopProductFooterQuantityContainer {
    display: flex;
}

#shopProducts input.shopProductQuantityInputPlus,
#shopProducts input.shopProductQuantityInputMinus {
    width: 26px;
    height: 30px;
    text-align: center;
    background-color: var(--colorMain);
    border: none;
    color: #fff;
}

#shopProducts input:focus {
    outline: none;
}

#shopProducts input.shopProductQuantityInputPlus {
    border-radius: 0 4px 4px 0;
}

#shopProducts input.shopProductQuantityInputMinus {
    border-radius: 4px 0 0 4px;
}

    #shopProducts input.shopProductQuantityInputPlus:hover,
    #shopProducts input.shopProductQuantityInputMinus:hover {
        background-color: var(--colorHover);
        cursor: pointer;
        color: var(--ButtonLinkHoverColor);
    }

#shopProducts input.shopProductQuantityInput {
    width: 30px;
    height: 30px;
    text-align: right;
    border: 0;
    border-top: 1px solid var(--colorMain);
    border-bottom: 1px solid var(--colorMain);
    border-radius: 0;
    vertical-align: top;
    font-size: 12px;
    margin: 0;
    padding: 0 5px 0 0;
}

.shopProductAddToCartButton {
    background-color: var(--colorMain);
    border-radius: 4px;
    margin-left: 10px;
    height: 30px;
    width: 30px;
}

    .shopProductAddToCartButton:hover {
        cursor: pointer;
        background-color: var(--colorHover);
    }

.quantityInputValueNotNumeric {
    background-color: var(--colorAlert);
}

.shopProductAddToCartButton .fa-shopping-cart {
    color: #fff;
    font-size: 17px;
    margin-left: 4px;
    margin-top: 5px;
}

.shopProductAddToCartButton:hover {
    cursor: pointer;
    color: var(--ButtonLinkHoverColor);
}

.shopProductAddToCartButton:hover .fa-shopping-cart {
    color: var(--ButtonLinkHoverColor);
}

.beItemContent .shopProductGotDetailButton,
.beItemContent .shopProductGotDetailButton:visited,
.shopProductGotDetailButton,
.shopProductGotDetailButton:visited {
    background-color: var(--colorMain);
    color: #fff;
    border-radius: 4px;
    margin: 0;
    height: 30px;
    display: inline-block;
    padding: 3px 7px 0 7px;
    font-size: 14px;
}

 .shopProductGotDetailButton:hover,
 .beItemContent .shopProductGotDetailButton:hover {
        color: #fff;
        background-color: var(--colorHover);
        text-decoration: none;
    }

.shopProductGotDetailButton .fa-search {
    color: #fff;
    font-size: 15px;
    margin: 0 5px 0 0;
}

#loadMoreProductsContainer {
    grid-column: 2;
    margin: 40px 0 0 25px;
    text-align: center;
}

.shopProductDeliveryStateContainer
{
    display: none;
}

.shopProductAttributes .control-label {
    margin-top: 15px;
}

@media screen and (max-width: 1023.9px) {

    #shopProducts {
        margin: 0 0 0 0;
    }

    .shopProductContainer {
        width: 100%;
        padding: 25px 0 25px 0;
        border-right: none;
    }

    .shopProductFooter {
        left: 0;
        right: 0;
    }

    .shopProductContainer:before {
        display: none;
    }
}

@media screen and (max-width: 767.9px) {
    .shopProductImageContainer img {
        max-height: 150px;
        max-width: 140px;
    }

    #shopContainer {
        display: block;
    }

}

@media screen and (max-width: 500px) {
    .shopProductImageContainer {
        float: none;
    }
}

