/**/
:root {
    --main-color: #700404;
}
/**/
.page__head {
    margin: 25px 0 0 0;
}
.page__title {
    font-size: 32px;
    margin: 0 0 12px 0;
}
.page__description {
    font-size: 17px;
    line-height: 23px;
    color: #3d3d3d;
    padding: 0 150px 0 0;
}
/* FILTER */
.filter {
    margin: 45px 0;
}
.filter__row-brand {
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 4px solid #d4d4d4;
    border-bottom: 4px solid #d4d4d4;
}
.filter__brand {
    position: relative;
    padding: 18px 48px;
    font-size: 18px;
    letter-spacing: 1.05px;
    cursor: pointer;
}
.filter_b-active {
    font-size: 21px;
    color: var(--main-color);
}
.filter_b-active:before {
    content: "";
    width: 100%;
    height: 4px;
    background: var(--main-color);
    position: absolute;
    left: 0;
    top: -4px;
}
.filter_b-active:after {
    content: "";
    width: 100%;
    height: 4px;
    background: var(--main-color);
    position: absolute;
    left: 0;
    bottom: -4px;
}
.filter__row-quantity {
    display: grid;
    grid-template-columns: repeat(5, auto);
    justify-content: space-evenly;
    grid-gap: 24px 0;
    margin: 34px 0 0 0;
}
.areno .filter__row-quantity {
    grid-template-columns: repeat(4, auto);
}
.zvezda .filter__row-quantity {
    grid-template-columns: repeat(4, auto);
}
@media (max-width: 451px) {
    .areno .filter__row-quantity, .zvezda .filter__row-quantity {
        grid-template-columns: repeat(2, auto);
    }
}
.filter__quntity {
    background: #dddddd;
    text-align: center; 
    padding: 9px 40px;
    color: #444;
    cursor: pointer;
    border-radius: 5px;
    font-size: 17px;
    line-height: unset;
    letter-spacing: 1.05px;
    box-shadow: 2px 2px 5px -2px #333;
}
.filter-active {
    background: var(--main-color);
    color: #fff;
    font-size: 18px;
}
/* information */
.information {
    margin: 0 0 56px 0;
}
.information__row {
    text-align: center;
    line-height: 45px;
    font-size: 22px;
    font-weight: 500;
    color: #502420;
}
.information-text {
    color: #502420;
}
/* CATALOG FRANCO */
.cart-f {
    padding: 21px 0;
    border-top: 2px solid #767676c4;
    border-bottom: 2px solid #767676c4;
    margin: 0 0 25px 0;
}
.cart__row {
    display: flex;
    height: 100%;
}
.cart__img {
    padding: 0 10px 0 15px;
    margin: auto 0;
}
.cart__line {
    width: 4px;
    background: #d3d3d3;
    margin: 0 5px;
}
.cart__content {
    position: relative;
    width: 100%;
    padding: 0 20px;
}
/* .content__piece {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    margin: 15px 0;
} */
.piece__cart {
    padding: 0 30px;
    height: 145px;
    position: relative;
}
.piece__info {
    position: absolute;
    top: 0px;
    right: 0px;
}
.piece__info-mark {
    position: relative;
    z-index: 95;
    width: 25px;
    height: 25px;
    background: #d5d5d5;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
}
.piece__info-text {
    position: absolute;
    z-index: 98;
    width: 321px;
    min-height: 95px;
    background: #fff;
    box-shadow: 0px 0px 9px -1px #333;
    font-size: 17px;
    line-height: 21px;
    color: #532C28;
    padding: 15px 15px;
    right: 18px;
    top: -90px;
    display: none;
}
.piece__cart:first-of-type .piece__info-text {
    right: 0;
    left: 15px;
}
.piece__info:hover .piece__info-text {
    display: block;
}
.content__line {
    width: 100%;
    height: 3px;
    background: #d3d3d3;
}
.content__text {
    display: flex;
    justify-content: space-between;
    padding: 0 15px 0 10px;
    margin: 15px 0 0 0;
}
.text__title-block {
    line-height: 31px;
}
.text__title-title {
    font-size: 24px;
    color: #532C28;
}
.text__title-subtitle {
    font-size: 18px;
    color: #532C28;
}
.text__weight-block {
    text-align: center;
}
.text__weight-title {
    font-size: 21px;
    color: #532C28;
}
.text__weight-weight {
    font-size: 41px;
    color: #532C28;
}
/* CART TYPE 1 */
.piece__btn {
    display: none;
}
.content__piece-row {
    width: 780px;
    overflow-x: clip;
    margin: 20px auto;
}
.content__piece {
    display: flex;
    align-items: center;
    margin: 15px 0;
    position: relative;
    left: 0;
}
.piece__arrow {
    position: absolute;
    top: 64px;
    display: flex;
    align-items: center;
    width: calc(100% - 35px);
    justify-content: space-between;
    display: none;
}
.piece-left__arrow svg {
    cursor: pointer;
    width: 35px;
    height: auto;
    fill: #BD9E57;
}
.piece-right__arrow svg {
    cursor: pointer;
    transform: rotate(180deg);
    width: 35px;
    height: auto;
    fill: #BD9E57;
}
.swiper-button-disabled svg {
    cursor: pointer;
    fill: #d3be8d81;
}
/* CART TYPE 2 */
.piece__line {
    width: 4px;
    background: #d3d3d3;
    height: 140px;
}
.piece__text {
    font-size: 24px;
    line-height: 27px;
    color: #532C28;
    margin: 0 15px 0 32px;
}
/* CART TYPE 3 */
.cart__type-3 .content__title {
    font-size: 34px;
    color: #532C28;
    padding: 25px 0 40px;
}
.cart__type-3 .cart__img img {
    width: 164px;
}
.content__description {
    display: flex;
    align-items: center;
    padding: 21px 0 0px;
}
.description__weight {
    font-size: 24px;
    color: #532C28;
}
.description__data {
    font-size: 24px;
    color: #532C28;
    margin: 0 0 0 75px;
}
/*  QUANITIY  */
/* Q18 */
[class^=q18_] .cart__img img {
    width: 271px;
}
/* Q12 */
[class^=q12_] .cart__img {
    min-width: 271px;
    text-align: center;
}
[class^=q12_] .cart__img img {
    height: 241px;
}
/* Q12 PAKET */
[class^=q12-paket_] .cart__img, [class^=q6_] .cart__img {
    padding: 0 25px 0 30px;
    margin: auto 0;
}
[class^=q12-paket_] .cart__img img, [class^=q6_] .cart__img img {
    width: 218px;
}
/* Q16 */
[class^=q16_] .cart__img img {
    height: 165px;
}
[class^=q16_] .cart__img {
    padding: 0 15px 0 7px;
}
.q16_marcipan .piece__img img {
    width: 100%;
    height: 100%;
}
/* Q14 */
[class^=q14_] .cart__img img {
    width: 271px;
    height: auto;
}
.q14_marcipan .piece__img img {
    width: 100%;
    height: 100%;
}
/* Q7 */
[class^=q7_] .cart__img img {
    width: 271px;
    height: auto;
}
.q7_marcipan .piece__img img {
    width: 100%;
    height: 100%;
}
/* Q8 */
[class^=q8_] .cart__img img {
    height: 241px;
    width: auto;
}
[class^=q8_] .cart__img {
    padding: 0 25px;
}
[class^=q8_] .type__2-big_img img {
    height: 100%;
}
[class^=q8_] .type__2-big_img {
    height: 100%;
}
/* JS */
.cart-quantity-hide {
    display: none;
}
.piece__center {
    justify-content: space-evenly;
}
.arrow-active {
    display: flex;
}

