/* c-goods
------------------------------------------------------------------- */
.c-goods {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
}

.c-goods__item,
.product-wrapper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    height: 100%;
    -webkit-transition: box-shadow .3s, border-color .3s;
    -webkit-transition: border-color .3s, -webkit-box-shadow .3s;
    -o-transition: box-shadow .3s, border-color .3s;
    transition: border-color .3s, -webkit-box-shadow .3s;
    transition: box-shadow .3s, border-color .3s;
    transition: box-shadow .3s, border-color .3s, -webkit-box-shadow .3s;
    border: 1px solid #ebebeb;
    /* border: 1px solid var(--border-color); */
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    background: var(--bgitem-color);
    border-radius: 5px;
    padding: 10px;
    -webkit-box-shadow: 0 0 10px #0000001a;
    box-shadow: 0 0 10px #0000001a;
    background-color: #fff;
}


@media(min-width: 767px) {
  .c-goods__item:hover {

    -webkit-box-shadow: 0 4px 30px rgba(0, 0, 0, .25);
    box-shadow: 0 4px 30px rgba(0, 0, 0, .25);
	}
}


.c-goods__left {
}

.c-goods__right {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    background: none;
}

.c-goods__right > * {

}

@media (max-width: 767px) {
    .c-goods__right > * {

    }

    .c-goods__right > *:first-child {
        margin-top: 0;
    }
}


.c-goods__img {
    position: relative;
    display: block;
    height: 200px;
    max-width: 200px;

    background: #fff;
    margin: 0 auto;

}

.c-goods__img img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}

.c-goods__title {
    font-size: 14px;
    font-weight: 500;
    /* line-height: 1.2; */
    height: 58px;
    overflow: hidden;
    color: #303b4a;
    text-align: left;
    margin-top: 10px;
}

@media (max-width: 767px) {
    .c-goods__title {
        font-size: 16px;
    }
}

.c-goods__title:hover {
    
    color: #792573;
}

.c-goods__price {
    font-weight: 500;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: baseline;
    -ms-flex-align: baseline;
    align-items: baseline;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: start;
    font-size: 20px;
    margin-top: 10px;

}

@media (max-width: 767px) {
    .c-goods__price {

    }
}

.c-goods__price--old {
    font-size: 16px;
    margin-right: 10px;
    color: #999;
}

@media (max-width: 767px) {
    .c-goods__price--old {
        font-size: 12px;
        margin-right: 0;
        margin-bottom: 4px;
    }
}

.c-goods__price--current {
    font-size: 20px;
    color: #303b4a;
    /* margin-left: 10px; */
    font-weight: 800;
}

@media (max-width: 1024px) {
    .c-goods__price--current {
        font-size: 18px;
    }
}

@media (max-width: 767px) {
    .c-goods__price--current {
        font-size: 16px;
    }
}

.c-goods__footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.c-goods__description {
    font-size: 16px;
    display: none;
    text-align: center;
}

@media (min-width: 768px) {
    .c-goods--list .c-goods__trigger {
        max-width: 100%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }

    .c-goods--list .c-goods__item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        flex-direction: row;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
    }

    .c-goods--list .c-goods__img {
        width: 300px;
    }

    .c-goods--list .c-goods__right {
        width: 100%;
        padding: 16px;
        padding-left: 26px;
    }

    .c-goods--list .c-goods__price {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .c-goods--list .c-goods__title {
        margin-top: 0;
        text-align: left;
        -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
        order: -1;
    }

    .c-goods--list .c-goods__description {
        display: block;
        text-align: left;
    }

    .c-goods--list .c-goods__buttons a {
        max-width: 48%;
    }
}

@media(min-width: 767px) {
  	.c-carousel .c-goods__item:hover,
	.product-wrapper:hover {
    	/* -webkit-box-shadow: inset 0 0 20px rgba(0, 0, 0, .2);
    	box-shadow: inset 0 0 20px rgba(0, 0, 0, .2); */
	}
}



@media (min-width: 1025px) {
    .l-body__index:not(.l-body__catalog) .c-goods .min-1025--4 {
        max-width: 25%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
    }

    .l-body__index:not(.l-body__catalog) .c-goods--list .c-goods__trigger {
        max-width: 100%;
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
    }
}

/* c-ribbon
------------------------------------------------------------------- */
.c-ribbon {
    position: absolute;
    z-index: 1;
    top: 0;

    left: 0;
    margin: auto;

}

.c-ribbon__new,
.c-ribbon__hit,
.c-ribbon__sale {
    font-weight: 500;
    position: absolute;
    top: 5px;
    width: 50px;
    padding: 4px;
    text-align: center;
    text-transform: uppercase;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
}

.c-ribbon__new {
    left: 5px;
    background: var(--gstiker-color);
}

.c-ribbon__hit {
    left: 5px;
    background: var(--gstiker-color);
}

.c-ribbon__sale {
    background: #f55;
    margin: auto;
    left: 0;
    right: 0;
}

.c-goods__item.product-wrapper form.property-form {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
}

.c-goods__item.product-wrapper form.property-form .c-form {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

.c-goods__item.product-wrapper form.property-form .buy-container {
    -webkit-box-ordinal-group: 3;
    -ms-flex-order: 2;
    order: 2;
}

.c-goods__item.grid .c-goods__img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;

}


.card_btn__wrapper{
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
}

.card_btn__wrapper .buy-product {
    border-radius: 5px;

}