/* Nosso Gás — identidade premium (navy + laranja, alinhada à logo 3D) */
:root {
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --navy-deep: #021a2e;
  --navy: #003366;
  --navy-mid: #004080;
  --bg: #eef1f6;
  --surface: #ffffff;
  --text: #0a1628;
  --muted: #5c6b7f;
  --line: rgba(0, 51, 102, 0.1);
  --blue-900: #003366;
  --blue-700: #004d7a;
  --blue-600: #0066a3;
  --blue-500: #0080cc;
  --blue-soft: rgba(0, 102, 163, 0.12);
  --cyan-accent: #00a3c4;
  --brand: #ff8c00;
  --brand-bright: #ffb347;
  --brand-hover: #e67600;
  --brand-soft: rgba(255, 140, 0, 0.14);
  --accent: var(--cyan-accent);
  --radius: 18px;
  --radius-sm: 14px;
  --radius-xl: 22px;
  --shadow: 0 16px 48px rgba(0, 34, 68, 0.08);
  --shadow-sm: 0 4px 20px rgba(0, 34, 68, 0.05);
  --shadow-card: 0 4px 24px rgba(0, 34, 68, 0.06);
  --shadow-float: 0 20px 50px rgba(0, 26, 51, 0.12);
  --bottom-nav-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 12px);
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--blue-700);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.app-shell {
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 14px 24px;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(238, 241, 246, 0.94) 70%, rgba(238, 241, 246, 0) 100%);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 51, 102, 0.06);
}

.topbar__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  display: grid;
  place-items: center;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.15s;
}

.icon-btn:active {
  transform: translateY(1px);
}

.icon-btn--brand {
  background: linear-gradient(145deg, var(--brand-bright) 0%, var(--brand) 45%, var(--brand-hover) 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 28px rgba(255, 140, 0, 0.32);
}

.icon-btn--brand:hover {
  filter: brightness(1.04);
  color: #fff;
}

.title-pill {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: var(--shadow-card);
}

.title-pill svg {
  flex-shrink: 0;
  color: var(--navy);
}

/* Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  z-index: 100;
}

.drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(300px, 88vw);
  background: var(--surface);
  z-index: 110;
  transform: translateX(-105%);
  transition: transform 0.22s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer__brand {
  padding: 20px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer__brand--stacked {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.brand-logo {
  width: auto;
  max-width: 200px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  display: block;
}

.drawer__brand img.brand-logo {
  width: auto;
  max-height: 52px;
}

.drawer__brand--dark {
  background: linear-gradient(155deg, var(--navy-deep) 0%, #062542 42%, var(--navy) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 -1px 0 rgba(0, 180, 220, 0.12);
}

.drawer__brand--dark img.brand-logo {
  max-height: 56px;
  filter: drop-shadow(0 4px 20px rgba(0, 180, 220, 0.15));
}

.drawer__tagline {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.01em;
}

.drawer__nav {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer__link {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--text);
}

.drawer__link:hover {
  background: rgba(0, 51, 102, 0.06);
  color: var(--navy);
}

/* Hero loja */
.store-hero {
  margin-top: 8px;
  background: var(--surface);
  border-radius: calc(var(--radius-xl) + 6px);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-float);
  padding: 0;
  position: relative;
  overflow: hidden;
}

.store-hero__brand {
  padding: 20px 18px 22px;
  text-align: center;
  background: linear-gradient(165deg, #030d18 0%, #071a2e 38%, var(--navy-deep) 55%, #052038 100%);
  position: relative;
}

.store-hero__brand::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(0, 163, 196, 0.18) 0%, transparent 55%);
  pointer-events: none;
}

.store-hero__brand .status-chip {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  padding: 9px 17px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  color: rgba(255, 255, 255, 0.9);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.16) 0%,
    rgba(255, 255, 255, 0.05) 55%,
    rgba(255, 255, 255, 0.09) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 2px 4px rgba(0, 0, 0, 0.12),
    0 14px 36px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  isolation: isolate;
  animation: status-chip-float 4.8s ease-in-out infinite;
}

.store-hero__brand .store-hero__heading {
  position: relative;
  z-index: 1;
}

.store-hero__body {
  padding: 16px 16px 18px;
  background: linear-gradient(180deg, #fafbfd 0%, var(--surface) 100%);
  border-top: 1px solid var(--line);
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--blue-700);
  background: var(--blue-soft);
  padding: 6px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.status-chip--inverse {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  margin-bottom: 14px;
}

.store-hero__brand .status-chip .status-chip__dot {
  width: 7px;
  height: 7px;
  box-shadow:
    0 0 0 2px rgba(34, 197, 94, 0.45),
    0 0 12px rgba(34, 197, 94, 0.55);
}

.status-chip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.35);
  animation: status-dot 2.2s ease infinite;
}

