/* Hot Wheels Brasil - Branding Oficial */
:root {
  --primary: #315CEC;
  --accent: #01B47C;
  --bg: #FFFFFF;
  --text: #1A1A1A;
  --text-dark: #0F172A;
  --border: #E4E4E4;
  --border-radius: 18px;
  --btn-radius: 60px;
  --input-radius: 999px;
  --font: 'Raleway', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

h1, h2, h3 { font-family: var(--font); font-weight: 700; }

a { color: var(--text-dark); text-decoration: none; }
a:hover { color: var(--primary); }

.container { max-width: 1200px; margin: 0 auto; padding: 40px 24px; flex: 1; }

/* Banner - Branding Hot Wheels Brasil */
.banner {
  background: linear-gradient(90deg, #315CEC 0%, #01B47C 50%, #315CEC 100%);
  background-size: 200% 100%;
  color: white;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  letter-spacing: 0.5px;
}

/* Nav */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: #fff;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo img {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-right: 8px;
}

.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

/* Search - Estilo original "Encontre seu Hot Wheels" */
.search-form {
  flex: 1;
  max-width: 420px;
  display: flex;
  gap: 8px;
  background: #fff;
  padding: 8px 16px;
  border-radius: var(--input-radius);
  border: 2px solid var(--primary);
  align-items: center;
}

.search-form .search-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.search-form input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 14px;
  outline: none;
  font-family: var(--font);
}

.search-form input::placeholder {
  color: #999;
}

.search-form button {
  background: var(--primary);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: var(--btn-radius);
  font-weight: 700;
  cursor: pointer;
  font-size: 13px;
  white-space: nowrap;
}

.cart-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  position: relative;
  padding: 8px;
}

