/* */

.pbn_12 {
background-image: url(/store/calendar.jpg);
}

.pbn_a2 {
background-image: url(/store/sugrob.jpg);
}

.pbn_a3 {
background-image: url(/store/denis_rusakov.png);
}

.pbn_a4 {
background-image: url(/store/anton_kuprijanov.png);
}

.pbn_7 {
background-image: url(/store/magnets.jpg);
}

.pbn_16 {
background-image: url(/store/postcards.jpg);
}

.pbn_14 {
background-image: url(/store/badges.jpg);
}

.pbn_a8 {
background-image: url(/store/donate.jpg);
}

.pbn_17 {
background-image: url(/store/ulyanov.jpg);
}

.pbn_13 {
background-image: url(/store/books.jpg);
}

.pbn_1 {
background-image: url(/store/posters.jpg);
}

.pbn_15 {
background-image: url(/store/rest.jpg);
}

.pbn_8 {
background-image: url(/store/dishes.jpg);
}

.pbn_18 {
background-image: url(/store/dif.jpg);
}

.pbn_a15 {
background-image: url(/store/cooperation.jpg);
}

.pbn_19 {
background-image: url(/store/dom.jpg);
}

/* Код блоков */

.poloman_block {
    display: flex;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 10px;
}

.poloman_block img,
.poloman_block img {
min-width:100%;
height: 100%;
}

.mainitem:hover .polomb_img,
.item:hover .polomb_img {
transform: scale(1.1);
}

.mainitem:hover .polomb_desc::before,
.item:hover .polomb_desc::before {
    width: calc(100% + 2px);
background-color: #15873a;
}

.polomb_img {
position: absolute;
    display: block;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.5s;
}

.polomb_img::after {
    content: '';
    position: absolute;
    z-index: 2;
    background-color: rgb(0 0 0 / 30%);
    height: 100%;
    width: 100%;
    left: 0px;
    top: 0px;
}

.polomb_abs {
    position: absolute;
    z-index: 3;
    left: 40px;
    bottom: 40px;
    line-height: 20px;
max-width: calc(100% - 80px);
}

.polomb_title{
    display: table;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    line-height: 24px;
}

.polomb_desc {
    display: table;
    line-height: 24px;
    color: #fff;
    margin-top: 10px;
position: relative;
}

.polomb_desc::before {
    display: block;
    content: ' ';
    background: rgba(255, 255, 255, .5);
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: -1px;
    position: absolute;
    transition: all .5s ease;
border-radius:4px;
}

.poloman_block .mainitem,
.poloman_block .item {
    flex-grow: 1;
    background: #b5ced8;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    overflow: hidden;
    flex-basis: 25%;
position: relative;
}

.poloman_block .mainitem {
    min-height: 400px;
    flex-grow: 2;
    transition: all 0.5s;
line-height:0px;
}

.poloman_block .sideitem {
    flex-basis: calc(50% - 5px);
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.poloman_block .lastitem {
    flex-basis: calc(100% - 0px);
    display: flex;
    gap: 10px;
}



.poloman_block .item {
    flex-basis: 25%;
    min-height: 200px;
    transition: all 0.5s;
line-height:0px;
}

.poloman_block .lastitem .item:last-child {
    flex-basis: calc(50% + 10px);
}

.poloman_block .sideitem .item:first-child {
    flex-basis: 100%;
}


@media screen and (max-width: 1023px) {
.poloman_block .item {
    min-height: 150px;
}
.poloman_block .mainitem {
    min-height: 300px;
}

.polomb_abs {
    left: 20px;
    bottom: 20px;
max-width: calc(100% - 40px);
}

.poloman_block .lastitem {
    flex-basis: calc(100% - 0px);
    flex-wrap: wrap;
}

.polomb_title {
    font-size: 18px;
    line-height: 18px;
}

.polomb_desc {
    line-height: 14px;
}

}


@media screen and (max-width: 699px) {

.poloman_block.home .sideitem .item:first-child,
.poloman_block.home .item {
    flex-basis: calc(50% - 10px);
}

.poloman_block .mainitem {
    flex-basis: 50%;
}

.poloman_block .sideitem {
    flex-basis: calc(100% - 0px);
}

}

/* Вид категорий */

.poloman_cat {
    display: table;
    width: 100%;
    margin-top: 10px;
}

.sidebox .poloman_cat ul ul {
    display: table;
    width: calc(100% - 20px);
    margin: 0px;
    margin-top: 0px;
    padding: 0px;
    padding-left: 20px;
}

.sidebox .poloman_cat li.parent-li em,
.sidebox .poloman_cat li i {
display:none;
}

.sidebox .poloman_cat li b {
    list-style: none;
    padding: 0;
    line-height: 20px;
    float: right;
    display: table;
    background-color: #15873a;
    color: #fff;
    text-align: center;
    width: 30px;
    border-radius: 4px;
    font-size: 10px;
opacity:0.2;
transition: all 0.5s;
}

.sidebox .poloman_cat li:hover li:hover b,
.sidebox .poloman_cat li:hover b {
opacity:1;
}

.sidebox .poloman_cat li:hover li b {
opacity:0.2;
}

.sidebox .poloman_cat li {
    display: table;
    width: 100%;
    margin-top: 10px;
position:relative;
}

.sidebox .poloman_cat li a {
    display: table;
    float: left;
    max-width: calc(100% - 50px);
    margin: 0px;
    padding: 0px;
    line-height: 20px;
    font-size: 16px;
transition: all 0.5s;
}

.sidebox .poloman_cat li a:hover {
    color: #15873a;
}

/* Вид материалов и всплывающее окно */

#qv_container #qv_content {
    background: #fff;
        margin: 0px !important;
}

