/* =====================================================
   DETAIL PAGES – HOMEPAGE FULL FLEX ARCHITECTURE
   (PPF + WINDOW)
   Radius aligned with detail page
===================================================== */

.ppf-page{
  position:relative;
  width:100%;
  min-height:100%;
  display:flex;
  justify-content:center;
  align-items:center;
}

.ppf-layout{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1200px;
  display:flex;
  flex-direction:column;
  align-items:center;
  padding:64px 20px 80px;
  text-align:center;
}

.ppf-layout .brand-logo{
  width:180px;
  margin:0 auto 24px;
}

.ppf-layout h1{
  font-size:24px;
  font-weight:500;
  letter-spacing:.06em;
  margin-bottom:14px;
}

.ppf-layout .desc{
  max-width:640px;
  font-size:14px;
  line-height:1.8;
  color:rgba(255,255,255,.7);
  margin-bottom:64px;
}

/* =====================================================
   GRID
===================================================== */

.ppf-grid{
  width:100%;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:32px;
  margin-bottom:48px;
}

/* =====================================================
   CARD (RADIUS FIXED)
===================================================== */

.ppf-card{
  border:1px solid rgba(255,255,255,.18);
  padding:32px 28px;
  text-decoration:none;
  color:#fff;

  display:flex;
  flex-direction:column;
  justify-content:space-between;

  background:rgba(255,255,255,0.02);

  border-radius:22px; /* MATCHED WITH DETAIL */

  transition:border-color .25s ease, transform .25s ease;
}

.ppf-card:hover{
  border-color:#e10600;
  transform:translateY(-2px);
}

.ppf-card h3{
  font-size:16px;
  margin-bottom:12px;
  color:rgba(255,255,255,.92);
}

.ppf-card p{
  font-size:13px;
  color:rgba(255,255,255,.72);
  margin-bottom:18px;
}

.ppf-card span{
  font-size:11px;
  letter-spacing:1.2px;
  color:rgba(255,255,255,.55);
}

/* =====================================================
   BACK BUTTON
===================================================== */

.back-to-products{
  margin-top:48px;
  text-align:center;
}

.back-to-products a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 28px;
  border-radius:999px;

  font-size:13px;
  font-weight:700;
  letter-spacing:.05em;
  text-transform:uppercase;

  color:rgba(255,255,255,.85);
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.14);

  transition:all .18s ease;
}

.back-to-products a:hover{
  color:#e10600;
  border-color:#e10600;
  background:rgba(225,6,0,.06);
}

/* =====================================================
   TABLET
===================================================== */

@media (max-width:1024px){

  body.is-ppf main{
    height:auto !important;
    min-height:0 !important;
    overflow:visible !important;
    display:block !important;
  }

  .ppf-page{
    display:block !important;
    min-height:auto !important;
  }

  .ppf-layout{
    padding:56px 18px 64px;
  }

  .ppf-grid{
    display:flex;
    flex-direction:column;
    gap:26px;
  }

  .ppf-card{
    width:100%;
    max-width:680px;
    margin:0 auto;
    padding:28px 24px;
    border-radius:20px; /* DETAIL MATCH */
  }

}

/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width:600px){

  .ppf-layout{
    padding:48px 16px 56px;
  }

  .ppf-card{
    padding:24px 20px;
    border-radius:18px; /* DETAIL MATCH */
  }

}