.cart-count {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  min-width: 20px;
  height: 20px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Collections - Banners */
.collections-banners {
  margin-bottom: 48px;
}

.collections-banners .collection-banner.main {
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.collections-banners .collection-banner.main img {
  width: 100%;
  display: block;
}

.collection-banners-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.collection-banner {
  display: block;
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.collection-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(49, 92, 236, 0.25);
}

.collection-banner img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* FAQ */
.faq-section {
  max-width: 800px;
  margin: 0 auto 48px;
  padding: 40px 24px;
}

.faq-section h2 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text);
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-btn {
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  font-family: var(--font);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-btn::after {
  content: '+';
  font-size: 20px;
  color: var(--primary);
}

.faq-item.open .faq-btn::after {
  content: '−';
}

.faq-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.faq-item.open .faq-content {
  padding: 0 20px 16px;
  max-height: 300px;
}

/* Catalog filters */
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  align-items: center;
}

.catalog-filters .filter-btn {
  padding: 10px 20px;
  border-radius: var(--btn-radius);
  border: 2px solid var(--border);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  font-size: 14px;
  transition: all 0.2s;
}

.catalog-filters .filter-btn:hover,
.catalog-filters .filter-btn.active {
  border-color: var(--primary);
  background: #f0f4ff;
  color: var(--primary);
}

/* Mobile - Estrutura Hot Wheels Brasil (hotwheels-brasil.shop) */
@media (max-width: 768px) {
  html {
    overflow-x: hidden;
  }

  body.page-checkout {
    max-width: 100vw;
  }

  .page-checkout .checkout-main {
    max-width: 100%;
  }

  body {
    font-size: 13px;
  }

  .container {
    padding: 16px 12px;
    max-width: 100%;
  }

  /* Banner promo - compacto */
  .banner {
    padding: 6px 10px;
    font-size: 10px;
    gap: 8px;
  }

  .banner span {
    white-space: nowrap;
  }

  /* Nav - logo esq, links centro, busca/carrinho dir */
  nav {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 12px 16px;
    gap: 12px;
    align-items: center;
  }

  .logo {
    font-size: 16px;
    flex-shrink: 0;
  }

  .logo img {
    height: 28px;
  }

  .nav-links {
    order: 0;
    flex: 1;
    justify-content: center;
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  .search-form {
    order: 0;
    max-width: none;
    flex: 1 1 100%;
    min-width: 0;
    padding: 6px 12px;
  }

  .search-form .search-label {
    font-size: 10px;
  }

  .search-form input {
    font-size: 12px;
  }

  .search-form button {
    padding: 8px 14px;
    font-size: 11px;
  }

  .cart-btn {
    order: 0;
    align-self: center;
    position: relative;
    font-size: 20px;
  }

  /* Hero banner - full width, proporção original */
  .collections-banners {
    margin-bottom: 20px;
  }

  .collections-banners .collection-banner.main {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
  }

  .collections-banners .collection-banner.main img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    display: block;
  }

  /* Tiles de coleções - scroll horizontal como o original */
  .collection-banners-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

  .collection-banners-grid::-webkit-scrollbar {
    display: none;
  }

  .collection-banners-grid .collection-banner {
    flex: 0 0 140px;
    min-width: 140px;
  }

  .collection-banner img {
    aspect-ratio: 3/2;
    object-fit: cover;
  }

  /* Seção produtos */
  .products-section {
    margin-bottom: 24px;
  }

  .products-section h2 {
    font-size: 22px;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
  }

  .products-section h2 a {
    font-size: 13px;
  }

  /* Grid 2 colunas - produtos lado a lado */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .product-card {
    border-radius: 12px;
  }

  .product-card img {
    aspect-ratio: 1;
  }

  .product-card .info {
    padding: 10px;
  }

  .product-card h3 {
    font-size: 11px;
    min-height: 28px;
    -webkit-line-clamp: 2;
  }

  .product-card .price-label {
    font-size: 10px;
  }

  .product-card .price {
    font-size: 14px;
  }

  .product-card .parcelas {
    font-size: 10px;
  }

  .product-card .btn-secondary {
    padding: 8px 12px;
    font-size: 11px;
  }

  /* Sobre, FAQ */
  .about-section,
  .faq-section {
    padding: 20px 12px;
  }

  .about-section h2,
  .faq-section h2 {
    font-size: 20px;
  }

  .about-section p,
  .faq-content {
    font-size: 13px;
  }

  .about-section form {
    max-width: 100% !important;
  }

  .about-layout {
    flex-direction: column;
    gap: 24px;
  }

  .about-text {
    text-align: center;
  }

  .about-logo img {
    max-width: 220px;
  }

  /* Cart full width */
  .cart-drawer {
    max-width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .footer-section h4 {
    font-size: 14px;
  }

  .footer-badges {
    gap: 12px;
  }

  .footer-badges img {
    height: 28px;
  }

  .product-page {
    grid-template-columns: 1fr;
    grid-template-areas: "top" "info";
    gap: 20px;
  }

  .product-top {
    display: flex;
    flex-direction: column;
    grid-area: top;
    gap: 12px;
  }

  .product-page .product-image-wrap {
    grid-area: unset;
    max-width: 100%;
  }

  .product-page .product-image-wrap img {
    aspect-ratio: 1;
  }

  .product-page .product-title {
    grid-area: unset;
    font-size: 18px;
    line-height: 1.35;
    margin: 0;
  }

  .product-page .product-info-wrap {
    grid-area: info;
  }

  .product-zoom-hint {
    left: 8px;
    right: auto;
    top: 8px;
    font-size: 10px;
    padding: 4px 8px;
  }

  .product-price-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .product-price {
    font-size: 22px;
  }

  .product-price-label,
  .product-compare {
    font-size: 12px;
  }

  .product-parcelas {
    font-size: 13px;
  }

  .product-pix-box {
    padding: 14px;
  }

  .product-pix-price {
    font-size: 18px;
  }

  .product-add-btn {
    width: 100%;
  }

  .product-badges span {
    padding: 6px 10px;
    font-size: 12px;
  }

  /* Checkout mobile - layout flex em coluna, sem sobreposição */
  .checkout-main {
    padding: 16px 12px;
    overflow-x: hidden;
  }

  .checkout-grid {
    display: flex !important;
    flex-direction: column;
    gap: 24px;
  }

  .checkout-grid > div {
    width: 100%;
    min-width: 0;
    flex-shrink: 0;
  }

  .checkout-grid .cart-summary {
    order: -1;
    position: static !important;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border);
  }

  .checkout-grid .cart-summary h2 {
    margin-bottom: 16px !important;
  }

  .checkout-cart-item {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
  }

  .checkout-cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
  }

  .checkout-cart-item > div {
    flex: 1;
    min-width: 0;
  }

  .checkout-cart-item p {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
  }

  .checkout-cart-item .checkout-item-price {
    font-size: 12px !important;
    color: #666 !important;
    font-weight: 400 !important;
  }

  .checkout-grid > div:first-of-type,
  .checkout-grid > div:nth-of-type(2) {
    background: #fff;
    padding: 0;
  }

  .checkout-grid h2 {
    font-size: 18px !important;
  }

  .checkout-grid input {
    max-width: 100%;
    box-sizing: border-box;
  }

  .checkout-grid .payment-option {
    width: 100%;
  }

  .checkout-grid .btn-primary {
    width: 100%;
  }

  /* Carrinho mobile */
  .cart-layout {
    grid-template-columns: 1fr !important;
  }

  .cart-layout .cart-summary {
    order: -1;
  }

  .cart-table {
    font-size: 13px;
  }

  .cart-table th, .cart-table td {
    padding: 12px 8px !important;
  }

  .cart-table td > div {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .cart-table img {
    width: 60px !important;
    height: 60px !important;
  }

  /* Nav checkout (sem busca) - mobile */
  .page-checkout nav {
    flex-wrap: wrap;
  }

  .page-checkout nav span[style*="PAGAMENTO"] {
    font-size: 11px !important;
    flex-basis: 100%;
    text-align: center;
    order: 3;
  }
}

/* Telas muito pequenas */
@media (max-width: 480px) {
  .banner {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .banner span {
    white-space: nowrap;
  }

  .checkout-main {
    padding: 12px 10px;
  }

  .checkout-grid {
    gap: 20px;
  }

  .checkout-grid .cart-summary {
    padding: 16px;
  }

  /* Manter 2 colunas como no original */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .collection-banners .collection-banner.main img {
    max-height: 150px;
  }

  .collection-banners-grid .collection-banner {
    flex: 0 0 120px;
    min-width: 120px;
  }

  .catalog-filters {
    justify-content: center;
  }

  .catalog-filters .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  /* Produto - telas muito pequenas */
  .product-page .product-title {
    font-size: 16px;
  }

  .product-price {
    font-size: 20px;
  }

  .product-pix-price {
    font-size: 16px;
  }
}

/* Products */
.products-section h2 {
  font-size: 40px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}

.products-section h2 a {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
  background: #fff;
  transition: box-shadow 0.2s;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-card .info { padding: 16px; }
.product-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
  min-height: 40px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--text);
  line-height: 1.3;
}

.product-card .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-card .price-label {
  font-size: 11px;
  color: #666;
  margin-bottom: 2px;
}

.product-card .parcelas { font-size: 12px; color: #666; margin-bottom: 12px; }

/* Botões - Branding oficial */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--btn-radius);
  padding: 14px 28px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font);
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: #fff;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: var(--btn-radius);
  padding: 12px 24px;
  font-weight: 600;
  width: 100%;
  cursor: pointer;
  font-family: var(--font);
  transition: background 0.2s, color 0.2s;
}

