.catalog-detail__buy-block.id-has-discount-cat{position:relative;margin-top:104px;overflow:visible}
.id-discount-cat{position:absolute;inset:0 0 auto;height:0;pointer-events:none;z-index:2;font-family:inherit}
.id-discount-cat__image{display:block;position:absolute;right:10px;top:-91px;width:166px!important;height:auto!important;max-width:none!important;max-height:none!important;filter:drop-shadow(0 4px 4px #26324712)}
.id-discount-cat__speech{position:absolute;left:16px;top:-78px;box-sizing:border-box;width:calc(100% - 194px);max-width:174px;min-height:53px;padding:10px 12px;border-radius:23px 23px 8px 23px;background:#ffead4;color:#3e3027;font-size:13px;line-height:1.4;font-weight:500;text-align:center;transform:rotate(-5deg);box-shadow:0 3px 10px #9f6b3d0a}
.id-discount-cat__speech:after{content:'';position:absolute;right:12px;bottom:-7px;width:15px;height:15px;background:#ffead4;transform:skew(20deg) rotate(25deg);border-radius:0 0 3px 0;z-index:-1}
@media(max-width:767px){.catalog-detail__buy-block.id-has-discount-cat{margin-top:98px}.id-discount-cat__image{right:8px;top:-85px;width:156px!important}.id-discount-cat__speech{left:16px;top:-74px;width:calc(100% - 181px);font-size:13px;padding:9px 10px}}
@media(max-width:360px){.id-discount-cat__image{width:142px!important;top:-78px}.id-discount-cat__speech{width:calc(100% - 165px);left:12px;font-size:12px}}

.id-has-discount-cat .catalog-detail__price{width:100%;min-width:0}
.id-has-discount-cat .catalog-detail__price .price-economy{display:none!important}
.id-discount-price-caption{color:#8792a6;font-size:14px;line-height:1.4;margin-bottom:7px;font-weight:400}
.id-has-discount-cat .price__new-val{font-size:36px!important;line-height:1.2!important;font-weight:750!important;letter-spacing:-1px;color:#101827}
.id-has-discount-cat .price__old-val{font-size:16px!important;color:#909bad!important;font-weight:500;white-space:nowrap}
.id-has-discount-cat .price__old{text-decoration-color:#909bad}
.id-discount-price-saving{display:inline-flex;align-items:center;max-width:100%;box-sizing:border-box;margin-top:10px;padding:5px 11px;border-radius:14px;background:#d8f7d9;color:#07843c;font-size:14px;line-height:1.4;font-weight:650}
@media(max-width:360px){.id-has-discount-cat .price__new-val{font-size:32px!important}.id-has-discount-cat .price__old-val{font-size:14px!important}}

/* Keep the mascot closer to the product heading and sharing beside the SKU. */
@media(min-width:992px){.catalog-detail__buy-block.id-has-discount-cat{margin-top:32px}}
@media(max-width:767px){.catalog-detail__buy-block.id-has-discount-cat{margin-top:90px}}
.catalog-detail__info-tech.id-share-by-article{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.id-share-by-article>.item-action.share{flex:0 0 auto;position:relative;margin:0}
.id-share-by-article .shares-block{width:30px;height:30px;display:flex;align-items:center;justify-content:center}
@media(max-width:767px){.id-share-by-article .ya-share2{left:0;right:auto}}
/* Align the price card with the options column. */
.catalog-detail h1.js-popup-title{font-size:26px!important;line-height:1.25!important}
.id-discount-cat__speech{font-size:12px}
@media(min-width:992px){.catalog-detail__buy-block.id-has-discount-cat{margin-top:0}}
@media(max-width:767px){.catalog-detail h1.js-popup-title{font-size:22px!important}.id-discount-cat__speech{font-size:12px}}
@media(max-width:600px){.catalog-detail h1.js-popup-title{font-size:20px!important}}

@media(min-width:992px){.catalog-detail__buy-block.id-has-discount-cat{margin-top:var(--id-cat-align,0px)}}
@media(min-width:992px){.catalog-detail:has(.id-has-discount-cat) h1.js-popup-title{width:calc((100% - 32px)/2);font-size:24px!important;white-space:normal;overflow-wrap:anywhere}}

.id-discount-cat__speech{left:auto;right:148px}
@media(max-width:767px){.id-discount-cat__speech{left:auto;right:138px}}
@media(max-width:360px){.id-discount-cat__speech{left:auto;right:124px}}
/* Restore the card edge on touch layouts so the mascot rests on it. */
@media(max-width:991px){
 .catalog-detail__buy-block.id-has-discount-cat{background:#fff!important;border:1px solid #e9edf3!important;border-radius:18px!important;box-shadow:0 7px 28px rgba(28,43,64,.10),0 1px 4px rgba(28,43,64,.035)!important;padding:22px 16px 18px!important;box-sizing:border-box;overflow:visible!important}
}

/* Let the paws meet the upper edge instead of hanging below it. */
.id-discount-cat__image{z-index:1}
.id-discount-cat:after{content:'';position:absolute;right:29px;top:-1px;width:112px;height:6px;border-radius:50%;background:rgba(28,35,45,.13);filter:blur(3px);z-index:0}
.id-has-discount-cat .catalog-detail__cart{margin-top:18px!important}
@media(max-width:991px){.id-has-discount-cat .catalog-detail__cart .btn-ocb{background:#0869e7!important;border-color:#0869e7!important;color:#fff!important}.id-has-discount-cat .catalog-detail__cart .btn-ocb:hover{background:#075dcc!important;border-color:#075dcc!important}}
@media(max-width:767px){.catalog-detail__buy-block.id-has-discount-cat{margin-top:105px}.id-discount-cat__image{top:-92px}.id-discount-cat:after{right:26px;width:108px}}
@media(max-width:360px){.id-discount-cat__image{top:-83px}.id-discount-cat:after{right:24px;width:98px}}

@media(min-width:992px){.id-discount-cat__image{top:-95px}.id-discount-cat:after{display:none}}
/* Keep separation even when Aspro moves the basket controls on phones. */
@media(max-width:991px){
 .id-has-discount-cat .id-discount-price-saving{margin-bottom:18px!important}
 .id-has-discount-cat .catalog-detail__cart{margin-top:0!important}
 .catalog-detail .btn-ocb{background:#0869e7!important;border-color:#0869e7!important;color:#fff!important}
 .catalog-detail .btn-ocb:hover{background:#075dcc!important;border-color:#075dcc!important;color:#fff!important}
}
