/* Paleta trocada pra identidade da Only For Men — preto/dourado no lugar
   do navy/beige da Hivora. O resto do arquivo usa só estas variáveis,
   então a troca cascateia sem precisar reescrever regra por regra. */
:root {
  --navy: #C9A96B;
  --navy-deep: #9C7C3F;
  --black: #0B0B0B;
  --white: #FFFFFF;
  --offwhite: #F5F5F5;
  --beige: #E4CD9A;
  --gray: #D9D9D9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--offwhite);
  background: var(--black);
}

/* Títulos com a mesma serifada do site principal (Playfair Display),
   corpo do texto segue Montserrat — mesma dupla de fontes nas duas frentes. */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.btn {
  display: inline-block;
  padding: 15px 28px;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: .3s;
}
.btn-sm { padding: 10px 20px; font-size: 10.5px; }
.btn-full { width: 100%; text-align: center; }

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 56px 0 28px;
}

/* Brilho passando pelos títulos de seção — dourado sobre off-white, pra
   funcionar em cima do fundo escuro da loja */
.section-title,
.page-view h1 {
  background: linear-gradient(100deg, var(--offwhite) 40%, var(--navy) 50%, var(--offwhite) 60%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@media (prefers-reduced-motion: no-preference) {
  .section-title,
  .page-view h1 {
    animation: title-shine 5s ease-in-out infinite;
  }
}
@keyframes title-shine {
  0%, 20% { background-position: 130% 0; }
  70%, 100% { background-position: -30% 0; }
}

/* Botões — degradê diagonal + friso de luz, mesma receita do site
   principal (inset top-highlight / inset bottom-shadow / glow externo)
   em vez do brilho giratório da Hivora. */
.btn,
.add-to-cart {
  cursor: pointer;
  color: var(--white);
}
.btn:active,
.add-to-cart:active { translate: 0 1px; }
.btn:disabled,
.add-to-cart:disabled {
  filter: none;
  opacity: .55;
  cursor: not-allowed;
}

.btn-navy,
.add-to-cart {
  background: linear-gradient(155deg, #E4CD9A 0%, var(--navy) 46%, #B8925A 100%);
  color: var(--black);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    inset 0 -1px 0 rgba(11,11,11,.16),
    0 10px 26px -6px rgba(201,169,107,.45);
}
.btn-navy:hover,
.add-to-cart:hover {
  background: linear-gradient(155deg, #F0DFB4 0%, #D9BC82 46%, #C4A06A 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    inset 0 -1px 0 rgba(11,11,11,.14),
    0 14px 34px -6px rgba(201,169,107,.6);
}

.btn-white {
  background: rgba(11,11,11,.35);
  border-color: rgba(201,169,107,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 4px 16px -6px rgba(0,0,0,.35);
}
.btn-white:hover {
  background: linear-gradient(155deg, #E4CD9A 0%, var(--navy) 100%);
  color: var(--black);
  border-color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 8px 22px -6px rgba(201,169,107,.5);
}

/* Header — fica escuro sempre, sem a animação de abertura que virava branca */
.header {
  background: var(--black);
  color: var(--white);
  border-bottom: 1px solid rgba(245,245,245,.1);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.header.header--glass {
  background: rgba(11, 11, 11, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(201,169,107,.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--navy);
}
.logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}
.logo-footer-chip {
  display: inline-flex;
  background: var(--white);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 12px;
}
.logo-footer-chip .logo-img { height: 36px; }
.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.nav a:hover { color: var(--navy); }
.header-icons { display: flex; align-items: center; gap: 18px; }
.icon-btn { position: relative; color: inherit; display: flex; }
/* o ícone tem 20px, pequeno demais pro dedo: o ::after amplia a área de
   toque pra ~42px sem mexer no tamanho do desenho nem na bolinha do carrinho */
.icon-btn::after { content: ""; position: absolute; inset: -11px; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  position: relative;
  min-height: 640px;
  /* sem foto de capa ainda: degradê preto/dourado no lugar da imagem.
     Quando a capa chegar, volta o <img class="hero-bg hero-bg-light/dark">
     dentro de #hero (proporção recomendada: ~2400x900px, foco centralizado,
     o CSS corta com object-fit:cover). */
  background:
    radial-gradient(ellipse 70% 60% at 50% 30%, rgba(201,169,107,.16), transparent 70%),
    linear-gradient(165deg, #17140c 0%, var(--black) 55%, #0b0b0b 100%);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero::after{
  content:"";position:absolute;inset:0;z-index:2;pointer-events:none;
  background:linear-gradient(90deg,rgba(11,11,11,.82) 0%,rgba(11,11,11,.5) 38%,rgba(11,11,11,.08) 62%,transparent 100%);
}
.hero-produto{
  position:absolute;z-index:3;right:clamp(20px,5vw,64px);bottom:clamp(20px,5vw,56px);
  display:flex;align-items:center;gap:12px;padding:10px;border-radius:14px;
  background:rgba(11,11,11,.55);backdrop-filter:blur(10px);
  border:1px solid rgba(201,169,107,.3);
  box-shadow:0 14px 34px rgba(0,0,0,.4);
  text-decoration:none;color:var(--white);
}
.hero-produto img{width:46px;height:46px;border-radius:8px;object-fit:cover;background:#8a6d1f}
.hero-produto span{display:block;font-size:11px;color:rgba(245,245,245,.6);letter-spacing:.04em}
.hero-produto b{display:block;font-family:'Playfair Display',serif;font-size:15px;font-weight:500;color:var(--navy)}
.hero-produto svg{width:16px;height:16px;margin-left:6px;flex:none}
/* "Only For Men" está gravado na foto de capa (faixa de 50% a 61% da altura do
   quadro, de 33% a 66% da largura). Em tela larga o texto fica no alto do
   hero, acima dessa faixa, e nunca por cima do nome; no celular quem protege
   é o véu forte da regra abaixo. */
@media (min-width: 721px){
  .hero{align-items:flex-start}
  .hero-content{padding-top:clamp(32px,7vh,84px)}   /* só até o js/posicionarHero medir */
  .hero--lado .hero-titulo{max-width:11ch}
}
@media (max-width: 720px){
  .hero-produto{display:none}
  /* no celular o bloco de texto cobre boa parte da altura da foto — sem um
     véu forte, a assinatura "Only For Men" gravada no vídeo brigava com o
     texto em HTML por cima */
  .hero::after{background:rgba(11,11,11,.8)}
  .hero{align-items:flex-end}
  .hero-content{padding-bottom:40px}
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* a cabeça dele está no alto da foto: ancorar perto do topo evita cortá-la em telas largas */
  object-position: center 12%;
}
.hero-bg-light { z-index: 1; }
.hero-bg-dark {
  z-index: 2;
  animation: heroDarkToLight 1.6s ease-in-out 0.4s 1 forwards;
}
@keyframes heroDarkToLight {
  0% { opacity: 1; }
  25% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg-dark { animation: none; opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  text-align: left;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: 24px;
  max-width: 620px;
}
.hero-eyebrow{
  font-size: 11px;font-weight: 700;letter-spacing: .2em;text-transform: uppercase;
  color: var(--navy);
}
/* só aparecem se o painel preencher; vazios, o hero fica idêntico ao de antes */
.hero-titulo {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: var(--white);
  text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
  max-width: 14ch;
}
.hero-subtitulo {
  font-size: clamp(14px, 1.6vw, 18px);
  font-weight: 500;
  line-height: 1.5;
  color: rgba(255, 255, 255, .82);
  text-shadow: 0 1px 14px rgba(0, 0, 0, .5);
  max-width: 40ch;
}

/* Features */
.features {
  background: #141414;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 28px 24px;
  gap: 20px;
}
.feature {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.feature div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.feature strong { font-size: 12px; letter-spacing: 0.5px; color: var(--white); }
.feature span { font-size: 11px; color: rgba(245,245,245,.5); }

/* Categorias */
.categorias { padding: 0 24px 64px; max-width: 1280px; margin: 0 auto; }
.categorias-intro { color: rgba(245,245,245,.55); font-size: 14px; margin: -6px 0 24px; }
.cat-grid {
  display: grid;
  /* auto-fit em vez de 4 fixas: com as 4 originais o resultado é idêntico
     (a 5ª trilha vazia colapsa), mas uma categoria nova criada no painel
     entra na mesma linha em vez de ficar sozinha embaixo */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
/* formato mais alto que o banner 21:9 original: naquele, ternos e trajes
   de corpo inteiro ficavam cortados na cabeça ou nos pés — 3:4 mostra a
   peça inteira e ainda fica bem mais enxuto que o cartão cheio da grade padrão */
.cat-grid-compact .cat-card { aspect-ratio: 3/4; }
.categorias-produtos { margin-top: 16px; }
/* três categorias em grade de 2 colunas: a última ocupa a linha toda
   em vez de ficar sozinha ao lado de um vazio */
@media (max-width: 1024px) {
  .cat-grid-compact .cat-card:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 4/3; }
}
.cat-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 4px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--black) 100%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 16px;
  gap: 10px;
  overflow: hidden;
}
.cat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, transparent 55%);
  z-index: 1;
}
.cat-card span, .cat-card a { position: relative; z-index: 2; }
.cat-card span {
  color: var(--white);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
}
.cat-2 { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--black) 100%); }
.cat-3 { background: linear-gradient(160deg, #333 0%, var(--black) 100%); }
.cat-4 { background: linear-gradient(160deg, var(--navy) 0%, #333 100%); }


/* Trending / products */
.trending { max-width: 1280px; margin: 0 auto; padding: 0 24px 40px; }
.destaques { padding-bottom: 64px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.destaques-grid { grid-template-columns: repeat(5, 1fr); }
.categorias-produtos { grid-template-columns: repeat(4, 1fr); }
.product-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}
.product-img {
  aspect-ratio: 3/4;
  border-radius: 4px;
  background: linear-gradient(160deg, var(--gray) 0%, var(--offwhite) 100%);
  overflow: hidden;
  position: relative;
  perspective: 900px;
}
.cart-icon-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 5;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, background 0.2s ease;
}
.cart-icon-btn svg { width: 14px; height: 14px; stroke-width: 2.2; }
.cart-icon-btn:hover { transform: scale(1.1); background: var(--white); }
.cart-icon-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.cart-icon-btn:disabled:hover { transform: none; }
.qa-popover {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(255, 255, 255, 0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
}
.qa-popover.open { display: flex; }
.qa-label { font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: var(--black); }
.qa-sizes { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.qa-size {
  min-width: 36px;
  padding: 7px 10px;
  border: 1px solid var(--gray);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
}
.qa-size:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.stock-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 3;
  background: var(--black);
  color: var(--white);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 8px;
  border-radius: 2px;
}
.stock-badge.stock-out { background: #999; }
.product-brand {
  font-size: 10px;
  letter-spacing: 1px;
  color: #888;
  text-transform: uppercase;
}
.price-old { text-decoration: line-through; color: #999; font-weight: 500; margin-right: 4px; }
.price-now { color: var(--navy); font-weight: 700; }
.price-off {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 6px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: rotateX(0deg) rotateY(0deg) scale(1);
  will-change: transform;
}
.product-img::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.35), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.product-img:hover::after {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce), (hover: none) {
  .product-img img { transform: none !important; }
  .product-img::after { display: none; }
}
.product-name { font-size: 13px; font-weight: 600; }
.product-price { font-size: 13px; color: var(--navy); font-weight: 700; }
.price-consulta { font-style: italic; font-weight: 600; }
.add-to-cart {
  margin-top: auto;   /* alinha o botão no rodapé do card mesmo quando o nome ocupa 2 linhas */
  padding: 9px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-radius: 360px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Filtros */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}
.filter-search {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--gray);
  border-radius: 2px;
  padding: 9px 14px;
  flex: 1;
  min-width: 200px;
}
.filter-search svg { width: 16px; height: 16px; color: #999; flex-shrink: 0; }
.filter-search input {
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  width: 100%;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 8px 16px;
  border: 1px solid var(--gray);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--black);
  background: var(--white);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.chip:hover { border-color: var(--navy); }
.chip.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip-fav.active { background: #C0392B; border-color: #C0392B; }
.filter-sort {
  border: 1px solid var(--gray);
  border-radius: 2px;
  padding: 9px 12px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--black);
  background: var(--white);
}
.filter-count { font-size: 12px; color: rgba(245,245,245,.5); margin: 8px 0 20px; }
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: rgba(245,245,245,.5);
}
.empty-state p { margin-bottom: 16px; font-size: 14px; }

/* Promos */
.promos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.promo {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  gap: 14px;
  overflow: hidden;
}
.promo h3, .promo .btn { position: relative; z-index: 2; }
.promo h3 { color: var(--white); font-size: 20px; font-weight: 800; line-height: 1.3; }
.promo-1 { background: linear-gradient(160deg, var(--black) 0%, var(--navy) 100%); }
.promo-2 { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); }
.promo-3 { background: linear-gradient(160deg, var(--navy-deep) 0%, var(--black) 100%); }

.promo-blob {
  position: absolute;
  width: 75%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  opacity: 0.8;
  filter: blur(28px);
  z-index: 0;
  background: linear-gradient(135deg, var(--beige) 0%, var(--offwhite) 45%, var(--navy-deep) 100%);
  animation: promoBlob 9s ease-in-out infinite;
}
.promo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
@keyframes promoBlob {
  0%   { top: -30%; left: -30%; }
  25%  { top: -30%; left: 55%; }
  50%  { top: 55%; left: 55%; }
  75%  { top: 55%; left: -30%; }
  100% { top: -30%; left: -30%; }
}
@media (prefers-reduced-motion: reduce) {
  .promo-blob { animation: none; }
}

/* Moletom 3D */
.showcase3d {
  /* preto puro para casar com o fundo do render e a peça parecer flutuar */
  background: #000;
  padding: 72px 24px;
}
.showcase3d-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 48px;
  align-items: center;
}
.showcase3d-stage {
  aspect-ratio: 3/4;
  width: 100%;
  max-width: 420px;
  position: relative;
  cursor: grab;
  touch-action: pan-y;
}
.showcase3d-stage.is-dragging { cursor: grabbing; }
.showcase3d-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.showcase3d-info { color: var(--white); }
.showcase3d-badge {
  display: inline-block;
  background: var(--beige);
  color: var(--black);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 6px 12px;
  border-radius: 2px;
}
.showcase3d-info h2 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  margin: 18px 0 14px;
}
.showcase3d-info p {
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
  max-width: 420px;
}
.showcase3d-hint {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--beige) !important;
  margin-top: 20px;
  transition: opacity 0.4s ease;
}
.showcase3d-hint.is-hidden { opacity: 0; }
.showcase3d-info .btn { margin-top: 20px; }
@media (max-width: 860px) {
  .showcase3d-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .showcase3d-info p { margin-left: auto; margin-right: auto; }
  .showcase3d-info h2 { font-size: 34px; }
}

/* Página de produto */
.produto-view { max-width: 1280px; margin: 0 auto; padding: 32px 24px 64px; }
.produto-back { display: inline-block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 24px; }
.produto-back:hover { text-decoration: underline; }
.produto-grid {
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: 32px;
  align-items: start;
  /* painel claro flutuando na página escura — os controles (tamanho,
     quantidade, favorito) ficam mais claros de usar num fundo neutro do
     que espalhados sobre preto */
  background: var(--white);
  color: var(--black);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.produto-thumbs { display: flex; flex-direction: column; gap: 10px; grid-column: 1; }
.produto-main { grid-column: 2; }
.produto-info { grid-column: 3; }
.thumb {
  width: 72px;
  height: 96px;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  opacity: 0.6;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--navy); }
.produto-main {
  aspect-ratio: 3/4;
  border-radius: 4px;
  overflow: hidden;
  background: linear-gradient(160deg, var(--gray) 0%, var(--offwhite) 100%);
}
.produto-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.produto-info .produto-brand { font-size: 12px; letter-spacing: 1.5px; color: var(--navy); text-transform: uppercase; font-weight: 700; margin-bottom: 6px; }
.produto-info h1 { font-size: 28px; font-weight: 800; line-height: 1.2; margin-bottom: 14px; }
.produto-price { font-size: 20px; margin-bottom: 18px; }
.produto-desc { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 28px; max-width: 440px; }
.produto-sizes-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.5px; margin-bottom: 10px; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.size-btn {
  min-width: 44px;
  padding: 10px 14px;
  border: 1px solid var(--gray);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
}
.size-btn:hover { border-color: var(--navy); }
.size-btn.active { background: var(--navy); border-color: var(--navy); color: var(--white); }
/* tamanho sem estoque: riscado, apagado e sem hover */
.size-btn.is-out,
.qa-size.is-out {
  color: #aaa;
  border-color: #ececec;
  background: #fafafa;
  text-decoration: line-through;
  cursor: not-allowed;
}
.size-btn.is-out:hover { border-color: #ececec; }
.qa-size.is-out:hover { border-color: #ececec; background: #fafafa; color: #aaa; }
.produto-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.produto-qty button {
  width: 32px; height: 32px;
  border: 1px solid var(--gray);
  border-radius: 50%;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.produto-qty span { font-size: 14px; font-weight: 700; min-width: 16px; text-align: center; }
.produto-actions { display: flex; gap: 12px; margin-bottom: 16px; }
.produto-actions .btn:disabled { opacity: 0.5; cursor: not-allowed; }
.fav-btn-lg {
  width: 48px; height: 48px;
  flex-shrink: 0;
  border: 1px solid var(--gray);
  border-radius: 2px;
  font-size: 18px;
  color: #999;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.fav-btn-lg.is-fav { color: #C0392B; border-color: #C0392B; }
.produto-stock { font-size: 12px; font-weight: 600; margin-bottom: 32px; }
.produto-stock.stock-in { color: #2E7D32; }
.produto-stock.stock-low { color: #B8860B; }
.produto-stock.stock-out { color: #999; }
.produto-trust { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; border-top: 1px solid var(--gray); }
.produto-trust-item { display: flex; align-items: center; gap: 12px; font-size: 12px; color: #555; }
.produto-trust-item svg { color: var(--navy); flex-shrink: 0; width: 20px; height: 20px; }
@media (max-width: 900px) {
  .produto-grid { grid-template-columns: 1fr; }
  .produto-thumbs, .produto-main, .produto-info { grid-column: 1; }
  .produto-thumbs { flex-direction: row; order: 2; overflow-x: auto; }
  .produto-main { order: 1; }
  .produto-info { order: 3; }
  .thumb { width: 64px; height: 84px; flex-shrink: 0; }
}

/* Páginas institucionais (Sobre Nós, Contato) */
.page-view { max-width: 720px; margin: 0 auto; padding: 72px 24px 88px; }
.page-view h1 { font-size: 34px; font-weight: 800; margin-bottom: 26px; }
.page-view p { font-size: 15px; line-height: 1.8; color: rgba(245,245,245,.68); margin-bottom: 18px; }
.page-view p strong { color: var(--white); }
.page-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Entrega & Pagamento */
.info-section { padding: 56px 24px; max-width: 1280px; margin: 0 auto; }
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 24px;
}
.info-col h3 {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--gray);
}
.info-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--navy);
  fill: none;
  stroke-width: 1.8;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-item strong { display: block; font-size: 14px; font-weight: 700; }
.info-item span { display: block; font-size: 12px; color: rgba(245,245,245,.5); margin-top: 2px; }
@media (max-width: 720px) {
  .info-grid { grid-template-columns: 1fr; gap: 8px; }
}

/* Instagram */
.instagram { padding: 40px 24px; max-width: 1280px; margin: 0 auto; }
.instagram-title {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}
.instagram-title span { font-weight: 800; letter-spacing: 1px; font-size: 15px; }
.instagram-title a { color: var(--navy); font-weight: 600; font-size: 13px; }
.instagram-strip { display: grid; grid-template-columns: repeat(6, 1fr) 50px; gap: 8px; align-items: center; }
.ig-item {
  aspect-ratio: 1/1;
  background: linear-gradient(160deg, var(--gray) 0%, var(--beige) 100%);
  border-radius: 4px;
  overflow: hidden;
}
.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Footer */
.footer { background: var(--black); color: var(--offwhite); padding: 48px 24px 20px; }
.footer-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 28px;
}
.footer-col p { font-size: 13px; color: #ABAAB0; line-height: 1.6; margin: 10px 0 14px; }
.logo-footer { color: var(--white); margin-bottom: 8px; }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 30px; height: 30px;
  border: 1px solid #444;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
}
.footer-col h4 { font-size: 12px; letter-spacing: 1px; margin-bottom: 14px; color: var(--white); }
.footer-col a { display: block; font-size: 13px; color: #ABAAB0; margin-bottom: 10px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: #777;
  border-top: 1px solid #333;
  margin-top: 36px;
  padding-top: 18px;
}

/* Cart drawer */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 90;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 380px;
  max-width: 92vw;
  height: 100vh;
  background: var(--white);
  /* gaveta clara flutuando num site de fundo escuro: sem isso o texto
     herdava o off-white do body e ficava ilegível em cima do branco */
  color: var(--black);
  box-shadow: -4px 0 24px rgba(0,0,0,.15);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border-bottom: 1px solid var(--gray);
}
.cart-header h3 { font-size: 15px; letter-spacing: 1px; }
.cart-header button { font-size: 22px; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 20px; display: flex; flex-direction: column; gap: 16px; }
.cart-item { display: flex; gap: 12px; align-items: center; }
.cart-item-img {
  width: 56px; height: 56px; border-radius: 4px;
  background: linear-gradient(160deg, var(--gray), var(--offwhite));
  flex-shrink: 0;
  overflow: hidden;
}
.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cart-item-info { flex: 1; }
.cart-item-info .name { font-size: 13px; font-weight: 600; }
.cart-item-info .price { font-size: 12px; color: var(--navy); font-weight: 700; }
.qty-controls { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.qty-controls button {
  width: 20px; height: 20px; border: 1px solid var(--gray); border-radius: 50%; font-size: 12px;
  display: flex; align-items: center; justify-content: center;
}
.qty-controls span { font-size: 12px; min-width: 14px; text-align: center; }
.remove-item { font-size: 11px; color: #999; text-decoration: underline; margin-left: auto; }
.cart-empty { text-align: center; color: #999; font-size: 13px; margin-top: 40px; }
.cart-footer { padding: 20px; border-top: 1px solid var(--gray); }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 14px; }
.cart-note { font-size: 11px; color: #888; margin-top: 10px; text-align: center; line-height: 1.5; }
.cart-locacao-note { font-size: 11.5px; color: var(--navy); margin: -6px 0 14px; line-height: 1.5; }

/* Menu do celular — mesmo molde da gaveta do carrinho */
.menu-btn { display: none; }
.menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0, 0, 0, .4);
  opacity: 0; pointer-events: none;
  transition: opacity .25s;
  z-index: 90;
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 300px;
  max-width: 86vw;
  height: 100vh;
  background: var(--white);
  color: var(--black);
  box-shadow: -4px 0 24px rgba(0, 0, 0, .15);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 100;
  display: flex;
  flex-direction: column;
}
.menu-drawer.open { transform: translateX(0); }
.menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px; border-bottom: 1px solid var(--gray);
}
.menu-header span { font-size: 15px; font-weight: 800; letter-spacing: 1px; }
.menu-header button { font-size: 22px; line-height: 1; padding: 4px 8px; }
.menu-links { display: flex; flex-direction: column; }
.menu-links a {
  display: flex; align-items: center;
  min-height: 56px;              /* alvo de toque folgado */
  padding: 0 20px;
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  border-bottom: 1px solid var(--gray);
  transition: background .2s ease, color .2s ease;
}
.menu-links a:active { background: var(--offwhite); }
.menu-links a.is-current { color: var(--navy); background: var(--offwhite); }

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-text {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
  color: var(--white);
}
@media (min-width: 640px) {
  .preloader-text { font-size: 24px; }
}
.pl-line { display: block; }
.pl-word { display: inline-block; white-space: nowrap; }
.pl-char { display: inline-block; margin-right: 0.12em; }
@media (min-width: 640px) {
  .pl-char { margin-right: 0.16em; }
}
@media (prefers-reduced-motion: no-preference) {
  .pl-char {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(10px);
  }
}
@keyframes char-reveal {
  from { opacity: 0; filter: blur(12px); transform: translateY(10px); }
  to   { opacity: 1; filter: blur(0);    transform: translateY(0); }
}
@keyframes char-hide {
  from { opacity: 1; filter: blur(0);    transform: translateY(0); }
  to   { opacity: 0; filter: blur(12px); transform: translateY(10px); }
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html.no-scroll { overflow: hidden; }

/* ---- Transição entre páginas: o pássaro cruza a tela ---- */

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.flyby {
  position: fixed; inset: 0;
  z-index: 120;            /* acima do header (50) e da gaveta (100), abaixo do preloader */
  pointer-events: none;
  overflow: hidden;        /* ave fora da tela não pode criar rolagem horizontal */
}
.flyby-bird {
  position: absolute;
  top: 26%; left: 0;
  width: clamp(155px, 21vw, 300px);
  filter: url(#motion-blur-x);   /* desfoque só na horizontal = rastro, não borrão */
  will-change: transform;
}
.flyby-streak {
  position: absolute;
  top: calc(26% + 7vh); left: 0;
  width: 44vw; height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(7, 26, 53, .10) 55%, rgba(7, 26, 53, .20) 92%, transparent);
  filter: blur(6px);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .flyby-bird { animation: bird-fly 620ms cubic-bezier(.3, .02, .25, 1) both; }
  .flyby-streak { animation: streak-fly 620ms cubic-bezier(.3, .02, .25, 1) both; }
}
@keyframes bird-fly {
  from { transform: translate3d(-52vw, 9vh, 0) rotate(-4deg) scale(.85); }
  to   { transform: translate3d(132vw, -8vh, 0) rotate(3deg) scale(1.06); }
}
/* deslocado 16vw pra trás do pássaro: rastro fica atrás dele, não na frente */
@keyframes streak-fly {
  from { transform: translate3d(-86vw, 8vh, 0) scaleX(.55); opacity: 0; }
  22%  { opacity: 1; }
  to   { transform: translate3d(110vw, -7vh, 0) scaleX(1.15); opacity: 0; }
}

/* A página sai desfocando pra esquerda e a próxima entra pela direita
   andando no mesmo sentido, pra parecer uma fita contínua. */
.view-leaving {
  animation: page-out 260ms cubic-bezier(.4, 0, 1, 1) both;
  will-change: transform, filter, opacity;
}
.view-entering {
  animation: page-in 420ms cubic-bezier(0, .55, .25, 1) both;
  will-change: transform, filter, opacity;
}
@keyframes page-out {
  from { transform: none; filter: blur(0); opacity: 1; }
  to   { transform: translate3d(calc(var(--page-shift, 64px) * -1), 0, 0); filter: blur(var(--page-blur, 9px)); opacity: 0; }
}
@keyframes page-in {
  from { transform: translate3d(var(--page-shift, 64px), 0, 0); filter: blur(var(--page-blur, 9px)); opacity: 0; }
  to   { transform: none; filter: blur(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .flyby { display: none; }
  .view-leaving, .view-entering { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .categorias-produtos { grid-template-columns: repeat(2, 1fr); }
  .promos { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .instagram-strip { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  /* em tela pequena o desfoque forte pesa e exagera */
  .view-leaving, .view-entering { --page-shift: 40px; --page-blur: 6px; }
  .flyby-bird { top: 32%; }
  .flyby-streak { top: calc(32% + 6vh); }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .header-icons { gap: 26px; }         /* as áreas de toque ampliadas não se encostam */
  .cart-icon-btn { width: 40px; height: 40px; }
  .cart-icon-btn svg { width: 16px; height: 16px; }
  /* + e − do carrinho com tamanho de dedo */
  .qty-controls { gap: 12px; }
  .qty-controls button { width: 32px; height: 32px; font-size: 15px; }
  .remove-item { font-size: 12px; padding: 6px 0; }
  /* abaixo de 16px o Safari do iPhone dá zoom sozinho ao tocar no campo
     e não desfaz depois, deixando o site torto */
  .filter-search input, .filter-sort { font-size: 16px; }
  .features { grid-template-columns: 1fr 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Identidade Only For Men — herda a mecânica da Hivora (grade,
   carrinho, filtros, animações), troca só a voz visual: serifada
   nos títulos grandes, como no site principal.
   ============================================================ */
.page-view h1, .hero-titulo, .produto-info h1, .logo-texto {
  font-family: 'Playfair Display', Georgia, serif !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}
.logo-texto sup { font-size: .55em; }
/* o chip do rodapé tem fundo branco (pensado pra emoldurar uma logo em
   imagem) — sem cor própria o texto herdava o off-white do rodapé e
   sumia em cima do branco */
.logo-footer-chip { color: var(--black); }

.destaques-intro {
  max-width: 560px;
  margin: -18px auto 32px;
  text-align: center;
  font-size: 14px;
  color: rgba(245,245,245,.55);
  line-height: 1.6;
}

/* página inicial só com o hero: seções abaixo escondidas (pedido do dono, 19-10-2026). Para voltar, tirar a classe home-oculto do index.html */
.home-oculto{display:none!important}

/* página inicial: hero + faixa de diferenciais ocupam a primeira tela inteira; o rodapé fica logo abaixo (rolando) */
body.is-home #home-view{min-height:calc(100vh - var(--topo, 98px));min-height:calc(100svh - var(--topo, 98px));display:flex;flex-direction:column}
body.is-home #home-view .hero{flex:1;min-height:480px}
.footer-bottom a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.footer-bottom a:hover{color:var(--white)}
.footer-bottom .sep{margin:0 8px;opacity:.5}
