/* Payslashes 2026-09-22 — final mobile product/card integrity layer.
   Deliberately loaded last: removes fixed-height/clipping rules accumulated in legacy passes. */
.products-grid,.products-row,.product-grid,.jumia-products-grid,.ps-product-grid{align-items:stretch!important}
article.pcv2-card{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:flex!important;flex-direction:column!important}
article.pcv2-card>.pcv2-body{height:auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex:1 1 auto!important;flex-direction:column!important;overflow:visible!important}
article.pcv2-card .pcv2-content,article.pcv2-card .pcv2-commerce{height:auto!important;min-height:0!important;max-height:none!important;flex-basis:auto!important;overflow:visible!important}
article.pcv2-card .pcv2-content{display:flex!important;flex-direction:column!important;gap:5px!important}
article.pcv2-card .pcv2-commerce{display:flex!important;flex-direction:column!important;gap:7px!important;margin-top:auto!important;padding-top:8px!important}
article.pcv2-card h3.pcv2-title,article.pcv2-card h3.pcv2-title a{height:auto!important;min-height:0!important;max-height:none!important;display:block!important;overflow:visible!important;-webkit-line-clamp:unset!important;line-clamp:unset!important;white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important}
article.pcv2-card .pcv2-spec{height:auto!important;min-height:0!important;max-height:none!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important}
article.pcv2-card .pcv2-meta{overflow:visible!important;flex-wrap:wrap!important;gap:5px!important}
article.pcv2-card .pcv2-category{max-width:100%!important;min-width:0!important}
article.pcv2-card .pcv2-category>span,article.pcv2-card .pcv2-brand{max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere!important}
article.pcv2-card .pcv2-price{overflow:visible!important;white-space:normal!important;flex-wrap:wrap!important}
article.pcv2-card .pcv2-delivery{height:auto!important;min-height:42px!important;white-space:normal!important;line-height:1.15!important;text-align:center!important}
article.pcv2-card .pcv2-delivery span{white-space:normal!important;overflow-wrap:anywhere!important}
article.pcv2-card .pcv2-stock-row{overflow:visible!important;flex-wrap:wrap!important;gap:6px!important}
article.pcv2-card .pcv2-stock,article.pcv2-card .pcv2-shipping{max-width:100%!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;text-align:center!important}
article.pcv2-card .pcv2-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important;height:auto!important;min-height:0!important}
article.pcv2-card .pcv2-buy{grid-column:1/-1!important;grid-row:auto!important}
article.pcv2-card .pcv2-view,article.pcv2-card .pcv2-cart{grid-row:auto!important}
article.pcv2-card .pcv2-btn{height:auto!important;min-height:42px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;line-height:1.1!important;padding:7px 5px!important;text-align:center!important}

@media(max-width:767.98px){
  body.mobile-ux-shell{padding-bottom:calc(var(--ps-mobile-nav-height,82px) + 56px + env(safe-area-inset-bottom))!important}
  article.pcv2-card{border-radius:16px!important}
  article.pcv2-card>.pcv2-media{height:168px!important;min-height:168px!important;max-height:168px!important;flex-basis:168px!important}
  article.pcv2-card>.pcv2-body{padding:10px!important}
  article.pcv2-card h3.pcv2-title{font-size:14px!important;line-height:1.25!important}
  article.pcv2-card .pcv2-spec{font-size:12px!important;line-height:1.25!important}
  article.pcv2-card .pcv2-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
  article.pcv2-card .pcv2-btn{font-size:11px!important}
  .product-action-card,.premium-buy-box{margin-bottom:24px!important}
  .premium-buy-box .product-action-row,.product-action-card .product-action-row{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
  .premium-buy-box .product-action-row .btn,.product-action-card .product-action-row .btn{width:100%!important;min-width:0!important;min-height:48px!important;white-space:normal!important;overflow-wrap:anywhere!important}
  .ps-mobile-bottom-nav{z-index:10020!important}
  .ps-mobile-quick-search,.ps-support-launcher,.ps-floating-support,.floating-support-button,.support-fab{bottom:calc(var(--ps-mobile-nav-height,82px) + 24px + env(safe-area-inset-bottom))!important}
}
@media(max-width:380px){
  article.pcv2-card>.pcv2-media{height:150px!important;min-height:150px!important;max-height:150px!important;flex-basis:150px!important}
  article.pcv2-card .pcv2-actions{grid-template-columns:1fr!important}
  article.pcv2-card .pcv2-buy,article.pcv2-card .pcv2-view,article.pcv2-card .pcv2-cart{grid-column:1!important}
}

/* Narrow-mobile rail integrity: prevent global two-column grid CSS from squeezing carousel cards. */
@media(max-width:767.98px){
 body.mobile-ux-shell [data-product-slider],body.mobile-ux-shell .ps-product-slider-track,body.mobile-ux-shell .ps-mobile-row-track[data-product-row]{display:flex!important;flex-flow:row nowrap!important;grid-template-columns:none!important;align-items:stretch!important;min-height:0!important;height:auto!important;overflow-x:auto!important;overflow-y:hidden!important;gap:12px!important}
 body.mobile-ux-shell [data-product-slider]>article.pcv2-card,body.mobile-ux-shell .ps-product-slider-track>article.pcv2-card,body.mobile-ux-shell .ps-mobile-row-track[data-product-row]>article.pcv2-card{flex:0 0 min(82vw,286px)!important;width:min(82vw,286px)!important;min-width:min(82vw,286px)!important;max-width:min(82vw,286px)!important}
 body.mobile-ux-shell .ps-product-slider-shell,body.mobile-ux-shell .products-grid,body.mobile-ux-shell .products-row,body.mobile-ux-shell .product-grid,body.mobile-ux-shell .jumia-products-grid,body.mobile-ux-shell .ps-product-grid{min-height:0!important;height:auto!important;grid-auto-rows:auto!important}
 body.mobile-ux-shell main#content,body.mobile-ux-shell .ps-app-shell{padding-bottom:calc(132px + env(safe-area-inset-bottom))!important}
 body.mobile-ux-shell .ps-ai-shop,body.mobile-ux-shell .ps-mobile-support-launcher,body.mobile-ux-shell .chatbot-toggle,body.mobile-ux-shell .chat-toggle,body.mobile-ux-shell .floating-chat-button,body.mobile-ux-shell #chatbot-toggle{bottom:calc(96px + env(safe-area-inset-bottom))!important}
}
@media(max-width:360px){
 body.mobile-ux-shell .products-grid:not([data-product-slider]):not(.ps-product-slider-track):not(.ps-mobile-row-track),body.mobile-ux-shell main#content .products-grid:not([data-product-slider]):not(.ps-product-slider-track):not(.ps-mobile-row-track){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body.mobile-ux-shell [data-product-slider]>article.pcv2-card,body.mobile-ux-shell .ps-product-slider-track>article.pcv2-card,body.mobile-ux-shell .ps-mobile-row-track[data-product-row]>article.pcv2-card{flex-basis:calc(100vw - 48px)!important;width:calc(100vw - 48px)!important;min-width:calc(100vw - 48px)!important;max-width:calc(100vw - 48px)!important}
 article.pcv2-card>.pcv2-media{height:176px!important;min-height:176px!important;max-height:176px!important;flex-basis:176px!important}
 article.pcv2-card .pcv2-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}article.pcv2-card .pcv2-buy{grid-column:1/-1!important}article.pcv2-card .pcv2-view{grid-column:1!important}article.pcv2-card .pcv2-cart{grid-column:2!important}
}
