
/* =========================================
   ROTA MILITAR — DESIGN SYSTEM
========================================= */

:root {
  --green-950: #172019;
  --green-900: #202820;
  --green-800: #2c3b30;
  --green-700: #3c5140;
  --green-600: #526b54;

  --gold: #d3ad67;
  --gold-light: #e7d1a4;

  --cream: #f5f3ec;
  --cream-dark: #eae7dc;
  --white: #ffffff;

  --text: #20251f;
  --muted: #73786f;
  --border: #e6e5de;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-card: 0 5px 22px rgba(25, 35, 26, .06);
  --shadow-hover: 0 18px 45px rgba(25, 35, 26, .13);

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
select {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding-block: 88px;
}


/* =========================================
   BOTÕES
========================================= */

.button {
  min-height: 48px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 15px;

  font-size: 14px;
  font-weight: 700;
  text-align: center;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease,
    transform .2s ease,
    box-shadow .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button-primary {
  background: var(--gold);
  color: var(--green-950);
}

.button-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 8px 20px rgba(211, 173, 103, .2);
}

.button-outline {
  background: transparent;
  border-color: var(--green-700);
  color: var(--green-800);
}

.button-outline:hover {
  background: var(--green-800);
  color: white;
}


/* =========================================
   CABEÇALHO
========================================= */

.site-header {
  position: relative;
  z-index: 20;
  background: var(--green-950);
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  background: var(--green-800);
  border: 1px solid rgba(211, 173, 103, .35);
  border-radius: 10px;
}

.brand-mark svg {
  width: 29px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-text strong {
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: 1.5px;
  white-space: nowrap;
}

.brand-text small {
  color: #aeb9ad;
  font-size: 9px;
  letter-spacing: 1.2px;
  white-space: nowrap;
}

.header-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e4e7df;
  font-size: 13px;
  font-weight: 600;
  transition: color .2s ease;
}

.header-channel:hover {
  color: var(--gold);
}


/* =========================================
   HERO
========================================= */

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  background: var(--green-900);
  color: white;
}

.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;

  background-image:
    linear-gradient(
      90deg,
      rgba(23, 32, 25, .99) 0%,
      rgba(23, 32, 25, .94) 34%,
      rgba(23, 32, 25, .68) 61%,
      rgba(23, 32, 25, .30) 100%
    ),
    url("img/hero.webp");

  background-position: center, center right;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-inner {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-block: 70px;
}

.hero-content {
  width: min(650px, 68%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.3px;
  line-height: 1.4;
}

.eyebrow-line {
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.hero h1 {
  max-width: 660px;
  margin: 23px 0 18px;
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 800;
  letter-spacing: -2.6px;
  line-height: 1.07;
}

.hero h1 span {
  display: block;
  color: var(--gold);
}

.hero-description {
  max-width: 510px;
  margin: 0;
  color: #d0d7cd;
  font-size: 16px;
  line-height: 1.8;
}

.hero-cta {
  margin-top: 30px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 24px;
  color: #b7c0b5;
  font-size: 12px;
}

.hero-note-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-bottom-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--gold),
    rgba(211, 173, 103, 0)
  );
}


/* =========================================
   CABEÇALHO DA VITRINE
========================================= */

.catalog {
  background: var(--cream);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 32px;
}

.eyebrow-dark {
  color: var(--green-700);
}

