/* Base */
html, body {
  background-color: #1e1e1e;
  background: url('/img_mktplace/background/homeLandPages-bg.png') no-repeat center center/cover;
}

/* Corpo com centralização total */
.welcome-body {
  margin: 0;
  padding: 0;
  background-color: #004aad;
  color: #ffffff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Botão com estilo consistente */
.btn-welcome {
  display: inline-block;
  background-color: #0b93f2;
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-welcome:hover {
  background-color: #004aad;
}

.bg-darkBlue {
    background-color: #1e1e1e;
}

.welcome-container {
  position: relative;
  max-height: fit-content;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1rem;
  overflow: hidden;
  z-index: 1;
}

.welcome-transparent-container {
  text-align: left;
  padding: 4rem; /* base */
  padding-top: 8rem; /* sobrescreve o topo */
  margin: auto;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
}

.welcome-container::before {
  content: none;
}

.welcome-icon {
    font-size: 60px;
    color: #dc3545;
    margin-bottom: 20px;
}

.welcome-title {
    font-size: 28px;
    font-weight: bold;
    color: #FFF;
    margin-bottom: 20px;
}

.welcome-message {
    font-size: 14px;
    color: #DDD;
    margin-bottom: 30px;
}

.empty-actions a:hover {
    background-color: #0056b3;
}

.row {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

/* NEW HOME STYLES */

/* Cards */
.category-card {
  background-color: #1e1e1e;
  border: none;
  transition: transform 0.3s, box-shadow 0.3s;
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.card-title {
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* Botão padrão */
.btn.btn-primary {
  background-color: #0b1f4a !important; /* azul escuro */
  color: #ffffff !important;            /* texto branco */
  border: 1.5px solid #0b1f4a !important;
  font-weight: 600;
  border-radius: 8px;                   /* bordas mais suaves */
  padding: 0.5rem 1.25rem;              /* mais confortável */
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn.btn-primary:hover {
  background-color: #ffffff !important; /* fundo branco */
  color: #0b1f4a !important;            /* texto azul escuro */
  border-color: #0b1f4a !important;
}

/* Footer */
footer {
  margin-top: auto;
  border-top: 1px solid #333;
  background-color: #1e1e1e;
  color: #ccc;
  padding: 1rem 0;
  text-align: center;
}

/* Banner Carrossel */
#promo-carousel {
  width: 100%;
  height: 240px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.carousel-wrapper {
  transition: transform 0.6s ease;
  height: 100%;
}

.banner-slide {
  min-width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px 14px;
  font-size: 24px;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.7);
}

.arrow.left {
  left: 16px;
}

.arrow.right {
  right: 16px;
}

/* Responsivo */
@media (max-width: 992px) {
  .marketplace-text {
    font-size: 1.2rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .logo-img {
    height: 50px;
  }

  .navbar .location-info {
    font-size: 0.9rem;
  }

  .navbar .form-control {
    width: 160px;
    height: 2.5rem;
    font-size: 0.95rem;
  }

  .btn-outline-light {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
  }

  .cart-icon img {
    width: 30px;
  }

  #cart-count {
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  #promo-carousel {
    height: 180px;
  }

  .arrow {
    font-size: 18px;
    padding: 8px 12px;
  }

  .marketplace-text {
    text-align: center;
    width: 100%;
    margin-top: 0.5rem;
    font-size: 1.1rem;
  }

  .navbar .form-control {
    width: 140px;
  }

  .location-info {
    display: none;
  }

  .navbar .d-flex.align-items-center {
    gap: 0.8rem;
  }

  .cart-icon img {
    width: 28px;
  }
}

/* Logo */
.logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
}

/* Texto do marketplace */
.marketplace-text {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 600;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Localização */
.navbar .location-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #ffffff;
}

.navbar .location-info img,
.location-info img {
  filter: invert(100%);
}

.location-info span {
  font-size: 0.95rem;
  white-space: nowrap;
}

.center-content-style {
    max-width: 1600px;
    margin: auto;
}

.allContent {
  flex: 1;
  display: flex;
}

.row {
    width: 100%;
    display: flex;
    align-items: flex-start;
}

/* Buttons */
.btn {
    background-color: transparent;
    color: #e0e0e0;
    border: 1.5px solid #cccccc;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 0.95rem;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-color: #ffffff;
}

.btn-primary {
    width: 100%;
    margin-bottom: 0.75rem;
}

.btn-success {
    background-color: #0b93f2;
    border-color: #0b93f2;
    color: #ffffff;
}

.btn-success:hover {
    background-color: #004aad;
    border-color: #1e7e34;
}

.main-content {
    margin: 3% 1%;
    flex: 1;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.content-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    z-index: 1000;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.product-image-container {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 0.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-count {
    color: #999;
    font-size: 0.85rem;
}

.product-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0b93f2;
    margin-bottom: 1rem;
}

.product-actions {
    margin-top: auto;
    display: flex;
    gap: 0.5rem;
}

.btn-cart {
  background-color: #0b93f2;
  border: none;
  border-radius: 0.375rem;
  padding: 0.4rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-cart svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

.btn-cart:hover {
  background-color: #004aad;
  transform: scale(1.05);
}

.btn-cart:active {
  transform: scale(0.95);
}

.btn-cart:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

.add-to-cart-form {
    margin: 0;
    flex: 1;
}

/* Pagination */
.pagination-container {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
}

.page-item {
    display: flex;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    color: #cccccc;
    text-decoration: none;
    background-color: #1e1e1e;
    border: 1px solid #333;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 45px;
}

.page-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: #666;
}

.page-item.active .page-link {
    background-color: #ffffff;
    color: #004aad;
    border-color: #ffffff;
}

.product-actions {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
}

.product-actions .btn-details {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.6rem;
    font-size: 0.9rem;
    width: 100%;
}

.product-actions .btn-cart {
    flex: 1;
    padding: 0.6rem;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.add-to-cart-form {
    width: 100%;
    height: 100%;
    display: flex;
}

.bg-darkBlue {
    background-color: #1e1e1e;
}

/* Sidebar */
.sidebar {
    margin-top: 10px;
    border-radius: 0px 10px 10px 0px;
    background-color: #1e1e1e;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    position: fixed;
}

.sidebar.collapsed {
    width: 40px;
}

.toggle-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 5px;
    background-color: #333;
    color: white;
    border: 1px solid #555;
    width: 30px;
    height: 60px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 1001;
}

.toggle-btn:hover {
    background-color: #444;
    border-color: #666;
}

.sidebar.collapsed .toggle-btn {
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
}

.sidebar-content {
    padding: 1.4rem;
    padding-right: 36px;
    height: 78vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
}

.sidebar.collapsed .sidebar-content {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 60px 0 1.5rem;
}

.sidebar-content::-webkit-scrollbar {
    width: 6px;
}

.sidebar-content::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 3px;
}

.sidebar-content::-webkit-scrollbar-thumb:hover {
    background: #666;
}

.sidebar-content h5 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.filter-section {
    margin-bottom: 2rem;
}

.sidebar-content h6 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #e0e0e0;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 0.5rem;
}

.category-list a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-list a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding-left: 1rem;
}

.price-range {
    margin-bottom: 1rem;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #333;
    outline: none;
    -webkit-appearance: none;
}

.range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #cccccc;
    margin-top: 0.5rem;
}

.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.checkbox-item input[type="checkbox"] {
    margin-right: 0.75rem;
    transform: scale(1.2);
    accent-color: #ffffff;
}

.checkbox-item label {
    color: #cccccc;
    cursor: pointer;
    transition: color 0.3s ease;
}

.checkbox-item:hover label {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar.expanded {
        flex: 0 0 220px;
        width: 220px;
        min-width: 220px;
    }

    .main-content {
        padding: 20px;
    }
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
}

.carousel-track::-webkit-scrollbar {
    display: none; /* oculta barra de rolagem */
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #0b93f2 !important;
    color: white;
    border: none;
    border-radius: 16px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 10;
}

.carousel-btn.left {
    left: -24px;
}

.carousel-btn.right {
    right: -24px;
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: visible;
}

.carousel-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 calc(20% - 1rem);
    box-sizing: border-box;
}

