/* ============================================================
   SantoPrecinho - styles.css
   Identidade: amarelo + branco + azul escuro
   ============================================================ */

:root {
  --yellow: #ffd400;
  --yellow-dark: #e6bd00;
  --yellow-light: #fff4a8;

  --dark: #111827;
  --dark-2: #172033;
  --dark-3: #1f2937;

  --text: #172033;
  --text-light: #6b7280;

  --background: #f4f5f7;
  --surface: #ffffff;
  --border: #e5e7eb;

  --green: #16a34a;
  --red: #ef4444;
  --orange: #f97316;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;

  --container: 1280px;
}

/* ============================================================
   RESET
   ============================================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.5;

  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   PROMO BAR
   ============================================================ */

.promo-bar {
  width: 100%;
  background: var(--yellow);
  color: #111827;
}

.promo-container {
  width: min(100% - 32px, var(--container));
  min-height: 38px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  font-size: 13px;
  font-weight: 700;
}

.promo-container p {
  margin: 0;
}

.promo-highlight {
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 800;

  background: #111827;
  color: var(--yellow);

  padding: 3px 8px;
  border-radius: 999px;
}

/* ============================================================
   HEADER
   ============================================================ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 1000;

  background:
    linear-gradient(
      135deg,
      #172033 0%,
      #111827 100%
    );

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 5px 20px rgba(0, 0, 0, 0.15);
}

.header-container {
  width: min(100% - 32px, var(--container));
  min-height: 78px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 24px;
}

/* ============================================================
   LOGO
   ============================================================ */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  flex-shrink: 0;

  font-weight: 900;
  letter-spacing: -0.8px;
}

.brand-icon {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  background: var(--yellow);
  color: #111827;

  border-radius: 12px;

  box-shadow:
    0 4px 12px rgba(255, 212, 0, 0.2);

  font-size: 22px;
}

.brand-text {
  font-size: 25px;
  white-space: nowrap;
}

/* SANTO AMARELO */
.brand-santo {
  color: var(--yellow);
}

/* PRECINHO BRANCO */
.brand-precinho {
  color: #ffffff;
}

/* ============================================================
   SEARCH
   ============================================================ */

.search-wrap {
  flex: 1;

  max-width: 760px;
  height: 48px;
  margin: 0 auto;

  display: flex;
  align-items: center;

  background: #ffffff;

  border: 2px solid var(--yellow);
  border-radius: 10px;

  overflow: hidden;

  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.12);
}

.search-icon {
  width: 48px;
  flex-shrink: 0;

  display: grid;
  place-items: center;

  color: #6b7280;
  font-size: 18px;
}

.search-wrap input {
  flex: 1;

  min-width: 0;
  height: 100%;

  border: 0;
  outline: 0;

  color: #172033;
  background: #ffffff;

  font-size: 14px;
}

.search-wrap input::placeholder {
  color: #9ca3af;
}

.search-button {
  height: 100%;
  padding: 0 25px;

  border: 0;

  background: var(--yellow);
  color: #111827;

  font-weight: 800;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.search-button:hover {
  background: #ffe13b;
}

.search-button:active {
  transform: scale(0.98);
}

/* ============================================================
   ACTIONS / TEMA
   ============================================================ */

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  width: 44px;
  height: 44px;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;

  font-size: 19px;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

/* ============================================================
   CATEGORIAS
   ============================================================ */

.category-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border);

  position: relative;
  z-index: 900;
}

.category-container {
  width: min(100% - 32px, var(--container));
  min-height: 66px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  gap: 10px;

  overflow-x: auto;
  scrollbar-width: none;
}

.category-container::-webkit-scrollbar {
  display: none;
}

