/* Compact catalogue sale prices; product detail stays unchanged. */
html body #content#content#content .product:has([data-vk-sale-price]) .p-in{min-width:0!important}
html body #content#content#content .product:has([data-vk-sale-price]) .p-in-in{min-width:0!important}
html body #content#content#content .product:has([data-vk-sale-price]) .p-bottom{margin-top:auto!important;width:100%!important}
html body #content#content#content .product .p-bottom>[data-micro="offer"]:has([data-vk-sale-price]){display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:end!important;gap:8px!important;width:100%!important;min-width:0!important;padding-top:10px!important}
html body #content#content#content .product [data-vk-sale-price]{margin:0!important;gap:3px 6px!important;justify-self:start!important;align-self:end!important}
html body #content#content#content .product [data-vk-sale-price]>.price-final{font-size:20px!important;line-height:1.2!important;font-weight:600!important}
html body #content#content#content .product [data-vk-sale-price]>:is(.old-price,.price-standard){font-size:11px!important;line-height:1.3!important}
html body #content#content#content .product [data-vk-sale-price]>:is(.price-save,.vk-sale-percent){font-size:10px!important;padding:2px 4px!important;background:#85433f!important;font-weight:500!important}
html body #content#content#content .product [data-vk-sale-price]>.vk-sale-saving{font-size:11px!important;line-height:1.3!important;padding:3px 5px!important;font-weight:500!important;background:#e7eee5!important;color:#38553a!important;white-space:nowrap!important}
html body #content#content#content .product .p-bottom>[data-micro="offer"]:has([data-vk-sale-price])>.p-tools{width:auto!important;min-width:0!important;margin:0!important;padding:0!important;align-self:end!important;display:block!important}
html body #content#content#content .product .p-bottom:has([data-vk-sale-price]) .p-tools>.btn{width:96px!important;min-width:0!important;max-width:100%!important;margin:0!important;padding:10px 12px!important;font-size:13px!important;box-sizing:border-box!important}
@media(max-width:479px){html body #content#content#content .product .p-bottom>[data-micro="offer"]:has([data-vk-sale-price]){gap:5px!important}html body #content#content#content .product [data-vk-sale-price]>.price-final{font-size:17px!important}html body #content#content#content .product [data-vk-sale-price]>.vk-sale-saving{font-size:10px!important}html body #content#content#content .product .p-bottom:has([data-vk-sale-price]) .p-tools>.btn{width:auto!important;padding:9px 8px!important;font-size:12px!important}}

#content#content .price-side[data-vk-sale-price]{flex:none!important;grid-template-columns:max-content auto!important;margin-left:auto!important}
@media(min-width:768px){
html body #content#content .p-info-wrapper:has(.price-side[data-vk-sale-price])>.p-final-price-wrapper{grid-area:5/2/6/3!important;align-self:end!important;margin:12px 20px 0 0!important;width:auto!important;min-width:0!important}
html body #content#content .p-info-wrapper:has(.price-side[data-vk-sale-price])>.add-to-cart{grid-area:5/1/6/2!important;align-self:end!important;margin:12px 0 0!important;min-width:0!important;width:100%!important}
html body #content#content .p-info-wrapper:has(.price-side[data-vk-sale-price])>.add-to-cart .add-to-cart-button{min-width:0!important;flex:1 1 auto!important;width:auto!important}
}

/* Same catalogue action buttons for sale and full-price products. */
html body #content#content#content .product .p-tools>.btn,
html body #content#content#content .product .p-bottom:has([data-vk-sale-price]) .p-tools>.btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:152px!important;min-width:152px!important;height:44px!important;min-height:44px!important;max-width:none!important;box-sizing:border-box!important;background:#000!important;color:#fff!important;border:0!important;border-radius:0!important;padding:10px 12px!important;font-size:13px!important;line-height:1.2!important;font-weight:400!important}
@media(max-width:767px){html body #content#content#content .product .p-tools>.btn,html body #content#content#content .product .p-bottom:has([data-vk-sale-price]) .p-tools>.btn{width:64px!important;min-width:64px!important;padding:8px 6px!important;font-size:12px!important}}

@media(max-width:767px){
html body #content#content#content .product .p-bottom>[data-micro="offer"]:is(:has([data-vk-sale-price]),:not(:has([data-vk-sale-price]))){display:flex!important;flex-direction:column!important;align-items:stretch!important;width:100%!important;gap:0!important}
html body #content#content#content .product .p-bottom>[data-micro="offer"]:is(:has([data-vk-sale-price]),:not(:has([data-vk-sale-price])))>.p-tools{width:100%!important;margin:12px 0 0!important;padding:0!important;text-align:center!important;align-self:stretch!important}
html body #content#content#content .product [data-vk-sale-price]{align-self:flex-start!important;justify-self:start!important;max-width:100%!important}
}

/* Mobile catalogue: price and Detail share one row. */
@media(max-width:767px){
html body #content#content#content .product .p-in{padding-left:4px!important;padding-right:4px!important}
html body #content#content#content .product .p-bottom>[data-micro="offer"]:is(:has([data-vk-sale-price]),:not(:has([data-vk-sale-price]))){display:grid!important;grid-template-columns:minmax(0,1fr) 46px!important;align-items:end!important;gap:4px!important}
html body #content#content#content .product .p-bottom>[data-micro="offer"]:is(:has([data-vk-sale-price]),:not(:has([data-vk-sale-price])))>.p-tools{width:46px!important;margin:0!important;align-self:end!important}
html body #content#content#content .product .p-tools>.btn,html body #content#content#content .product .p-bottom:has([data-vk-sale-price]) .p-tools>.btn{width:46px!important;min-width:46px!important;padding:8px 2px!important;font-size:11px!important}
html body #content#content#content .product .prices{width:auto!important;min-width:0!important;max-width:100%!important;margin:0!important;align-self:end!important}
html body #content#content#content .product .price-final,html body #content#content#content .product [data-vk-sale-price]>.price-final{font-size:16px!important;line-height:1.2!important;white-space:nowrap!important}
html body #content#content#content .product [data-vk-sale-price]{gap:2px 4px!important}
html body #content#content#content .product [data-vk-sale-price]>:is(.old-price,.price-standard){font-size:9px!important}
html body #content#content#content .product [data-vk-sale-price]>:is(.price-save,.vk-sale-percent){font-size:8px!important;padding:2px 3px!important}
html body #content#content#content .product [data-vk-sale-price]>.vk-sale-saving{font-size:9px!important;padding:2px 3px!important}
/* Mobile detail: quantity, basket and compact price on the same row. */
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]){grid-template-columns:minmax(0,1fr) max-content!important;grid-template-areas:"title title" "flags flags" "color color" "sizes sizes" "cart price" "help help" "short short" "more more" "social social"!important;column-gap:8px!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price])>.p-final-price-wrapper{grid-area:price!important;align-self:end!important;width:max-content!important;min-width:0!important;margin:12px 0 0!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price])>.add-to-cart{grid-area:cart!important;align-self:end!important;gap:6px!important;margin:12px 0 0!important;width:100%!important;min-width:0!important;flex-wrap:nowrap!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]) .add-to-cart>.quantity{width:90px!important;min-width:90px!important;flex:0 0 90px!important;height:44px!important;gap:0!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]) .quantity :is(.increase,.decrease){width:28px!important;min-width:28px!important;flex:0 0 28px!important;height:42px!important;min-height:42px!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]) .quantity input.amount{width:28px!important;min-width:0!important;height:42px!important;font-size:14px!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]) .add-to-cart-button{min-width:0!important;width:auto!important;flex:1 1 auto!important;height:44px!important;min-height:44px!important;padding:8px 6px!important;font-size:12px!important;white-space:nowrap!important;letter-spacing:0!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]) .add-to-cart-button:before{display:none!important}
html body #content#content#content .p-info-wrapper .price-side[data-vk-sale-price]{row-gap:2px!important;margin:0!important}
html body #content#content#content .p-info-wrapper .price-side[data-vk-sale-price]>.price-final{font-size:20px!important;line-height:1.2!important;min-width:0!important}
html body #content#content#content .p-info-wrapper .price-side[data-vk-sale-price]>.vk-sale-saving{font-size:10px!important;padding:3px 4px!important}
}

