/* MeerPakkers Desktop Home v4
   Desktop-only polish: hero exact boven cards + linkerkolom zoals mockup.
   Mobile blijft gelockt via mp-clean-mobile-home en mobile CSS.
*/

@media (min-width: 901px){
  .page-shell{
    padding-top:42px;
  }

  .platform-grid{
    align-items:start;
  }

  .results-area .desktop-intro-panel{
    max-width:980px;
    margin:0 0 36px;
  }

  .results-area .desktop-intro-panel h1{
    max-width:940px;
    font-size:clamp(56px, 4.35vw, 78px);
    line-height:1.02;
    letter-spacing:-.045em;
  }

  .results-area .desktop-intro-panel p{
    margin-top:22px;
    font-size:20px;
    line-height:1.45;
    max-width:760px;
  }

  .results-topline{
    margin-top:0;
  }

  .info-panel-left .mp-why-card{
    padding:26px 22px;
    border-radius:20px;
  }

  .mp-why-card h3{
    margin:0 0 16px;
    color:var(--green);
    font-size:20px;
    line-height:1.12;
  }

  .mp-why-intro{
    margin:0;
    color:var(--muted);
    font-size:15px;
    line-height:1.42;
  }

  .mp-why-item{
    display:grid;
    grid-template-columns:42px 1fr;
    gap:14px;
    padding:20px 0;
    border-top:1px solid rgba(10,63,53,.12);
  }

  .mp-why-intro + .mp-why-item{
    margin-top:22px;
  }

  .mp-why-icon{
    width:42px;
    height:42px;
    display:grid;
    place-items:center;
    border-radius:999px;
    background:#f3f7ee;
    font-size:22px;
    box-shadow:inset 0 0 0 1px rgba(10,63,53,.04);
  }

  .mp-why-item h4{
    margin:0 0 8px;
    color:var(--green);
    font-size:17px;
    line-height:1.15;
    font-weight:900;
  }

  .mp-why-item p{
    margin:0;
    color:var(--muted);
    font-size:14px;
    line-height:1.42;
  }

  .mp-why-card .mp-why-item:last-child{
    padding-bottom:0;
  }
}

/* v5 fix: left info column is ONE card, not a card inside a card. */
@media (min-width: 901px){
  .info-panel-left.filter-panel{
    background:transparent;
    border:0;
    box-shadow:none;
    padding:0;
    border-radius:0;
    max-height:none;
    overflow:visible;
  }

  .info-panel-left .mp-why-card{
    background:#fff;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    width:100%;
    box-sizing:border-box;
  }

  .info-panel-left .mp-why-item{
    grid-template-columns:44px minmax(0,1fr);
    gap:16px;
  }

  .info-panel-left .mp-why-icon{
    width:44px;
    height:44px;
  }
}

