/* 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 DE TAMANHO */
:root {
  --logo-width: 300px;
  --brand-logo-height: 60px;
}

/* 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;
}



/* ====== CARRINHO ====== */
.cart {
  padding: 2rem 0 3rem;
  background: #fff;
}

.cart-title {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cart-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.cart-items {
  background: #fff;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr 190px 160px 32px;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e0e0;
}

.cart-thumb {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border: 1px solid #eee;
  border-radius: 8px;
}

.cart-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.cart-name {
  color: #111;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;
}

.cart-name:hover {
  text-decoration: underline;
}

.cart-meta {
  color: #555;
  font-size: .9rem;
}

.cart-unit {
  color: #333;
  font-size: .95rem;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border: 1px solid #ccc;
  border-radius: 100px;
  padding: .25rem .5rem;
  justify-self: center;
}

.qty-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  padding: .25rem .5rem;
  line-height: 1;
}

.qty-input {
  width: 3rem;
  text-align: center;
  border: none;
  outline: none;
  font-weight: 600;
}

.cart-subtotal {
  text-align: right;
}

.cart-subtotal span {
  display: block;
  color: #666;
  font-size: .85rem;
}

.cart-subtotal strong {
  font-size: 1.05rem;
}

.cart-remove {
  width: 32px;
  height: 32px;
  border: 1px solid #e0e0e0;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
}

.cart-remove:hover {
  background: #f7f7f7;
}

.cart-coupon {
  display: flex;
  gap: .5rem;
  margin: 1rem 0;
}

.coupon-input {
  flex: 1;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: .6rem .8rem;
}

.btn-apply {
  border: 1px solid #111;
  background: #111;
  color: #fff;
  border-radius: 10px;
  padding: .6rem 1rem;
  cursor: pointer;
}

.btn-apply:hover {
  opacity: .9;
}

.back-link {
  display: inline-block;
  margin-top: .25rem;
  color: #333;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Resumo */
.cart-summary {
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  padding: 1.25rem;
  background: #fafafa;
  height: fit-content;
  position: sticky; /* opcional se quiser fixo ao rolar */
  top: 1rem;
}

.cart-summary h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.sum-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem 0;
  border-bottom: 1px solid #eee;
  font-size: .95rem;
}

.sum-row.total {
  border-bottom: none;
  padding-top: .9rem;
  font-size: 1.05rem;
}

.btn-checkout {
  width: 100%;
  margin-top: 1rem;
  padding: .9rem 1rem;
  border: none;
  border-radius: 100px;
  background: #111;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.btn-checkout:hover {
  opacity: .95;
}

.sum-note {
  color: #666;
  font-size: .85rem;
  margin-top: .75rem;
}

/* Estado vazio (opcional)
.cart-empty { text-align:center; padding:3rem 1rem; color:#555; }
.cart-empty a { color:#111; } 
*/

/* 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;
}

