.left h2, .right h1 {
    font-size: 2.5rem;
    color: #e31019;
}

section.product {
    background-color: #f6f6f7;
    color: #333;
}

section.product p {
    line-height: 1.5em;
}

section.product .wrapper {
    display: flex;
    align-items: stretch;
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
}

section.product .wrapper > * {
    background-color: white;
}

section.product .left {
    width: 18.75%;
    flex-basis: auto;
    flex-shrink: 0;
    flex-grow: 0;
    margin-right: 2rem;

    padding: 1.75rem 1rem 1.75rem 2.5rem;
    position: relative;
}

section.product .left::after {
    content: "";
    position: absolute;
    width: 2rem;
    height: 100%;
    top: 0;
    left: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, .5), transparent);
}

section.product .right {
    flex-basis: auto;
    width: calc(81.25% - 2rem);
    flex-shrink: 0;
    flex-grow: 0;
}

.catalog-list {
    margin-top: 2rem;
}

.catalog-list a {
    display: block;
    width: 100%;
    line-height: 1.5rem;
    padding: .75rem 1.25rem;
    color: #333;
    border-top: 1px solid #dedede;
    position: relative;
}

.catalog-list a.active, .catalog-list a:hover {
    color: #e31019;
}

section.product .right {
    padding: 2.5rem 3rem 4rem 8.875rem;
}

.top {
    display: flex;
    align-items: stretch;

    margin-bottom: 3rem;
}

.top .image-slider {
    width: calc(46% - 3.75rem);
    flex-basis: auto;
    flex-shrink: 0;
    flex-grow: 0;
    margin-right: 3.75rem;
}

.top.no-slide .image-slider {
    display: none;
}

.image-slider .img-list {
    padding: 1.25rem 0;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: 1px solid #d8d8d8;
}

.image-slider .img-list img {
    margin-right: 0.625rem;
    flex: 0 0 3.125rem;
    max-width: 3.125rem;
    height: 3.125rem;
    object-fit: cover;
    cursor: pointer;
    transition: .4s;
    filter: brightness(.75);
}

.img-list img:hover, .img-list img.active {
    filter: none;
}

.image-slider .cover-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cover-img img {
    display: block;
    width: 100%;
    height: auto;
}

.top .main-desc {
    flex: 0 0 54%;
}

.top.no-slide .main-desc {
    flex: 0 0 100%;
}

.main-desc h1 {
    margin-top: -.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.tab-headers {
    display: flex;
    font-size: 1.125rem;
}

.tab-headers h2 {
    border-top: 2px solid #ececec;
    line-height: 1.5rem;
    padding: calc(.75rem - 1px) 0 calc(.75rem + 1px);
    background-color: #ececec;
    text-align: center;
    flex: 1;
    cursor: pointer;
}

.tab-headers h2.active {
    background-color: white;
    border-top-color: #e31019;
    color: #e31019;
}

.tab-headers h2:hover {
    color: #e31019;
}

.tab-pages {
    min-height: 25rem;
}

.tab-pages {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

.tab-pages h3 {
    color: #e31019;
}


.catalog-list li {
    position: relative;
}

.catalog-list li .product-list-toggle {
    position: absolute;
    line-height: calc(1.5rem + 1px);
    padding: .75rem;
    width: 3rem;
    text-align: center;
    right: 0;
    top: 0;
    cursor: pointer;
    font-size: 1.5rem;
}

.product-list-toggle::before{
    content: "+";
}

.show .product-list-toggle::before{
    content: "-";
}

.catalog-list li .product-list-toggle:hover {
    background-color: #f7f7f7;
}

.catalog-list li:hover {
    color: #e31019;
}

.catalog-list a {
    display: block;
    width: 100%;
    line-height: 1.5rem;
    padding: .75rem 1.25rem;
    color: #333;
    border-top: 1px solid #dedede;
    position: relative;
}

.catalog-list a.active {
    color: #e31019;
}

.catalog-list > li:last-child > a {
    border-bottom: 1px solid #dedede;
}

.catalog-list .catalog-product-list a {
    line-height: 1.5rem;
    padding: .5rem 1.25rem .25rem 2.5rem;
    border-top: 1px solid #efefef;
    color: #666;
    font-size: calc(1em - 1px);
}

.catalog-list .catalog-product-list a.active{
    color: #e31019;
}

.catalog-list .catalog-product-list {
    display: none;
}

.catalog-list li.show .catalog-product-list{
    display: block;
}

.product-list {
    width: calc(85% - 10.75rem);
    flex-basis: auto;
    flex-shrink: 0;
    flex-grow: 0;
}

@media (max-width: 1440px) {
    section.product .right {
        padding: 3rem;
    }

    section.product .left {
        padding: 1.25rem;
    }
}

@media (max-width: 960px) {
    section.product .wrapper {
        flex-direction: column;
    }

    section.product .left {
        margin-right: 0;
        margin-bottom: 2rem;
    }


    .catalog-list {
        margin-bottom: 2rem;
    }

    .catalog-list a {
        width: auto;
        border-top: none;
        border-bottom: none;
    }

    .catalog-list a.active::after {
        display: none;
    }

    .catalog-list a:last-child {
        border-bottom: none;
        border-top: none;
    }

    .catalog-list {
        font-size: 1.25rem;
    }

    .catalog-list > li {
        margin-bottom: 1rem;
    }

    .catalog-list li.show .catalog-product-list {
        display: flex;
    }

    .catalog-product-list {
        flex-wrap: wrap;
    }

    .catalog-product-list li {
        width: 25%;
        flex: 0 0 auto;
    }

    .catalog-list > li > a {
        font-size: 1.25em;
        margin-bottom: .25em;
        border-bottom: 1px solid #e7e7e7;
    }

    .left .catalog-list li a {
        padding-left: 0;
    }

    .right {
        font-size: 1.25rem;
    }

    .image-slider .img-list img {
        margin-right: 0.75rem;
        flex: 0 0 4rem;
        max-width: 4rem;
        height: 4rem;
    }

    section.product .right {
        padding: 2rem;
    }

    section.product .wrapper {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media (max-width: 640px) {
    section.product .right {
        padding: 1.5rem;
    }

    .right .top {
        flex-direction: column-reverse;
    }

    .right .top > * {
        flex: auto;
    }

    .top .image-slider {
        margin-right: 0;
    }

    .top .main-desc {
        margin-bottom: 2rem;
    }

    .catalog-product-list li{
        width: 33%;
    }
}

@media (max-width: 480px) {

    .catalog-product-list li{
        width: 50%;
    }
}


