/* Избранное */ .pr-add-to-favorites, .pr-remove-to-favorites { border: 1px solid #cfcfcf; border-bottom: 0; border-top-left-radius: 3px; border-top-right-radius: 3px; display: inline-block; font-size: 10px; font-weight: bold; padding: 4px 5px 4px 8px; letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; margin-left: 5px; line-height: 17px; position: absolute; top: -26px; background: #f2f2f2; right: 0; opacity: 0; visibility: hidden; transition: .3s; width: 125px; } @media (min-width: 767px) { .c-goods__item:hover .pr-add-to-favorites, .c-goods__item:hover .pr-remove-to-favorites { opacity: 1; visibility: visible; } } @media (max-width: 766px) { .c-goods__item .pr-add-to-favorites, .c-goods__item .pr-remove-to-favorites { opacity: 1; visibility: visible; } } .pr-add-to-favorites svg, .pr-remove-to-favorites svg { width: 15px; height: 15px; vertical-align: sub; margin-right: 4px; transition: .3s; } .pr-add-to-favorites svg, .pr-remove-to-favorites:hover svg { stroke: #333; fill: #fff; } .pr-add-to-favorites:hover svg, .pr-remove-to-favorites svg { stroke: #ffd325; fill: #ffc107; } .remove__hover { display: none; width: 87px; text-align: center; } .pr-remove-to-favorites--product .remove__hover { width: 102px; } .pr-remove-to-favorites:hover .remove__text { display: none; } .pr-remove-to-favorites:hover .remove__hover { display: inline-block; } .pr-product-slides .pr-remove-to-favorites--product, .pr-product-slides .pr-add-to-favorites--product { position: absolute; visibility: visible; opacity: 1; top: 5px; left: 50%; z-index: 51; border: 0; background: transparent; font-size: 12px; width: 145px; } .pr-product-slides .pr-remove-to-favorites--product svg, .pr-product-slides .pr-add-to-favorites--product svg { vertical-align: bottom; width: 20px; height: 20px; } .c-images.pr-product-slides { position: relative; }