* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: #f0f2f5;
  color: #333333;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 18px;
}

/* HEADER */
.header {
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo-area {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
    /* width: 38px; */
    height: 38px;
}

.nav {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  color: #333333;
  position: relative;
  padding-bottom: 8px;
  transition: 0.2s;
}

.nav-link:hover {
  color: #1a1a1a;
}

.nav-link.active {
  color: #333333;
  font-weight: 600;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: #ed8000;
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-welcome {
  font-size: 14px;
  color: #374151;
  font-weight: 500;
}

.header-welcome strong {
  color: #0f172a;
}

.header-bell {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.header-bell:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.header-bell-vendedor:hover { color: #ed8000; }
.header-bell-buyer:hover { color: #0D5EA8; }

.header-bell-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc2626;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

/* MOBILE MENU */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 15px;
}

.mobile-menu a {
  text-decoration: none;
  padding: 10px;
  font-weight: 600;
  color: #333333;
}

.mobile-menu a.active {
  color: #ed8000;
}

.mobile-welcome {
  display: block;
  padding: 10px;
  font-weight: 600;
  color: #0f172a;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 4px;
}

/* BUTTONS */
.btn {
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  border: 1px solid transparent;
}

.btn-light {
  background: #ffffff;
  border: 1px solid #cccccc;
  color: #007bff;
}

.btn-light:hover {
  background: #f8f9fa;
}

.btn-primary {
  background: #007bff;
  color: #ffffff;
}

.btn-primary:hover {
  background: #0056b3;
}

.btn-green {
  background: #ed8000;
  color: #ffffff;
}

.btn-green:hover {
  background: #d97000;
}

.btn-blue {
  background: #007bff;
  color: #ffffff;
}

.btn-blue:hover {
  background: #0056b3;
}

/* Botão "Ver detalhes" = outline (fundo branco, borda azul) */
.btn-blue.small {
  background: #ffffff;
  color: #007bff;
  border: 1px solid #007bff;
}

.btn-blue.small:hover {
  background: #007bff;
  color: #ffffff;
}

.btn-search {
  padding: 10px 20px;
  font-size: 15px;
  border-radius: 4px;
}

.btn.small {
  padding: 8px 14px;
  font-size: 14px;
  border-radius: 4px;
}

/* SEARCH BAR */
.search-bar {
  margin-top: 24px;
}

.search-wrapper {
  background: #ffffff;
  padding: 16px 20px;
  border-radius: 16px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.25s ease;
}

.search-wrapper:focus-within {
  box-shadow: 0 8px 32px rgba(237, 128, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  border-color: rgba(237, 128, 0, 0.35);
}

.search-input {
  flex: 1;
  position: relative;
  min-width: 0;
}

.search-input input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  font-size: 15px;
  outline: none;
  color: #333333;
  background: #fafafa;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-input input:hover {
  background: #f5f5f5;
}

.search-input input::placeholder {
  color: #9ca3af;
}

.search-input input:focus {
  background: #ffffff;
  border-color: #ed8000;
  box-shadow: 0 0 0 3px rgba(237, 128, 0, 0.15);
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  opacity: 0.5;
  pointer-events: none;
}

.search-input:has(input:focus) .search-icon {
  opacity: 0.8;
}

.search-select select {
  padding: 14px 40px 14px 16px;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  font-size: 15px;
  outline: none;
  width: 180px;
  color: #333333;
  background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-color: #fafafa;
  appearance: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-select select:hover {
  background-color: #f5f5f5;
}

.search-select select:focus {
  background-color: #ffffff;
  border-color: #ed8000;
  box-shadow: 0 0 0 3px rgba(237, 128, 0, 0.15);
}

.search-wrapper .btn-search {
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(237, 128, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.search-wrapper .btn-search:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(237, 128, 0, 0.35);
}

/* BREADCRUMB */
.breadcrumb-wrap {
  margin-top: 12px;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 0;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #6b7280;
}

.breadcrumb-item {
  display: inline-flex;
  align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
  content: "›";
  margin-left: 6px;
  margin-right: 4px;
  color: #9ca3af;
  font-weight: 600;
}

.breadcrumb-item a {
  color: #ed8000;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  text-decoration: underline;
}

.breadcrumb-item--current span {
  color: #374151;
  font-weight: 500;
}

/* HERO */
.hero {
  margin-top: 25px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.hero-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  min-height: 330px;
  display: flex;
  justify-content: space-between;
  padding: 28px;
}

.hero-card-content {
  max-width: 52%;
  z-index: 3;
}

.hero-card-content h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-seller .hero-card-content h1 {
  color: #b35c00;
}

.hero-buyer .hero-card-content h1 {
  color: #1565c0;
}

.hero-card-content p {
  font-size: 15px;
  font-weight: 400;
  color: #333333;
  margin-bottom: 20px;
}

.hero-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-list li {
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #333333;
}

.bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
  font-weight: 700;
  flex-shrink: 0;
}

.bullet.green {
  background: #ed8000;
}

.bullet.blue {
  background: #2196f3;
}

.hero-btn {
  margin-top: 5px;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 6px;
}

.hero-seller .hero-btn {
  background: linear-gradient(to bottom, #f0a040, #ed8000);
  color: #ffffff;
  border: none;
}

.hero-seller .hero-btn:hover {
  background: linear-gradient(to bottom, #e07800, #d97000);
  color: #ffffff;
}

.hero-buyer .hero-btn {
  background: linear-gradient(to bottom, #42a5f5, #2196f3);
  color: #ffffff;
  border: none;
}

.hero-buyer .hero-btn:hover {
  background: linear-gradient(to bottom, #1e88e5, #1976d2);
  color: #ffffff;
}

.hero-seller {
  background: linear-gradient(to bottom right, #fff5eb, #ffecd9);
}

.hero-buyer {
  background: linear-gradient(to bottom right, #e3f2fd, #bbdefb);
}

/* Card vendedor: imagem de fundo */
.hero-seller .hero-card-image.hero-seller-bg {
  background-image: url("../img/vendedor.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

/* Card comprador: imagem de fundo */
.hero-buyer .hero-card-image.hero-buyer-bg {
  background-image: url("../img/comprador.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}

.hero-card-image {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 48%;
  z-index: 2;
}

.warehouse-bg {
  position: absolute;
  right: -20px;
  bottom: -10px;
  width: 95%;
  opacity: 0.18;
}

.boxes {
  position: absolute;
  bottom: 18px;
  left: 10px;
  width: 190px;
  z-index: 3;
  opacity: 0.95;
}

.avatar {
  position: absolute;
  bottom: 10px;
  right: 20px;
  width: 170px;
  z-index: 4;
}

.checklist {
  position: absolute;
  right: 160px;
  bottom: 75px;
  width: 90px;
  z-index: 4;
  opacity: 0.95;
}

/* OFFERS - CARROSSEL */
.offers {
  margin-top: 35px;
  padding-bottom: 30px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
  color: #333333;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.offers-empty {
  text-align: center;
  color: #6b7280;
  padding: 32px 16px;
}

.offers-carousel-wrap {
  position: relative;
  padding: 0 44px;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #333;
  z-index: 2;
  transition: background 0.2s, box-shadow 0.2s;
}

.carousel-btn:hover {
  background: #f5f5f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
  left: 0;
}

.carousel-next {
  right: 0;
}

.offers-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.offers-carousel::-webkit-scrollbar {
  display: none;
}

.offer-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: 0.2s;
}

.offer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.offer-card-img-wrap {
  position: relative;
  flex-shrink: 0;
}

.offer-card-img-wrap .lot-tag-desconto {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #3F8F56;
  background: #EAF5ED;
  border: 1px solid #3F8F56;
  border-radius: 999px;
}

.offer-card-img-wrap .lot-tag-desconto-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.offer-card-img-wrap .lot-tags-wrap {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.offer-card-img-wrap .lot-tag-oferta {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #16a34a;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.offer-card-img-wrap .lot-tag-permuta {
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #ed8000;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.offer-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
  display: block;
}

.offer-content {
  padding: 14px;
}

.offer-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #333333;
}

.offer-content p {
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
}

/* CATEGORIAS MAIS POPULARES */
.offers-popular {
  margin-top: 0;
  padding-top: 8px;
}

.category-block {
  margin-bottom: 32px;
}

.category-block:last-child {
  margin-bottom: 0;
}

.category-block-title {
  font-size: 18px;
  font-weight: 700;
  color: #333333;
  margin: 0 0 14px 0;
  padding-left: 44px;
}

/* FOOTER STRIP */
.footer-strip {
  background: #e0e0e0;
  padding: 20px 0;
}

.strip-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}

.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 15px;
  color: #333333;
}

.strip-icon {
  font-size: 20px;
  opacity: 0.9;
}

/* FOOTER ELEGANTE */
.site-footer {
  background: #1f2937;
  color: #9ca3af;
  padding: 40px 0 32px;
}

.footer-elegant {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px 64px;
  align-items: start;
  max-width: 1250px;
}

.footer-col.footer-brand {
  padding-top: 4px;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
}

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(0.75);
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.footer-logo-link:hover .footer-logo {
  opacity: 1;
  filter: brightness(0) invert(0.95);
}

.footer-links-title {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 16px 0;
}

.footer-links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-list a:hover {
  color: #ed8000;
}

@media (max-width: 640px) {
  .footer-elegant {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .footer-col.footer-brand {
    padding-top: 0;
  }
  .footer-logo-link {
    margin: 0 auto;
  }
  .footer-links-title {
    margin-bottom: 12px;
  }
}

/* RESPONSIVE */
@media (max-width: 1050px) {
  .offer-card {
    flex: 0 0 220px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-card-content {
    max-width: 58%;
  }
}

@media (max-width: 820px) {
  .nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .search-wrapper {
    flex-direction: column;
    align-items: stretch;
  }

  .search-select select {
    width: 100%;
  }

  .btn-search {
    width: 100%;
  }

  .hero-card {
    padding: 20px;
    min-height: 340px;
  }

  .hero-card-content {
    max-width: 100%;
  }

  .hero-card-image {
    display: none;
  }
}

@media (max-width: 500px) {
  .offers-carousel-wrap {
    padding: 0 36px;
  }

  .carousel-btn {
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .offer-card {
    flex: 0 0 180px;
  }

  .header-actions .btn {
    display: none;
  }

  .menu-toggle {
    font-size: 26px;
  }
}