/* styleLand.css */

/* Importing base styles */
@import url('/css/marketplace-base.css');

:root {
  --accent: #0b93f2;
  --dark: #1e1e1e;
  --muted: #cccccc;
  --light: #ffffff;
}

/* Navigation */
.landing-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(30, 30, 30, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid #333;
}
.landing-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--light);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: .3px;
}
.brand img { height: 40px; width: auto; object-fit: contain; }
.nav-actions { display: flex; gap: .5rem; }

/* Hero section */
.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.welcome-transparent-container .eyebrow {
  display: inline-block;
  font-size: .9rem;
  color: #e0e0e0;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  opacity: .9;
}
.welcome-title { font-size: 40px; line-height: 1.2; }
.welcome-message { font-size: 16px; max-width: 56ch; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; }

/* Section structure */
.section { max-width: 1200px; margin: 3rem auto; padding: 0 1rem; }
.section h2 { color: #fff; font-size: 1.8rem; margin: 0 0 1rem; }
.section p.lead { color: #fff !important; margin: 0 0 1.5rem; }

/* Categories grid */
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.category-card {
  padding: 1.25rem;
  border-radius: 12px;

  display: flex;              /* 🔥 flex para alinhar os itens */
  flex-direction: column;     /* organiza em coluna */
  align-items: center;        /* centraliza horizontal */
  text-align: center;         /* garante que texto fique centralizado */
}

.category-card .icon {
  font-size: 28px;
  margin-bottom: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-card .desc {
  color: #bbb;
  font-size: .95rem;
  margin-bottom: .75rem;
}
.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.category-card {
  padding: 1.25rem;
  border-radius: 12px;

  display: flex;              /* 🔥 flex para alinhar os itens */
  flex-direction: column;     /* organiza em coluna */
  align-items: center;        /* centraliza horizontal */
  text-align: center;         /* garante que texto fique centralizado */
}

.category-card .icon {
  font-size: 28px;
  margin-bottom: .5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.category-card .desc {
  color: #bbb;
  font-size: .95rem;
  margin-bottom: .75rem;
}


/* Trustbar */
.trustbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item {
  background: rgba(255,255,255,.06);
  border: 1px solid #333;
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  color: #fff !important;
}
.trust-item strong {
  display: block;
  color: #fff !important;
  margin-top: .25rem;
}

/* Testimonials */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.quote { background:#1e1e1e; border:1px solid #333; border-radius:12px; padding:1rem; color:#ddd; }
.quote .stars { color:#ffc107; }
.quote .author { color:#fff; margin-top:.5rem; font-weight:600; }

/* Promo carousel */
.carousel-container { position: relative; width: 100%; max-width: 1200px; margin: auto; overflow: hidden; }
.carousel-wrapper { display: flex; transition: transform 0.6s ease; }
.banner-slide { min-width: 100%; height: 240px; background-size: cover; background-position: center; }
.arrow { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0, 0, 0, 0.4); color: white; border: none; padding: 10px 14px; font-size: 24px; cursor: pointer; z-index: 10; border-radius: 50%; transition: background 0.3s; }
.arrow.left { left: 16px; }
.arrow.right { right: 16px; }
.arrow:hover { background: rgba(0, 0, 0, 0.7); }

/* Featured products scroller */
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); background-color: var(--accent); color: white; border: none; border-radius: 16px; width: 40px; height: 40px; cursor: pointer; z-index: 10; }
.carousel-btn.left { left: -24px; }
.carousel-btn.right { right: -24px; }
.carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-behavior: smooth; padding: 1rem; }
.carousel-track::-webkit-scrollbar { display: none; }

/* Product card adjustments */
.product-card { flex: 0 0 calc(20% - 1rem); box-sizing: border-box; background-color: #1e1e1e; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); display: flex; flex-direction: column; height: 100%; }
.product-image-container { position: relative; height: 140px; overflow: hidden; }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; object-fit: cover; border-radius: 50%; padding: 8px;}


.product-card:hover .product-image { transform: scale(1.05); }
.product-info { padding: 1.25rem; display: flex; flex-direction: column; flex: 1; }
.product-title { font-size: 1.1rem; font-weight: 500; color: #ffffff; margin-bottom: 0.75rem; }
.product-rating { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.stars { color: #ffc107; font-size: 0.9rem; }
.rating-count { color: #999; font-size: 0.85rem; }
.product-price { font-size: 1.3rem; font-weight: 600; color: var(--accent); margin-bottom: 1rem; }
.product-actions { margin-top: auto; display: flex; gap: 0.5rem; }
.btn-cart { background-color: var(--accent); border: none; border-radius: 0.375rem; padding: 0.4rem 0.6rem; display: flex; align-items: center; justify-content: center; transition: background-color 0.3s ease, transform 0.2s ease; }
.btn-cart:hover { background-color: #004aad; transform: scale(1.05); }
.btn-cart:active { transform: scale(0.95); }
.btn-cart svg { width: 20px; height: 20px; fill: #fff; }

/* Responsive adjustments */
@media (max-width: 992px) {
  .welcome-title { font-size: 30px; }
  .landing-nav .nav-inner { flex-direction: column; }
}
@media (max-width: 768px) {
  .banner-slide { height: 180px; }
  .trustbar { grid-template-columns: repeat(2, 1fr); }
}

/* Espaçamento entre header e primeira seção */
.welcome-container {
  margin-top: 6rem; /* ajuste conforme necessário (4rem, 8rem...) */
}

/* HEADER AJUSTES (mais discreto) */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0.75rem 1.5rem; /* menor que antes */
  background: rgba(30, 30, 30, 0.95);
  z-index: 1000;
}

.landing-nav .nav-inner {
  max-width: 1600px; /* um pouco maior que o padrão */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo levemente maior */
.landing-nav .logo-img {
  height: 85px; /* reduzido em relação aos 100px */
  width: auto;
  object-fit: contain;
}

/* Espaço para compensar o header fixo */
.main-container-index {
  padding-top: 110px; /* ajustado proporcionalmente */
}

/* ==== Reviews: imagem retrato adaptada ao card (com fotos menores) ==== */
#reviews .review-card {
  flex: 0 0 calc(20% - 1rem); /* mantém 5 por linha no desktop */
}

#reviews .review-card .product-image-container {
  height: 160px;               /* reduzido (antes 220px) */
  overflow: hidden;
  border-bottom: 1px solid #333;
  background: #111;
}

#reviews .review-card .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* recorte elegante */
  object-position: 50% 30%;    /* foca mais no rosto */
  border-radius: 0;            /* sem círculo, mantém fundo real */
  padding: 0;
  transform: scale(1.0);       /* levemente reduzido (antes 1.02) */
}

#reviews .review-card .product-info {
  padding: 1rem 1.1rem 1.2rem;
}

/* Melhor clique dos botões do carrossel sobre o conteúdo */
#reviews .carousel-container { overflow: visible; }
#reviews .carousel-btn { z-index: 20; }

/* Responsivo: 3 cartões por linha no tablet, 2 no mobile */
@media (max-width: 1024px) {
  #reviews .review-card { flex: 0 0 calc(33.333% - 1rem); }
  #reviews .review-card .product-image-container { height: 150px; }
}
@media (max-width: 680px) {
  #reviews .review-card { flex: 0 0 calc(50% - 1rem); }
  #reviews .review-card .product-image-container { height: 130px; }
}

/* Deals carousel: botões iguais aos reviews */
#deals .carousel-container { overflow: visible; }

#deals .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--accent);
  color: #fff;
  border: none;
  border-radius: 16px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 20;
  transition: background-color 0.3s ease;
}
#deals .carousel-btn.left { left: -24px; }
#deals .carousel-btn.right { right: -24px; }
#deals .carousel-btn:hover { background-color: #004aad; }

/* Cards no estilo dos reviews */
#deals .product-card {
  flex: 0 0 calc(20% - 1rem);
  box-sizing: border-box;
  background-color: #1e1e1e;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
#deals .product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Imagem igual reviews: menor e centralizada */
#deals .product-image-container {
  height: 160px;            /* mesmo tamanho dos reviews */
  overflow: hidden;
  border-bottom: 1px solid #333;
  background: #111;
  display: flex;
  justify-content: center;
  align-items: center;
}
#deals .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* corte elegante */
  object-position: center;  /* foca no meio */
  border-radius: 0;
  padding: 0;
  transform: scale(1.0);    /* sem zoom exagerado */
}

/* Conteúdo do card */
#deals .product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
#deals .product-title {
  font-size: 1rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.5rem;
}
#deals .product-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
#deals .stars { color: #ffc107; font-size: 0.9rem; }
#deals .rating-count { color: #999; font-size: 0.85rem; }
#deals .product-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
#deals .product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

/* Responsivo */
@media (max-width: 1024px) {
  #deals .product-card { flex: 0 0 calc(33.333% - 1rem); }
  #deals .product-image-container { height: 150px; }
}
@media (max-width: 680px) {
  #deals .product-card { flex: 0 0 calc(50% - 1rem); }
  #deals .product-image-container { height: 130px; }
}