/* MeerPakkers Deal List v1 Premium
   Desktop-only: zet "Alle deals met voordeel" terug naar rustige lijstweergave.
   Featured cards, categoriepagina's en mobile blijven onaangeraakt.
*/
@media (min-width:901px){
  #dealList.mp-home-deal-grid{
    display:flex !important;
    flex-direction:column !important;
    grid-template-columns:none !important;
    gap:14px !important;
    align-items:stretch;
  }

  #dealList .mp-home-list-card{
    position:relative;
    min-height:0 !important;
    height:auto !important;
    display:grid !important;
    grid-template-columns:minmax(0,1fr) 235px;
    grid-template-areas:
      "head bottom"
      "benefits bottom";
    column-gap:28px;
    row-gap:14px;
    align-items:center;
    padding:24px 26px !important;
    padding-right:78px !important;
    border-radius:24px;
    background:#fffdf8;
    box-shadow:0 14px 34px rgba(6,72,61,.065);
  }

  #dealList .mp-home-list-card .mp-clean-rank,
  #dealList .mp-home-list-card .mp-clean-card-icon,
  #dealList .mp-home-list-card .mp-clean-card-category,
  #dealList .mp-home-list-card .mp-score-strip{
    display:none !important;
  }

  #dealList .mp-home-list-card .mp-clean-card-head{
    grid-area:head;
    display:block !important;
    padding-right:0 !important;
  }

  #dealList .mp-home-list-card .mp-clean-card-head h3{
    margin:0;
    font-size:21px;
    line-height:1.05;
    letter-spacing:-.02em;
    color:var(--green,var(--mp-green,#06483d));
  }

  #dealList .mp-home-list-card .mp-clean-card-head p{
    margin:6px 0 0;
    font-size:17px;
    line-height:1.25;
    font-weight:800;
    color:#1d1a16;
  }

  #dealList .mp-home-list-card .mp-clean-benefits{
    grid-area:benefits;
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 !important;
  }

  #dealList .mp-home-list-card .mp-clean-benefits span{
    border-radius:999px;
    background:#eaf4ec;
    color:var(--green,var(--mp-green,#06483d));
    padding:9px 12px;
    font-size:13px;
    font-weight:850;
    line-height:1.1;
  }

  #dealList .mp-home-list-card .mp-clean-card-bottom{
    grid-area:bottom;
    display:flex !important;
    align-items:center !important;
    justify-content:flex-end !important;
    gap:16px !important;
    margin-top:0 !important;
  }

  #dealList .mp-home-list-card .mp-clean-card-bottom > div{
    min-width:86px;
    text-align:right;
  }

  #dealList .mp-home-list-card .mp-clean-card-bottom small{
    display:block;
    color:var(--muted,var(--mp-muted,#746b61));
    font-weight:850;
    font-size:12px;
    margin-bottom:4px;
  }

  #dealList .mp-home-list-card .mp-clean-card-bottom b{
    display:block;
    color:var(--green,var(--mp-green,#06483d));
    font-size:34px;
    line-height:.95;
    font-weight:950;
    letter-spacing:-.03em;
  }

  #dealList .mp-home-list-card .mp-clean-card-bottom a{
    min-width:138px;
    min-height:46px;
    border-radius:15px;
    padding:0 18px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    background:var(--green,var(--mp-green,#06483d));
    color:#fff;
    font-size:14px;
    font-weight:950;
    box-shadow:0 10px 22px rgba(6,72,61,.18);
    white-space:nowrap;
  }

  #dealList .mp-home-list-card .mp-save-deal-btn-v47{
    position:absolute !important;
    top:18px !important;
    right:18px !important;
    z-index:3;
    width:36px !important;
    height:36px !important;
    min-width:36px !important;
    min-height:36px !important;
    padding:0 !important;
    margin:0 !important;
    border-radius:999px !important;
    border:1px solid rgba(192,173,142,.76) !important;
    background:#fffaf3 !important;
    color:var(--green,var(--mp-green,#06483d)) !important;
    font-size:0 !important;
    gap:0 !important;
    box-shadow:0 8px 18px rgba(6,72,61,.07) !important;
  }

  #dealList .mp-home-list-card .mp-save-deal-btn-v47 .mp-save-heart-v52{
    font-size:0 !important;
  }

  #dealList .mp-home-list-card .mp-save-deal-btn-v47 .mp-heart-icon{
    width:18px;
    height:18px;
    fill:currentColor;
  }

  #dealList .mp-home-list-card .mp-save-deal-btn-v47.is-saved{
    background:var(--green,var(--mp-green,#06483d)) !important;
    color:#fffaf3 !important;
    border-color:var(--green,var(--mp-green,#06483d)) !important;
  }
}

@media (min-width:901px) and (max-width:1180px){
  #dealList .mp-home-list-card{
    grid-template-columns:minmax(0,1fr);
    grid-template-areas:
      "head"
      "benefits"
      "bottom";
  }

  #dealList .mp-home-list-card .mp-clean-card-bottom{
    justify-content:space-between !important;
  }
}


/* MeerPakkers Desktop Home Simplification v3B
   Desktop-only: home terug naar één rustige contentkolom.
   Mobiele home, categoriepagina's en dealcard-rendering blijven onaangeraakt.
*/
@media (min-width:901px){
  body.home-cleanup .page-shell{
    max-width:1280px;
    padding-left:34px;
    padding-right:34px;
  }

  body.home-cleanup .platform-grid{
    display:block;
    max-width:1120px;
    margin:0 auto;
  }

  body.home-cleanup .results-area{
    width:100%;
    min-width:0;
  }

  body.home-cleanup .results-area .desktop-intro-panel{
    max-width:100%;
    margin-bottom:34px;
  }

  body.home-cleanup .results-area .desktop-intro-panel h1{
    max-width:960px;
  }

  body.home-cleanup .results-area .desktop-intro-panel p{
    max-width:800px;
  }
}

@media (min-width:1281px){
  body.home-cleanup .platform-grid{
    max-width:1160px;
  }
}

/* Desktop Hero Polish v3C
   Home hero iets compacter zodat de featured deals sneller in beeld komen.
   Alleen desktop home; mobile, header, categoriepagina's en cards blijven onaangeraakt.
*/
@media (min-width: 901px){
  body.home-cleanup .page-shell{
    padding-top:32px;
  }

  body.home-cleanup .results-area .desktop-intro-panel{
    max-width:960px;
    margin:0 0 26px;
  }

  body.home-cleanup .results-area .desktop-intro-panel h1{
    max-width:1160px;
    font-size:clamp(50px, 3.7vw, 66px);
    line-height:.98;
    letter-spacing:-.05em;
  }

  body.home-cleanup .results-area .desktop-intro-panel p{
    margin-top:16px;
    font-size:19px;
    line-height:1.38;
    max-width:740px;
  }

  body.home-cleanup .results-topline{
    margin-bottom:10px;
  }
}


/* Desktop Hero Headline One Line v3C2
   Houdt de desktop-home headline op brede schermen op één regel.
   Mobiel en kleinere schermen mogen normaal blijven afbreken.
*/
@media (min-width: 1200px){
  body.home-cleanup .results-area .desktop-intro-panel h1{
    white-space: nowrap;
  }
}


/* V20.0 Desktop Discovery Row v1
   Desktop-only: twee rustige ontdekblokken onder de hero.
   Mobiel blijft gelockt via home-mobile-first-v1.css.
*/
.mp-desktop-discovery-row{
  display:none;
}

@media (min-width:901px){
  body.home-cleanup .mp-desktop-discovery-row{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    margin:0 0 30px;
  }

  body.home-cleanup .mp-desktop-discovery-card{
    position:relative;
    min-height:260px;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    overflow:hidden;
    padding:28px 30px 26px;
    border-radius:30px;
    border:1px solid rgba(222,208,185,.88);
    background:linear-gradient(145deg,#fffdf8 0%,#fbf6ed 100%);
    box-shadow:0 18px 42px rgba(6,72,61,.07);
    color:var(--green,#06483d);
    text-decoration:none;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  body.home-cleanup .mp-desktop-discovery-card::after{
    content:"";
    position:absolute;
    right:-58px;
    bottom:-68px;
    width:190px;
    height:190px;
    border-radius:999px;
    background:rgba(201,149,45,.15);
    box-shadow:inset 0 0 0 1px rgba(201,149,45,.08);
    pointer-events:none;
  }

  body.home-cleanup .mp-desktop-discovery-card:hover,
  body.home-cleanup .mp-desktop-discovery-card:focus-visible{
    transform:translateY(-2px);
    box-shadow:0 24px 54px rgba(6,72,61,.105);
    border-color:rgba(201,149,45,.55);
    outline:none;
  }

  body.home-cleanup .mp-discovery-icon{
    width:48px;
    height:48px;
    display:grid;
    place-items:center;
    margin:0 0 18px;
    border-radius:18px;
    background:#eaf4ec;
    font-size:24px;
    box-shadow:inset 0 0 0 1px rgba(6,72,61,.05);
  }

  body.home-cleanup .mp-discovery-kicker{
    margin:0 0 8px;
    color:var(--muted,#746b61);
    font-size:14px;
    line-height:1.2;
    font-weight:900;
  }

  body.home-cleanup .mp-desktop-discovery-card strong{
    display:block;
    margin:0;
    color:var(--green,#06483d);
    font-size:31px;
    line-height:1.02;
    letter-spacing:-.035em;
    font-weight:950;
  }

  body.home-cleanup .mp-discovery-text{
    display:block;
    max-width:430px;
    margin:14px 0 18px;
    color:var(--muted,#746b61);
    font-size:15px;
    line-height:1.45;
    font-weight:650;
  }

  body.home-cleanup .mp-discovery-tags{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:auto 0 22px;
    padding-right:34px;
  }

  body.home-cleanup .mp-discovery-tags em{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:0 12px;
    border-radius:999px;
    background:#f3eadc;
    color:var(--green,#06483d);
    font-size:13px;
    line-height:1;
    font-style:normal;
    font-weight:900;
  }

  body.home-cleanup .mp-discovery-cta{
    position:relative;
    z-index:1;
    display:inline-flex;
    align-items:center;
    min-height:42px;
    margin-top:auto;
    padding:0 18px;
    border-radius:999px;
    background:var(--green,#06483d);
    color:#fffdf8;
    font-size:14px;
    font-weight:950;
    box-shadow:0 10px 22px rgba(6,72,61,.16);
  }
}

@media (min-width:901px) and (max-width:1080px){
  body.home-cleanup .mp-desktop-discovery-row{
    gap:16px;
  }

  body.home-cleanup .mp-desktop-discovery-card{
    min-height:250px;
    padding:24px;
  }

  body.home-cleanup .mp-desktop-discovery-card strong{
    font-size:27px;
  }
}

/* V20.2 Discovery Row Meepakker Visuals Experiment
   Desktop-only: echte visuele Meepakker thumbnails in de Home discovery card.
   Mobiel blijft gelockt omdat de discovery row op mobiel verborgen blijft.
*/
@media (min-width:901px){
  body.home-cleanup .mp-meepakker-visual-grid{
    position:relative;
    z-index:1;
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:10px;
    width:100%;
    margin:0 0 22px;
    padding-right:18px;
  }

  body.home-cleanup .mp-meepakker-visual{
    min-width:0;
    aspect-ratio:1 / .86;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border-radius:18px;
    background:#fffdf8;
    border:1px solid rgba(222,208,185,.84);
    box-shadow:0 10px 22px rgba(6,72,61,.055);
  }

  body.home-cleanup .mp-meepakker-visual img{
    display:block;
    width:116%;
    height:116%;
    object-fit:contain;
    filter:drop-shadow(0 7px 10px rgba(6,72,61,.10));
  }
}

@media (min-width:901px) and (max-width:1080px){
  body.home-cleanup .mp-meepakker-visual-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    max-width:360px;
  }
}


/* V20.3 Discovery Row Icon Cleanup Experiment
   Desktop-only: remove the decorative top icons from the Home discovery cards so the
   text and visual content move upward. Mobile remains locked because this row is hidden there.
*/
@media (min-width:901px){
  body.home-cleanup .mp-desktop-discovery-card{
    padding-top:26px;
  }

  body.home-cleanup .mp-discovery-kicker{
    margin-top:0;
  }
}
