/* Rede Rota — painel de preços estilo display da bomba */
:root {
  --rota-yellow: #f3c226;
  --rota-orange: #df6320;
  --rota-green: #21843d;
  --rota-green-bright: #61ce70;
  --rota-brown: #662604;
  --pump-face: #141a1c;
  --pump-bezel: #0c1012;
  --lcd-amber: #f3c226;
  --lcd-dim: #3d3420;
}

.price-panel.price-panel--lcd {
  border: 0;
  box-shadow: none;
  background: var(--pump-bezel);
  padding: 14px;
  border-radius: 4px;
}

.price-panel--lcd .branch-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  border: 0;
  margin-bottom: 12px;
  background: transparent;
}

.price-panel--lcd .branch {
  background: #1c2428;
  border: 1px solid #2a3438;
  border-right: 1px solid #2a3438;
  color: #9aa7ad;
  padding: 16px 18px;
  font: 600 16px/1.15 "Chakra Petch", sans-serif;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.price-panel--lcd .branch small {
  color: #6d7a80;
  font: 500 10px/1.2 Manrope, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.price-panel--lcd .branch.active {
  background: var(--pump-face);
  color: var(--lcd-amber);
  border-color: var(--rota-yellow);
  box-shadow: inset 0 -3px var(--rota-orange);
}

.price-panel--lcd .price-content {
  display: grid;
  grid-template-columns: 28% 72%;
  min-height: 300px;
  background: var(--pump-face);
  border: 1px solid #2a3438;
  border-radius: 3px;
  overflow: hidden;
}

.price-panel--lcd .price-meta {
  padding: 28px 24px;
  background: linear-gradient(180deg, #1a2226, #12171a);
  color: #c5d0d4;
  border-right: 1px solid #2a3438;
}

.price-panel--lcd .updated {
  color: var(--rota-green-bright);
  font: 700 11px/1 Manrope, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 22px;
}

.price-panel--lcd .updated i {
  background: var(--rota-green-bright);
  box-shadow: 0 0 10px rgba(97, 206, 112, 0.65);
  animation: lcd-pulse 1.8s ease-out infinite;
}

@keyframes lcd-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.price-panel--lcd .price-meta h3 {
  font: 700 30px/1 "Chakra Petch", sans-serif;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0 0 6px;
}

.price-panel--lcd .price-meta > p:not(.updated) {
  color: #8b989e;
  font-size: 13px;
}

.price-panel--lcd .price-meta a {
  color: var(--lcd-amber);
  margin-top: 36px;
}

.price-panel--lcd .fuel-list {
  padding: 10px 8px 10px 14px;
  background:
    linear-gradient(180deg, rgba(243, 194, 38, 0.04), transparent 40%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0, 0, 0, 0.12) 3px
    );
}

.price-panel--lcd .fuel {
  display: grid;
  grid-template-columns: 1.35fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid #243035;
  border-radius: 2px;
}

.price-panel--lcd .fuel:last-child {
  border-bottom: 0;
}

.price-panel--lcd .fuel-name {
  color: #e8eef0;
  font: 600 15px/1.2 Manrope, sans-serif;
  gap: 12px;
}

.price-panel--lcd .fuel-code {
  width: 28px;
  height: 28px;
  border-radius: 3px;
  background: #243035;
  color: var(--lcd-amber);
  font: 700 12px/1 "Chakra Petch", sans-serif;
  letter-spacing: 0.04em;
}

.price-panel--lcd .fuel:nth-child(1) .fuel-code {
  background: var(--rota-green);
  color: #fff;
}
.price-panel--lcd .fuel:nth-child(2) .fuel-code {
  background: var(--rota-orange);
  color: #fff;
}
.price-panel--lcd .fuel:nth-child(3) .fuel-code {
  background: #3d6b45;
  color: #fff;
}
.price-panel--lcd .fuel:nth-child(4) .fuel-code,
.price-panel--lcd .fuel:nth-child(5) .fuel-code {
  background: #485c68;
  color: #fff;
}

.price-panel--lcd .fuel strong {
  font: 700 28px/1 "Chakra Petch", sans-serif;
  color: var(--lcd-amber);
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(243, 194, 38, 0.28);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.prices.section .section-head h2 em {
  color: var(--rota-orange);
}

@media (max-width: 800px) {
  .price-panel.price-panel--lcd {
    padding: 10px;
  }
  .price-panel--lcd .branch {
    padding: 10px 6px;
    font-size: 12px;
    text-align: center;
  }
  .price-panel--lcd .price-content {
    grid-template-columns: 1fr;
  }
  .price-panel--lcd .price-meta {
    border-right: 0;
    border-bottom: 1px solid #2a3438;
  }
  .price-panel--lcd .price-meta a {
    margin-top: 16px;
  }
  .price-panel--lcd .fuel strong {
    font-size: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-panel--lcd .updated i {
    animation: none;
  }
}