#qv_container {
 position: fixed;
 z-index: 99999;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 display: none;
}
#qv_overlay {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0.75);
}
#qv_window {
 width: 760px;
 height: 200px;
 overflow-y: auto;
 padding: 20px;
 background: #fff url(/poloman/img/loader.gif) center no-repeat;
 position: absolute;
 top: 50%;
 margin-top: -165px;
 left: 50%;
 margin-left: -400px;
}
#qv_close {
 width: 30px;
 line-height: 30px;
 text-align: center;
 color: #fff;
 background: #1a1a1a;
 font-size: 16px;
 cursor: pointer;
 transition: all .3s ease;
 position: absolute;
 top: 50%;
 margin-top: -195px;
 left: 50%;
 margin-left: 400px;
}

#goods_cont {
    display: block;
}

#goods_cont .goods-list {
    display: table;
    width: calc(100% + 10px);
    margin: -5px;
}

.goods-list .list-item,
#goods_cont .list-item {
    width: calc(50% - 10px);
    margin: 5px;
    float: left;
    display: block;
    position: relative;
}

.ptov_img {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    line-height: 0px;
}

.ptov_img img {
width:100%;
}

.polom_tovar {
    display: block;
    transition: all 0.5s;
    padding: 20px;
    border-radius: 4px;
    overflow: hidden;
    background-color: #fff;
}

.polom_tovar:hover {
transform: scale(1.1);
    box-shadow: 0 0px 30px 0px rgb(15 23 51 / 25%);
    z-index: 2;
    position: relative;
}

.polnone {display:none;}

.polname {
    margin: 10px auto;
    text-align: center;
    line-height: 16px;
    color: #000;
    transition: all 0.5s;
    position: relative;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 32px;
}

.polname:hover {color: #15873a;
text-decoration: none;}

.polprice {
    margin: 0px auto;
    display: table;
    font-weight: 700;
    line-height: 20px;
font-size:14px;
}

.polprice span[class^="id-good"] {
vertical-align: middle;
    line-height: 14px;
}

#polom_tovar {
display:block;
}

.polom_tovar:hover .polprice,
.poldeist {display:none;}

.polom_tovar:hover .poldeist {
    display: table;
    margin: 0px auto;
line-height: 20px;
}

.polprice.yesold span:first-child {
    text-decoration: line-through;
margin-right:10px;
}

.polprice.yesold span:last-child {
    color:#15873a;
}

.polbst, .polcor {
    display: inline-block;
    color: #000;
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 14px auto;
    padding-left: 19px;
    transition: all 0.5s;
background-image: url(/poloman/img/basket.png);
}

.polbst:hover,
.polcor:hover {
color: #15873a;
text-decoration: none;
}

.slist a {
color:#000;
}

.slist a:hover {color: #15873a;
text-decoration: none;}

.polbst {
margin-left:10px;
background-image: url(/poloman/img/eye.png);
}

@media screen and (max-width: 1023px) {
#goods_cont .list-item {
    width: calc(100% - 10px);
    margin: 5px;
    float: left;
    display: block;
    position: relative;
}
.polom_tovar:hover {
transform: scale(1);
}
}

/* */

.fullprev {
    display: flex;
    width: 198px;
    height: 137px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #cccccc;
    justify-content: center;
    align-items: center;
}

.fullprev img {
    max-width: 100%;
    margin: 0px;
}

.miniprev {
    display: flex;
    width: 198px;
    overflow: hidden;
    border-radius: 4px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.miniprev img {
    height: 48px;
    margin: 0px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
    margin-top: 10px;
}

/* */

.cs_number {
display: flex;
    justify-content: center;
    align-items: center;
    margin-right: auto;
}

.cs_number input {
    display: table !important;
    text-align: center;
    border-radius: 0px;
    order: 2;
    height: 32px !important;
    width: 48px;
}

.wcnt-plus,
.wcnt-minus {
    order: 1;
    width: 32px;
    text-align: center;
    background-color: #fff;
    display: inline-block;
    line-height: 30px;
    border: 1px solid #dbe1e8;
    background: rgb(255,255,255);
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(219,225,232,1) 100%);
    color: #000;
}

