/*
Theme Name: Pinheiro Ofertas
Description: Tema minimalista de ofertas tech com curadoria administrativa
Author: Pinheiro Ofertas
Version: 1.0
*/
/* ===== Estilo base ===== */

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background: #e5e5e5;
  color: #222;
}

.site-header {
  background: #fff;
}

.site-header strong {
  font-size: 1.2rem;
}

.site-main {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
}

footer {
  background: #fff;
  text-align: center;
}

/* ===== Ofertas do dia ===== */

.ofertas-dia h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.ofertas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.oferta-card {
  background: #ffffff;
  border: 1px solid #bbb;
  padding: 24px;
  position: relative;
}

.oferta-card h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.4;
}

.preco {
  font-weight: 700;
  font-size: 1.2rem;
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border: 2px solid #000;
}

.badge.em-alta {
  background: #000;
  color: #fff;
}

/* ===== Header ===== */

.site-header {
  background: #ffffff;
  border-bottom: 2px solid #000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 40px;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
}

/* ===== Tipografia e hierarquia ===== */

.ofertas-dia h2 {
  letter-spacing: 0.5px;
}

.oferta-card h3 {
  color: #111;
}

.preco {
  margin-top: 16px;
  color: #000;
}

.oferta-card:hover {
  border-color: #000;
}

/* ===== Ofertas do dia ===== */

.ofertas-dia h2 {
  margin-bottom: 24px;
  font-size: 1.6rem;
}

.ofertas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.oferta-card {
  background: #ffffff;
  border: 2px solid #000;
  padding: 20px;
  position: relative;
}

.oferta-card h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.preco {
  font-size: 1.2rem;
  font-weight: bold;
}

/* Badge Em alta */

.badge.em-alta {
  position: absolute;
  top: -2px;
  right: -2px;
  background: #000;
  color: #fff;
  padding: 6px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
}

/* ===== Header ===== */

.site-header {
  background: #ffffff;
  border-bottom: 3px solid #000;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 40px;
}

.logo {
  margin: 0;
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.tagline {
  display: block;
  font-size: 0.85rem;
  margin-top: 4px;
}

/* ===== Ofertas ===== */

.ofertas-dia h2 {
  font-size: 1.6rem;
  margin-bottom: 24px;
}

.ofertas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.oferta-card {
  background: #ffffff;
  border: 2px solid #000; /* contraste forte */
  padding: 20px;
  border-radius: 8px;
}

.oferta-card h3 {
  margin-top: 12px;
  font-size: 1.1rem;
}

/* Badge Em alta */
.badge.em-alta {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 20px;
}

/* ===== Hierarquia da oferta ===== */

.oferta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.oferta-card h3 {
  font-size: 1.15rem;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* Preço */
.oferta-card .preco {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: auto;
}
