.product-full-art .field--name-price,
.product-full-art .field--name-field-stock {
    display: none;
}

.commerce-order-item-add-to-cart-form .field--widget-commerce-product-variation-attributes {
    position: absolute;
    left: -99999px;
    opacity: 0;
}

.product-art-attrs {
    display: flex;
    flex-wrap: wrap;
    padding-top: 20px;
}

.art-btn-type {
    padding: 8px;
    margin-right: 6px;
    margin-bottom: 6px;
    font-size: 14px;
    line-height: 16px;
    text-align: center;
    background: #f5f5f5;
    border-radius: 4px;
    border: 1px solid #f5f5f5;
    cursor: pointer;
}

.art-btn-type:last-child {
    margin-right: 0;
}

.art-btn-type.active {
    background: #E3E7FA;
    border: 1px solid rgba(21, 57, 211, 0.5);
}

.field--widget-commerce-product-variation-attributes {
    margin: 0;
}

.commerce-order-item-add-to-cart-form .form-type-number label {
    display: none;
}

.product-teaser {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
}

.product-teaser-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 360px;
    height: 360px;
    text-align: center;
}

.product-teaser-img img {
/*    height: auto;
    width: auto;
    max-width: 100%;
    margin: 0;*/
    /*    height: -moz-available;
    height: -webkit-fill-available;
    height: fill-available;*/
    width: auto;
    /* max-width: 100%; */
    margin: 0;
    max-height: 100%;
}

.product-teaser-img > div {
    height: 360px;
}

.product-teaser-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 30px;
}

.product-teaser1 .product-teaser-info {
    padding-top: 8px;
}

.product-teaser1 .product-teaser-price {
    padding: 12px 0 20px;
}

.product-teaser1 .product-teaser-addToCart {
    padding-top: 0;
}

.product-teaser-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

.product-teaser-title a {
    color: #000;
    text-decoration: none;
}

.product-teaser-price {
    padding: 20px 0 15px;
    font-size: 1.25rem;
}

.product-teaser-type {
    font-size: 1.125rem;
    color: rgba(0, 0, 0, 0.6);
}

.product-teaser .field--name-quantity,
.product-mini .field--name-quantity {
    display: none;
}

.product-teaser #edit-actions,
.product-full #edit-actions {
    margin-top: 0;
}

.product-teaser .form-group,
.product-teaser .field--type-entity-reference,
.product-full .form-group,
.product-full .field--type-entity-reference {
    margin: 0;
}

.product-teaser-addToCart {
    padding-top: 20px;
}

.product-teaser-inStok {
    font-size: 0.875rem;
}

.product-inStok--in {
    color: #003ADC;
}

.product-inStok--out {
    color: rgba(0, 0, 0, 0.6);
}

.product-teaser .btn-primary {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    padding: 10px 50px;
}

.product-teaser1 .btn-primary {
    padding-left: 34px;
    padding-right: 34px;
}

.product-teaser1 .btn-primary:before {
    content: '';
    display: inline-block;
    width: 23px;
    height: 20px;
    margin-right: 5px;
    background: url(../../img/cart.svg) no-repeat center;
    transition: background 0.3s;
}

.product-teaser .btn-primary:hover,
.product-teaser .btn-primary:active,
.product-teaser .btn-primary:focus,
.product-teaser .btn-primary:not(:disabled):not(.disabled):active {
    background: #000;
    color: #fff;
}

.product-teaser1 .btn-primary:hover:before,
.product-teaser1 .btn-primary:active:before,
.product-teaser1 .btn-primary:focus:before,
.product-teaser1 .btn-primary:not(:disabled):not(.disabled):active:before {
    background: url(../../img/cart-w.svg) no-repeat center;
}

.product-full-content {
    display: flex;
    margin-bottom: 70px;
}

.product-full-img {
    flex: 0 0 50%;
    text-align: center;
    padding-right: 100px;
}

.product-full-info {
    flex: 0 0 50%;
}

.product-full-img .field--type-image {
    padding: 48px;
}

.product-full-img .field--type-image img {
    max-width: 100%;
    height: auto;
    margin: 0;
}

.product-full-title {
    text-transform: uppercase;
    line-height: 3rem;
    margin: 0;
}

.product-full-type {
    padding-top: 12px;
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 1);
}