.section-heading h2 {
  margin: 10px 0 8px;
  font-size: clamp(28px, 3.2vw, 39px);
  line-height: 1.15;
  letter-spacing: -1.2px;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.catalog-count {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid #dcded4;
  border-radius: 8px;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 700;
}


/* =========================================
   BUSCA E AUTOCOMPLETE
========================================= */

.search-area {
  position: relative;
  z-index: 10;
  max-width: 680px;
  margin-bottom: 24px;
}

.search-box {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 17px;

  background: white;
  border: 1px solid #dedfd7;
  border-radius: 12px;

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.search-box:focus-within {
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(82, 107, 84, .09);
}

.search-icon {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  fill: none;
  stroke: #737b70;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.search-box input {
  width: 100%;
  min-width: 0;
  height: 54px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 15px;
}

.search-box input::placeholder {
  color: #999e95;
}

.search-box input:focus-visible {
  outline: none;
}

.search-clear {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;

  border: 0;
  border-radius: 50%;
  background: #f0f0eb;
  color: var(--green-800);

  font-size: 22px;
  line-height: 1;
}

.search-clear:hover {
  background: #e3e5dc;
}

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;

  max-height: min(420px, 60vh);
  overflow-y: auto;

  padding: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 18px 45px rgba(22, 32, 24, .16);
}

.suggestion-heading {
  padding: 10px 12px 8px;
  color: #8a8e85;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

.suggestion-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: white;
  text-align: left;
  transition: background .15s ease;
}

.suggestion-item:hover,
.suggestion-item[aria-selected="true"] {
  background: #f2f3ed;
}

.suggestion-image {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  object-fit: contain;
  background: #f5f5f0;
  border-radius: 8px;
}

.suggestion-info {
  min-width: 0;
  flex: 1;
}

.suggestion-name {
  display: block;
  overflow: hidden;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}

.suggestion-category {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.suggestion-price {
  flex: 0 0 auto;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 800;
}

.suggestion-empty {
  padding: 18px 13px;
  color: var(--muted);
  font-size: 13px;
}


/* =========================================
   CATEGORIAS
========================================= */

.category-list {
  display: flex;
  align-items: center;
  gap: 9px;

  margin: 0 0 27px;
  padding: 2px 1px 8px;

  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: #c7cabe transparent;
}

.category-chip {
  min-height: 39px;
  flex: 0 0 auto;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 9px 16px;
  border: 1px solid #dedfd6;
  border-radius: 999px;

  background: transparent;
  color: #596156;

  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;

  transition:
    background .2s ease,
    color .2s ease,
    border-color .2s ease;
}

.category-chip:hover {
  border-color: var(--green-600);
  color: var(--green-800);
}

.category-chip.active {
  background: var(--green-800);
  border-color: var(--green-800);
  color: white;
}

.category-chip-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding-inline: 4px;
  border-radius: 999px;
  background: rgba(120, 130, 115, .12);
  font-size: 10px;
}

.category-chip.active .category-chip-count {
  background: rgba(255, 255, 255, .15);
}


/* =========================================
   BARRA DE ORDENAÇÃO
========================================= */

.catalog-toolbar {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.catalog-toolbar p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.sort-control {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #777d73;
  font-size: 12px;
}

.sort-control select {
  max-width: 210px;
  min-height: 39px;
  padding: 8px 30px 8px 12px;
  border: 1px solid #dedfd6;
  border-radius: 8px;
  background: white;
  color: var(--green-800);
  font-size: 12px;
  font-weight: 700;
}


/* =========================================
   CARDS DE PRODUTO
========================================= */

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;

  background: white;
  border: 1px solid #e9e8e1;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);

  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #d5d8cc;
  box-shadow: var(--shadow-hover);
}

.product-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #f0f0eb;
  text-align: left;
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f1f1ec;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;

  transition: transform .35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.045);
}

.product-featured {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;

  padding: 6px 9px;
  border-radius: 5px;

  background: var(--green-800);
  color: white;

  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.product-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 17px;
}

