/* ===== LAYOUT GERAL ===== */
.page {
  width: 1200px;
  margin: 20px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
}

.input-erro {
  border: 2px solid red;
}

input[type="number"]::-webkit-inner-spin-button {
  display: none;
}

.descricao-oculta {
  display: none;
}

.input {
  font-family: "Poppins", sans-serif;
}

ion-icon {
  font-size: 16px;
  color: var(--text);
}

/* ===== SIDEBAR ===== */
.sidebar {
  position: sticky;
  top: 20px;
  color: var(--text-light);
}

.brand {
  text-align: center;
  margin-bottom: 20px;
}

.brand img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.filters h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.count {
  color: #acacac;
  font-weight: 400;
  margin-left: 4px;
}

.filter-group {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.group-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.filters ul {
  list-style: none;
  padding: 0;
}

.filters li a {
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  color: var(--text-light);
  display: block;
  margin: 6px 0;
}

.filters li a:hover {
  color: var(--green);
}

.contact {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.contact h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact ul {
  padding: 0;
  margin: 0;
}

.contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 400;
  margin: 8px 0;
  list-style: none;
  color: var(--text-light);
}

.contact a {
  text-decoration: none;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact a:hover {
  color: var(--green);
}

.contact ion-icon {
  font-size: 16px;
  color: #373737;
  flex-shrink: 0;
}

.about {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid var(--border);
}

.about h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.about p {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
}

/* ===== TOPBAR ===== */
.topbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 8px;
}

.search {
  position: relative;
  width: 520px;
  height: 36px;
  border: 1px solid #5c5c5c;
  border-radius: 20px;
  background: #f9f9f9;
}

.search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 0 36px 0 12px;
  font-size: 13px;
  color: var(--text-light);
}

.search ion-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: #5c5c5c;
}

.topbar-btns {
  display: flex;
  flex-direction: row;
  gap: 8px;
}

.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0abe00;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #0ba500b6;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
  height: 36px;
  line-height: 1;
}

.cart-btn ion-icon {
  font-size: 20px;
}

.cart-btn:hover {
  background: #0aa500;
}

.contato-btn {
  background: #fff;
  color: var(--green);
  border: 1px solid var(--green);
}

.contato-btn:hover {
  background: var(--green);
  color: #fff;
}

/* ===== BOTÃO VOLTAR ===== */
.btn-voltar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
  background: #f5f5f5;
  border: 1px solid #e2e2e2;
  border-radius: 20px;
  transition: all 0.2s ease;
}

.btn-voltar ion-icon {
  font-size: 16px;
}

.btn-voltar:hover {
  background: #e9e9e9;
  transform: translateX(-2px);
}

.page-header {
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}

/* ===== BANNER HERO ===== */
.hero {
  display: block;
  width: 100%;
  height: 180px;
  background-image: url("../assets/banner.jpeg");
  background-size: cover;
  background-position: center;
  margin-bottom: 16px;
  text-decoration: none;
  color: inherit;
  margin-top: 20px;
}

.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

.hero-title {
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 6px;
}

.hero-subtitle {
  color: #ffffff;
  opacity: 0.95;
  font-size: 14px;
  font-weight: 400;
}

/* ===== GRID DE PRODUTOS ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.card {
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #ddd;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-body {
  background: var(--bg-card);
  padding: 10px;
}

.title {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 5px;
}

.subtitle {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-gray);
  margin-bottom: 6px;
}

.price {
  font-size: 13px;
  font-weight: 800;
}

.btn-vermais {
  display: flex;
  justify-content: center;
  gap: 5px;
  background: #09be00a6;
  color: #fff;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 6px;
  padding: 4px 10px;
  margin-top: 10px;
}

.btn-vermais ion-icon {
  font-size: 16px;
}

.btn-vermais:hover {
  background: #1091096e;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #1b2e1b;
  padding: 56px 40px 32px 40px;
  color: #fff;
  width: 100%;
  box-sizing: border-box;
  margin-top: 48px;
}

.footer-main-layout {
  display: flex;
  gap: 56px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
}

.footer-brand {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 190px;
  height: auto;
  margin-top: -50px;
  margin-bottom: -25px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.footer-social-wrapper {
  margin-top: 4px;
}

.footer-social-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #fff;
}

.footer-social-inline a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s;
}

.footer-social-inline a:hover {
  background: #4caf50;
}

.footer-social-inline ion-icon {
  font-size: 18px;
}

.footer-content-right {
  flex: 1;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-column h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  color: #fff;
}

.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.disclaimer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin-bottom: 20px;
}

.copyright {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
}

/* ===== PÁGINA DE DETALHES DO PRODUTO ===== */
.detail {
  display: grid;
  grid-template-columns: 520px 400px;
  gap: 28px;
  align-items: start;
}

