.hero {
  background: radial-gradient(1200px 500px at 20% 20%, rgba(0, 0, 0, 0.03), transparent),
    linear-gradient(180deg, #ffffff, #fbfbfb);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
}

.public-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.public-banner__overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.86));
}

.navbar-custom {
  background: var(--menu-bg, #479667);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: var(--menu-fg, #ffffff);
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus {
  color: var(--menu-fg, #ffffff);
  opacity: 0.9;
}

.navbar-custom .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.35);
}

.navbar-custom .navbar-cart {
  color: var(--menu-fg, #ffffff);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: transparent;
}

.navbar-custom .navbar-cart:hover {
  background: #ffffff;
  color: var(--menu-fg-hover, #111827);
  border-color: rgba(255, 255, 255, 0.85);
}

.navbar-custom .navbar-cart:hover .cart-badge {
  background-color: var(--menu-fg-hover, #111827) !important;
  color: #ffffff !important;
}

.navbar-logo {
  transition: transform 1s ease;
  transform-origin: center;
  display: inline-block;
}

.navbar-logo.is-flipped {
  transform: rotateY(360deg);
}

.footer-signature {
  color: #1f1f1f;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}

.cart-table__header,
.cart-table__row {
  display: grid;
  grid-template-columns: 28px 1fr 120px 170px 140px;
  gap: 16px;
  align-items: center;
}

.cart-table__row {
  padding: 12px 0;
}

.cart-table__product a {
  color: inherit;
}

.cart-table__qty .form-control {
  min-width: 56px;
}

.cart-table__price {
  text-align: center;
}

.cart-table__qty {
  display: flex;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .cart-table__row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cart-table__remove {
    order: 5;
    text-align: left;
  }

  .cart-table__price,
  .cart-table__qty,
  .cart-table__subtotal {
    text-align: left !important;
    justify-content: flex-start;
  }
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.step__circle {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #e6f5ec;
  color: #198754;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.step__line {
  flex: 1;
  height: 2px;
  background: rgba(0, 0, 0, 0.08);
}

.step__title {
  font-weight: 700;
  margin-bottom: 6px;
}

.step__desc {
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step__line {
    display: none;
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card__image-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  padding: 16px;
  background: #f8f9fa;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden; 
  cursor: pointer;
}

.product-card__image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background-color: #eeeeee; /* Cor de fundo "esqueleto" */
  border-radius: 4px;        /* Deixa os cantos suaves */  
  transition: transform 0.4s ease; /* Tempo do zoom (0.4 segundos) */
}

.product-card__image-wrapper img {
  transition: transform 0.4s ease; /* Tempo do zoom (0.4 segundos) */
}

.product-card__image-wrapper:hover .product-card__image {
  transform: scale(1.15); /* Zoom ao passar o mouse */
}


.product-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
}

.product-card__footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.product-card__footer .btn {
  white-space: nowrap;
}

#carouselExampleIndicators,
#carouselExampleIndicators .carousel-inner,
#carouselExampleIndicators .carousel-item {
  height: calc(100vh - var(--navbar-height, 72px));
}

#carouselExampleIndicators .carousel-item {
  position: relative;
  background-color: #000;
}

#carouselExampleIndicators .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.6;
}

[id="sobre"],
[id="contato"] {
  scroll-margin-top: calc(var(--navbar-height, 72px) + 24px);
}

/* Garante animação de slide (mesmo com "reduzir movimento" do SO) */
#carouselExampleIndicators .carousel-item {
  transition: transform 1s ease-in-out;
}

@media (prefers-reduced-motion: reduce) {
  #carouselExampleIndicators .carousel-item {
    transition: transform 1s ease-in-out !important;
  }
}

.carousel--side .carousel-indicators--side {
  position: absolute;
  top: 50%;
  right: 16px;
  left: auto;
  bottom: auto;
  transform: translateY(-50%);
  margin: 0;
  gap: 10px;
  flex-direction: column;
}

.carousel--side .carousel-indicator-thumb {
  width: 72px;
  height: 56px;
  border-radius: 10px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  margin: 0;
}

.carousel--side .carousel-indicator-thumb.active {
  opacity: 1;
  border-color: rgba(25, 135, 84, 0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/* Define a animação */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Aplica a animação às imagens */
.img-suave {
  animation: fadeIn 0.8s ease-in-out;
}

/* Estiliza o botão dentro do input file */
.form-control::file-selector-button {
  background-color: #198754; /* Cor 'success' do Bootstrap */
  color: white;
  border: none;
  border-radius: 5px;
  padding: 0.2rem 0.75rem;
  margin-right: 1rem;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

/* Efeito ao passar o mouse */
.form-control::file-selector-button:hover {
  background-color: #146c43; /* Verde mais escuro */
  color: black
}