.category-button {
  flex-shrink: 0;

  min-height: 40px;
  padding: 8px 15px;

  border: 1px solid #e5e7eb;
  border-radius: 999px;

  background: #ffffff;
  color: #374151;

  font-size: 13px;
  font-weight: 700;

  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.category-button:hover {
  border-color: var(--yellow);
  transform: translateY(-1px);
}

.category-button.active {
  border-color: var(--yellow);
  background: var(--yellow);
  color: #111827;
}

/* ============================================================
   CONTEÚDO
   ============================================================ */

.main-content {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;

  padding: 24px 0 60px;
}

/* ============================================================
   BALÕES
   ============================================================ */

.promo-bubbles {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 16px;

  margin-bottom: 24px;
}

.promo-bubble,
.promo-card {
  position: relative;

  min-height: 150px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 22px;

  overflow: hidden;

  border-radius: var(--radius-lg);

  background:
    linear-gradient(
      135deg,
      #172033 0%,
      #111827 100%
    );

  color: #ffffff;

  box-shadow: var(--shadow-md);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.promo-bubble:hover,
.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.promo-bubble::after,
.promo-card::after {
  content: "";

  position: absolute;

  width: 130px;
  height: 130px;

  right: -40px;
  bottom: -50px;

  border-radius: 50%;

  background: rgba(255, 212, 0, 0.18);
}

.promo-bubble h3,
.promo-card h3 {
  position: relative;
  z-index: 1;

  margin-bottom: 5px;

  font-size: 19px;
  font-weight: 900;
}

.promo-bubble p,
.promo-card p {
  position: relative;
  z-index: 1;

  color: #d1d5db;

  font-size: 13px;
}

.promo-bubble strong,
.promo-card strong {
  color: var(--yellow);
}

.promo-bubble-icon,
.promo-card-icon,
.bubble-icon {
  position: relative;
  z-index: 1;

  width: 48px;
  height: 48px;

  display: grid;
  place-items: center;

  margin-bottom: 10px;

  border-radius: 50%;

  background: var(--yellow);
  color: #111827;

  font-size: 23px;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;

  min-height: 330px;

  display: grid;

  grid-template-columns:
    1.3fr 0.7fr;

  gap: 30px;

  padding: 42px;

  margin-bottom: 30px;

  overflow: hidden;

  border-radius: 24px;

  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(255, 212, 0, 0.14),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #172033,
      #111827
    );

  color: #ffffff;

  box-shadow: var(--shadow-lg);
}

.hero-content {
  position: relative;
  z-index: 2;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge {
  width: fit-content;

  margin-bottom: 13px;
  padding: 6px 12px;

  border-radius: 999px;

  background: rgba(255, 212, 0, 0.14);

  border: 1px solid rgba(255, 212, 0, 0.3);

  color: var(--yellow);

  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 700px;

  margin-bottom: 13px;

  font-size: clamp(30px, 4vw, 48px);

  line-height: 1.05;
  letter-spacing: -1.5px;
}

.hero h1 strong {
  color: var(--yellow);
}

.hero p {
  max-width: 650px;

  color: #d1d5db;

  font-size: 15px;
}

.hero-stats {
  display: flex;
  gap: 30px;

  margin-top: 25px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  color: var(--yellow);
  font-size: 22px;
}

.hero-stats span {
  color: #9ca3af;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  min-height: 240px;

  display: grid;
  place-items: center;
}

.hero-product {
  position: relative;
  z-index: 3;

  width: 145px;
  height: 145px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: var(--yellow);

  font-size: 70px;

  box-shadow:
    0 0 0 18px rgba(255, 212, 0, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-orbit {
  position: absolute;

  border: 1px dashed rgba(255, 212, 0, 0.35);

  border-radius: 50%;
}

.orbit-one {
  width: 230px;
  height: 230px;
}

.orbit-two {
  width: 300px;
  height: 300px;
}

.floating-card {
  position: absolute;
  z-index: 4;

  padding: 10px 14px;

  border-radius: 10px;

  background: #ffffff;
  color: #111827;

  box-shadow: var(--shadow-md);

  font-size: 13px;
  font-weight: 800;
}

.floating-one {
  top: 28px;
  right: 5%;
}

.floating-one strong {
  color: #ef4444;
}

.floating-two {
  bottom: 28px;
  left: 5%;
}

/* ============================================================
   SEÇÕES
   ============================================================ */

.section-label {
  display: block;

  margin-bottom: 3px;

  color: #e0b900;

  font-size: 11px;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.section-top,
.products-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;

  margin-bottom: 18px;
}

.section-top h2,
.products-heading h2 {
  font-size: 25px;
  line-height: 1.2;
}

/* ============================================================
   FILTROS
   ============================================================ */

.filters-section {
  padding: 25px;

  margin-bottom: 35px;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-sm);
}

.clear-filter {
  padding: 9px 14px;

  border: 1px solid var(--border);
  border-radius: 8px;

  background: #ffffff;
  color: #6b7280;

  font-size: 12px;
  font-weight: 700;
}

.clear-filter:hover {
  border-color: var(--yellow);
  color: #111827;
}

.filters {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr) 1.2fr;

  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  color: #6b7280;

  font-size: 11px;
  font-weight: 800;

  text-transform: uppercase;
}

.field input,
.field select {
  width: 100%;
  height: 43px;

  padding: 0 12px;

  border: 1px solid var(--border);
  border-radius: 8px;

  outline: none;

  background: #ffffff;
  color: #172033;

  font-size: 13px;
}

.field input:focus,
.field select:focus {
  border-color: var(--yellow);

  box-shadow:
    0 0 0 3px rgba(255, 212, 0, 0.14);
}

.input-prefix {
  display: flex;
  align-items: center;

  height: 43px;

  border: 1px solid var(--border);
  border-radius: 8px;

  overflow: hidden;

  background: #ffffff;
}

.input-prefix span {
  height: 100%;

  display: grid;
  place-items: center;

  padding: 0 10px;

  background: #f3f4f6;
  color: #6b7280;

  font-size: 12px;
  font-weight: 800;
}

.input-prefix input {
  height: 100%;

  border: 0;
  border-radius: 0;

  box-shadow: none;
}

.filter-action {
  justify-content: flex-end;
}

.apply-filter {
  height: 43px;

  border: 0;
  border-radius: 8px;

  background: var(--yellow);
  color: #111827;

  font-size: 13px;
  font-weight: 900;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.apply-filter:hover {
  background: #ffe13b;
  transform: translateY(-1px);
}

/* ============================================================
   FILTROS ATIVOS
   ============================================================ */

.active-filters {
  display: none;

  flex-wrap: wrap;
  align-items: center;

  gap: 8px;

  margin-top: 16px;
}

.active-filters.visible {
  display: flex;
}

.active-filters-title {
  color: #6b7280;

  font-size: 12px;
  font-weight: 800;
}

.filter-chip {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  padding: 5px 9px;

  border-radius: 999px;

  background: #fff7bf;
  color: #6b5700;

  font-size: 11px;
  font-weight: 700;
}

.filter-chip button {
  width: 17px;
  height: 17px;

  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;

  background: rgba(0, 0, 0, 0.08);

  color: inherit;

  font-size: 12px;
}

/* ============================================================
   PRODUTOS
   ============================================================ */

.products-section {
  width: 100%;
}

.message {
  color: #6b7280;

  font-size: 12px;
  font-weight: 700;
}

.grid {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;
}

/* ============================================================
   CARD
   ============================================================ */

.card {
  overflow: hidden;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: 15px;

  box-shadow: var(--shadow-sm);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);

  border-color: rgba(255, 212, 0, 0.55);

  box-shadow: var(--shadow-md);
}

.card-image-link {
  display: block;
}

.card-image-wrap {
  position: relative;

  aspect-ratio: 1 / 1;

  background: #f8f8f8;

  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;

  object-fit: contain;

  transition: transform 0.35s ease;
}

.card:hover .card-image {
  transform: scale(1.04);
}

.discount-badge {
  position: absolute;

  top: 10px;
  left: 10px;

  padding: 5px 8px;

  border-radius: 6px;

  background: #ef4444;
  color: #ffffff;

  font-size: 11px;
  font-weight: 900;
}

.category-badge {
  position: absolute;

  right: 9px;
  bottom: 9px;

  display: inline-flex;
  align-items: center;

  gap: 5px;

  padding: 6px 9px;

  border-radius: 7px;

  background: rgba(17, 24, 39, 0.82);
  color: #ffffff;

  backdrop-filter: blur(5px);

  font-size: 10px;
  font-weight: 800;
}

.store-badge {
  position: absolute;

  right: 9px;
  bottom: 9px;

  display: inline-flex;
  align-items: center;

  gap: 5px;

  padding: 6px 9px;

  border-radius: 7px;

  background: rgba(17, 24, 39, 0.82);
  color: #ffffff;

  backdrop-filter: blur(5px);

  font-size: 10px;
  font-weight: 800;
}

.store-shopee {
  background: rgba(238, 77, 45, 0.92);
}

.store-aliexpress {
  background: rgba(255, 71, 51, 0.92);
}

.store-temu {
  background: rgba(251, 146, 60, 0.92);
}

.info {
  padding: 14px;
}

.product-title-link {
  display: block;
}

.product-title-link h3 {
  min-height: 43px;

  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;

  overflow: hidden;

  color: var(--text);

  font-size: 14px;
  line-height: 1.4;
}

.product-title-link:hover h3 {
  color: #a98600;
}

.product-rating-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-top: 9px;
}

.product-rating {
  color: #f5b400;

  font-size: 12px;
  letter-spacing: 1px;
}

.sold-count {
  color: #6b7280;

  font-size: 10px;

  white-space: nowrap;
}

/* ============================================================
   PREÇO
   ============================================================ */

.price {
  margin-top: 9px;
}

.old-price {
  display: block;

  min-height: 18px;

  color: #9ca3af;

  font-size: 11px;
  text-decoration: line-through;
}

.old-price-placeholder {
  text-decoration: none;
}

.current-price-row {
  display: flex;
  align-items: baseline;

  gap: 3px;

  margin-top: 1px;
}

.currency {
  color: #172033;

  font-size: 12px;
  font-weight: 900;
}

.current-price-row strong {
  color: #f0c400;

  font-size: 23px;
  line-height: 1;
}

.discount-text {
  display: inline-block;

  margin-top: 5px;

  color: #16a34a;

  font-size: 10px;
  font-weight: 800;
}

.payment-info {
  min-height: 18px;

  margin-top: 9px;

  overflow: hidden;

  text-overflow: ellipsis;
  white-space: nowrap;

  color: #6b7280;

  font-size: 10px;
}

.cta {
  margin-top: 13px;
}

.cta a {
  min-height: 40px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 7px;

  border-radius: 9px;

  background: var(--yellow);
  color: #111827;

  font-size: 12px;
  font-weight: 900;

  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.cta a:hover {
  background: #ffe13b;
  transform: translateY(-1px);
}

/* ============================================================
   SKELETON
   ============================================================ */

.loading-skeleton {
  display: grid;

  grid-template-columns:
    repeat(4, minmax(0, 1fr));

  gap: 18px;

  margin-bottom: 20px;
}

.skeleton-card {
  height: 420px;

  border-radius: 15px;

  background:
    linear-gradient(
      90deg,
      #e5e7eb 25%,
      #f3f4f6 50%,
      #e5e7eb 75%
    );

  background-size: 200% 100%;

  animation:
    skeletonLoading 1.4s infinite;
}

@keyframes skeletonLoading {
  from {
    background-position: 200% 0;
  }

  to {
    background-position: -200% 0;
  }
}

/* ============================================================
   SCROLL INFINITO
   ============================================================ */

.infinite-scroll-sentinel {
  width: 100%;
  height: 10px;

  margin-top: 10px;
}

.infinite-loading {
  display: flex;
  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 25px;

  color: #6b7280;

  font-size: 12px;
  font-weight: 700;
}

.loading-spinner {
  width: 20px;
  height: 20px;

  border: 3px solid #e5e7eb;
  border-top-color: var(--yellow);

  border-radius: 50%;

  animation:
    spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.end-of-products {
  padding: 25px;

  text-align: center;

  color: #9ca3af;

  font-size: 12px;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  padding: 70px 20px;

  text-align: center;

  background: var(--surface);

  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.empty-icon {
  margin-bottom: 12px;

  font-size: 40px;
}

.empty-state h3 {
  margin-bottom: 5px;

  font-size: 20px;
}

.empty-state p {
  margin-bottom: 18px;

  color: #6b7280;

  font-size: 13px;
}

.empty-clear-button {
  padding: 10px 18px;

  border: 0;
  border-radius: 8px;

  background: var(--yellow);
  color: #111827;

  font-weight: 800;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  margin-top: 50px;

  background:
    linear-gradient(
      135deg,
      #172033,
      #111827
    );

  color: #ffffff;
}

.footer-container {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;

  padding: 45px 0;

  display: grid;

  grid-template-columns:
    1.3fr 1fr 1fr;

  gap: 45px;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-brand p,
.footer-info p {
  max-width: 430px;

  color: #9ca3af;

  font-size: 12px;
  line-height: 1.7;
}

.footer-info h3 {
  margin-bottom: 10px;

  font-size: 14px;
}

.footer-bottom {
  width: min(100% - 32px, var(--container));

  margin: 0 auto;

  padding: 18px 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #6b7280;

  font-size: 10px;
}

/* ============================================================
   TEMA ESCURO
   ============================================================ */

body.dark {
  --background: #0b1120;
  --surface: #111827;

  --text: #f9fafb;
  --text-light: #9ca3af;

  --border: #273244;
}

body.dark .category-nav {
  background: #111827;
  border-color: #273244;
}

body.dark .category-button {
  background: #172033;
  border-color: #273244;
  color: #d1d5db;
}

body.dark .category-button.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #111827;
}

body.dark .filters-section,
body.dark .empty-state {
  background: #111827;
  border-color: #273244;
}

body.dark .field input,
body.dark .field select,
body.dark .input-prefix {
  background: #172033;
  border-color: #273244;
  color: #ffffff;
}

body.dark .input-prefix span {
  background: #111827;
  color: #9ca3af;
}

body.dark .clear-filter {
  background: #172033;
  border-color: #273244;
  color: #d1d5db;
}

body.dark .card {
  background: #111827;
  border-color: #273244;
}

body.dark .card-image-wrap {
  background: #172033;
}

body.dark .product-title-link h3 {
  color: #f9fafb;
}

body.dark .currency {
  color: #ffffff;
}

body.dark .skeleton-card {
  background:
    linear-gradient(
      90deg,
      #172033 25%,
      #273244 50%,
      #172033 75%
    );

  background-size: 200% 100%;
}

body.dark .filter-chip {
  background: #3a3200;
  color: #ffe873;
}

/* ============================================================
   RESPONSIVIDADE - TABLET
   ============================================================ */

@media (max-width: 1100px) {
  .grid,
  .loading-skeleton {
    grid-template-columns:
      repeat(3, minmax(0, 1fr));
  }

  .filters {
    grid-template-columns:
      repeat(3, 1fr);
  }

  .filter-action {
    justify-content: stretch;
  }

  .promo-bubbles {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .hero {
    grid-template-columns:
      1fr 0.7fr;
  }
}

/* ============================================================
   RESPONSIVIDADE - TABLET PEQUENO
   ============================================================ */

@media (max-width: 800px) {
  .header-container {
    flex-wrap: wrap;
    padding: 12px 0;
  }

  .brand {
    order: 1;
  }

  .actions {
    order: 2;
    margin-left: auto;
  }

  .search-wrap {
    order: 3;

    flex-basis: 100%;
    max-width: none;
  }

  .hero {
    grid-template-columns: 1fr;

    padding: 30px;

    min-height: auto;
  }

  .hero-visual {
    min-height: 220px;
  }

  .filters {
    grid-template-columns:
      repeat(2, 1fr);
  }

  .grid,
  .loading-skeleton {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .footer-container {
    grid-template-columns:
      1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ============================================================
   RESPONSIVIDADE - CELULAR
   ============================================================ */

@media (max-width: 560px) {
  .promo-container {
    min-height: 34px;

    font-size: 10px;
  }

  .promo-highlight {
    display: none;
  }

  .header-container {
    width: min(
      100% - 20px,
      var(--container)
    );
  }

  .brand-icon {
    width: 37px;
    height: 37px;

    font-size: 19px;
  }

  .brand-text {
    font-size: 21px;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .category-container {
    width: min(
      100% - 20px,
      var(--container)
    );
  }

  .main-content {
    width: min(
      100% - 20px,
      var(--container)
    );

    padding-top: 15px;
  }

  .promo-bubbles {
    grid-template-columns: 1fr;
  }

  .promo-bubble,
  .promo-card {
    min-height: 125px;
  }

  .hero {
    padding: 25px 20px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 13px;
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-stats strong {
    font-size: 18px;
  }

  .hero-visual {
    min-height: 190px;
  }

  .hero-product {
    width: 110px;
    height: 110px;

    font-size: 52px;
  }

  .orbit-one {
    width: 180px;
    height: 180px;
  }

  .orbit-two {
    width: 230px;
    height: 230px;
  }

  .floating-card {
    padding: 7px 9px;
    font-size: 10px;
  }

  .section-top,
  .products-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .filters-section {
    padding: 18px;
  }

  .filters {
    grid-template-columns: 1fr;
  }

  .grid,
  .loading-skeleton {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 10px;
  }

  .info {
    padding: 10px;
  }

  .product-title-link h3 {
    min-height: 39px;
    font-size: 12px;
  }

  .product-rating {
    font-size: 9px;
    letter-spacing: 0;
  }

  .sold-count {
    font-size: 8px;
  }

  .current-price-row strong {
    font-size: 18px;
  }

  .currency {
    font-size: 9px;
  }

  .payment-info {
    font-size: 8px;
  }

  .cta a {
    min-height: 36px;
    font-size: 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   ACESSIBILIDADE
   ============================================================ */

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(255, 212, 0, 0.5);
  outline-offset: 2px;
}

/* ============================================================
   SELEÇÃO DE TEXTO
   ============================================================ */

::selection {
  background: var(--yellow);
  color: #111827;
}

/* ============================================================
   CORREÇÃO DO ATRIBUTO HIDDEN
   ============================================================ */

[hidden] {
  display: none !important;
}

/* ============================================================
   LOGO SANTOPRECINHO
   ============================================================ */

.brand-logo {
  width: 42px;
  height: 42px;

  object-fit: contain;
  display: block;

  flex-shrink: 0;
}

/* ============================================================
   LOGO NO FOOTER
   ============================================================ */

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

/* ============================================================
   LOGO - CELULAR
   ============================================================ */

@media (max-width: 560px) {

  .brand-logo {
    width: 37px;
    height: 37px;
  }

}