/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #111;
}

/* VARIÁVEIS */
:root {
  --logo-width: 300px;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HEADER */
.site-header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  width: var(--logo-width);
  height: auto;
  margin-top: 14px;
}
.site-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.site-nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.search {
  padding: 0.5rem 1rem;
  border: 1px solid #ccc;
  border-radius: 100px;
  width: 300px;
}
.icon-btn {
  font-size: 1.2rem;
  text-decoration: none;
}

/* MAIN LOJA */
.loja-main {
  padding: 4rem 0;
}
.loja-inner {
  display: flex;
  gap: 2rem;
}

/* SIDEBAR DE FILTROS */
.sidebar-filters {
  width: 250px;
  background: #fafafa;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}
.sidebar-filters h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.filter-group {
  margin-bottom: 1.5rem;
}
.filter-group h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.filter-group ul {
  list-style: none;
}
.filter-group ul li {
  margin-bottom: 0.5rem;
}
.filter-group a {
  text-decoration: none;
  color: #333;
}
.filter-group input[type="range"] {
  width: 100%;
}
.price-values {
  font-size: 0.9rem;
  color: #555;
  margin-top: 0.25rem;
}
.color-swatches {
  display: flex;
  gap: 0.5rem;
}
.swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #ccc;
  cursor: pointer;
}
.sizes {
  list-style: none;
}
.sizes li {
  margin-bottom: 0.5rem;
}
.apply-filter {
  display: block;
  width: 100%;
  padding: 0.75rem;
  background: #111;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 1rem;
}

/* GRID DE PRODUTOS: 4 colunas x 3 linhas */
.products-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* CARDS CLICÁVEIS + HOVER */
.product-card {
  display: block;                  /* <a> ocupa o bloco todo */
  text-decoration: none;           /* remove sublinhado */
  color: inherit;                  /* mantém a cor do texto */
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding: 1rem;
  transition: transform .16s ease, box-shadow .16s ease;
  will-change: transform;
  transform-origin: center;
}
.product-card:hover {
  transform: scale(1.03);          /* “infla” no hover */
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
  cursor: pointer;
}
.product-card:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}
.product-card img {
  width: 100%;
  display: block;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}
.product-card h5 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.product-card .price {
  font-size: 1.0rem;
}
.product-card .price .old {
  text-decoration: line-through;
  color: #888;
  margin-right: 0.5rem;
}
.product-card .price .new {
  color: #e74c3c;
  font-weight: bold;
}

/* FOOTER NEWSLETTER */
.footer-newsletter {
  background: #111;
  color: #fff;
  padding: 2rem 0;
  margin-top: 4rem;
  border-radius: 8px;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer-newsletter h3 {
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1.2;
}
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-form input {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 50px;
  width: 250px;
}
.newsletter-form button {
  padding: 0.6rem 1.5rem;
  background: #fff;
  color: #111;
  border: none;
  border-radius: 50px;
  font-weight: bold;
  cursor: pointer;
}

/* FOOTER MAIN */
.footer-main {
  background: #f5f5f5;
  padding: 4rem 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}
.footer-col {
  flex: 1 1 140px;
  min-width: 140px;
}
.footer-col.about {
  flex: 2 1 280px;
}
.footer-col h4 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
.footer-col p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #555;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 0.5rem;
}
.footer-col ul li a {
  text-decoration: none;
  color: #333;
  font-size: 0.9rem;
}
.social-icons {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.social-icons img {
  width: 24px;
  height: 24px;
}

/* FOOTER BOTTOM */
.footer-bottom {
  border-top: 1px solid #ddd;
  background: #f5f5f5;
  padding: 1rem 0;
}
.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #777;
}
.payments img {
  height: 60px;
  margin-left: 0.75rem;
}