@keyframes status-dot {
  50% {
    opacity: 0.75;
  }
}

@keyframes status-chip-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Confiança / ETA (home) */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 10px 0 4px;
}

.trust-strip--compact {
  padding: 6px 0 2px;
}

.trust-strip__item {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.92);
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(0, 51, 102, 0.12);
}

.hero-eta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 10px 14px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow-card);
}

.hero-eta svg {
  color: var(--cyan-accent);
  flex-shrink: 0;
}

.store-hero__heading {
  margin: 0;
  text-align: center;
}

.store-hero__logo {
  width: auto;
  max-width: min(94vw, 340px);
  max-height: 92px;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.35));
}

.store-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.875rem;
  color: var(--muted);
}

.store-meta strong {
  color: var(--text);
}

.rating {
  color: var(--brand-hover);
}

/* Sections */
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 22px 0 10px;
  gap: 12px;
}

.section-head__titles {
  flex: 1;
  min-width: 0;
}

.section-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.section-head__sub {
  margin: 6px 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 500;
}

.section-head a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-mid);
  flex-shrink: 0;
  padding-top: 2px;
}

.section-head a:hover {
  color: var(--brand-hover);
}

/* Carrossel por setor (gás / água / destaques) */
.section-carousel {
  position: relative;
  margin: 0 -14px;
  padding: 0 2px;
}

.section-carousel--no-scroll .section-carousel__arrow {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.section-carousel__track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 44px;
  padding: 4px 44px 12px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  cursor: grab;
  touch-action: pan-x;
  user-select: none;
  -webkit-user-select: none;
  overscroll-behavior-x: contain;
}

.section-carousel__track--grabbing {
  cursor: grabbing;
  scroll-snap-type: none;
}

.section-carousel__track--grabbing .card-product,
.section-carousel__track--grabbing .featured-card {
  pointer-events: none;
}

.section-carousel__track:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.section-carousel__track::-webkit-scrollbar {
  height: 5px;
}

.section-carousel__track::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 5px;
}

.section-carousel__slide {
  flex: 0 0 min(210px, 74vw);
  max-width: 240px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section-carousel__slide:focus-within {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
}

.section-carousel__slide .card-product {
  height: 100%;
}

.section-carousel__slide--featured {
  flex: 0 0 min(300px, 86vw);
  max-width: 360px;
}

.section-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: opacity 0.2s, background 0.15s, color 0.15s;
  padding: 0;
}

.section-carousel__arrow:hover:not(:disabled) {
  background: var(--blue-soft);
  color: var(--blue-700);
  border-color: rgba(3, 105, 161, 0.15);
}

.section-carousel__arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.section-carousel__arrow--prev {
  left: 6px;
}

.section-carousel__arrow--next {
  right: 6px;
}

.section-carousel__hint {
  margin: 0;
  padding: 0 44px 2px;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.85;
}

.section-carousel--no-scroll .section-carousel__hint {
  display: none;
}

@media (min-width: 560px) {
  .section-carousel__slide {
    flex: 0 0 220px;
    max-width: 240px;
  }
}

.card-product {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card-product:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-product__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: linear-gradient(145deg, var(--brand-bright) 0%, var(--brand) 50%, var(--brand-hover) 100%);
  color: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(255, 140, 0, 0.28);
}

.card-product__media {
  position: relative;
  aspect-ratio: 4/3;
  background: #fafafa;
}

.featured-card .card-product__media {
  position: relative;
}

.card-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-product__body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-product__title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
  min-height: 2.5em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-row .old {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: line-through;
}

.price-row .now {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.btn-add {
  width: 100%;
  border: none;
  border-radius: 14px;
  padding: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  background: linear-gradient(180deg, var(--brand-soft) 0%, rgba(255, 140, 0, 0.06) 100%);
  color: var(--brand-hover);
  cursor: pointer;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.btn-add:hover {
  background: linear-gradient(145deg, var(--brand-bright) 0%, var(--brand) 50%, var(--brand-hover) 100%);
  color: #fff;
  box-shadow: 0 6px 20px rgba(255, 140, 0, 0.28);
}

/* Card em destaque (dentro do slide do carrossel) */
.featured-card {
  width: 100%;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(100px, 120px) 1fr;
  min-height: 124px;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-card__body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

/* Reviews */
.reviews {
  margin-top: 28px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  padding: 18px 16px;
  box-shadow: var(--shadow-card);
}

.reviews__head {
  margin-bottom: 14px;
}

.reviews__head #reviews-title {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.review-item {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
}

.review-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-700);
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.review-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 4px;
}

