/* Stitch — Supermercado Conquista Fresh Retail (site público) */

.public-site {
  background: var(--gray-50);
}

.top-bar {
  background: var(--brand-primary-dark);
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-store,
.top-bar-whatsapp {
  font-weight: 700;
}

.top-bar-hours {
  color: rgb(188 194 255 / 0.9);
}

.main-nav__links a.active {
  background: transparent;
  color: var(--brand-secondary);
  box-shadow: inset 0 -2px 0 var(--brand-secondary);
  border-radius: 0;
}

.site-footer {
  background: var(--brand-primary-dark);
}

/* Hero */
.st-hero {
  padding: 1.5rem 0 0;
}

.st-hero-grid {
  display: grid;
  gap: 1.25rem;
}

.st-hero-banner {
  position: relative;
  min-height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--brand-primary-dark);
  box-shadow: var(--shadow);
}

.st-hero-banner__media,
.st-hero-banner .hero-slide .st-hero-banner__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-hero-banner .hero-slideshow {
  position: absolute;
  inset: 0;
}

.st-hero-banner .hero-slideshow__controls {
  z-index: 3;
}

.st-hero-overlay {
  position: relative;
  z-index: 2;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: linear-gradient(90deg, rgb(24 35 115 / 0.92) 0%, rgb(24 35 115 / 0.55) 58%, transparent 100%);
  color: var(--white);
}

.st-hero-overlay h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.st-hero-overlay p {
  max-width: 36rem;
  color: rgb(223 224 255 / 0.92);
  font-size: 1rem;
}

.st-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.st-hero-sides {
  display: grid;
  gap: 1.25rem;
}

.st-side-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 180px;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.st-side-card h3 {
  color: var(--white);
  font-size: 1.25rem;
}

.st-side-card p {
  color: rgb(255 255 255 / 0.86);
  font-size: 0.875rem;
}

.st-side-card__link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.875rem;
}

.st-side-card--green { background: linear-gradient(135deg, #124d1a, #1e7a2b); }
.st-side-card--gold { background: linear-gradient(135deg, #8a4200, #d66b08); }

.st-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.st-chip--offer {
  background: var(--brand-secondary);
  color: var(--white);
}

.st-chip--soft {
  background: rgb(255 255 255 / 0.2);
  color: var(--white);
}

@media (min-width: 1024px) {
  .st-hero-grid {
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
  }

  .st-hero-banner,
  .st-hero-overlay {
    min-height: 440px;
  }

  .st-hero-sides {
    grid-template-rows: 1fr 1fr;
  }
}

/* Values / depts */
.st-values,
.st-depts,
.st-dna,
.st-reviews,
.st-faq,
.st-cta,
.st-offers {
  padding: 2.5rem 0 0;
}

.st-values-grid,
.st-dept-grid,
.st-dna-grid,
.st-review-grid {
  display: grid;
  gap: 1rem;
}

.st-values-grid {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgb(30 34 56 / 0.04);
}

.st-value {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.st-value h3 {
  font-size: 1rem;
  margin-bottom: 0.15rem;
}

.st-value p {
  font-size: 0.8125rem;
  color: var(--brand-indigo-muted);
}

.st-value__icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  background: var(--brand-primary-soft);
  color: var(--brand-primary);
  flex-shrink: 0;
}

.st-value__icon--orange { background: #ffdbd0; color: var(--brand-secondary); }
.st-value__icon--gold { background: #ffddb0; color: #5c3d00; }
.st-value__icon--green { background: #e3f4e5; color: var(--brand-fresh); }

.st-section-head {
  margin-bottom: 1.25rem;
}

.st-section-head h2 {
  color: var(--brand-primary);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.st-section-head p {
  color: var(--brand-indigo-muted);
  margin-top: 0.35rem;
}

.st-section-head--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.75rem;
}

.st-eyebrow {
  display: block;
  color: var(--brand-secondary);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.st-dept {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem 0.75rem;
  text-align: center;
  box-shadow: 0 2px 8px rgb(30 34 56 / 0.04);
  color: inherit;
}

.st-dept:hover {
  color: inherit;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgb(49 59 138 / 0.08);
}

.st-dept__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  margin: 0 auto 0.65rem;
  font-size: 1.5rem;
}

.st-dept strong {
  display: block;
  font-size: 0.875rem;
}

.st-dept small {
  color: var(--brand-indigo-muted);
  font-size: 0.6875rem;
}

.st-offers-panel {
  background: linear-gradient(90deg, var(--brand-primary-dark), #242f88 50%, var(--brand-primary));
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.st-offers-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.st-offers-head h2 {
  color: var(--white);
  margin-top: 0.35rem;
}

.st-offers-panel .product-grid {
  background: transparent;
}

.st-dna-card,
.st-review,
.st-faq-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgb(30 34 56 / 0.04);
}

.st-dna-card h3 {
  color: var(--brand-primary);
  margin-bottom: 0.5rem;
}

.st-dna-card p,
.st-review p {
  color: var(--brand-indigo-muted);
}

.st-dna-card a {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.875rem;
}

.st-review p {
  font-style: italic;
  color: var(--gray-800);
}

.st-review footer {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--brand-indigo-muted);
}

.st-faq-item {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

.st-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--gray-800);
}

.st-faq-item p {
  margin-top: 0.65rem;
  color: var(--brand-indigo-muted);
}

.st-cta {
  padding-bottom: 2.5rem;
}

.st-cta-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: var(--brand-primary);
  color: var(--white);
}

.st-cta-banner h2 {
  color: var(--white);
}

.st-cta-banner p {
  color: rgb(188 194 255 / 0.95);
  margin-top: 0.35rem;
}

@media (min-width: 640px) {
  .st-values-grid { grid-template-columns: 1fr 1fr; }
  .st-dept-grid { grid-template-columns: repeat(4, 1fr); }
  .st-dna-grid,
  .st-review-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .st-values-grid { grid-template-columns: repeat(4, 1fr); }
  .st-dept-grid { grid-template-columns: repeat(8, 1fr); }
}

@media (max-width: 767px) {
  .st-hero-overlay { padding: 1.5rem 1.15rem; min-height: 340px; }
}