.product-full-inStok {
    font-size: 1rem;
    padding: 24px 0;
}

.product-full-attrs-item {
    line-height: 1.18rem;
    font-size: 1rem;
}

.product-full-attrs-item:not(:last-child) {
    margin-bottom: 12px;
}

.product-full-attrs-item .field__item {
    font-weight: 700;
}

.product-full-attrs-item .field__item,
.product-full-attrs-item .field__label {
    display: inline;
}

.product-full-price {
    padding: 32px 0;
    font-size: 2.25rem;
    font-weight: 700;
}

.commerce-order-item-add-to-cart-form {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.product-teaser-addToCart .commerce-order-item-add-to-cart-form {
    display: block;
}

.product-full .button--add-to-cart,
.product-full .out-stock-btn {
    margin-right: 24px;
    background: #1539D3;
    border: 1px solid #1539D3;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    padding: 10px 50px;
}

.product-full .button--add-to-cart:hover,
.product-full .out-stock-btn:hover {
    background: #fff;
    color: #1539D3;
}

.product-full-body .field__label {
    margin-bottom: 32px;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-full-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-full-links-item:not(:last-child) {
    margin-right: 24px;
}

.product-full-links-item a {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    padding: 9px 20px;
    background: transparent;
    border: 1px solid #000;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    color: #000;
    transition: box-shadow .3s;
}

.product-full-links-item a:hover {
    box-shadow: 0px 0px 9px 1px rgba(0, 0, 0, 0.15);
}

.product-full-links-item a:before {
    content: '';
    display: inline-block;
    margin-right: 12px;
}

.product-full-links-item--read a:before {
    width: 22px;
    height: 20px;
    background: url(../../img/read.svg) no-repeat center;
    background-size: contain;
}

.product-full-links-item--yt a:before {
    width: 20px;
    height: 20px;
    background: url(../../img/yt.svg) no-repeat center;
    background-size: contain;
}

.product-full-buy-links {
    padding-top: 30px;
}

.product-full-buy-links-title {
    margin-bottom: 14px;
    font-size: 0.875rem;
    font-weight: 700;
}

.product-full-buy-links-items {
    display: flex;
    align-items: center;
}

.product-full-buy-links .field a {
    display: inline-block;
    text-indent: -9999px;
    overflow: hidden;
    width: 29px;
    height: 29px;
}

.product-full-buy-links .field--name-field-link1 a {
    background: url(../../img/amazon.svg) no-repeat center;
    background-size: cover;
}

.product-full-buy-links .field--name-field-link2 a {
    background: url(../../img/google-book.svg) no-repeat center;
    background-size: cover;
}

.product-full-buy-links .field:not(:last-child) {
    margin-right: 20px;
}

.product-cart {
    position: relative;
    display: flex;
}

.product-cart-info {
    flex: 1;
    padding-left: 40px;
    padding-right: 45px;
}

.product-cart-img {
    flex: 0 0 100px;
}

.product-cart-title {
    margin-bottom: 8px;
    font-size: 1rem;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
}

.product-cart-title a {
    color: #000;
    text-decoration: none;
}

.product-cart-type {
    padding-right: 40px;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

.product-cart-price-cart {
    padding-top: 12px;
}

.commerce-order-item-sale-add-to-cart-form {
    display: flex;
    align-items: center;
}

.product-cart-addToCart .button--add-to-cart {
    display: none;
}

.product-cart-addToCart .form-group,
.product-cart-addToCart .field--type-entity-reference {
    margin: 0;
}

.button--remove-from-cart,
.cart-actions-del {
    position: absolute;
    right: 0;
    top: 0;
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0;
    box-shadow: none;
    border: none;
    overflow: hidden;
    text-indent: -9999px;
    background: transparent url(../../img/remove.svg) no-repeat center;
    transition: background-color .3s;
    cursor: pointer;
}

.button--remove-from-cart:hover,
.button--remove-from-cart:active,
.button--remove-from-cart:focus,
.button--remove-from-cart:not(:disabled):not(.disabled):active {
    border: none;
    box-shadow: none;
    background: transparent url(../../img/remove.svg) no-repeat center;
}

.product-cart-img img {
    max-width: 100%;
    height: auto;
    margin: 0;
}

.product-cart-price {
    font-size: 1rem;
    font-weight: 700;
    margin-right: 24px;
}

.product-cart-price .field--name-price {
    min-width: 60px;
}

.field--widget-commerce-quantity {
    position: relative;
}

.quantity-popup-error {
    position: absolute;
    display: none;
    top: 50%;
    right: 100%;
    width: 165px;
    margin-right: 10px;
    padding: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.75);
    border-radius: 8px;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
}

.quantity-popup-error:after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -10px;
    border-left: 10px solid rgba(0, 0, 0, 0.75);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

.collapsed-text-link {
    display: none;
}

.field--name-field-ref-more-prod {
    padding-top: 35px;
}

.field--name-field-ref-more-prod .field__label {
    margin-bottom: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: left;
}

.product-mini {
    display: flex;
}

.product-mini-info {
    padding-top: 10px;
    text-align: left;
}

.product-mini-img {
    margin-right: 20px;
    flex: 0 0 100px;
}
.product-mini-img img {
    max-width: 100%;
    height: auto;
    margin: 0;
}

.product-mini-title {
    margin-bottom: 6px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-mini-title a {
    color: #000;
}

.product-mini-price {
    margin-bottom: 18px;
    font-size: 0.875rem;
}

.product-mini .btn-primary {
    background: transparent;
    border: 1px solid #000;
    color: #000;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    padding: 13px 35px;
}

.product-mini .btn-primary:hover, 
.product-mini .btn-primary:active, 
.product-mini .btn-primary:focus, 
.product-mini .btn-primary:not(:disabled):not(.disabled):active {
    background: #000;
    color: #fff;
}

@media(min-width: 768px) {
    .desc-hide {
        display: none !important;
    }
}

@media(max-width: 1300px) {
    .product-cart-info {
        padding-left: 15px;
    }
}

@media(max-width: 1199px) {
    .product-full-img {
        padding-right: 60px;
    }

    .product-full-links-item:not(:last-child) {
        margin-right: 14px;
    }

    .product-full-title {
        font-size: 2rem;
        line-height: 2.5rem;
    }

    .product-cart-info {
        padding-left: 15px;
        padding-right: 35px;
    }

    .product-cart-img {
        flex: 0 0 80px;
    }
}

@media(max-width: 991px) {
    .art-btn-type {
        font-size: 12px;
        padding: 6px;
    }

    .product-full-links {
        flex-direction: column;
    }

    .product-full-links-item:not(:last-child) {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .product-full-links-item a {
        min-width: 188px;
    }

    .product-full-img {
        padding-right: 40px;
    }

    .product-full-img .field--type-image {
        padding: 34px;
    }

    .button--remove-from-cart {
        background: transparent url(../../img/close.svg) no-repeat center;
    }
    .product-cart-title,
    .product-cart-type {
        padding-right: 0;
}
}

@media(max-width: 767px) {
    .product-art-attrs {
        justify-content: center;
    }

    .product-full-content .product-full-attrs.mob-hide,
    .product-full-content .product-full-buy-links.mob-hide,
    .product-full-links.mob-hide {
        display: none !important;
    }

    .product-teaser {
        display: block;
    }

    .product-teaser-img {
        height: 300px;
    }
    
    .product-teaser-img > div {
        height: 200px;
    }
    
    .product-teaser-img img {
        max-height: 300px;
    }

    .product-teaser-info {
        padding-top: 10px;
        text-align: center;
    }

    .product-teaser-title,
    .product-teaser-price {
        font-size: 1rem;
    }

    .product-teaser-price {
        padding: 10px 0 6px;
    }

    .product-teaser .btn-primary {
        padding-top: 7px;
        padding-bottom: 7px;
        font-size: 0.875rem;
    }

    .product-full-content {
        display: block;
        margin-bottom: 24px;
    }

    .product-full-img {
        padding-right: 0;
        margin-bottom: 10px;
    }

    .product-full-img .field--type-image {
        padding: 0;
    }

    .product-full-info {
        text-align: center;
    }

    .product-full-title {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }

    .product-full-type {
        padding-top: 8px;
        font-size: 0.875rem;
    }

    .product-full-inStok {
        padding: 14px 0 20px;
        font-size: 0.875rem;
    }

    .product-full .commerce-order-item-add-to-cart-form {
        display: block;
    }

    .product-full-price {
        float: left;
        width: 50%;
        font-size: 1.25rem;
        text-align: right;
        padding: 4px 10px 4px 0;
        margin-bottom: 24px;
    }

    .product-full .field--name-quantity {
        float: right;
        width: 50%;
        padding-left: 10px;
    }

    .product-full .form-actions,
    .product-full-links {
        clear: both;
    }

    .product-full-links {
        padding-top: 20px;
        margin: 5px 0 30px 0;
    }

    .product-full .button--add-to-cart,
    .product-full .out-stock-btn {
        min-width: 230px;
        margin-right: 0;
    }

    .product-full .product-mini .button--add-to-cart {
        min-width: initial;
    }

    .product-full-links-item a {
        min-width: 230px;
    }

    .product-full-attrs {
        padding-top: 24px;
        text-align: left;
        font-size: 0.875rem;
        margin-bottom: 25px;
    }

    .product-full-body .field__label {
        margin-bottom: 14px;
        font-size: 1rem;
    }

    .product-full-buy-links {
        padding-top: 24px;
    }

    .quantity-popup-error {
        top: auto;
        left: 50%;
        bottom: 100%;
        margin-top: 0;
        margin-right: 0;
        margin-bottom: 10px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
    }

    .quantity-popup-error:after {
        top: 100%;
        left: 50%;
        margin-top: 0;
        margin-left: -10px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid rgba(0, 0, 0, 0.75);
    }

    .collapsed-text-content {
        height: 150px;
        overflow: hidden;
        line-height: 18px;
        font-size: 14px;
    }

    .collapsed-text-overlay {
        position: relative;
        z-index: 1;
        height: 145px;
        margin-top: -145px;
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00ffffff', endColorstr='#ffffffff');
        background: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75));
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0.75)));
        background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.75));
        transition: .2s;
    }

    .collapsed-text-content.check {
        height: auto;
    }

    .collapsed-text-link {
        display: block;
        padding-top: 5px;
    }

    .collapsed-text-link.hidden {
        display: none;
    }

    .collapsed-text-block.opened .collapsed-text-overlay {
        height: 0;
        margin-top: 0;
    }

    .collapsed-text-block.opened .collapsed-text-content {
        height: 100%;
    }
    .product-full .field--name-field-ref-more-prod {
        margin-bottom: 10px;
        padding-top: 20px;
    }
}

