.product {
    color: $choco;
    @media screen and (min-width: $vtablet-width) {
        display: flex;
        flex-wrap: wrap;
    }
}

.product__header {
    @media screen and (min-width: $vtablet-width) {
        width: 100%;
        flex: none;
    }
}

.product__name {
    margin: 0 0 20px;
    text-align: center;
    font-weight: bold;
    font-size: 23px;
    line-height: 26px;
    color: $choco;
    @media screen and (min-width: $vtablet-width) {
        font-size: 30px;
        line-height: 33px;
        text-align: left;
        width: 100%;
        flex: none;
        margin-bottom: 30px;
    }
}

.product__view {
    @media screen and (min-width: $vtablet-width) {
        width: 600px;
        flex: none;
        position: relative;
        margin-right: 70px;
    }
}

.product__tags {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    @media screen and (min-width: $vtablet-width) {
        position: absolute;
        top: 0;
        left: 0;
        justify-content: flex-start;
        overflow: hidden;
        border-radius: 5px;
        z-index: 10;
        width: 100%;
    }
}

.product__image {
    position: relative;
    margin: 0 auto;
    margin-bottom: 18px;
    @media screen and (min-width: $vtablet-width) {
        width: 100%;
    }
    .image-gallery-image {
        width: 288px;
        height: 298px;
        background-size: cover;
        background-position: 50% 50%;
        background-color: #FAFAF9;
        border-radius: 5px;
        overflow: hidden;
        cursor: pointer;
        @media screen and (min-width: $vtablet-width) {
            width: 100%;
            height: 620px;
            background-size: contain;
            background-repeat: no-repeat
        }
    }
    .image-gallery-slides {
        border-radius: 5px;
    }
    .image-gallery-bullets {
        width: calc(100% + 12px);
        margin: 0 -6px;
        transform: translateY(15px);
        .image-gallery-bullets-container {
            margin: 0;
            justify-content: center;
        }
        .image-gallery-bullet {
            background: $border;
            max-width: 58px;
        }
        .image-gallery-bullet.active {
            background: $choco;
        }
    }
    .image-gallery-left-nav,
    .image-gallery-right-nav {
        border-radius: 0;
        background: transparent;
        border: none;
        @media screen and (min-width: $vtablet-width) {
            &::after {
                content: '';
                border: 1px solid #4E372A;
                transform: rotate(-44.46deg);
                width: 7px;
                height: 7px;
            }
        }
    }
    .image-gallery-left-nav {
        left: 0;
        &::after {
            border-bottom: 0;
            border-right: 0;
        }
    }
    .image-gallery-right-nav {
        right: 0;
        &::after {
            border-top: 0;
            border-left: 0;
        }
    }
}

.product__title {
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    line-height: 150%;
    @media screen and (min-width: $vtablet-width) {
        text-align: left;
    }
}

.product__attributes {
    margin-top: 35px;
    @media screen and (min-width: $vtablet-width) {
        margin-top: 50px;
    }
}

.product-attribute {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #EFEAE4;
    font-size: 16px;
    line-height: 150%;
    margin: 20px 0;
    padding-bottom: 10px;
}

.product-attribute__value {
    text-align: right;
    max-width: 50%;
    margin-left: 10px;
}

.product__info {
    @media screen and (min-width: $vtablet-width) {
        flex: 1;
    }
}

.product__discount {
    margin-top: 35px;
    @media screen and (min-width: $vtablet-width) {
        margin-top: 40px;
    }
}

.discount__numbers {
    display: flex;
    max-width: 280px;
    margin: 0 auto;
    @media screen and (min-width: $vtablet-width) {
        margin-left: 0;
    }
    justify-content: space-between;
    font-weight: bold;
    font-size: 15px;
    line-height: 50px;
    margin-top: 15px;
}

.discount__numbers-item {
    display: flex;
    flex-direction: column;
}

