.pp-main{
  min-height:calc(100vh - 90px);
  padding:42px 28px 80px;
  background:
    linear-gradient(
      180deg,
      #f5f9ff 0%,
      #ffffff 72%
    );
}

.pp-shell{
  width:min(1420px,100%);
  margin:0 auto;
}

.pp-back{
  display:inline-flex;
  margin-bottom:27px;
  color:#2466b3;
  text-decoration:none;
  font-weight:850;
}

.pp-heading{
  max-width:960px;
  margin-bottom:28px;
}

.pp-eyebrow{
  display:inline-block;
  padding:7px 12px;
  margin-bottom:14px;
  border-radius:999px;
  background:#e7f1ff;
  color:#1760ae;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
}

.pp-heading h1{
  margin:0;
  color:#102d4d;
  font-size:clamp(40px,5vw,64px);
  line-height:1.02;
  letter-spacing:-.04em;
}

.pp-intro{
  margin:17px 0 0;
  color:#566d87;
  font-size:19px;
  line-height:1.55;
}

.pp-trust{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin-top:20px;
}

.pp-trust span{
  padding:8px 12px;
  border:1px solid #cedceb;
  border-radius:999px;
  background:#fff;
  color:#173755;
  font-size:13px;
  font-weight:800;
}

.pp-form{
  display:grid;
  gap:19px;
}

.pp-panel,
.pp-summary{
  border:1px solid #d8e3ef;
  border-radius:20px;
  background:#fff;
  box-shadow:
    0 14px 38px rgba(30,71,112,.06);
}

.pp-panel{
  padding:25px;
}

.pp-panel h2{
  margin:0 0 17px;
  color:#112f4d;
  font-size:23px;
}

.pp-fields{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.pp-fields label{
  display:grid;
  gap:8px;
  color:#18334f;
  font-size:14px;
  font-weight:850;
}

.pp-fields input{
  width:100%;
  box-sizing:border-box;
  padding:14px 15px;
  border:1px solid #bdcfe0;
  border-radius:12px;
  background:#fff;
  color:#122c46;
  font:inherit;
  font-weight:600;
  outline:none;
}

.pp-fields input:focus{
  border-color:#2d77dd;
  box-shadow:
    0 0 0 3px rgba(45,119,221,.12);
}

.pp-section-heading{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:20px;
}

.pp-section-heading h2{
  margin-bottom:5px;
}

.pp-section-heading p{
  margin:0;
  color:#61758b;
}

.pp-same-engine{
  align-self:flex-start;
  white-space:nowrap;
  padding:8px 11px;
  border-radius:999px;
  background:#eff5fb;
  color:#395b7b;
  font-size:12px;
  font-weight:800;
}

.pp-products{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:17px;
}

.pp-product{
  position:relative;
  display:block;
  padding:20px;
  border:2px solid transparent;
  border-radius:18px;
  cursor:pointer;
  transition:
    transform .14s ease,
    box-shadow .14s ease;
}

.pp-product:hover{
  transform:translateY(-2px);
}

.pp-product input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.pp-meta{
  background:#dceaff;
  border-color:#88afe9;
}

.pp-dup{
  background:#d8f0e8;
  border-color:#78bca5;
}

.pp-red{
  background:#f1dff1;
  border-color:#c88bc8;
}

.pp-product.is-selected{
  border-color:#1769dc;
  box-shadow:
    0 0 0 3px rgba(23,105,220,.12),
    0 15px 30px rgba(31,68,106,.12);
}

.pp-radio{
  position:absolute;
  top:18px;
  right:18px;
  width:22px;
  height:22px;
  border:2px solid rgba(21,53,83,.35);
  border-radius:50%;
  background:#fff;
}

.pp-product.is-selected .pp-radio{
  border:6px solid #1769dc;
}

.pp-product-body{
  display:grid;
  gap:15px;
}

.pp-product-top{
  display:flex;
  align-items:center;
  gap:11px;
  padding-right:30px;
}

.pp-icon{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border-radius:13px;
  background:rgba(255,255,255,.78);
  font-size:20px;
}

.pp-product-top strong{
  display:block;
  color:#102d4c;
  font-size:19px;
}

.pp-product-top small{
  display:block;
  margin-top:2px;
  color:#60758b;
  font-size:12px;
  font-weight:750;
}

.pp-product-copy{
  min-height:66px;
  color:#435e79;
  line-height:1.48;
}
.pp-premium-benefit{
  display:block;
  padding:13px 14px;
  border-radius:12px;
  background:rgba(255,255,255,.76);
  color:#425d77;
  font-size:13px;
  line-height:1.45;
}

.pp-premium-benefit b{
  display:block;
  margin-bottom:4px;
  color:#173653;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.pp-summary{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:21px 25px;
}

.pp-summary > div:first-child{
  display:grid;
  gap:4px;
}

.pp-summary-label{
  color:#657a90;
  font-size:12px;
  font-weight:850;
  text-transform:uppercase;
}

.pp-summary strong{
  color:#112f4e;
  font-size:20px;
}

.pp-summary #selected-product-benefit{
  color:#5d7288;
}

.pp-summary-right{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
}

.pp-summary-right span{
  padding:8px 10px;
  border-radius:999px;
  background:#eff5fb;
  color:#365a7e;
  font-size:12px;
  font-weight:800;
}