.review-meta strong {
  color: var(--text);
}

/* Bottom nav */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 560px;
  margin: 0 auto;
  box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.05);
}

.bottom-nav a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  padding: 6px;
  border-radius: 12px;
  position: relative;
}

.bottom-nav a.active {
  color: var(--navy);
  background: linear-gradient(180deg, rgba(0, 51, 102, 0.1) 0%, rgba(0, 102, 163, 0.08) 100%);
}

.bottom-nav svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: calc(50% - 22px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--brand-bright) 0%, var(--brand-hover) 100%);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 2px 10px rgba(255, 140, 0, 0.35);
}

/* Page: carrinho / checkout */
.page-pad {
  padding-bottom: 120px;
}

.card-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  padding: 16px;
  margin-bottom: 14px;
}

.checkout-pay-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.checkout-pay-methods__item {
  margin-bottom: 0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg);
}

.checkout-pay-methods__item:has(.form-check-input:checked) {
  border-color: var(--navy-mid);
  background: rgba(0, 51, 102, 0.06);
}

.checkout-card-fields .form-label {
  font-size: 0.9rem;
}

.checkout-card-pay-flow {
  border: 1px solid rgba(220, 53, 69, 0.35);
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.checkout-card-processing__spinner {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border: 3px solid var(--line);
  border-top-color: var(--navy-mid);
  border-radius: 50%;
  animation: checkout-card-spin 0.7s linear infinite;
}

@keyframes checkout-card-spin {
  to {
    transform: rotate(360deg);
  }
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-thumb {
  width: 72px;
  height: 64px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg);
}

.qty-control button {
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text);
}

.qty-control span {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-link-danger {
  border: none;
  background: none;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
}

.btn-link-danger:hover {
  color: var(--brand-hover);
}

.checkout-float {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
  z-index: 35;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent 0%, var(--bg) 30%);
  max-width: 560px;
  margin: 0 auto;
}

.btn-checkout {
  width: 100%;
  border: none;
  border-radius: 18px;
  padding: 16px;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.02em;
  background: linear-gradient(145deg, var(--brand-bright) 0%, var(--brand) 42%, var(--brand-hover) 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(255, 140, 0, 0.35);
  cursor: pointer;
}

.btn-checkout:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.btn-checkout:not(:disabled):hover {
  filter: brightness(1.04);
}

.btn-cta {
  background: linear-gradient(145deg, var(--brand-bright) 0%, var(--brand) 45%, var(--brand-hover) 100%) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(255, 140, 0, 0.3);
}

.btn-cta:hover {
  filter: brightness(1.04);
  color: #fff !important;
}

/* Forms */
.form-label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.form-control,
.form-select {
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 12px 14px;
  font-size: 0.95rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px var(--blue-soft);
}

/* Botões Bootstrap danger → laranja Nosso Gás */
.btn-danger {
  background-color: var(--brand);
  border-color: var(--brand);
}
.btn-danger:hover,
.btn-danger:focus {
  background-color: var(--brand-hover);
  border-color: var(--brand-hover);
}

.page-pix .text-danger {
  color: var(--brand-hover) !important;
}

/* PIX — estado e QR */
.pix-status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  font-weight: 600;
  font-size: 0.9rem;
}

.pix-status-banner[data-state='loading'] {
  background: linear-gradient(90deg, #e8f4fc, #fff);
  border-color: rgba(0, 128, 204, 0.22);
}

.pix-status-banner[data-state='waiting'] {
  background: linear-gradient(90deg, #fff8ed, #fff);
  border-color: rgba(255, 140, 0, 0.22);
}

.pix-status-banner[data-state='paid'] {
  background: linear-gradient(90deg, #ecfdf5, #fff);
  border-color: rgba(34, 197, 94, 0.3);
  color: #166534;
}

.pix-status-banner[data-state='error'] {
  background: #fef2f2;
  border-color: #fecaca;
  color: #991b1b;
}

.pix-status-banner__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-500);
  flex-shrink: 0;
  animation: pix-dot 1.2s ease-in-out infinite;
}

.pix-status-banner[data-state='paid'] .pix-status-banner__dot {
  background: #22c55e;
  animation: none;
}

.pix-status-banner[data-state='error'] .pix-status-banner__dot {
  background: #ef4444;
  animation: none;
}

@keyframes pix-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.88);
  }
}

