/* Petrol Price page — price hero card + history table */

.pp-card {
  background: #ffffff;
  border: 1px solid var(--border, #E8ECF1);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(20,20,30,0.06);
  padding: 40px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto 20px;
  position: relative;
  overflow: hidden;
}

.pp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #F5B800, #FFD54F, #F5B800);
}

.pp-card__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 10px;
}

.pp-card__price {
  font-size: clamp(48px, 8vw, 68px);
  font-weight: 800;
  color: #0E0E10;
  line-height: 1.1;
  margin: 0;
}

.pp-card__price small {
  font-size: 20px;
  font-weight: 600;
  color: #64748B;
  margin-left: 6px;
}

.pp-card__change {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.pp-card__change--up {
  background: #FEF2F2;
  color: #DC2626;
}

.pp-card__change--down {
  background: #ECFDF5;
  color: #059669;
}

.pp-card__change--flat {
  background: #F0F3F8;
  color: #64748B;
}

.pp-card__updated {
  margin-top: 18px;
  font-size: 13px;
  color: #94A3B8;
}

.pp-empty {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  padding: 40px;
  border-radius: 20px;
  background: #F7F9FD;
  border: 1px solid #E8EDF5;
  color: #64748B;
}

.pp-table-wrap {
  max-width: 720px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border, #E8ECF1);
}

.pp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.pp-table th,
.pp-table td {
  padding: 14px 20px;
  text-align: left;
  white-space: nowrap;
}

.pp-table th {
  background: #F7F9FD;
  font-weight: 700;
  color: #334155;
  border-bottom: 1px solid #E8EDF5;
}

.pp-table tr:not(:last-child) td {
  border-bottom: 1px solid #F0F3F8;
}

.pp-table td.pp-up { color: #DC2626; font-weight: 600; }
.pp-table td.pp-down { color: #059669; font-weight: 600; }

.pp-faq {
  max-width: 780px;
  margin: 0 auto;
}

.pp-faq details {
  background: #ffffff;
  border: 1px solid var(--border, #E8ECF1);
  border-radius: 14px;
  padding: 18px 22px;
  margin-bottom: 12px;
}

.pp-faq summary {
  font-weight: 700;
  cursor: pointer;
  color: #0E0E10;
  list-style: none;
}

.pp-faq summary::-webkit-details-marker { display: none; }

.pp-faq summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  float: right;
  color: #94A3B8;
  transition: transform 0.2s ease;
}

.pp-faq details[open] summary::after {
  transform: rotate(180deg);
}

.pp-faq p {
  margin-top: 12px;
  color: #64748B;
  line-height: 1.7;
  font-size: 15px;
}

@media (max-width: 576px) {
  .pp-card { padding: 28px 20px; }
  .pp-table th, .pp-table td { padding: 12px 14px; }
}