.pp-continue{
  justify-self:end;
  min-width:275px;
  padding:14px 20px;
  border:0;
  border-radius:12px;
  background:#1769dc;
  color:#fff;
  font:inherit;
  font-weight:900;
  cursor:pointer;
}

.pp-continue:disabled{
  background:#aebdcd;
  cursor:not-allowed;
}

.pp-status{
  min-height:20px;
  margin:-8px 0 0;
  color:#31597d;
  font-size:13px;
  font-weight:700;
  text-align:right;
}

.pp-staging-note{
  margin:0;
  padding:11px 14px;
  border:1px dashed #c3d2e1;
  border-radius:12px;
  background:#f7fafc;
  color:#61758a;
  font-size:12px;
  text-align:center;
}

@media(max-width:1000px){
  .pp-products{
    grid-template-columns:1fr;
  }

  .pp-product-copy{
    min-height:auto;
  }
}

@media(max-width:760px){
  .pp-main{
    padding:28px 16px 60px;
  }

  .pp-fields{
    grid-template-columns:1fr;
  }

  .pp-section-heading,
  .pp-summary{
    flex-direction:column;
    align-items:stretch;
  }

  .pp-summary-right{
    justify-content:flex-start;
  }

  .pp-continue{
    justify-self:stretch;
    width:100%;
  }
}

/* FILESSTAYLOCAL — PREMIUM PURCHASE COMPACT LAYOUT — START */

/*
  Compact only the purchase-page area above the Premium cards.
  Product-card content and functionality intentionally unchanged.
*/

.pp-main{
  padding-top:24px;
  padding-bottom:58px;
}

.pp-back{
  margin-bottom:13px;
  font-size:14px;
}

.pp-heading{
  max-width:1180px;
  margin-bottom:16px;
}

/* Redundant with "Get Permanent Premium"; remove one vertical row. */
.pp-eyebrow{
  display:none;
}

.pp-heading h1{
  font-size:clamp(34px,4vw,48px);
  line-height:1.04;
  letter-spacing:-.035em;
}

.pp-intro{
  margin-top:9px;
  font-size:16px;
  line-height:1.42;
}

.pp-trust{
  gap:6px;
  margin-top:11px;
}

.pp-trust span{
  padding:6px 10px;
  font-size:12px;
}

.pp-form{
  gap:14px;
}

/* Compact "Your details" without changing fields or behaviour. */
.pp-panel{
  padding:19px 21px;
}

.pp-panel h2{
  margin-bottom:11px;
  font-size:21px;
}

.pp-fields{
  gap:14px;
}

.pp-fields label{
  gap:6px;
  font-size:13px;
}

.pp-fields input{
  padding:11px 13px;
}

/* Reduce only the heading area above the Premium tool cards. */
.pp-section-heading{
  gap:14px;
  margin-bottom:13px;
}

.pp-section-heading h2{
  margin-bottom:3px;
}

.pp-section-heading p{
  font-size:14px;
  line-height:1.4;
}

.pp-same-engine{
  padding:6px 9px;
  font-size:11px;
}

/* Preserve the detailed card content; only tighten grid separation. */
.pp-products{
  gap:15px;
}

/* Keep mobile/tablet comfortable rather than over-compacting. */
@media (max-width:760px){
  .pp-main{
    padding-top:18px;
  }

  .pp-heading h1{
    font-size:34px;
  }

  .pp-trust span{
    padding:6px 9px;
  }

  .pp-panel{
    padding:18px;
  }
}

/* FILESSTAYLOCAL — PREMIUM PURCHASE COMPACT LAYOUT — END */

/* PREMIUM PAYMENT SUCCESS PANEL — START */

.pp-payment-success{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:18px;
  padding:24px;
  border:1px solid #b9dfc8;
  border-radius:18px;
  background:#f5fcf7;
  box-shadow:0 14px 34px rgba(22,65,43,.07);
}

.pp-payment-success[hidden]{
  display:none;
}

.pp-payment-success-icon{
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border-radius:50%;
  background:#d8f2e2;
  color:#176b39;
  font-size:24px;
  font-weight:900;
}

.pp-payment-success h2{
  margin:0 0 7px;
  color:#163b28;
}

.pp-payment-success p{
  margin-top:8px;
  color:#4b6657;
}

.pp-license-email-message{
  margin-top:12px !important;
  font-size:17px;
  line-height:1.5;
  color:#244c35 !important;
}

.pp-payment-details{
  display:grid;
  gap:8px;
  margin:18px 0;
}

.pp-payment-details > div{
  display:grid;
  grid-template-columns:140px minmax(0,1fr);
  gap:14px;
}

.pp-payment-details dt{
  color:#687b70;
  font-weight:800;
}

.pp-payment-details dd{
  margin:0;
  color:#183b29;
  font-weight:750;
  overflow-wrap:anywhere;
}

.pp-payment-help{
  font-size:14px;
}

.pp-success-return{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:7px;
  padding:11px 15px;
  border-radius:11px;
  background:#1769dc;
  color:#fff;
  text-decoration:none;
  font-weight:850;
}

@media (max-width:700px){
  .pp-payment-success{
    grid-template-columns:1fr;
  }

  .pp-payment-details > div{
    grid-template-columns:1fr;
    gap:2px;
  }
}

/* PREMIUM PAYMENT SUCCESS PANEL — END */