.display-amount {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.pix-qr-wrap {
  display: flex;
  justify-content: center;
  margin: 12px 0 16px;
  min-height: 212px;
  align-items: center;
}

.pix-qr-img {
  max-width: 220px;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fff;
}

.pix-qr-fallback {
  display: none;
}

.pix-qr-fallback.is-visible {
  display: flex;
  justify-content: center;
  align-items: center;
}

.pix-pulse-line {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--blue-soft), var(--brand-soft), var(--blue-soft));
  background-size: 200% 100%;
  animation: pix-line 2.2s linear infinite;
}

@keyframes pix-line {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 200% 0%;
  }
}

.success-hero__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #fff;
  font-size: 2.25rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 32px rgba(34, 197, 94, 0.28);
}

/* PIX */
.pix-box {
  text-align: center;
  padding: 8px 0 20px;
}

#qrcode {
  display: inline-block;
  padding: 16px;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}

.pix-code {
  font-family: ui-monospace, monospace;
  font-size: 0.7rem;
  line-height: 1.4;
  word-break: break-all;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  max-height: 120px;
  overflow-y: auto;
  text-align: left;
}

.toast-mini {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 200;
}

.toast-mini.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.footer-legal {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 32px;
  padding-bottom: 8px;
}

.text-navy {
  color: var(--navy);
}

.site-footer-legal {
  margin-top: 28px;
  padding: 18px 0 12px;
  border-top: 1px solid var(--line);
}

.site-footer-legal__inner {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
}

.site-footer-legal__name,
.site-footer-legal__line {
  color: var(--text);
}

.site-footer-legal__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  justify-content: center;
  margin-bottom: 12px;
}

.site-footer-legal__nav a {
  font-weight: 600;
  color: var(--navy-mid);
}

.site-footer-legal__nav a:hover {
  color: var(--brand-hover);
}

.site-footer-legal__copy {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.drawer__link--muted {
  font-size: 0.88rem;
  color: var(--muted);
}

.legal-page h2 {
  color: var(--navy);
}

.reviews--trust {
  border-style: solid;
}

.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
}

.empty-state svg {
  margin: 0 auto 16px;
  opacity: 0.35;
}

/* Card clicável (abre modal) */
.card-product--interactive,
.featured-card--interactive {
  cursor: pointer;
}

.card-product--interactive .btn-add {
  cursor: pointer;
  position: relative;
  z-index: 2;
}

.card-product--interactive:focus-visible,
.featured-card--interactive:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* Modal de produto */
.product-modal {
  border-radius: calc(var(--radius) + 6px) calc(var(--radius) + 6px) 0 0;
  border: none;
  box-shadow: var(--shadow);
}

@media (min-width: 576px) {
  .product-modal {
    border-radius: calc(var(--radius) + 8px);
  }
}

.product-modal__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f3f4f6;
  aspect-ratio: 16/10;
  margin-bottom: 14px;
}

.product-modal__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-modal__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-hover) 100%);
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(255, 140, 0, 0.25);
}

.product-modal .modal-title {
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-modal__tagline {
  font-size: 0.9rem;
  color: var(--cyan-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

.product-modal__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 14px;
}

.product-modal__highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 8px;
}

.product-modal__highlights li {
  font-size: 0.85rem;
  padding: 8px 12px;
  background: var(--brand-soft);
  border-radius: 10px;
  color: var(--text);
  padding-left: 32px;
  position: relative;
}

.product-modal__highlights li::before {
  content: '✓';
  position: absolute;
  left: 12px;
  color: var(--brand);
  font-weight: 800;
}

.product-modal__specs {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.product-modal__specs div {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  padding: 10px 14px;
  font-size: 0.82rem;
  border-bottom: 1px solid var(--line);
}

.product-modal__specs div:last-child {
  border-bottom: none;
}

.product-modal__specs dt {
  margin: 0;
  font-weight: 600;
  color: var(--muted);
}

.product-modal__specs dd {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

.product-modal__notes {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-top: 14px;
  border: 1px dashed var(--line);
}

.product-modal__sku {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .status-chip__dot,
  .pix-status-banner__dot,
  .pix-pulse-line {
    animation: none !important;
  }

  .store-hero__brand .status-chip {
    animation: none !important;
  }
}