.btn-secondary:hover {
  background: #f0f4ff;
}

/* Cart Drawer */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.cart-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #fff;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
  transform: translateX(100%);
  transition: transform 0.3s;
}

.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.cart-header h2 {
  font-size: 24px;
  font-weight: 700;
}

.cart-header h2 span {
  margin-left: 8px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 14px;
}

.cart-header button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

.cart-body { flex: 1; overflow: auto; padding: 20px; }

.free-shipping-bar {
  background: #f0f9ff;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 600;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item .details { flex: 1; }
.cart-item .qty-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.cart-item .qty-btn {
  width: 32px;
  height: 32px;
  border: none;
  background: #f5f5f5;
  cursor: pointer;
  font-size: 18px;
  border-radius: 8px;
  font-weight: 600;
}

.cart-item .remove {
  background: none;
  border: none;
  color: #e74c3c;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary);
}

.cart-footer .btn-secondary,
.cart-footer .btn-primary { margin-bottom: 8px; }

.cart-footer a { display: block; }

/* Product page */
.product-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "img title" "img info";
  gap: 48px;
  align-items: start;
}

.product-top {
  display: contents;
}

.product-page .product-image-wrap,
.product-page .product-gallery {
  grid-area: img;
}

.product-page .product-title {
  grid-area: title;
}

.product-page .product-info-wrap {
  grid-area: info;
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
}

.product-page .product-image-wrap img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.product-zoom-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 8px;
}

/* Galeria de imagens do produto */
.product-gallery {
  width: 100%;
}

.product-gallery-main {
  position: relative;
  margin-bottom: 12px;
}

.product-gallery-main {
  overflow: hidden;
}

.product-gallery-main img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: var(--border-radius);
}

.product-gallery-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.product-thumb {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: #f5f5f5;
  transition: border-color 0.2s;
}

.product-thumb:hover,
.product-thumb.active {
  border-color: var(--primary);
}

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

.product-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.product-title {
  font-size: 22px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.product-price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 16px;
  margin-bottom: 12px;
}

.product-price {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary);
}

.product-price-label {
  font-size: 14px;
  color: #666;
}

