/* v2.2.3 — native mobile card-stack renderer.
   This is a separate mobile rendering layer, not a transform of the desktop magazine grid.
   Desktop layout remains untouched. */
.nc-mobile-card-stack-reader{display:none;}

@media (max-width:760px){
  body:not(.nc-editor-page).nc-mobile-portrait-page .page-safe-area,
  body.nc-editor-page.nc-editor-mobile-mode .page-safe-area{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    padding:22px 18px 34px!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .page-head,
  body.nc-editor-page.nc-editor-mobile-mode .page-head{
    flex:0 0 116px!important;
    min-height:116px!important;
    max-height:116px!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .page-title,
  body.nc-editor-page.nc-editor-mobile-mode .page-title{
    font-size:clamp(19px,5.8vw,26px)!important;
    line-height:1.02!important;
    letter-spacing:1.4px!important;
    max-width:100%!important;
    overflow-wrap:anywhere!important;
  }

  /* Hide the desktop/editorial grid only on mobile and replace it with the native stack. */
  body:not(.nc-editor-page).nc-mobile-portrait-page .editorial-grid,
  body.nc-editor-page.nc-editor-mobile-mode .editorial-grid{
    display:none!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-card-stack-reader,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-card-stack-reader{
    display:flex!important;
    flex:1 1 auto!important;
    min-height:0!important;
    width:100%!important;
    flex-direction:column!important;
    gap:8px!important;
    overflow:hidden!important;
    padding:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-card,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-card{
    position:relative!important;
    flex:1 1 0!important;
    min-height:112px!important;
    max-height:150px!important;
    display:grid!important;
    grid-template-columns:40% 60%!important;
    gap:0!important;
    overflow:hidden!important;
    border:1px solid rgba(65,51,24,.42)!important;
    background:rgba(238,218,158,.14)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.12)!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-image,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-image{
    grid-column:1!important;
    min-width:0!important;
    margin:11px 10px!important;
    overflow:hidden!important;
    background:rgba(255,246,205,.42)!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-image img,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-image img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
    display:block!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-info,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-info{
    grid-column:2!important;
    min-width:0!important;
    padding:10px 11px 8px 6px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:2px!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-top,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-top{
    width:100%!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:6px!important;
    min-height:18px!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-badge,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-badge{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:3px 9px!important;
    min-height:18px!important;
    line-height:1!important;
    font-size:clamp(10px,2.8vw,12px)!important;
    font-weight:900!important;
    background:#111!important;
    color:#fff!important;
    white-space:nowrap!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-discount,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-discount{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:4px 8px!important;
    min-width:38px!important;
    min-height:24px!important;
    border-radius:0!important;
    line-height:1!important;
    font-size:clamp(11px,3.1vw,14px)!important;
    font-weight:800!important;
    background:#8e2f19!important;
    color:#fff!important;
    white-space:nowrap!important;
  }

  /* v12.10.347 - mobile follows the same black offer / red reduction-bar rule. */
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-top,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-top{
    align-items:stretch!important;
  }
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-badge,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-badge{
    flex:1 1 auto!important;
    border-radius:0!important;
  }
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-reduction-label,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-reduction-label{
    flex:0 0 50%!important;
  }
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-reduction-percent,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-reduction-percent{
    flex:0 0 50%!important;
    box-sizing:border-box!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-title,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-title{
    margin:1px 0 0!important;
    padding:0!important;
    font-size:clamp(15px,4.1vw,19px)!important;
    line-height:1.03!important;
    font-weight:900!important;
    max-height:2.05em!important;
    overflow:hidden!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-desc,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-desc{
    margin:1px 0 0!important;
    padding:0!important;
    font-size:clamp(12px,3.5vw,15px)!important;
    line-height:1.08!important;
    max-height:2.2em!important;
    overflow:hidden!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-merchant,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-merchant{
    display:block!important;
    margin:0!important;
    padding:0!important;
    font-size:clamp(10px,2.8vw,12px)!important;
    line-height:1.05!important;
    max-height:1.1em!important;
    overflow:hidden!important;
    font-weight:700!important;
    opacity:.78!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-price-row,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-price-row{
    margin-top:auto!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:0!important;
    width:100%!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-old,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-old{
    font-size:clamp(10px,2.8vw,12px)!important;
    color:#681515!important;
    text-decoration:line-through!important;
    line-height:1!important;
    font-weight:700!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-product-price,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-product-price{
    font-size:clamp(16px,4.4vw,22px)!important;
    line-height:1!important;
    font-weight:900!important;
    color:#c7221b!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-card-link{
    position:absolute!important;
    inset:0!important;
    z-index:20!important;
  }

  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-empty-card,
  body.nc-editor-page.nc-editor-mobile-mode .nc-mobile-empty-card{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    flex:1!important;
    border:1px solid rgba(65,51,24,.42)!important;
    color:rgba(39,31,13,.75)!important;
    font-size:14px!important;
    text-align:center!important;
  }

  /* Navigation arrows lower and outside the page. */
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-drag-hint{
    position:absolute!important;
    left:50%!important;
    bottom:-74px!important;
    transform:translateX(-50%)!important;
    width:174px!important;
    height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:18px!important;
    border-radius:999px!important;
    background:linear-gradient(180deg,#fff4b8,#d5ad25)!important;
    border:1px solid rgba(81,56,8,.38)!important;
    box-shadow:0 10px 20px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.7)!important;
    color:#3d2a08!important;
    font-size:0!important;
    z-index:100!important;
    pointer-events:none!important;
  }
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-arrow{
    font-size:31px!important;
    font-weight:900!important;
    line-height:1!important;
    text-shadow:0 1px 0 rgba(255,255,255,.35)!important;
  }
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-swipe-line{
    width:48px!important;
    height:2px!important;
    border-radius:999px!important;
    background:rgba(64,43,5,.55)!important;
    position:relative!important;
  }
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-swipe-line:before,
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-swipe-line:after{
    content:""!important;
    position:absolute!important;
    top:50%!important;
    width:8px!important;
    height:8px!important;
    border-top:2px solid rgba(64,43,5,.72)!important;
    border-right:2px solid rgba(64,43,5,.72)!important;
  }
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-swipe-line:before{left:-5px!important;transform:translateY(-50%) rotate(-135deg)!important;}
  body:not(.nc-editor-page).nc-mobile-portrait-page .nc-mobile-swipe-line:after{right:-5px!important;transform:translateY(-50%) rotate(45deg)!important;}
}