.discount__number {
    width: 80px;
    height: 50px;
    background: #EFEAE4;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    font-weight: bold;
    font-size: 15px;
    line-height: 17px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.discount__label {
    font-weight: 500;
    font-size: 15px;
    line-height: 17px;
    color: $text;
    opacity: 0.5;
    margin-top: 15px;
    text-align: center;
}

.product__price {
    margin-top: 30px;
    @media screen and (min-width: $vtablet-width) {
        margin-top: 40px;
    }
    display: flex;
    color: $text;
    font-weight: bold;
    font-size: 60px;
    line-height: 67px;
    align-items: center;
    justify-content: space-between;
    @media screen and (min-width: $vtablet-width) {
        justify-content: flex-start;
    }
    &_old {
        text-decoration: none;
        background-color: transparent;
        background-image: repeating-linear-gradient(170deg, transparent, transparent 48%, $text 50%, transparent 52%, transparent);
        font-size: 30px;
        line-height: 33px;
        font-weight: 400;
        @media screen and (min-width: $vtablet-width) {
            margin-left: 25px;
        }
    }
}

.product__options {
    @media screen and (min-width: $vtablet-width) {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
}

.product-option {
    @media screen and (min-width: $vtablet-width) {
        width: 240px;
    }
}

.product-option__name {
    margin-top: 30px;
    @media screen and (min-width: $vtablet-width) {
        margin-top: 40px;
    }
    &:first-letter {
        text-transform: uppercase;
    }
}

.product-option__select {
    margin-top: 15px;
}

.product__quantity {
    margin-top: 30px;
    @media screen and (min-width: $vtablet-width) {
        margin-top: 40px;
    }
}

.product-quantity {
    display: flex;
    width: 195px;
    justify-content: space-between;
    margin: 0 auto;
    margin-top: 15px;
    align-items: center;
    @media screen and (min-width: $vtablet-width) {
        margin-left: 0;
        width: 153px;
    }
    input {
        width: 67px;
        height: 49px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border: 1px solid #EFEAE4;
        border-radius: 5px;
        font-weight: 500;
        font-size: 16px;
        line-height: 18px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: $text;
    }
    button {
        background-color: transparent;
        width: 33px;
        height: 33px;
        box-shadow: none;
        border: 1px solid #EFEAE4;
        border-radius: 50%;
        flex: none;
        position: relative;
        cursor: pointer;
        &::after,
        &::before {
            content: "";
            opacity: 0.5;
            background-color: $text;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        &:hover {
            background: #4E372A;
            box-shadow: 0 0 1px 1px #4E372A;
            border: none;
            &::after,
            &::before {
                background-color: #fff;
            }
        }
    }
    .decrement {
        &:after {
            width: 7px;
            height: 1px;
        }
    }
    .increment {
        &:after {
            width: 7px;
            height: 1px;
        }
        &:before {
            height: 7px;
            width: 1px;
        }
    }
}

.product__addtocart {
    margin: 0 auto;
    text-align: center;
    margin-top: 30px;
    @media screen and (min-width: $vtablet-width) {
        margin-left: 0;
        text-align: left;
        margin-top: 40px;
    }
}

.product-description {
    margin-top: 70px;
    @media screen and (min-width: $vtablet-width) {
        margin-top: 100px;
    }
}

.product-description__content {
    color: $choco;
    font-weight: bold;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    @media screen and (min-width: $vtablet-width) {
        text-align: left;
    }
    h1,
    h2,
    h3 {
        font-weight: bold;
        font-size: 20px;
        line-height: 22px;
        text-align: center;
        margin-bottom: 20px;
        @media screen and (min-width: $vtablet-width) {
            text-align: left;
        }
    }
}

.product .big-banner {
    @media screen and (max-width: 768px) {
        padding: 0;
    }
}

.viewed__title {
    @media screen and (max-width: 768px) {
        margin-top: 110px;
    }
}

.viewed_related .viewed__title {
    @media screen and (max-width: 768px) {
        margin-top: 130px;
    }
}

// .section-product-description {
//     background-color: #f5f5f5;
//     padding: 3rem 1.5rem;
// }
// .product-attribute {
//     border-bottom: 1px solid #ccc;
//     font-size: 0.9rem;
//     padding: 0.5rem 0;
//     margin: 0 !important;
// }
// .attribute-name {
//     font-weight: 500;
// }
// .attribute-value {}
// .section-product h1.product-name {
//     margin-bottom: 0.75rem;
// }
// .section-product .product-price {
//     margin-bottom: 1.5rem;
//     font-size: 1.25rem;
//     color: #363636;
//     font-weight: 500;
// }
// .section-product .product-old-price {
//     padding-left: 10px;
//     color: #636363;
// }
// .section-product .product-new-price {
//     color: #e72b1e;
// }
// .section-product .product-option {
//     margin-bottom: 1.25rem;
// }
// .section-product .product-option-name {
//     margin-bottom: 0.5rem;
// }
// .button-addtocart {
//     margin: 1.5rem 0;
//     max-width: 280px;
// }
// .discount-countdown {
//     max-width: 300px;
//     margin: 2rem 0;
// }
// .discount-title {}
// .discount-numbers {
//     font-size: 1.5rem;
//     font-weight: 500;
// }
// .discount-numbers .column.is-2 {
//     background-color: #f1f1f1;
//     border-radius: 6px;
// }
// .discount-labels {
//     font-size: 0.75rem;
//     font-weight: 400;
//     color: #7a7a7a;
// }
// .section-product .image-gallery-image {
//     cursor: zoom-in;
// }
// .section-product .image-gallery-slide-wrapper {
//     min-height: 200px;
// }
// .ReactModalPortal img {
//     max-width: none;
// }
// .product-quantity {
//     display: flex;
//     height: 2.25em;
//     width: 152px;
//     margin: 0.5rem 0;
//     border: 1px solid #dbdbdb;
//     border-radius: 3px;
//     overflow: hidden;
// }
// .product-quantity input {
//     width: 70px;
//     text-align: center;
//     font-size: 1rem;
//     border: none;
//     padding: 0;
//     margin: 0;
//     outline: none;
// }
// .product-quantity a {
//     width: 40px;
//     background-color: #fff;
//     background-repeat: no-repeat;
//     background-position: center;
//     background-size: 10px;
// }
// .product-quantity a:hover {
//     background-color: rgba(0, 0, 0, 0.05);
// }
// .product-quantity a:active {
//     background-color: rgba(0, 0, 0, 0.1);
// }
// .product-quantity a.decrement {
//     background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQyIDQyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MiA0MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8cmVjdCB5PSIxOSIgd2lkdGg9IjQyIiBoZWlnaHQ9IjQiIGZpbGw9IiMwMDAwMDAiLz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPGc+CjwvZz4KPC9zdmc+Cg==);
// }
// .product-quantity a.increment {
//     background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iQ2FwYV8xIiB4PSIwcHgiIHk9IjBweCIgdmlld0JveD0iMCAwIDQyIDQyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MiA0MjsiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNnB4IiBoZWlnaHQ9IjE2cHgiPgo8cG9seWdvbiBwb2ludHM9IjQyLDE5IDIzLDE5IDIzLDAgMTksMCAxOSwxOSAwLDE5IDAsMjMgMTksMjMgMTksNDIgMjMsNDIgMjMsMjMgNDIsMjMgIiBmaWxsPSIjMDAwMDAwIi8+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+CjxnPgo8L2c+Cjwvc3ZnPgo=);
// }
// .product-content a {
//     text-decoration: underline;
// }
// /*
// Mobile
// */
// @media screen and (max-width: 769px) {
//     .section-product .image-gallery-thumbnails-wrapper {
//         display: none !important;
//     }
//     .section-product .image-gallery-slide-wrapper.left,
//     .image-gallery-slide-wrapper.right {
//         width: 100%;
//     }
//     .section-product .image-gallery {
//         margin: -1.5rem -1.5rem 0 -1.5rem;
//     }
//     .button-addtocart {
//         max-width: 100%;
//     }
//     .product-breadcrumb {
//         display: none;
//     }
//     .product-quantity a {
//         background-color: rgba(0, 0, 0, 0.05);
//     }
// }