/* =========================================================
   PRODUCT PAGE (WP-look)
   ========================================================= */

.ff-product{
  padding: 14px 0 40px;
  font-family: "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  font-weight: 300;
  color:#111;
}

.ff-product-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  padding: 8px 0 14px;
  border-bottom: 1px solid #eee;
}

.ff-breadcrumb{
  font-size: 13px;
  color:#777;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
}
.ff-breadcrumb a{ color:#777; text-decoration:none; }
.ff-breadcrumb a:hover{ text-decoration:underline; }
.ff-breadcrumb .sep{ color:#bbb; }
.ff-breadcrumb .current{ color:#111; font-weight:500; }

.ff-back{
  font-size: 13px;
  color:#333;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.ff-back:hover{ text-decoration:underline; }

.ff-product-grid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding-top: 22px;
}

/* hero */
.ff-product-hero{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items:start;
}

.ff-product-media-inner{
  border:1px solid #eee;
  background:#fff;
  padding: 18px;
}
.ff-product-media-inner img{
  width:100%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* info */
.ff-product-brandline{
  font-size: 18px;
  font-weight: 400;
  color:#444;
  margin-bottom: 6px;
}

.ff-product-title{
  margin: 6px 0 6px 0;
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
  color:#111;
}

.ff-product-price-row{
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom: 12px;
  margin-top:30px;
}
.ff-product-price{
  font-size: 22px;
  font-weight: 600;
}

.ff-product-block{
  margin-top: 10px;
}
.ff-product-block-title{
  font-weight: 600;
  margin-bottom: 8px;
  margin-top:30px;
}
.ff-product-desc{
  font-size: 15px;
  line-height: 1.9;
  color:#444;
}
.ff-product-desc.muted{ color:#777; }

.ff-readmore{
  margin-top: 8px;
  border:0;
  background:transparent;
  padding:0;
  cursor:pointer;
  color:#333;
  font: inherit;
  text-decoration: underline;
  font-weight: 400;
}

.ff-product-cta{
  display:flex;
  gap: 14px;
  margin: 28px 0 38px;
}

.ff-btn-primary{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  height: 54px;
  background:#333;
  color:#fff;
  text-decoration:none;
  font-weight: 400;
  letter-spacing:.02em;
  line-height:54px;
}
.ff-btn-primary:hover{ filter: brightness(.95); }

.ff-btn-secondary{
  flex: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  height: 54px;
  background:#fff;
  border:1px solid #bbb;
  color:#111;
  cursor:pointer;
  font: inherit;
  font-weight: 400;
  line-height:54px;
}
.ff-btn-secondary:hover{ background:#fafafa; }

/* meta blocks (zoals oude site: naast elkaar) */
.ff-product-meta{
  margin-top: 6px;
  border-top: 1px solid #eee;
  padding-top: 14px;

  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 40px;
  align-items:start;
}

.ff-product-meta-item .k{
  font-weight: 600;
  margin-bottom: 6px;
}
.ff-product-meta-item .v{
  color:#444;
  font-size: 14px;
  line-height: 1.7;
}

/* links/rechts groepering */
.ff-product-meta-item{
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
}
.ff-product-meta-item:last-child{
  border-bottom: 0;
}

/* Zorg dat veilig betalen image netjes in lijn blijft */
.ff-payments{
  max-width: 240px;
  width:100%;
  height:auto;
  display:block;
}

.ff-sizes{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}
.ff-size{
  font-size: 14px;
  color:#444;
  border-bottom: 1px solid transparent;
}
.ff-size:hover{
  border-bottom-color:#ddd;
}

.ff-kv{
  display:flex;
  gap: 8px;
}
.ff-kv span{
  color:#777;
  min-width: 70px;
}

.ff-payments{
  max-width: 240px;
  width:100%;
  height:auto;
  display:block;
}

/* right sidebar */
.ff-trendy{
  border:1px solid #eee;
  background:#fff;
}
.ff-trendy-head {
  background: #cc0000;
  color: #fff;
  padding: 18px 18px;
  font-weight: 600;
  border-radius: 5px 5px 0px 0px;
}

.ff-trendy-list{
  padding: 10px;
  display:flex;
  flex-direction:column;
  gap: 10px;
}
.ff-trendy-item{
  display:grid;
  grid-template-columns: 28px 52px 1fr;
  gap: 10px;
  align-items:center;
  padding: 8px;
  border:1px solid #eee;
  background:#fff;
  text-decoration:none;
  color:#111;
}
.ff-trendy-item:hover{ background:#fafafa; }
.ff-trendy-rank{
  font-size: 12px;
  font-weight: 700;
  color:#cc0000;
}
.ff-trendy-thumb{
  width:52px;
  height:52px;
  background:#f2f2f2;
  overflow:hidden;
}
.ff-trendy-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.ff-trendy-title{
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.ff-trendy-vendor{
  font-size: 12px;
  color:#777;
  margin-top: 2px;
}
.ff-trendy-price{
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}
.ff-trendy-empty{
  padding: 12px 14px;
  color:#777;
  font-size: 14px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px){
  .ff-product-grid{
    grid-template-columns: 1fr;
  }
  .ff-product-hero{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px){
  .ff-product-title{ font-size: 24px; }
  .ff-product-price{ font-size: 20px; }

  .ff-product-cta{
    flex-direction: column;
  }
  .ff-btn-primary,
  .ff-btn-secondary{
    width: 100%;
  }

  .ff-payments{ max-width: 280px; }

  .ff-product-meta{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* =========================
   Bottom section (Garanties + Related)
   ========================= */
.ff-product-bottom{
  background:#f3f3f3;
  padding:50px 0;
  margin-top:40px;
}

.ff-bottom-grid{
  display:grid;
  /* ✅ wijziging: 30% / 70% */
  grid-template-columns: 25% 75%;
  gap:26px;
  align-items:start;
}

.ff-bottom-h{
  font-size:26px;
  font-weight:800;
  margin:0 0 18px;
}

/* Guarantees */
.ff-guarantee-card{
  background:#fff;
  border:1px solid #e5e5e5;
  padding:22px 18px;
  display:flex;
  gap:12px;
  align-items:center;
  margin-bottom:18px;
}

.ff-g-ico{
  width:34px;
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.ff-g-ico svg{
  width:28px;
  height:28px;
  fill:none;
  stroke:#cc0000;
  stroke-width:2;
}

.ff-g-title{ font-weight:900; margin-bottom:4px; }
.ff-g-sub{ color:#444; line-height:1.35; }

/* ✅ Belangrijk: home-trending component netjes binnen product-bottom */
.ff-product-bottom .ff-home-trending{
  padding: 0;            /* we zitten al in een section met padding */
  background: transparent;
}

.ff-product-bottom .ff-home-trending > .ff-wrap{
  padding-left: 0;       /* voorkom dubbel padding (outer ff-wrap + inner ff-wrap) */
  padding-right: 0;
}

/* ✅ Desktop: 4 cards zichtbaar in product-bottom */
.ff-product-bottom .ff-home-trending .ff-card{
  flex: 0 0 calc((100% - (20px * 3)) / 4);
}

/* Mobile blijft prima via home.css (40% etc), maar we houden bottom grid onder elkaar */
@media (max-width: 980px){
  .ff-bottom-grid{ grid-template-columns: 1fr; }
}

/* Optioneel: als je ooit weer page-wide overflow ziet */
html, body{ overflow-x: hidden; }

@media (max-width: 900px){
  /* Forceer padding in de product-bottom sectie (override site.css ff-wrap) */
  .ff-product-bottom .ff-wrap{
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  /* Extra veiligheid: voorkom rare horizontale offset */
  .ff-product-bottom{
    overflow-x: hidden;
    padding-left:20px; padding-right:20px;
  }
}

@media (max-width: 900px){
  .ff-product-bottom .ff-home-trending .ff-card{
    flex: 0 0 calc((100% - 10px) / 2) !important; /* 2 naast elkaar */
  }
}



  /* PRODUCT BOTTOM: op mobiel onder elkaar (geen 25/75 grid) */
@media (max-width: 900px){
  .ff-bottom-grid{
    display: block;        /* of: display:grid met 1 kolom */
  }

  /* optioneel: wat spacing tussen garanties en carousel */
  .ff-guarantees{
    margin-bottom: 22px;
  }
}