.product-category {
  margin-bottom: 8px;
  color: #77816f;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

.product-name {
  display: -webkit-box;
  min-height: 44px;
  margin: 0 0 9px;
  overflow: hidden;

  color: #252b24;
  font-size: 15px;
  font-weight: 750;
  line-height: 1.45;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-description {
  display: -webkit-box;
  min-height: 38px;
  margin: 0 0 17px;
  overflow: hidden;

  color: #858980;
  font-size: 12px;
  line-height: 1.6;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-price-area {
  margin-top: auto;
  margin-bottom: 14px;
}

.product-previous-price {
  display: block;
  margin-bottom: 2px;
  color: #999e95;
  font-size: 11px;
  text-decoration: line-through;
}

.product-price {
  display: block;
  color: var(--green-800);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 850;
  letter-spacing: -.7px;
  line-height: 1.2;
}

.product-buy {
  width: 100%;
  min-height: 44px;
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 12px;
}

.product-store {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.product-store-label {
  color: #999e95;
  font-size: 10px;
}

.store-logo {
  width: auto;
  max-width: 105px;
  height: 24px;
  object-fit: contain;
  object-position: right center;
}

.store-fallback {
  color: var(--green-800);
  font-size: 11px;
  font-weight: 800;
}


/* =========================================
   ESTADOS VAZIOS E ERROS
========================================= */

.empty-state,
.error-state {
  padding: 65px 20px;
  text-align: center;
}

.empty-icon {
  margin-bottom: 12px;
  color: #8a9685;
  font-size: 52px;
  line-height: 1;
}

.empty-state h3,
.error-state h3 {
  margin: 0 0 9px;
  font-size: 22px;
  letter-spacing: -.5px;
}

.empty-state p,
.error-state p {
  max-width: 420px;
  margin: 0 auto 23px;
  color: var(--muted);
  font-size: 14px;
}

.error-state {
  color: #7a342c;
}


/* =========================================
   FAIXA INSTITUCIONAL
========================================= */

.trust-section {
  padding-block: 48px;
  background: #e9e8df;
  border-top: 1px solid #e0dfd6;
}

.trust-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 880px;
}

.trust-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;

  border-radius: 15px;
  background: var(--green-800);
}

.trust-icon svg {
  width: 34px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-inner h2 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -.4px;
}

.trust-inner p {
  max-width: 690px;
  margin: 0;
  color: #70766c;
  font-size: 13px;
  line-height: 1.7;
}


/* =========================================
   MODAL DO PRODUTO
========================================= */

.modal-backdrop {
  position: fixed;
  z-index: 1000;
  inset: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 24px;

  background: rgba(12, 18, 13, .60);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);

  animation: backdrop-in .18s ease both;
}

.product-modal {
  position: relative;
  width: min(880px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  overflow-y: auto;

  background: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 22px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .30);

  animation: modal-in .22s ease both;
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;

  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;

  border: 1px solid #e6e6df;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: var(--green-900);

  font-size: 27px;
  line-height: 1;

  transition:
    background .2s ease,
    transform .2s ease;
}

.modal-close:hover {
  transform: rotate(90deg);
  background: #f0f1ea;
}

.modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 470px;
}

.modal-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  overflow: hidden;
  background: #f0f0eb;
}

.modal-image-wrap img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: contain;
  padding: 34px;
}

.modal-category {
  position: absolute;
  left: 20px;
  bottom: 20px;

  padding: 8px 12px;
  border-radius: 7px;
  background: var(--green-800);
  color: white;

  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.modal-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 52px 38px 32px;
}

.modal-kicker {
  color: #7b876f;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.modal-content h2 {
  margin: 13px 0 13px;
  color: var(--green-950);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 850;
  letter-spacing: -1px;
  line-height: 1.15;
}

.modal-description {
  margin: 0;
  color: #74796f;
  font-size: 14px;
  line-height: 1.8;
}

.modal-price-wrap {
  width: 100%;
  margin-top: 25px;
  padding-block: 19px;
  border-top: 1px solid #e9e9e2;
  border-bottom: 1px solid #e9e9e2;
}

.modal-price-label {
  display: block;
  margin-bottom: 7px;
  color: #83887f;
  font-size: 11px;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}

.modal-price-row strong {
  color: var(--green-800);
  font-size: 34px;
  font-weight: 850;
  letter-spacing: -1.4px;
  line-height: 1.15;
}

.modal-previous-price {
  color: #999e95;
  font-size: 14px;
  text-decoration: line-through;
}

.modal-price-note {
  margin: 8px 0 0;
  color: #999e95;
  font-size: 11px;
}

.modal-buy {
  width: 100%;
  min-height: 54px;
  margin-top: 22px;
  font-size: 14px;
}

.modal-store-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  color: #858a81;
  font-size: 11px;
}

.modal-store-row img {
  width: auto;
  max-width: 125px;
  height: 27px;
  object-fit: contain;
}

.modal-affiliate-note {
  margin: 20px 0 0;
  color: #999e95;
  font-size: 10px;
  line-height: 1.7;
}


/* =========================================
   RODAPÉ
========================================= */

.site-footer {
  padding-top: 50px;
  padding-bottom: 25px;
  background: var(--green-950);
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px 30px;
  padding-bottom: 35px;
}

.footer-brand {
  grid-column: 1;
}

.footer-description {
  grid-column: 1;
  margin: 0;
  color: #aab4a7;
  font-size: 12px;
}

