/* Product Tile Grid — Guide / Planner / Bundle purchase tiles
   Used on packet pages and anywhere else products are listed.
   px font sizes only — site sets html { font-size: 62.5% } so rem = 10px */

/* ============================================================
   SECTION WRAPPER
   ============================================================ */

.pt-section {
  padding: 20px 0 10px;
}

.pt-section-heading {
  text-align: center;
  font-size: 26px;
  color: #1a5276;
  margin: 0 0 6px;
}

.pt-section-sub {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin: 0 0 24px;
  font-style: italic;
}

/* ============================================================
   GRID
   ============================================================ */

.pt-grid {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin: 0 0 14px;
}

/* ============================================================
   CARD
   ============================================================ */

.pt-card {
  background: #fff;
  border: 1px solid #dce3ea;
  border-radius: 16px;
  padding: 22px 18px 20px;
  flex: 1 1 200px;
  max-width: 255px;
  min-width: 175px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pt-card-featured {
  border-width: 2px;
  box-shadow: 0 5px 22px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}

/* ============================================================
   BADGE
   ============================================================ */

.pt-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 11px;
  border-radius: 20px;
  margin-bottom: 12px;
  color: #fff;
  background: #aaa;
}

.pt-badge-free    { background: #27ae60; }
.pt-badge-new     { background: #2980b9; }
.pt-badge-value   { background: #e67e22; }

/* ============================================================
   CSS COVER THUMBNAIL (no image files)
   ============================================================ */

.pt-cover {
  width: 82px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0,0,0,0.22);
  margin: 0 auto 14px;
  font-family: sans-serif;
  font-style: normal;
}

.pt-cover-header {
  padding: 8px 6px 6px;
  text-align: center;
}

.pt-cover-label {
  font-size: 11px;
  font-weight: bold;
  color: #fff;
  line-height: 1.2;
  display: block;
  margin-bottom: 3px;
}

.pt-cover-edition {
  display: inline-block;
  background: rgba(255,255,255,0.22);
  border-radius: 8px;
  padding: 1px 5px;
  font-size: 8px;
  color: #fff;
  letter-spacing: 0.5px;
}

.pt-cover-body {
  background: #fff;
  padding: 7px 7px 5px;
}

.pt-cover-line {
  height: 4px;
  background: #eaeaea;
  border-radius: 3px;
  margin-bottom: 3px;
  width: 100%;
}

.pt-cover-footer {
  background: #f4f4f4;
  padding: 4px 6px;
  font-size: 7px;
  color: #aaa;
  text-align: center;
  border-top: 1px solid #e8e8e8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   TITLE & PRICE
   ============================================================ */

.pt-title {
  font-size: 16px;
  font-weight: bold;
  color: #1a3a4f;
  margin: 0 0 6px;
  line-height: 1.25;
}

.pt-price {
  font-size: 25px;
  font-weight: bold;
  color: #1a5276;
  margin: 0 0 12px;
  line-height: 1;
}

.pt-price-free { color: #27ae60; }

.pt-savings {
  font-size: 12px;
  font-weight: normal;
  color: #e67e22;
  display: block;
  margin-top: 3px;
}

/* ============================================================
   FEATURE LIST
   ============================================================ */

.pt-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  text-align: left;
  width: 100%;
  flex-grow: 1;
}

.pt-features li {
  font-size: 13px;
  color: #555;
  padding: 3px 0;
}

.pt-features li i {
  color: #27ae60;
  margin-right: 5px;
  font-size: 12px;
}

/* ============================================================
   CTA BUTTON
   ============================================================ */

.pt-cta {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 14px;
  border-radius: 30px;
  text-decoration: none;
  box-sizing: border-box;
  white-space: nowrap;
}

.pt-cta:hover {
  opacity: 0.88;
  text-decoration: none;
}

/* ============================================================
   LEGACY LINK
   ============================================================ */

.pt-legacy {
  text-align: center;
  font-size: 13px;
  color: #aaa;
  margin: 6px 0 0;
}

.pt-legacy a {
  color: #aaa;
}

.pt-legacy a:hover {
  color: #888;
}

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

@media only screen and (max-width: 800px) {
  .pt-card-featured {
    transform: none;
  }
}

@media only screen and (max-width: 640px) {
  .pt-grid {
    gap: 12px;
  }

  .pt-card {
    flex: 1 1 44%;
    max-width: 49%;
    min-width: 140px;
    padding: 16px 12px;
  }

  .pt-price {
    font-size: 21px;
  }

  .pt-title {
    font-size: 14px;
  }

  .pt-features {
    display: none; /* hide list on small screens to keep cards compact */
  }

  .pt-cta {
    font-size: 13px;
    padding: 9px 10px;
  }
}

@media only screen and (max-width: 380px) {
  .pt-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  .pt-section { display: none !important; }
}