@media(max-width: 480px) {
    .product-full-img .field--type-image img {
        height: 240px;
        width: auto;
    }

    .product-full-title {
        font-size: 1rem;
        line-height: 1.5rem;
    }

    .product-full-inStok {
        font-size: 0.75rem;
    }

    .product-full-attrs-item {
        font-size: 0.875rem;
    }

    .product-cart-title {
        margin-bottom: 6px;
        font-size: 0.75rem;
    }

    .product-cart-type {
        font-size: 0.75rem;
    }

    .product-cart-price-cart {
        padding-top: 5px;
    }

    .product-cart-langs-list {
        padding-top: 10px;
    }
    
    .product-cart-price {
        margin-right: 12px;
    }

    .product-cart-img {
        flex: 0 0 60px;
    }

    .product-teaser-img {
        height: 200px;
    }

    .product-teaser-img img {
        max-height: 200px;
    }
    
    .product-mini-img {
        margin-right: 12px;
    }
    
    .product-mini-title {
        line-height: 1.2;
    }
    
    .product-mini-info{
        padding-top: 5px;
    }
    
    .product-mini-price {
        margin-bottom: 15px;
    }
    .product-teaser1 {
        display: flex;
        flex-direction: row;
        text-align: left;
    }
    .product-teaser1 .product-teaser-img {
        flex: 0 0 95px;
        height: auto;
    }
    
    .product-teaser1 .product-teaser-info {
        display: block;
        padding-left: 12px;
        text-align: left;
    }
    
    .product-teaser1 .product-teaser-price {
        font-size: 0.875rem;
        padding: 10px 0 18px;
    }
    
    .product-teaser1 .btn-primary:before {
        display: none;
    }
    .product-cart-info {
        padding-left: 10px;
        padding-right: 30px;
    }
}

@media(max-width: 390px) {
    .product-cart-langs-list.langs-list-center {
        justify-content: space-around;
    }
}