
/* ------------------------------------------------------------------------- */

/* ------------------------------------------------------------------------- *
 *  Reset - http://meyerweb.com/eric/tools/css/reset/ v2.0 | 20110126
 * ------------------------------------------------------------------------- */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s,
samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }

/* ------------------------------------------------------------------------- *
 *  IE Fixes
/* ------------------------------------------------------------------------- */
body.ie8,
.ie8.single .related-posts .post-title,
.ie8 .sidebar.s1 .alx-posts .post-item-title,
.ie8 #footer .alx-posts .post-item-title { font-weight: 400; }

.ie8 .author-bio .bio-avatar:after,
.ie8 .commentlist li.bypostauthor > .comment-body:after { display: none; }

.ie8 .nav li > a:after { content: ""!important; }
.ie8 .nav > li > a:after { content: ""!important; }
.ie8 #nav-topbar .nav > li > a:hover,
.ie8 #nav-topbar .nav > li:hover > a,
.ie8 #nav-header .nav > li > a:hover,
.ie8 #nav-header .nav > li:hover > a,
.ie8 .toggle-search:hover,
.ie8 .toggle-search.active,
.ie8 .search-expand-inner { background: url(../img/opacity-10.png); }
.ie8 .thumb-icon,
.ie8 .image-caption,
.ie8 .page-image-text .description i,
.ie8 .flex-direction-nav a { background: url(../img/ie/opacity-70.png); }
.ie8 .entry .gallery .gallery-caption { background: url(../img/ie/opacity-80-light.png); }


/* topo com logo, rede sociais e pesquisa */

/* TOPO GERAL */
.topo-site {
  background: #d97757;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  border-bottom: 3px solid #3a3633;
}

/* CONTAINER PRINCIPAL */
.topo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* LOGO */
.topo-logo a {
  display: inline-block;
  text-decoration: none;
}

.topo-logo img {
  max-height: 80px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.site-title {
  font-size: 1.8rem;
  font-weight: bold;
  color: #fff;
  display: block;
}

.site-description {
  color: #bbb;
  font-size: 0.9rem;
  display: block;
}

/* REDES SOCIAIS */
.topo-redes {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.topo-redes a {
  color: #fff;
  font-size: 22px;
  transition: color 0.3s, transform 0.3s;
}

.topo-redes a:hover {
  color: #e60000;
  transform: scale(1.2);
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .topo-site {
    padding: 15px 0;
  }
  .topo-logo img {
    max-height: 60px;
  }
  .topo-redes a {
    font-size: 20px;
  }
}

/* inicio de produtos */

.container-produtos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

h1 {
  font-size: 1.8rem;
  margin: 25px 0px;
  text-align: center;
}

/* base: mobile (2 colunas) */
.grid-produtos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

/* tablet e acima (>= 768px): 3 colunas */
@media (min-width: 768px) {
  .grid-produtos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* desktop (>= 1024px): 4 colunas */
@media (min-width: 1024px) {
  .grid-produtos {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
}

.produto-item {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.produto-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}

.produto-link-principal {
    text-decoration: none;
    color: #333;
  color: inherit;
  display: block;
}

.produto-thumb {
  aspect-ratio: 1 / 1; /* mantém proporção 1:1; mude para 4/3, 3/2 etc. se quiser outro formato */
  overflow: hidden;
  border-radius: 10px; /* cantos arredondados */
  background: #f6f6f6; /* cor de fundo caso a imagem demore a carregar */
  position: relative;
}

/* Imagem dentro da thumbnail */
.produto-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* mantém proporção e corta excesso */
  display: block;
  transition: transform 0.3s ease;
  border-radius: inherit; /* mantém os cantos arredondados do container */
}

/* Efeito hover suave */
.produto-thumb:hover img {
  transform: scale(1.05);
}

.produto-item h3 {
  font-size: 0.8rem;
  margin: 10px 0;
  text-transform: uppercase;
  text-align: center;
}

.produto-links {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.produto-links a {
  background: #f5f5df;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
  color: #1a73e8;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.produto-links a:hover {
  background: #ff6600;
  color: #fff;
}

.produto-links img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}