/*  MEDIA CSS */
@media (max-width: 1140px) {
    .content__piece-row {
        width: 575px;
    }
}
@media (max-width: 1071px) {
    .filter__row-quantity {
        grid-template-columns: repeat(4, auto);
    }
    .content__text {
        flex-direction: column;
        text-align: center;
        line-height: 41px;
    }
}
@media (max-width: 969px) {
    .cart-f {
        padding: 45px 0 30px;
    }
    .cart__row {
        flex-direction: column;
        text-align: center;
    }
    .content__piece-row {
        border-top: 2px solid #d3d3d3;
        border-bottom: 2px solid #d3d3d3;
        margin: 41px auto 25px;
    }
    .cart__line, .content__line {
        display: none;
    }
}
@media (max-width: 648px) {
    .content__piece-row {
        width: 370px;
    }
    .text__title-title {
        margin: 0 0 21px 0;
    }
    [data-quantity="q18"] .cart__img img {
        width: 241px;
    }
    [class^=q12_] .cart__img img {
        height: 270px;
        width: auto;
    }
    .cart__type-2 .content__piece {
        display: flex;
        justify-content: center;
        height: 100%;
        padding: 15px 0;
        border-top: 2px solid #d7d7d7;
        border-bottom: 2px solid #d7d7d7;
        margin: 41px 0 30px;
    }
    .cart__type-2 .piece__line {
        display: none;
    }
    .cart__type-2 .piece__text {
        display: none;
    }
}
@media (max-width: 577px) {
    .filter__row-quantity {
        grid-template-columns: repeat(3, auto);
        grid-gap: 15px 0;
    }
    .page__description {
        padding: 0;
        margin: 20px 0 0 0;
    }
    .filter__brand {
        padding: 12px 10px;
        font-size: 18px;
        line-height: 21px;
        text-align: center;
    }
    .filter__row-brand {
        justify-content: space-evenly;
    }
}
@media (max-width: 424px) {
    .filter__quntity {
        font-size: 15px;
        text-align: center;
        padding: 8px 30px;
    }
    .cart-f {
        border: 2px solid #bfbfbf;
        border-radius: 7px;
    }
    .cart__content {
        display: flex;
        flex-direction: column;
    }
    .content__text {
        text-align: left;
        padding: 0;
    }
    .text__title-title {
        margin: 21px 0 18px 0;
        font-size: 23px;
    }
    .text__title-subtitle {
        font-size: 18px;
        color: #333;
    }
    .text__weight-block {
        text-align: left;
        display: flex;
    }
    .text__weight-title {
        font-size: 21px;
        color: #333;
    }
    .text__weight-weight {
        font-size: 26px;
        color: #333;
        margin: 0 0 0 15px;
    }
    .piece__arrow {
        display: none;
    }
    .content__piece-row {
        display: none;
        width: 100%;
        order: 1;
    }
    .content__piece {
        display: block;
        pointer-events: none;
    }
    .piece__cart {
        margin: 0 0 41px 0;
        min-width: 100%;
        height: auto;
        padding: 0;
    }
    .piece__img img {
        width: 121px;
        height: auto;
    }
    .piece__info {
        position: relative;
    }
    .piece__info-mark {
        display: none;
    }
    .piece__info-text {
        display: block;
        position: relative;
        top: 0;
        left: 0;
        right: 0;
        padding: 0;
        margin: 10px 0 5px 0;
        width: 100%;
        height: 100%;
        background: transparent;
        box-shadow: 0px 0px 0px 0px #000;
        font-size: 19px;
        line-height: 22px;
    }
    .piece__btn {
        display: block;
        background: #D9D9D9;
        display: flex;
        width: fit-content;
        padding: 11px 41px;
        border-radius: 5px;
        margin: 0 auto;
        order: 1;
        font-size: 18px;
    }
    .piece-open {
        margin: 27px auto 0 auto;
    }
    .piece-close {
        display: none;
    }
    .piece-active {
        display: block;
    }
    .piece__btn-active {
        display: flex;
    }
    .cart__type-2 .content__piece {
        display: none;
    }
}
@media (max-width: 424px) {
    [class^=q16_] .cart__img {
        padding: 0;
    }
    [class^=q16_] .cart__img img {
        height: 150px;
    }
}