.footer-channel {
  grid-column: 2;
  grid-row: 1 / span 2;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: #e7e9e2;
  font-size: 13px;
  font-weight: 700;
}

.footer-channel:hover {
  color: var(--gold);
}

.youtube-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .08);
}

.youtube-icon svg {
  width: 19px;
  fill: #e5e8df;
}

.youtube-icon .play {
  fill: var(--green-950);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  padding-top: 23px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

.footer-bottom p {
  margin: 0;
  color: #899588;
  font-size: 11px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.footer-links a {
  color: #c1c9bd;
  font-size: 11px;
  transition: color .2s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-disclaimer {
  margin: 20px 0 0;
  color: #778276;
  font-size: 10px;
  line-height: 1.7;
}


/* =========================================
   ANIMAÇÕES
========================================= */

@keyframes backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}


/* =========================================
   RESPONSIVIDADE
========================================= */

/* Telas médias / notebooks menores */
@media (max-width: 1050px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .hero-content {
    width: min(650px, 75%);
  }

  .modal-content {
    padding-inline: 28px;
  }
}


/* Tablets */
@media (max-width: 760px) {
  .container {
    width: min(100% - 36px, var(--container));
  }

  .section {
    padding-block: 62px;
  }

  .hero,
  .hero-inner {
    min-height: 500px;
  }

  .hero-image {
    background-image:
      linear-gradient(
        90deg,
        rgba(23, 32, 25, .97) 0%,
        rgba(23, 32, 25, .85) 58%,
        rgba(23, 32, 25, .65) 100%
      ),
      url("img/hero.webp");

    background-position: center, 60% center;
  }

  .hero-content {
    width: min(620px, 100%);
  }

  .hero h1 {
    font-size: clamp(38px, 7vw, 54px);
    letter-spacing: -1.8px;
  }

  .section-heading {
    align-items: flex-start;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .product-card-body {
    padding: 14px;
  }

  .product-name {
    font-size: 14px;
  }

  .product-price {
    font-size: 23px;
  }

  .modal-backdrop {
    padding: 18px;
  }

  .modal-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .modal-image-wrap {
    min-height: 350px;
  }

  .modal-image-wrap img {
    padding: 22px;
  }

  .modal-content {
    padding: 50px 22px 25px;
  }

  .modal-content h2 {
    font-size: 25px;
  }

  .modal-price-row strong {
    font-size: 29px;
  }
}


/* Celulares */
@media (max-width: 520px) {
  .container {
    width: calc(100% - 30px);
  }

  .section {
    padding-block: 48px;
  }

  .header-inner {
    min-height: 70px;
    gap: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .brand-mark svg {
    width: 25px;
  }

  .brand-text strong {
    font-size: 12px;
    letter-spacing: 1px;
  }

  .brand-text small {
    font-size: 7px;
    letter-spacing: .7px;
  }

  .header-channel {
    gap: 5px;
    font-size: 11px;
    white-space: nowrap;
  }

  .hero,
  .hero-inner {
    min-height: 490px;
  }

  .hero-inner {
    padding-block: 54px;
  }

  .hero-image {
    background-image:
      linear-gradient(
        90deg,
        rgba(23, 32, 25, .96),
        rgba(23, 32, 25, .82)
      ),
      url("img/hero.webp");

    background-position: center, 63% center;
  }

  .eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(35px, 10vw, 46px);
    letter-spacing: -1.8px;
    line-height: 1.08;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.75;
  }

  .hero-cta {
    width: 100%;
    margin-top: 25px;
  }

  .hero-note {
    margin-top: 20px;
    font-size: 11px;
  }

  .section-heading {
    flex-direction: column;
    gap: 17px;
    margin-bottom: 25px;
  }

  .section-heading h2 {
    font-size: 29px;
    letter-spacing: -.8px;
  }

  .section-heading p {
    font-size: 13px;
    line-height: 1.65;
  }

  .catalog-count {
    padding: 7px 10px;
    font-size: 11px;
  }

  .search-area {
    margin-bottom: 18px;
  }

  .search-box {
    min-height: 54px;
    padding-inline: 13px;
    gap: 10px;
  }

  .search-box input {
    height: 50px;
    font-size: 14px;
  }

  .category-list {
    gap: 7px;
    margin-bottom: 20px;
  }

  .category-chip {
    min-height: 37px;
    padding: 8px 13px;
    font-size: 11px;
  }

  .catalog-toolbar {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
  }

  .catalog-toolbar p {
    padding-top: 9px;
    font-size: 11px;
  }

  .sort-control {
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    font-size: 10px;
  }

  .sort-control select {
    max-width: 170px;
    min-height: 36px;
    padding: 7px 24px 7px 9px;
    font-size: 10px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-image {
    padding: 7px;
  }

  .product-featured {
    top: 7px;
    left: 7px;
    padding: 5px 6px;
    font-size: 8px;
  }

  .product-card-body {
    padding: 11px;
  }

  .product-category {
    margin-bottom: 6px;
    font-size: 8px;
    letter-spacing: .8px;
  }

  .product-name {
    min-height: 39px;
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 1.45;
  }

  .product-description {
    min-height: 32px;
    margin-bottom: 12px;
    font-size: 10px;
    line-height: 1.55;
  }

  .product-price-area {
    margin-bottom: 11px;
  }

  .product-previous-price {
    font-size: 9px;
  }

  .product-price {
    font-size: clamp(17px, 5vw, 21px);
    letter-spacing: -.5px;
  }

  .product-buy {
    min-height: 40px;
    padding: 9px 7px;
    gap: 6px;
    font-size: 10px;
  }

  .product-store {
    min-height: 27px;
    margin-top: 8px;
  }

  .product-store-label {
    font-size: 9px;
  }

  .store-logo {
    max-width: 75px;
    height: 19px;
  }

  .trust-section {
    padding-block: 35px;
  }

  .trust-inner {
    align-items: flex-start;
    gap: 15px;
  }

  .trust-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .trust-icon svg {
    width: 27px;
  }

  .trust-inner h2 {
    font-size: 16px;
    line-height: 1.4;
  }

  .trust-inner p {
    font-size: 12px;
  }

  /* Modal em formato de painel no celular */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }

  .product-modal {
    width: 100%;
    max-height: 94dvh;
    overflow-y: auto;
    border-radius: 20px 20px 0 0;
    border-bottom: 0;
  }

  .modal-layout {
    display: flex;
    flex-direction: column;
  }

  .modal-image-wrap {
    min-height: 0;
    height: clamp(190px, 36dvh, 310px);
    flex: 0 0 auto;
  }

  .modal-image-wrap img {
    width: 100%;
    height: 100%;
    padding: 20px;
  }

  .modal-category {
    left: 14px;
    bottom: 13px;
    padding: 6px 9px;
    font-size: 9px;
  }

  .modal-close {
    top: 11px;
    right: 11px;
    width: 39px;
    height: 39px;
    font-size: 25px;
  }

  .modal-content {
    padding: 25px 21px 28px;
  }

  .modal-kicker {
    font-size: 9px;
  }

  .modal-content h2 {
    margin: 9px 0 9px;
    font-size: 25px;
    letter-spacing: -.7px;
  }

  .modal-description {
    font-size: 13px;
    line-height: 1.65;
  }

  .modal-price-wrap {
    margin-top: 18px;
    padding-block: 15px;
  }

  .modal-price-row strong {
    font-size: 30px;
  }

  .modal-buy {
    min-height: 51px;
    margin-top: 17px;
  }

  .modal-store-row {
    margin-top: 14px;
  }

  .modal-affiliate-note {
    margin-top: 15px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-bottom: 25px;
  }

  .footer-brand,
  .footer-description,
  .footer-channel {
    grid-column: 1;
    grid-row: auto;
  }

  .footer-description {
    font-size: 11px;
  }

  .footer-channel {
    justify-self: start;
    font-size: 12px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }

  .footer-bottom p,
  .footer-links a {
    font-size: 10px;
  }
}


/* Celulares muito estreitos */
@media (max-width: 360px) {
  .container {
    width: calc(100% - 24px);
  }

  .brand-text small {
    display: none;
  }

  .header-channel {
    font-size: 10px;
  }

  .product-grid {
    gap: 8px;
  }

  .product-card-body {
    padding: 9px;
  }

  .product-name {
    font-size: 11px;
  }

  .product-price {
    font-size: 17px;
  }

  .product-buy {
    font-size: 9px;
  }

  .store-logo {
    max-width: 62px;
  }
}


/* Preferência por movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
