/* Visibility only. All original dimensions, headings, photographs and buttons are retained. */
html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart:not([data-mavio-xs-show="1"]),html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container:not([data-mavio-xs-show="1"]),html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart .up-product:not([data-mavio-xs-show="1"]),html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container .up-product:not([data-mavio-xs-show="1"]){display:none!important}

/* Only recommendations under purchased products; bottom joy tiles unchanged. */
html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart-wrapper{padding-top:18px!important;padding-bottom:18px!important}
html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart h4{font-size:18px!important;line-height:1.25!important;margin-bottom:10px!important}
html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart .up-product{padding-top:7.5px!important;padding-bottom:7.5px!important}
html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart .up-image{width:50px!important;max-width:50px!important}
html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart .up-image img{width:50px!important;max-width:100%!important;height:auto!important}
@media(max-width:767px){html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart h4{font-size:16px!important}html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart .up-product{min-width:0;column-gap:10px;grid-template-columns:50px minmax(0,1fr) auto!important}html[data-mavio-xs-v2="1"] body.in-kosik .up-products-cart .up-product-url{overflow-wrap:anywhere}}

/* Bottom joy only: retain original tiles, two columns even at 357px. */
@media(max-width:767px){html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container .up-tiles-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container .up-tile-container,html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container .up-tile{min-width:0!important;max-width:100%!important}html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container .up-image{width:100%!important;max-width:120px!important;height:auto!important}html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container .up-product-content{min-width:0!important}html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container .up-product-url{overflow-wrap:anywhere}html[data-mavio-xs-v2="1"] body.in-kosik .up-after-cart-container .up-product-price-container{flex-wrap:wrap!important}}
