.gpc-prices {
  --gpc-navy: #142033;
  --gpc-red: #b3122a;
  max-width: 1120px;
  margin: 30px auto;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid #e9e2e3;
  border-top: 5px solid var(--gpc-red);
  border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #fcfaf9 100%);
  box-shadow: 0 16px 42px rgba(20, 32, 51, .07);
  color: #142033;
  font: inherit;
  box-sizing: border-box;
  overflow: hidden;
}

.gpc-prices * { box-sizing: border-box; }
.gpc-prices .gpc-header { padding: 2px 0 20px; border-bottom: 1px solid #ece7e7; }
.gpc-prices .gpc-kicker { display: flex; align-items: center; gap: 9px; color: var(--gpc-red); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gpc-prices .gpc-kicker::before { content: ""; display: inline-block; width: 23px; height: 3px; border-radius: 2px; background: var(--gpc-red); }
.gpc-prices .gpc-header h2 { margin: 4px 0 9px; color: var(--gpc-navy); font-size: clamp(25px, 3.2vw, 34px); font-weight: 800; letter-spacing: -.035em; line-height: 1.12; }
.gpc-prices .gpc-muted { color: #606b78; font-size: 14px; line-height: 1.55; }

.gpc-prices .gpc-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 22px 0 16px; }
.gpc-prices .gpc-card { position: relative; isolation: isolate; overflow: hidden; min-width: 0; padding: 20px 20px 18px; border: 1px solid var(--gpc-card-border); border-top: 4px solid var(--gpc-color); border-radius: 16px; background: var(--gpc-card-bg); box-shadow: 0 7px 18px rgba(20, 32, 51, .045); transition: transform .18s ease, box-shadow .18s ease; }
.gpc-prices .gpc-card::after { position: absolute; z-index: -1; top: -48px; right: -38px; width: 130px; height: 130px; border: 1px solid var(--gpc-card-border); border-radius: 50%; content: ""; opacity: .8; }
.gpc-prices .gpc-card-petrol { --gpc-color: #b3122a; --gpc-card-bg: #fff1f3; --gpc-card-border: #f0cbd1; }
.gpc-prices .gpc-card-diesel { --gpc-color: #087e8b; --gpc-card-bg: #eef8f8; --gpc-card-border: #cbe5e6; }
.gpc-prices .gpc-card-lpg { --gpc-color: #6b58a2; --gpc-card-bg: #f3f0f9; --gpc-card-border: #ddd5ed; }
.gpc-prices .gpc-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(20, 32, 51, .09); }
.gpc-prices .gpc-card h3 { position: relative; margin: 0 0 15px; color: #354052; font-size: 14px; font-weight: 750; letter-spacing: .02em; }
.gpc-prices .gpc-value { position: relative; display: flex; align-items: baseline; gap: 8px; color: var(--gpc-navy); font-size: clamp(28px, 3vw, 38px); font-weight: 850; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.gpc-prices .gpc-unit { color: #596575; font-size: 13px; font-weight: 650; letter-spacing: 0; }
.gpc-prices .gpc-change { position: relative; display: inline-flex; max-width: 100%; margin-top: 15px; padding: 7px 10px; border: 1px solid rgba(20, 32, 51, .09); border-radius: 999px; background: rgba(255, 255, 255, .76); color: #46505e; font-size: 12px; font-weight: 650; line-height: 1.4; }
.gpc-prices .gpc-latest { margin: 0 0 16px; }
.gpc-prices .gpc-latest strong { color: #273449; font-weight: 750; }

.gpc-prices .gpc-legend { display: flex; flex-wrap: wrap; gap: 11px 22px; margin: 12px 2px 10px; color: #354052; font-size: 13px; font-weight: 650; }
.gpc-prices .gpc-legend span { display: inline-flex; align-items: center; gap: 8px; }
.gpc-prices .gpc-swatch { display: inline-block; width: 25px; height: 0; border-top: 3px solid var(--gpc-color); border-radius: 3px; }
.gpc-prices .gpc-swatch-diesel { border-top-style: dashed; }
.gpc-prices .gpc-swatch-lpg { border-top-style: dotted; }
.gpc-prices .gpc-chart-panel { margin-top: 13px; padding: 18px 18px 10px; border: 1px solid #e7e3e4; border-radius: 16px; background: linear-gradient(180deg, #fff 0%, #fbfafb 100%); }
.gpc-prices .gpc-chart-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 4px; }
.gpc-prices .gpc-chart-head h3 { margin: 0; color: #243149; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.gpc-prices .gpc-chart-unit { color: #697382; font-size: 12px; font-weight: 600; }
.gpc-prices .gpc-chart-wrap { width: 100%; overflow: hidden; margin-top: 4px; }
.gpc-prices .gpc-chart { display: block; width: 100%; height: auto; max-width: 100%; }
.gpc-prices .gpc-note { margin: 18px 0 0; padding: 13px 15px; border-left: 3px solid var(--gpc-red); border-radius: 0 10px 10px 0; background: #f8f5f5; color: #56606d; font-size: 13px; line-height: 1.6; }
.gpc-prices .gpc-note a { color: #9e1026; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.gpc-prices .gpc-notice { padding: 16px; border: 1px solid #ece7e7; border-radius: 12px; background: #fcfaf9; color: #46505e; }
.gpc-prices .gpc-axis { fill: #697382; font-size: 12px; font-family: inherit; }
.gpc-prices .gpc-grid { stroke: #e7e9ed; stroke-width: 1; }
.gpc-prices .gpc-line { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.gpc-prices .gpc-point { stroke: #fff; stroke-width: 2; }

@media (max-width: 700px) {
  .gpc-prices { margin: 20px auto; padding: 17px; border-radius: 16px; }
  .gpc-prices .gpc-cards { grid-template-columns: 1fr; gap: 11px; margin: 17px 0 13px; }
  .gpc-prices .gpc-card { padding: 17px; }
  .gpc-prices .gpc-value { font-size: 32px; }
  .gpc-prices .gpc-chart-panel { padding: 13px 8px 7px; border-radius: 12px; }
  .gpc-prices .gpc-chart-head { align-items: flex-start; flex-direction: column; gap: 3px; margin-left: 9px; }
  .gpc-prices .gpc-chart-head h3 { font-size: 15px; }
  .gpc-prices .gpc-axis { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .gpc-prices .gpc-card { transition: none; }
}
