/* Mayobook Store private-preview catalogue finish 1.13.158
   Deliberately scoped: does not affect homepage, public Store or protected header. */
@media(max-width:760px){
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-section--grid .mb-shop-grid[data-columns-desktop].mbsp152-list{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   gap:10px!important;align-items:stretch!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-section--grid .mb-shop-grid.mbsp152-list .mb-shop-product-card{
   display:grid!important;grid-template-columns:108px minmax(0,1fr)!important;
   gap:8px 13px!important;align-items:center!important;padding:12px!important;
   min-height:152px!important;height:auto!important;
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mb-shop-product-card__image{
   grid-column:1!important;grid-row:1/span 2!important;
   height:134px!important;min-height:0!important;padding:4px!important;
   align-self:center!important;overflow:hidden!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mb-shop-product-card__body{
   grid-column:2!important;grid-row:1!important;align-self:stretch!important;
   display:flex!important;flex-direction:column!important;justify-content:center!important;
   min-width:0!important;gap:2px!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mb-shop-product-card__title{
   white-space:normal!important;max-height:38px!important;min-height:0!important;
   overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;
   -webkit-box-orient:vertical!important;font-size:13px!important;
   line-height:1.35!important;margin:2px 0 4px!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mb-shop-product-card__title a{
   white-space:normal!important;overflow:visible!important;text-overflow:clip!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mbsp153-list-summary{
   display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;
   overflow:hidden!important;font-size:10.5px!important;line-height:1.45!important;
   max-height:31px!important;margin:1px 0 4px!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mb-shop-product-card__rating{
   margin:0 0 4px!important;min-height:16px!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mb-shop-product-card__purchase{
   margin-top:3px!important;gap:8px!important;align-items:center!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mbsp-card-view{
   grid-column:2!important;grid-row:2!important;
   width:100%!important;min-width:0!important;min-height:37px!important;
   margin:0!important;align-self:end!important;font-size:11px!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mbfe155-sales-position{
   top:11px!important;left:11px!important
 }
}
@media(max-width:380px){
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-section--grid .mb-shop-grid.mbsp152-list .mb-shop-product-card{
   grid-template-columns:92px minmax(0,1fr)!important;gap:6px 9px!important;padding:10px!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mb-shop-product-card__image{height:116px!important}
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mb-shop-grid.mbsp152-list .mbsp153-list-summary{-webkit-line-clamp:1!important;max-height:16px!important}
}
/* Quiet, editorial pagination; compact on desktop and mobile. */
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-pagination{
 margin:19px auto 0!important;padding:0!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 display:flex!important;justify-content:center!important;width:100%!important
}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-pagination__inner{
 display:flex!important;align-items:center!important;justify-content:center!important;
 flex-wrap:wrap!important;gap:8px!important;padding:8px 10px!important;
 border:1px solid #dce7e0!important;border-radius:15px!important;
 background:#fff!important;box-shadow:0 4px 18px rgba(8,55,42,.045)!important;
 max-width:100%!important
}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-page,
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-direction{
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 flex:none!important;min-width:39px!important;height:40px!important;
 border:1px solid transparent!important;border-radius:10px!important;
 background:transparent!important;color:#25483c!important;
 font:650 12px/1.1 system-ui,-apple-system,sans-serif!important;text-decoration:none!important;
 padding:0 11px!important;white-space:nowrap!important;
 transition:background .15s,border-color .15s!important
}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-page[aria-current=page]{
 background:#005b49!important;color:#fff!important;border-color:#005b49!important;
 box-shadow:0 2px 7px rgba(0,68,49,.14)!important
}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-page:not([aria-current]):hover,
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-direction[href]:hover{
 background:#edf5ef!important;border-color:#c9ddd1!important
}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-direction{
 border-color:#dce9e1!important;min-width:70px!important;
}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-direction[aria-disabled=true]{
 opacity:.36!important;cursor:default!important
}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-ellipsis{color:#718b7c;font-size:12px;padding:0 3px}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-pagination__summary{
 margin:0 0 3px!important;width:100%!important;text-align:center!important;
 color:#73887e!important;font:500 11px/1.4 system-ui,-apple-system,sans-serif!important
}
body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-pagination a:focus-visible{
 outline:2px solid #b78b36!important;outline-offset:3px!important
}
@media(max-width:760px){
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-pagination{
  margin:14px auto 0!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-pagination__inner{
  gap:5px!important;padding:7px 8px!important;border-radius:14px!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-page,
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-direction{
  height:38px!important;min-width:37px!important;padding:0 8px!important;font-size:11px!important
 }
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-direction{min-width:62px!important}
}
@media(max-width:355px){
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-pagination__inner{gap:2px!important;padding:6px!important}
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-page,
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-direction{min-width:33px!important;padding:0 6px!important}
}
@media(prefers-reduced-motion:reduce){
 body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview .mbsp158-pagination *{transition:none!important}
}

body.mbfe-store-signature-preview #mb-shop-page.mbsp-preview #mbsp152-catalog-title{scroll-margin-top:clamp(118px,14vw,165px)!important}