.wcnt-minus {
    order: 1;
    border-right: none;
        border-radius: 4px 0px 0px 4px;
}

.wcnt-plus {
    order: 3;
    border-left: none;
        border-radius: 0px 4px 4px 0px;
}

.wcnt-minus:hover,
.wcnt-plus:hover {
    text-decoration: none;
}

.wcnt-value {
    display: none;
}

.newform {
display: block;
    background-color: #f8f8f8;
    border: 1px solid #cccccc;
    border-radius: 4px;
    padding: 20px;
}

.kbasket {
    display: table;
    padding: 0px 20px;
    line-height: 40px;
    border-radius: 4px;
    color: #fff;
    background: rgb(66,189,106);
    background: linear-gradient(180deg, rgba(66,189,106,1) 0%, rgba(21,135,58,1) 100%);
    font-size: 16px;
    cursor: pointer;
    float: right;
}

.kbasket:hover {
    background: rgb(66,189,106);
background: linear-gradient(0deg, rgba(66,189,106,1) 0%, rgba(21,135,58,1) 100%);
}

.kprice {
    display: table;
    line-height: 40px;
    font-size: 16px;
}

.kprice s {margin-right: 10px;}

.kprice span[class^="id-good"] {
        vertical-align: middle;
    line-height: 0px;
}

.nf_dop .wish.wadd:after {
    content: 'В избранное';
    display: inline-block;
    transition: all 0.5s;
}
.nf_dop .wish.wdel:after {
        content: 'В избранном';
    display: inline-block;
    color: #e30013;
    transition: all 0.5s;
}

.nf_dop .wish.wdel:hover:after {
    color:#333;
}

.nf_dop .wish.wadd:hover:after {
    color: #e30013;
}

.nf_dop .wish {
    width: auto;
    min-height: 32px;
    line-height: 32px;
    margin: 0px;
    cursor: pointer;
    height: auto;
    position: relative;
    padding-left: 19px;
}

.nf_dop .compare-widget:before,
.nf_dop .wish:before {
    content: '';
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    height: 32px;
    width: 14px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: all 0.5s;
}


.nf_dop .wish.wadd:before {
    background-image: url(/poloman/img/heart.png);
}

.nf_dop .wish.wdel:before {
    background-image: url(/poloman/img/hearth.png);
}

.nf_dop .compare-widget-add:before {
    background-image: url(/poloman/img/bar.png);
}

.nf_dop .compare-widget-remove:before {
    background-image: url(/poloman/img/barh.png);
}


.nf_dop .wait {
    display: none;
}

.nf_dop .compare-widget-wrapper {
    border: none;
    border-radius: 0px;
    display: inline-block;
    height: auto;
    line-height: 32px;
    min-height: 32px;
}

.nf_dop .compare-widget {
    width: auto;
    height: 0px;
    float: none;
    position: relative;
    transition: all 0.5s;
    padding-left: 19px;
}

.nf_dop .compare-widget-remove {
    margin:0px !important;
}

.nf_dop .compare-widget-remove:after {
        content: 'В сравнениях';
    display: inline-block;
    color: #ffb229;
    transition: all 0.5s;
}

.nf_dop .compare-widget-add:after {
        content: 'К сравнению';
    display: inline-block;
    transition: all 0.5s;
}

.nf_dop .compare-widget-add:hover:after {
    color:#ffb229;
}

.nf_dop .compare-widget-remove:hover:after {
    color: #333;
}

.nf_dop .compare-widget-remove + a {
    display: none;
}

.nf_dop {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    line-height: 0px;
    gap: 10px;
        flex-wrap: wrap;
    margin-top: 10px;
}

.shop-itempage-rating-td {
    width: 100% !important;
}

.shop-itempage-rating {
    margin: 0px auto;
    display: table;
}

#qv_window .miniprev,
#qv_window .cs_number,
#qv_window .nf_dop .compare-widget-wrapper,
#qv_window .upnone {display: none;}

#qv_window h1 {
        overflow: hidden;
    text-align: left;
    position: relative;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

@media only screen and (max-width:699px) {
    .cs_number {
            flex-basis: 100%;
        justify-content: center;
    align-items: center;
    }
    
    .nf_dop {
        justify-content: center;
        margin-top: 20px;
    }
    
    .fullprev {
    width: 100%;
    height: 148px;
}
    
    .miniprev {
            margin-bottom: 20px;
            width: 100%;
    }
    
    .newform {margin-top: 20px;}
}