@import "./shop-basket.css";
@import "./shop-top.css";
@import "./shop-user.css";
/*@import "./shop-variant.css";*/
/*@import "./shop-store.css";*/
/*@import "./shop-configurator.css";*/

:root {
    --shop-primaryHover: #f23b1c;
    --shop-primary: #f23b1c;
    --shop-primaryText: #fff;
    --shop-secondary: #e6e6e6;
    --shop-secondaryText: #868686;
    --shop-default: #f9f9f9;

    --shop-radius-default: 0;
}

.products-slider {
    display: flex;
    flex-wrap: wrap;
    padding-top: var(--space-50);
}

.shop-product-box {
    width: 33.3333%;
    position: relative;
}

.shop-product-box::before {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1px;
    height: var(--space-50);
    background-color: rgba(0, 0, 0, 0.1);
    transition: height 1s;
}

.shop-product-box::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--space-50));
    bottom: 0;
    width: calc(2 * var(--space-50));
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    transition: width 0.8s;
}

.price-from {
    font-size: 12px;
}

.product-image {
    margin-bottom: var(--space-40);
    position: relative;
    width: 100%;
}

.product-image::before {
    content: '';
    display: block;
    width: 100%;
    padding-top: 85%;
}

.product-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateY(-50%) translateX(-50%);
    -moz-transform: translateY(-50%) translateX(-50%);
    -ms-transform: translateY(-50%) translateX(-50%);
    -o-transform: translateY(-50%) translateX(-50%);
    transform: translateY(-50%) translateX(-50%);
    display: block;
    max-width: 100%;
    max-height: 100%;
}

.product-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: calc(var(--space-40) - 5px) calc(2 * var(--space-40));
    height: 100%;
    margin-left: -1px;
    margin-top: -1px;
}

.product-link {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.product-container::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 1px;
    height: var(--space-50);
    background-color: rgba(0, 0, 0, 0.1);
    transition: height 1s;
}

.product-container::after {
    content: '';
    position: absolute;
    right: calc(-1 * var(--space-50));
    top: 0;
    width: calc(2 * var(--space-50));
    height: 1px;
    background-color: rgba(0, 0, 0, 0.1);
    transition: width 0.8s;
}

.product-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 1px;
    height: 0;
    background-color: var(--color-primary);
    transition: height 1s;
}

.product-link::after {
    content: '';
    position: absolute;
    left: calc(-1 * var(--space-50));
    bottom: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 0.8s;
}

@media screen and (min-width: 1140px) {
    .product-container:hover::before {
        background-color: var(--color-primary);
        height: 100%;
    }

    .product-container:hover::after {
        background-color: var(--color-primary);
        width: calc(100% + 2 * var(--space-50));
    }

    .product-container:hover .product-link:before {
        height: 100%;
    }

    .product-container:hover .product-link::after {
        width: calc(100% + 2 * var(--space-50));
    }

    .product-container:hover .btn-circle {
        background-color: var(--color-primary);
        border-color: var(--color-primary);
        color: #fff;
    }
}

.product-top {
    margin: auto 0;
}

.product-top,
.product-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.product-labels {
    display: flex;
    margin-bottom: 15px;
}

.product-label {
    font-size: 12px;
    font-weight: 400;
    padding: 4px 6px;
    text-transform: uppercase;
}

.product-title {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3333;
    margin-bottom: 10px;
    text-align: center;
}

.shop-product-box .price-gross,
.shop-product-box .price-net {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 12px;
}

.shop-product-box .price:not(.price-old) {
    font-size: 18px;
    font-weight: 700;
}

.shop-product-box .price-old {
    font-size: 15px;
}

.product-caption {
    font-size: 12px;
    font-weight: 400;
}

.product-actions {
    margin-top: calc(var(--space-60) - 5px);
}

.products-slider-custom .product-top {
    flex-direction: row;
    width: 100%;
    height: 100%;
}

.products-slider-custom .product-image {
    margin-bottom: 0;
    width: 40%;
}

.products-slider-custom .product-image img {
    max-height: 200px;
}


.products-slider-custom .product-content {
    width: 60%;
    padding-left: var(--space-50);
    margin-left: var(--space-50);
    position: relative;
}

.products-slider-custom .product-content::before {
    content: '';
    position: absolute;
    top: 18%;
    bottom: 18%;
    left: 0;
    width: 1px;
    background-color: rgba(0, 0, 0, 0.1);
}

.products-slider-custom .product-title {
    text-align: left;
    font-size: 14px;
}