@media(max-width:767px){
html body #content#content#content .p-info-wrapper .quantity :is(.increase,.decrease){position:relative!important;background:transparent!important;box-shadow:none!important;z-index:auto!important}
html body #content#content#content .p-info-wrapper .quantity :is(.increase,.decrease)::before,html body #content#content#content .p-info-wrapper .quantity :is(.increase,.decrease)::after{content:none!important;display:none!important}
html body #content#content#content .p-info-wrapper .quantity :is(.increase__sign,.decrease__sign){display:block!important;font-family:inherit!important;font-size:20px!important;line-height:1!important;color:#111!important;visibility:visible!important}
html body #content#content#content .p-info-wrapper .quantity input.amount{text-align:center!important;background:transparent!important;color:#111!important;-webkit-text-fill-color:#111!important;opacity:1!important}
}

/* Approved mobile detail: price left, basket right; quantity hidden. */
@media(max-width:767px){
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"title title" "flags flags" "color color" "sizes sizes" "price cart" "help help" "short short" "more more" "social social"!important;column-gap:12px!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price])>.p-final-price-wrapper{justify-self:center!important;margin-right:0!important;margin-left:0!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price])>.add-to-cart{justify-self:center!important;justify-content:center!important;max-width:186px!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]) .add-to-cart>.quantity{display:none!important}
html body #content#content#content .p-info-wrapper:has(.price-side[data-vk-sale-price]) .add-to-cart-button{width:100%!important;flex:1 1 auto!important;font-size:13px!important}
}

/* Remove the quantity box from product purchase controls on every device. */
html body #content#content#content .p-info-wrapper .add-to-cart>.quantity{display:none!important}
html body #content#content#content .p-info-wrapper .add-to-cart-button{min-width:0!important}

/* Consistent mobile purchase row for all products, including full-price. */
@media(max-width:767px){
html body #content#content#content .p-info-wrapper:has(>.add-to-cart){grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-areas:"title title" "flags flags" "color color" "sizes sizes" "price cart" "help help" "short short" "more more" "social social"!important;column-gap:12px!important}
html body #content#content#content .p-info-wrapper:has(>.add-to-cart)>.p-final-price-wrapper{grid-area:price!important;justify-self:center!important;align-self:end!important;width:max-content!important;max-width:100%!important;min-width:0!important;margin:12px 0 0!important}
html body #content#content#content .p-info-wrapper:has(>.add-to-cart)>.add-to-cart{grid-area:cart!important;justify-self:center!important;justify-content:center!important;align-self:end!important;width:100%!important;max-width:186px!important;min-width:0!important;flex-wrap:nowrap!important;margin:12px 0 0!important}
html body #content#content#content .p-info-wrapper:has(>.add-to-cart) .add-to-cart-button{width:100%!important;min-width:0!important;flex:1 1 auto!important;font-size:13px!important;white-space:nowrap!important;letter-spacing:0!important;padding:8px 6px!important}
html body #content#content#content .p-info-wrapper:has(>.add-to-cart) .add-to-cart-button:before{display:none!important}
html body #content#content#content .p-info-wrapper:has(>.add-to-cart) .price-side{flex:none!important;min-width:0!important;margin:0!important;width:auto!important}
}