.detail-category {
  font-size: 12px;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.48px;
  text-transform: uppercase;
  margin-bottom: 8px;
  margin-top: 20px;
}

.detail-title {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin: 0 0 6px 0;
}

.detail-sku {
  font-size: 12px;
  color: #7f7f7f;
  margin-bottom: 8px;
}

.detail-price {
  font-size: 32px;
  font-weight: 800;
  color: #111;
  display: inline-block;
  margin-right: 10px;
}

.detail-unit {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  margin-left: 6px;
}

.detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  border: 1px solid var(--green-hover);
  border-radius: 20px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.detail-btn .btn-icon {
  font-size: 18px;
  color: #fff;
  --ionicon-stroke-width: 44px;
}

.detail-btn:focus {
  outline: 2px solid rgba(59, 170, 92, 0.35);
  outline-offset: 2px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 12px 0;
}

.action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 0;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 400;
  color: var(--text-muted);
}

.action-icon {
  font-size: 18px;
  color: var(--text-muted);
  --ionicon-stroke-width: 40px;
}

.action:hover,
.action:focus-visible {
  background: #f1f1f1;
  color: var(--green);
}

.detail-desc {
  width: 420px;
  max-width: 520px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-light);
  margin-top: 15px;
}

.detail-right {
  justify-self: end;
}

.detail-image {
  width: 450px;
  height: 450px;
  border-radius: 10px;
  background: #ddd;
  display: block;
  object-fit: cover;
  margin-top: 20px;
}

.related {
  margin-top: 40px;
}

.detail-subtitle {
  margin: 24px 0 12px 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.24px;
}

.see-more-wrap {
  margin-top: 12px;
}

.see-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 6px;
}

.see-more-icon {
  font-size: 14px;
  color: var(--text-muted);
  --ionicon-stroke-width: 40px;
}

.see-more:hover,
.see-more:focus-visible {
  color: var(--green);
  background: #f1f1f1;
}

/* ===== PÁGINA EM CONSTRUÇÃO (CARRINHO) ===== */
.em-construcao {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  gap: 16px;
}

.construcao-icon {
  font-size: 64px;
  color: var(--green);
}

.construcao-titulo {
  font-size: 24px;
  font-weight: 700;
  color: #111;
}

.construcao-texto {
  font-size: 14px;
  color: var(--text-gray);
  line-height: 1.7;
}

.btn-voltar-loja {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 20px;
  margin-top: 8px;
}

.btn-voltar-loja:hover {
  background: var(--green-hover);
}

/* ===== PÁGINA DE CONTATO ===== */
.input {
  height: 36px;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 0 12px;
  background: #fff;
  width: 100%;
}

.contato-bg {
  border-radius: 16px;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 500px;
}

.contato-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 40px;
  width: 100%;
  max-width: 560px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  align-items: center;
}

.contato-card-header {
  text-align: center;
  margin-bottom: 28px;
}

.contato-card-icon {
  font-size: 40px;
  color: var(--green);
  margin-bottom: 10px;
}

.contato-card-titulo {
  font-size: 22px;
  font-weight: 800;
  color: #111;
  margin-bottom: 6px;
}

.contato-card-subtitulo {
  font-size: 13px;
  color: var(--text-gray);
}

.contato-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contato-campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contato-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light);
}

.contato-textarea {
  height: 120px;
  padding: 10px 12px;
  border-radius: 12px;
  resize: vertical;
}

.contato-erro {
  font-size: 13px;
  color: red;
  min-height: 18px;
}

.contato-submit {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}