.products-slider-custom .product-content {
    height: 100%;
    align-items: flex-start;
    justify-content: flex-end;
}

.products-slider-custom .shop-product-box .price-gross, .products-slider-custom .shop-product-box .price-net {
    margin-bottom: calc(var(--space-40) - 6px);
}

.products-slider-custom .product-actions {
    margin-top: calc(var(--space-25) - 3px);
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
}

.products-slider-custom .product-container {
    align-items: flex-end;
    padding: calc(var(--space-40) - 4px) var(--space-40);
}

.products-slider-custom .product-actions .btn {
    width: 46px;
    height: 46px;
}

.products-slider-custom .slick-slide > div:not(.product-container) {
    height: 50%;
}

.products-slider-custom .shop-product-box {
    height: 100%;
}

/** LOGIN **/
.login-box .panel {
    border-radius: 0;
    margin-bottom: 0;
}

.login-box .panel-heading {
    font-size: 20px;
    padding: 12px 15px;
    margin: 0;
    color: #fff;
    background: #000;
    font-weight: 700;
    border-radius: var(--shop-radius-default) var(--shop-radius-default) 0 0;
}

.login-box .panel-heading h1,
.login-box .panel-heading h2 {
    padding: 0;
    margin: 0;
    font-size: 20px;
}

.login-box .panel-body {
    position: relative;
}

.login-info-content {
    padding: 0 8.33333333%;
}

.login-info-content .text-base {
    padding-bottom: 61px;
}

.login-info-content .btn-base {
    position: absolute;
    right: calc(8.33333333% + 15px);
    bottom: 15px;
}

.password-reset-info .panel-heading {
    border-bottom: none;
}

.userpanel-container .userpanel-title {
    font-size: var(--font-36);
    padding-bottom: 19px;
    font-weight: 900;
}

.userpanel-container .breadcrumb-container {
    margin: 20px 0 8px;
}

/**
 * Search results
 */

.search-group {
    margin: var(--space-40) 0;
}

.search-group-heading {
    margin-bottom: var(--space-25);
    padding-bottom: 10px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-group-heading-title {
    font-size: var(--font-36);
    font-weight: 700;
    padding-right: var(--space-50);
    flex-shrink: 0;
}

.search-group-heading-main .search-group-heading-title {
    font-size: var(--font-40);
}

.search-boxes {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    margin: -5px;
    background-image: url(/static/thumbnail/bigImage/desktop/46.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: var(--space-50);
    margin-top: var(--space-40);
}


.search-box {
    padding: 5px;
}

.shop-option-preview {
    position: absolute;
}

.shop-option-preview-container {
    padding: 10px;
    background: #fff;
    border: #d0d0d0;
    border: 1px solid var(--color-default);
    float: left;
}

.shop-option-preview-image,
.shop-option-preview-image img {
    float: left;
}

.shop-option-preview-square {
    height: 26px;
    width: 26px;
    display: inline-block;
    float: left;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-shrink: 0;
    margin-right: var(--space-25);
}

.shop-option-preview-trigger {
    width: 100%;
}

.modal-wide .modal-dialog {
    width: 1000px;
    margin: 30px auto;
}

/*invoice*/
.invoice-address-fieldset .form-element-label-wrapper .form-element-name {
    font-size: 20px;
    line-height: 26px;
    width: 100%;
    font-weight: bold;
    color: #fff;
    background: #000;
    margin: 0;
    padding: 10px 15px;
    border: 1px solid #e5e5e5;
    border-bottom-color: transparent;
}

.invoice-address-fieldset .panel {
    border-radius: 0 0 var(--shop-radius-default) var(--shop-radius-default);
}

/*zgody*/
.consent-row .glyphicon {
    display: none !important;
}

.shop-order-login .btn {
    flex-shrink: 0;
}

.inPost-MachineSelect {
    height: 46px;
}

.inPost-element .form-control-text {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.search-group {
    margin: 0;
}

.inPost-element .form-element.form-element-text.has-error {
    bottom: -17px;
}

.inPost-element .form-control-feedback {
    top: 7px;
    -webkit-transform: none;
    -moz-transform: none;
    -ms-transform: none;
    -o-transform: none;
    transform: none;
}

.panel-like-heading > .form-element-container > div > .form-element-label-wrapper > .form-element-label-helper > .form-element-name{
    width: 100%;
    font-size: 16px;
    line-height: 26px;
    font-weight: 400;
    padding: 12px 15px;
    margin: 0;
    color: #fff;
    background: #000;
    border-radius: var(--shop-radius-default) var(--shop-radius-default) 0 0;
}