/* CATALOG ZVEZDA */
.catalog-z {
    margin: 0 0 64px 0;
}
.catalog-z__row {
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-gap: 30px 0;
    justify-content: space-between;
}
.cart-z {
    padding: 21px 15px 40px 25px;
    box-shadow: 0px 0px 15px -10px #000;
}
.cart-z__img {
    padding: 10px 10px;
    text-align: center;
}
.cart-z__img img {
    width: 100%;
    height: auto;
}
.cart-z__title {
    font-size: 23px;
    line-height: 27px;
    color: #532C28;
    margin: 18px 0 25px 0;
}
.cart-z__quantity, .cart-z__quantity span {
    color: #532C28;
    font-size: 18px;
    margin: 0 0 9px 0;
}
.cart-z__weight, .cart-z__weight span {
    font-size: 18px;
    color: #532C28;
}
span.cart-z__info {
    font-size: 21px;
}
.cart-z__kg {
    color: #532C28;
    font-size: 19px;
}
[data-quantity="kg"] .cart-z__img {
    margin: 0 0 40px 0;
    width: 100%;
    height: 225px;
}
[data-quantity="kg"] .cart-z__img img {
    width: auto;
    height: 100%;
}
.kg_9 .cart-z__img, .kg_10 .cart-z__img, .kg_11 .cart-z__img, .kg_12 .cart-z__img, .kg_13 .cart-z__img, .kg_14 .cart-z__img {
    height: 278px;
}
@media (max-width: 1080px) {
    [data-quantity="kg"] .cart-z__img img {
        width: 100%;
        height: auto;
    }
    .kg_9 .cart-z__img, .kg_10 .cart-z__img, .kg_11 .cart-z__img, .kg_12 .cart-z__img, .kg_13 .cart-z__img, .kg_14 .cart-z__img {
        height: auto;
    }
}
@media (max-width: 978px) {
    .catalog-z__row {
        grid-template-columns: 48% 48%;
    }
}
@media (max-width: 545px) {
    .cart-z__title {
        font-size: 21px;
        line-height: 27px;
        margin: 20px 0 20px 0;
    }
    span.cart-z__dn {
        display: none;
    }
    .catalog-z__row {
        grid-template-columns: auto;
    }
}
@media (max-width: 450px) {
    .cart-z__title {
        font-size: 27px;
        line-height: 32px;
        margin: 36px 0 20px 0;
    }
}
/* ARRENO GRACHI */
.catalog-a {
    margin: 0 0 64px 0;
}
.catalog-a__row { 
    display: grid;
    grid-template-columns: 32% 32% 32%;
    grid-gap: 30px 0;
    justify-content: space-between;
}
.cart-a {
    padding: 21px 15px 40px 25px;
    box-shadow: 0px 0px 15px -10px #000a
}
.cart-a__img {
    padding: 10px 10px;
}
.w135 .cart-a__img {
    padding: 11px 41px;
}
.cart-a__img img {
    width: 100%;
    height: auto;
}
.cart-a__title {
    font-size: 23px;
    line-height: 27px;
    color: #532C28;
    margin: 18px 0 25px 0;
}
.cart-a__weight {
    font-size: 18px;
    color: #532C28;
}
.cart-a__info {
    font-size: 21px;
    color: #532C28;
}
.w230-2 .cart-a__img {
    text-align: center;
    margin: 0 auto;
    width: 227px;
}
/* MEDIA */
@media (max-width: 985px) {
    .w135 .cart-a__img {
        padding: 11px;
    }
}
@media (max-width: 751px) {
    .catalog-a__row {
        grid-template-columns: 48% 48%;
    }
}
@media (max-width: 545px) {
    .cart-a__title {
        font-size: 21px;
        line-height: 27px;
        margin: 20px 0 20px 0;
    }
    span.cart-a__dn {
        display: none;
    }
}
@media (max-width: 450px) {
    .catalog-a__row {
        grid-template-columns: auto;
    }
    .cart-a__title {
        font-size: 27px;
        line-height: 32px;
        margin: 36px 0 20px 0;
    }
}