.product-compare {
  font-size: 14px;
  color: #999;
}

.product-parcelas {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
  margin-bottom: 16px;
}

.product-parcelas-icon {
  color: var(--primary);
}

.product-payment-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 16px;
}

.product-payment-link svg {
  color: var(--primary);
}

.product-pix-box {
  background: #f0f9ff;
  padding: 16px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.product-pix-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.product-pix-desc {
  font-size: 14px;
  margin-bottom: 4px;
}

.product-pix-extra {
  font-size: 13px;
  color: #666;
}

.product-separator {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 20px;
}

.product-qty-label {
  font-weight: 600;
  margin-bottom: 8px;
}

.product-page .qty-selector {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 10px;
  width: fit-content;
  overflow: hidden;
  margin-bottom: 20px;
}

.product-page .qty-selector button,
.product-page .qty-selector input {
  width: 48px;
  height: 48px;
  border: none;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
}

.product-page .qty-selector button { background: #f5f5f5; cursor: pointer; }
.product-page .qty-selector input { width: 60px; }

.product-add-btn {
  width: 100%;
  padding: 16px;
  margin-bottom: 24px;
}

.product-payment-badges {
  margin-bottom: 24px;
}

.product-payment-title {
  font-weight: 600;
  margin-bottom: 12px;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-badges span {
  padding: 8px 14px;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 13px;
}

.product-description {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* Cart page */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  overflow: hidden;
}

.cart-table th, .cart-table td { padding: 16px; text-align: left; }
.cart-table th { background: #f9f9f9; font-weight: 600; }
.cart-table tr { border-bottom: 1px solid var(--border); }

.cart-summary {
  border: 1px solid var(--border);
  border-radius: var(--border-radius);
  padding: 24px;
  background: #f9f9f9;
  max-width: 360px;
}

/* Checkout */
.checkout-main {
  padding: 40px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(280px, 400px);
  gap: 32px;
  align-items: start;
}

.checkout-section h2 { margin-bottom: 16px; font-size: 22px; }
.checkout-section input,
.checkout-section select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 20px;
  font-family: var(--font);
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--border-radius);
  margin-bottom: 12px;
  cursor: pointer;
}

.payment-option.selected { border-color: var(--primary); background: #f0f4ff; }
.pix-badge { background: var(--accent); color: white; padding: 4px 8px; border-radius: 4px; font-size: 12px; margin-left: 8px; font-weight: 600; }

.checkout-cart-item {
  display: flex;
  gap: 16px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.checkout-cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
}

.checkout-cart-item > div { flex: 1; min-width: 0; }

.checkout-cart-item p {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.checkout-item-price {
  font-size: 14px !important;
  color: #666 !important;
  font-weight: 400 !important;
}

/* Footer - Branding oficial */
footer {
  margin-top: 48px;
  padding: 48px 24px 24px;
  background: #f9f9f9;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: #666;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
  text-align: left;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text);
}

.footer-section p { margin-bottom: 8px; line-height: 1.5; }

.footer-section a {
  color: var(--primary);
  font-weight: 600;
}

.footer-badges {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.footer-badges img {
  height: 36px;
  width: auto;
  opacity: 0.9;
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-bottom p { margin-bottom: 8px; }

/* Sobre nós */
.about-section {
  max-width: 800px;
  margin: 0 auto 48px;
  text-align: center;
  padding: 40px 24px;
}

.about-section h2 {
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--text);
}

.about-section p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
}

/* Sobre nós - texto à esquerda, logo à direita */
.about-sobre {
  text-align: left;
}

.about-layout {
  display: flex;
  align-items: center;
  gap: 32px;
}

.about-text {
  flex: 1;
}

.about-text p + p {
  margin-top: 16px;
}

.about-logo {
  flex-shrink: 0;
}

.about-logo img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
}

/* Product page - mobile (deve vir após estilos base para sobrescrever) */
@media (max-width: 768px) {
  .product-page {
    grid-template-columns: 1fr !important;
    grid-template-areas: "top" "info" !important;
    gap: 20px !important;
  }

  .product-top {
    display: flex !important;
    flex-direction: column !important;
    grid-area: top !important;
    gap: 12px !important;
  }

  .product-page .product-image-wrap,
  .product-page .product-gallery {
    grid-area: unset !important;
    max-width: 100% !important;
  }

  .product-page .product-title {
    grid-area: unset !important;
    font-size: 18px !important;
    line-height: 1.35 !important;
    margin: 0 !important;
  }

  .product-page .product-info-wrap {
    grid-area: info !important;
  }
}

