/* Amur catalog cards. Existing cart, variants, wishlist and compare hooks stay intact. */
.amur-card.product-cut{--amur-pink:#f28a91;position:relative;text-align:left;border:1px solid #f3dce5;border-radius:22px;background:#fff;color:#172033;padding:12px;min-width:0;isolation:isolate;transition:border-color .18s,box-shadow .18s}
.amur-card,.amur-card *{box-sizing:border-box}
.amur-card.product-cut:before{display:none!important}
.amur-card .product-cut__main-info{position:static}
.amur-card .product-cut__photo{position:relative;margin:0 0 10px;border-radius:16px;overflow:hidden;background:#fff}
.amur-card .product-photo{position:relative;width:100%;height:auto;aspect-ratio:1;background:#fff}
.amur-card .product-photo__item{position:absolute;inset:0;display:block;width:100%;height:100%;padding:8px;border:0;background:#fff;overflow:hidden}
.amur-card .product-photo__img{position:static;display:block;width:100%;height:100%;max-width:100%;max-height:100%;margin:0;object-fit:contain;transform:none!important;mix-blend-mode:normal}
.amur-card .product-cut__rating{padding:0;margin:8px 0;font-size:12px;min-height:18px;text-align:left}
.amur-card .product-cut__title{padding:0;margin:0 0 12px;min-height:3em;font-size:15px;line-height:1.5;font-weight:500}
.amur-card .product-cut__title-link{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;color:#172033;text-decoration:none;word-break:normal;overflow-wrap:break-word}
.amur-card .product-cut__title-link:hover{color:#d85d84}
.amur-card__pricebar{display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:42px}
.amur-card .product-cut__price{margin:0;padding:0;text-align:left;min-width:0}
.amur-card .product-price{display:inline-block;margin:0;padding:5px 9px;border-radius:9px;background:#fff2be;color:#172033;text-align:left}
.amur-card .product-price__main{font-size:23px;font-weight:600;line-height:1.15;color:#172033}
.amur-card .product-price__item-cur{font-size:11px;font-weight:400;margin-left:2px}
.amur-card .product-price__old{font-size:11px;color:#8992a3}
.amur-card__icons{display:flex;align-items:center;gap:6px;flex-shrink:0}
.amur-card__icon{padding:0;margin:0}
.amur-card .amur-card__icon .btn-white{display:flex;align-items:center;justify-content:center;width:36px;height:38px;min-width:0;padding:0;margin:0;border:1px solid #e2e5ed;border-radius:10px;background:#fff;line-height:1;color:var(--amur-pink)}
.amur-card .amur-card__icon .btn-white--active{background:#fff0f5;border-color:var(--amur-pink)}
.amur-card .btn-white__ico{top:0;width:20px;height:20px;color:var(--amur-pink);fill:currentColor}
.amur-card .product-cut__extra-info{display:block;position:static;inset:auto;z-index:auto;margin:12px 0 0;padding:0;border:0;box-shadow:none;background:#fff}
.amur-card .product-cut__variants{display:block;padding:0;margin:0 0 9px}
.amur-card .variants-select{margin:0}
.amur-card .variants-select__field{width:100%;height:39px;padding:0 25px 0 9px;border:1px solid #d9dfea;border-radius:9px;background-color:#fff;font-size:12px;color:#172033;text-overflow:ellipsis}
.amur-card .product-cut__actions{display:block;width:100%;margin:0;padding:0}
.amur-card .product-cut__action-item{display:block;width:100%;padding:0}
.amur-card .product-buy,.amur-card .product-buy__available,.amur-card .product-buy__buttons{width:100%;margin:0;padding:0}
.amur-card .product-buy__btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:42px;padding:9px 6px;border:0;border-radius:10px;background:linear-gradient(110deg,#f28a91,#ed6e95);color:#fff;font-size:15px;line-height:1.2;text-decoration:none;box-shadow:0 4px 12px #f28a9126}
.amur-card__cart-icon{width:20px;height:20px;fill:currentColor;flex-shrink:0}
.amur-card .cat_buy_one{margin:8px 0 0;text-align:center;line-height:1.35}
.amur-card .cat_buy_one a,.amur-card .cat_buy_one button{display:inline-block;max-width:100%;padding:3px 0;border:0;background:none;color:#e6608b;font-size:12px;font-weight:600;text-decoration:none;white-space:normal}
.amur-card .product-intro__addition-item.article-kod{margin:10px 0 3px;padding:9px 0 0;border-top:1px solid #ece7ed;font-size:11px;line-height:1.5}
.amur-card .product-cut__params{margin:0;padding:0;font-size:11px;line-height:1.6;color:#68768c}
.amur-card__properties{display:block}
.amur-card__property{display:inline;word-break:normal;overflow-wrap:break-word}
.amur-card__property+.amur-card__property:before{content:' · ';color:#d87595;font-weight:700}
.amur-card__property b{font-weight:500;color:#35435a}
.amur-card .product-cut__archive{padding:6px;font-size:12px}
.amur-card .hidden{display:none!important}
.amur-card-grid{display:flex!important;flex-wrap:wrap;align-items:stretch;row-gap:18px;font-size:inherit!important}
.amur-card-grid:before,.amur-card-grid:after{display:none}
.amur-card-grid>.amur-card-column{box-sizing:border-box;display:flex!important;float:none;vertical-align:top;margin:0!important}
.amur-card-column>.amur-card{width:100%;align-self:stretch}
@media(min-width:992px) and (hover:hover) and (pointer:fine){
 .amur-card.product-cut:hover,.amur-card.product-cut:focus-within{z-index:30;border-color:var(--amur-pink);box-shadow:0 8px 24px #e2719b24}
 .amur-card .product-cut__extra-info{display:none;position:absolute;top:100%;left:-1px;right:-1px;margin:0;padding:4px 12px 12px;border:1px solid var(--amur-pink);border-top:0;border-radius:0 0 22px 22px;background:#fff;box-shadow:0 12px 18px #e2719b20}
 .amur-card.product-cut:hover,.amur-card.product-cut:focus-within{border-radius:22px 22px 0 0;border-bottom-color:transparent}
 .amur-card.product-cut:hover .product-cut__extra-info,.amur-card.product-cut:focus-within .product-cut__extra-info{display:block}
 .amur-card.product-cut--no-overlay .product-cut__extra-info{display:none!important}
}
@media(max-width:767px){
 .amur-card-grid{margin-left:-5px;margin-right:-5px;row-gap:12px}
 .amur-card-grid>.amur-card-column{width:50%;padding-left:5px;padding-right:5px}
 .amur-card.product-cut{padding:8px;border-radius:17px}
 .amur-card .product-cut__photo{border-radius:12px;margin-bottom:7px}
 .amur-card .product-photo__item{padding:3px}
 .amur-card .product-cut__rating{font-size:10px;margin:5px 0;min-height:16px}
 .amur-card .product-cut__title{font-size:13px;line-height:1.4;min-height:4.2em;margin-bottom:8px}
 .amur-card .product-cut__title-link{-webkit-line-clamp:3}
 .amur-card__pricebar{gap:4px;flex-wrap:wrap;min-height:36px}
 .amur-card .product-price{padding:5px 6px}
 .amur-card .product-price__main{font-size:20px}
 .amur-card__icons{gap:4px;margin-left:auto}
 .amur-card .amur-card__icon .btn-white{width:29px;height:32px;border-radius:8px}
 .amur-card .btn-white__ico{width:17px;height:17px}
 .amur-card .product-cut__extra-info{display:block!important;margin-top:9px}
 .amur-card .product-buy__btn{font-size:13px;min-height:38px;border-radius:9px}
 .amur-card .variants-select__field{font-size:11px;height:35px;padding-left:6px}
 .amur-card .cat_buy_one a,.amur-card .cat_buy_one button{font-size:11px}
 .amur-card .product-cut__params,.amur-card .article-kod{font-size:10px!important;line-height:1.55}
}
@media(prefers-reduced-motion:reduce){.amur-card.product-cut{transition:none}}

/* v1.0.1: aligned actions and reference styling. */
.amur-card.product-cut{border-color:#f5d9e5;box-shadow:0 5px 22px rgba(238,112,159,.13)}
.amur-card .product-buy__btn{min-height:46px;background:linear-gradient(110deg,#ff6b9d 0%,#ff4081 100%);font-weight:600;border:1px solid #ff77a7;box-shadow:0 5px 13px rgba(255,64,129,.19)}
.amur-card .product-buy__btn:hover{background:linear-gradient(110deg,#ff5791,#f32e72)}
.amur-card .product-buy__btn--in-cart{background:#fff0f5;color:#dc3973;border-color:#fac5d8}
.amur-card .cat_buy_one{display:flex;align-items:center;justify-content:center;gap:6px;min-height:28px;margin-top:7px}
.amur-card .cat_buy_one:before{content:'';display:block;flex:0 0 12px;width:12px;height:19px;background:#ff4081;clip-path:polygon(55% 0,8% 58%,43% 58%,30% 100%,94% 35%,59% 35%,74% 0)}
.amur-card .cat_buy_one a,.amur-card .cat_buy_one button{color:#f43e7f;font-weight:600;font-size:13px}
.amur-card .amur-card__variant-spacer{display:none}
@media(max-width:991px),(hover:none),(pointer:coarse){
 .amur-card .product-cut__variants{height:39px;min-height:39px;margin:0 0 9px}
 .amur-card .amur-card__variant-spacer{display:block}
 .amur-card .product-cut__title{height:4.2em;min-height:4.2em;line-height:1.4}
 .amur-card .product-cut__title-link{-webkit-line-clamp:3}
 .amur-card__pricebar{height:42px;min-height:42px;flex-wrap:nowrap}
}
@media(max-width:767px){
 .amur-card.product-cut{box-shadow:0 4px 17px rgba(238,112,159,.14)}
 .amur-card .product-cut__variants{height:35px;min-height:35px}
 .amur-card .product-buy__btn{min-height:42px;font-size:14px;border-radius:10px}
 .amur-card .cat_buy_one a,.amur-card .cat_buy_one button{font-size:11px}
 .amur-card .cat_buy_one{gap:4px}
 .amur-card .cat_buy_one:before{flex-basis:10px;width:10px;height:17px}
 .amur-card .product-price__main{font-size:clamp(16px,5vw,20px)}
}

/* Mobile: variants are hidden without reserving space. Desktop is unchanged. */
@media(max-width:767px){
 .amur-card .product-cut__variants,
 .amur-card .amur-card__variant-spacer{display:none!important;height:0;min-height:0;margin:0;padding:0}
}

/* v1.0.5: neutralize legacy price borders, grid spacing and one-click offsets. */
.amur-card .product-price--bg .product-price__item{margin:0;padding:0;background:transparent;border:0}
.amur-card .product-price--bg .product-price__item:not(:first-child){border:0}
.amur-card .product-price--bg .product-price__item:not(:last-child){margin-right:5px}
.amur-card-grid{margin-left:-6px;margin-right:-6px;row-gap:12px}
.amur-card-grid>.amur-card-column{padding:0 6px!important;margin:0!important}
.amur-card.product-cut{padding:10px}
.amur-card .product-cut__photo{margin-bottom:6px}
.amur-card .product-photo__item{padding:0}
.amur-card .product-cut__rating{margin:5px 0}
.amur-card .product-cut__title{margin-bottom:8px}
.amur-card .product-cut__action-item>.product-buy>div>form>.cat_buy_one{
 position:static!important;inset:auto!important;float:none!important;transform:none!important;
 display:flex;align-items:center;justify-content:center;gap:6px;width:100%;height:auto;
 min-height:30px;margin:8px 0 0!important;padding:0;clear:both;
}
.amur-card .cat_buy_one>button,.amur-card .cat_buy_one>a{
 position:static!important;inset:auto!important;float:none!important;transform:none!important;
 width:auto!important;max-width:calc(100% - 18px);height:auto!important;min-height:0;
 margin:0!important;padding:3px 0!important;line-height:1.4!important;
 border:0;box-shadow:none;background:transparent;text-align:center;white-space:normal;
}
.amur-card .cat_buy_one:before{position:static;align-self:center;margin:0}
.amur-card .product-intro__addition-item.article-kod{margin-top:8px;padding-top:8px}
@media(min-width:992px) and (hover:hover) and (pointer:fine){
 .amur-card .product-cut__extra-info{padding-left:10px;padding-right:10px}
 .amur-card .amur-card__variant-spacer{display:none}
}
@media(max-width:767px){
 .amur-card-grid{margin-left:-5px;margin-right:-5px;row-gap:10px}
 .amur-card-grid>.amur-card-column{padding:0 5px!important}
 .amur-card.product-cut{padding:8px}
 .amur-card .product-cut__action-item>.product-buy>div>form>.cat_buy_one{gap:4px}
}

/* v1.0.6: requested Amur gradient and matching quick-buy accent. */
.amur-card .product-buy__btn--buy{background:linear-gradient(110deg,#f28a91 0%,#ff4081 100%);border:1px solid #f28a91;color:#fff;box-shadow:0 5px 13px rgba(255,64,129,.19)}
.amur-card .product-buy__btn--buy:hover,.amur-card .product-buy__btn--buy:focus{background:linear-gradient(110deg,#f28a91 0%,#ff4081 100%);border-color:#f28a91;color:#fff}
.amur-card .cat_buy_one>button,.amur-card .cat_buy_one>a,.amur-card .cat_buy_one>button:hover,.amur-card .cat_buy_one>a:hover,.amur-card .cat_buy_one>button:focus{color:#ff4081;background:transparent}
.amur-card .cat_buy_one:before{background:#ff4081}

/* v1.0.7: subtle card shadows, including the expanded hover panel. */
.amur-card.product-cut{box-shadow:0 2px 8px rgba(226,113,155,.055)}
@media(min-width:992px) and (hover:hover) and (pointer:fine){
 .amur-card.product-cut:hover,.amur-card.product-cut:focus-within{box-shadow:0 3px 10px rgba(226,113,155,.08)}
 .amur-card .product-cut__extra-info{box-shadow:0 5px 10px rgba(226,113,155,.065)}
}

/* v1.0.8: compact desktop typography; mobile sizes stay unchanged. */
@media(min-width:768px){
 .amur-card .product-cut__title{font-size:13px;line-height:1.5;font-weight:500}
 .amur-card .product-price__main{font-size:17px}
}

/* v1.0.10: larger square mobile wishlist and compare controls. */
@media(max-width:767px){
 .amur-card .amur-card__icon .btn-white{width:35px;height:35px;border-radius:8px;flex-shrink:0}
}

/* v1.0.11: neutral default card border. */
.amur-card.product-cut{border-color:#e7eaf0}
