.navbar .navbar-nav .nav-link {
  color: #25201f;
  font-size: 17px;
  font-weight: 600;
}

header .navbar-brand {
  padding: 15px 0;
}

header .navbar-brand img {
  max-height: 55px;
}

.header-push-button .push-button span {
  background: #25201f;
}

.header-icon .icon>a {
  color: #25201f;
}

.bg-gradient-gulf-blue-sepia-brown {
  background-image: linear-gradient(to right, #000000, #121214, #100a07, #25201f, #0a0a09);
}

.opacity-extra-hard {
  opacity: 0.8;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
}

.caix-top {
  background-color: #f5f5f5;
  padding: 40px 20px 40px 20px;
  border-radius: 20px;
}

.line-h-1 {
  line-height: 1.3rem;
}

.line-h-0 {
  line-height: 1.1rem !important;
  text-transform: uppercase;
  display: block;
}

.h-72 {
  height: 400px !important;
  width: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 6px;
  /* opcional: mantém o border-radius do container */
}

.btn-orcamento {
  background-color: #ffffff;
}

.btn-orcamento .add-orcamento {
  display: block;
  border: 1px solid var(--base-color);
  padding: 8px 10px;
  border-radius: 20px;
  margin: 0 auto;
  width: 200px;
  line-height: 1rem;
  font-size: 14px;
  color: #121214;
  transition: all 0.2s;
}

.btn-orcamento .add-orcamento:hover {
  background-color: var(--base-color);
  color: white;
  transition: all 0.5s;
}

.shop-image .lable {
  font-size: 9px !important;
  font-weight: 400;
  color: white;
  letter-spacing: 0.5px;
  padding: 5px 8cqh;
  border-radius: 20px;
  /* Pílula perfeita */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
  text-align: center;
  line-height: 1.5;
  min-width: 70px;
  display: inline-block;
  position: relative;
  text-transform: none;
  top: 1px;
  left: 7px;
}

.shop-image .lable.new {
  background: rgb(95, 150, 214);
  /* Vermelho */
}

.shop-image .lable.best-seller {
  background: rgb(95, 150, 214);
  /* Vermelho */
}

.shop-image .lable.featured {
  background: rgb(95, 150, 214);
  /* Vermelho */
}

.shop-sidebar .shop-filter li {
  padding: 0px;
}

.btn i {
  margin-left: 0px;
}

.pwp {
  padding: 10% 0% 0% 0% !important
}


/**
 * CSS Fix para Grid de Produtos - Choque Bruto
 * Garante que o grid funcione perfeitamente em AJAX
 */

/* Grid Container */
.shop-wrapper.grid {
  display: grid;
  width: 100%;
  gap: var(--grid-gutter, 30px);
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Grid Sizer (necessário para alguns layouts) */
.shop-wrapper .grid-sizer {
  display: none;
}

/* Grid Base - 4 colunas */
.shop-wrapper.grid-4col {
  grid-template-columns: repeat(4, 1fr);
}

/* XXL Screens (1400px+) - 4 colunas */
@media (min-width: 1400px) {
  .shop-wrapper.xxl-grid-4col {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* XL Screens (1200px - 1399px) - 3 colunas */
@media (max-width: 1399px) and (min-width: 1200px) {
  .shop-wrapper.xl-grid-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* LG Screens (992px - 1199px) - 3 colunas */
@media (max-width: 1199px) and (min-width: 992px) {
  .shop-wrapper.lg-grid-3col {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* MD Screens (768px - 991px) - 2 colunas */
@media (max-width: 991px) and (min-width: 768px) {
  .shop-wrapper.md-grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SM Screens (576px - 767px) - 2 colunas */
@media (max-width: 767px) and (min-width: 576px) {
  .shop-wrapper.sm-grid-2col {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* XS Screens (menor que 576px) - 1 coluna */
@media (max-width: 575px) {
  .shop-wrapper.xs-grid-1col {
    grid-template-columns: 1fr;
  }

  .pwp {
    padding: 30% 0% 0% 0% !important
  }
}

/* Grid Item */
.shop-wrapper .grid-item {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Espaçamento extra */
.shop-wrapper.gutter-large {
  gap: 30px;
}

.shop-wrapper.gutter-extra-large {
  gap: 40px;
}

/* Garantir que imagens não quebrem o layout */
.shop-wrapper .grid-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Shop Box */
.shop-box {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.shop-image {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.shop-footer {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Animação Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

/* Loading Overlay */
.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  border-radius: 6px;
}

.loading-overlay .spinner-border {
  width: 3rem;
  height: 3rem;
}

/* Flags de Produto */
.flag-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.flag-icon:hover {
  transform: scale(1.1);
}

.flag-new {
  background-color: #e74c3c;
}

.flag-bestseller {
  background-color: #27ae60;
}

.flag-featured {
  background-color: #f39c12;
}

/* Hover Effects */
.shop-hover {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.shop-box:hover .shop-hover {
  opacity: 1;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.shop-box:hover .product-overlay {
  opacity: 1;
}

/* Botões de Ação */
.shop-hover a,
.shop-hover button {
  transition: all 0.3s ease;
}

.shop-hover a:hover,
.shop-hover button:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Responsividade Aprimorada */
@media (max-width: 575px) {
  .flag-icon {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  .shop-hover a,
  .shop-hover button {
    width: 40px !important;
    height: 40px !important;
  }

  .shop-footer .fs-17 {
    font-size: 15px !important;
  }

  .shop-footer .fs-15 {
    font-size: 13px !important;
  }
}

/* Fix para quando o grid não tem Isotope */
.shop-wrapper:not(.isotope) {
  display: grid !important;
}

/* Garantir altura uniforme dos cards */
.shop-box {
  min-height: 400px;
}

@media (max-width: 991px) {
  .shop-box {
    min-height: 350px;
  }
}

@media (max-width: 575px) {
  .shop-box {
    min-height: 300px;
  }
}

/* Fix para imagens que não carregam */
.shop-image img[src=""],
.shop-image img:not([src]) {
  background: #f5f5f5;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.shop-image img[src=""]:after,
.shop-image img:not([src]):after {
  content: '📦';
  font-size: 48px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Smooth transitions */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Print styles */
@media print {

  .shop-hover,
  .loading-overlay,
  .flag-icon {
    display: none !important;
  }
}

/* Card inteiro clicável botoes */
.card-link-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

/* Botões ficam acima do link do card */
.shop-box .d-flex.flex-column.gap-2 {
  position: relative;
  z-index: 10;
}

/* Botões com bordas discretas e mais arredondados */
.btn-outline-dark-gray {
  border: 1px solid #6c757d;
  color: #6c757d;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.btn-outline-dark-gray:hover {
  background-color: #6c757d !important;
  color: white !important;
  border-color: #6c757d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline-success {
  border: 1px solid #25d366;
  color: #25d366;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.btn-outline-success:hover {
  background-color: #25d366 !important;
  color: white !important;
  border-color: #25d366 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 211, 102, 0.2);
}

.btn-outline-danger {
  border: 1px solid #dc3545;
  color: #dc3545;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}

.btn-outline-danger:hover {
  background-color: #dc3545 !important;
  color: white !important;
  border-color: #dc3545 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(220, 53, 69, 0.2);
}

/* Transição suave */
.transition-default {
  transition: all 0.3s ease;
}

.transition-all {
  transition: all 0.4s ease;
}

/* Hover nos ícones */
.btn-outline-dark-gray:hover i,
.btn-outline-success:hover i {
  transform: scale(1.1);
}

/* Flags com ícones UNIFORMES - Todos cinza escuro #444444 - Com margem da esquerda */
.flag-icon-uniform {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #444444;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.flag-icon-uniform i {
  font-size: 13px;
}

.flag-icon-uniform:hover {
  transform: scale(1.1);
  background-color: #333333;
}

/* Botão Ver Produto - SOBE no hover do card */
.btn-view-container {
  transition: transform 0.4s ease;
}

.shop-box:hover .btn-view-container {
  transform: translateY(-10px);
}

.btn-view-product-bottom {
  transition: all 0.3s ease;
}

.shop-box:hover .btn-view-product-bottom {
  background-color: var(--base-color, #f8b739) !important;
  color: white !important;
  box-shadow: 0 6px 20px rgba(248, 183, 57, 0.4);
  transform: scale(1.05);
}

.shop-box:hover .btn-view-product-bottom i {
  animation: pulse 1s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

/* Hover no card inteiro */
.shop-box {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.shop-box:hover {
  transform: translateY(-5px);
}

.shop-box:hover .shop-image {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsividade */
@media (max-width: 575px) {
  .btn-small {
    font-size: 12px;
    padding: 8px 15px !important;
    border-radius: 20px !important;
  }

  .btn-small .fs-13 {
    font-size: 11px !important;
  }

  .btn-small i {
    font-size: 12px !important;
  }

  .flag-icon-uniform {
    width: 24px !important;
    height: 24px !important;
  }

  .flag-icon-uniform i {
    font-size: 11px !important;
  }

  .btn-view-product-bottom {
    width: 42px !important;
    height: 42px !important;
    border-radius: 21px !important;
  }

  .btn-view-product-bottom i {
    font-size: 16px !important;
  }

  .shop-box:hover .btn-view-container {
    transform: translateY(-8px);
  }
}

/* Smooth transitions para todos os elementos */
.shop-box,
.shop-image,
.btn-view-product-bottom,
.flag-icon-uniform,
.btn-view-container {
  transition: all 0.3s ease;
}

/* Garantir que o card inteiro tenha cursor pointer */
.shop-box {
  cursor: pointer;
  border: 3px solid #f5f5f5;
}

/* Remover cursor pointer dos botões para não confundir */
.shop-box .btn {
  cursor: pointer;
}

.bg-verdee {
  background: #00300e;
  padding: 90px 0 100px;
}


/* Grade dourada sutil no fundo */
.bg-verdee::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 199, 35, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 199, 35, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Barra vermelha de destaque no topo */
.bg-verdee::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #c40404, #f4c723, #c40404);
}


/* ═══════════════════════════════════════════
           BLOCO COMO FUNCIONA — PALETA CHOQUE BRUTO
           #f4c723 amarelo | #244701 verde | #c40404 vermelho
           #ffffff branco  | #00300e verde-profundo
        ═══════════════════════════════════════════ */
#como-funciona {
  background: #00300e;
  padding: 90px 0 100px;
}

/* Grade dourada sutil no fundo */
#como-funciona::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(244, 199, 35, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 199, 35, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}

/* Barra vermelha de destaque no topo */
#como-funciona::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #c40404, #f4c723, #c40404);
}

/* Label do método */
.cb-method-label {
  display: inline-block;
  background: rgba(196, 4, 4, .18);
  color: #f4c723;
  border: 1px solid rgba(196, 4, 4, .5);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 20px;
  border-radius: 50px;
  margin-bottom: 18px;
}

.cb-method-title {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

/* "em 3 Passos" em amarelo dourado */
.cb-method-title span {
  color: #f4c723;
  display: block;
}

.cb-method-subtitle {
  color: rgba(255, 255, 255, .6);
  font-size: 17px;
  line-height: 1.65;
  max-width: 540px;
  margin: 0 auto;
}

/* ── Grid dos 3 cards ── */
.cb-steps-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  margin-top: 68px;
}

@media (max-width: 991px) {
  .cb-steps-wrapper {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 48px;
  }
}

/* ── Card de passo ── */
.cb-step-card {
  position: relative;
  z-index: 1;
  border-radius: 12px;
  background: #00300e;
  border: 3px solid #f4c723;
  transition: transform .4s ease, border-color .4s ease, box-shadow .4s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.cb-step-card:hover {
  transform: translateY(-8px);
  border-color: #f4c723;
  box-shadow: 0 20px 50px rgba(244, 199, 35, .2);
}

/* Número gigante decorativo de fundo */
.cb-step-card::before {
  content: attr(data-step);
  position: absolute;
  bottom: -10px;
  right: -5px;
  font-size: 140px;
  font-weight: 900;
  color: rgba(244, 199, 35, .07);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -8px;
}

/* ── Foto no topo do card ── */
.cb-step-photo {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.cb-step-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
  display: block;
}

.cb-step-card:hover .cb-step-photo img {
  transform: scale(1.08);
}

/* Overlay gradiente verde-profundo sobre a foto */
.cb-step-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 48, 14, .05) 0%,
      rgba(0, 48, 14, .55) 100%);
  pointer-events: none;
}

/* Badge de número VERMELHO sobre a foto */
.cb-step-num-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  background: #c40404;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(196, 4, 4, .5);
}

/* ── Corpo do card ── */
.cb-step-body {
  padding: 26px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

/* Linha dourada de destaque na base da foto */
.cb-step-body::before {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background: #f4c723;
  border-radius: 2px;
  margin-bottom: 16px;
}

.cb-step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(244, 199, 35, .7);
  margin-bottom: 8px;
}

.cb-step-title {
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -.4px;
  line-height: 1.2;
}

.cb-step-desc {
  color: rgba(255, 255, 255, .65);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 0;
  flex: 1;
}

/* ── CTA ── */
.cb-method-cta {
  margin-top: 64px;
  text-align: center;
}

.cb-btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #c40404 0%, #c40404 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding: 18px 46px;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: .4px;
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 12px 40px rgba(196, 4, 4, .3);
  border: 1px solid rgba(244, 199, 35, .3);
}

.cb-btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 50px rgba(196, 4, 4, .45);
  background: linear-gradient(135deg, #970606ff 0%, #ac0505ff 100%);
  color: #ffffff;
}

.cb-btn-cta svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  flex-shrink: 0;
}

.cb-trust-note {
  margin-top: 18px;
  color: rgba(255, 255, 255, .35);
  font-size: 13px;
  letter-spacing: .3px;
}

.cb-trust-note span {
  color: #f4c723;
  font-weight: 600;
}

/* Ajuste de altura para .one-half-screen em mobile/tablet */
@media (max-width: 991px) {
  .one-half-screen {
    height: 200px !important;
  }
}

/* Efeitos Sticky Navbar configurados via script do main.js (header.sticky) */
header.sticky .navbar {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.96) !important;
  /* leve transparência moderna */
  backdrop-filter: blur(10px);
  /* efeito glass */
}

/* Transições suaves gerais no header pra ir e voltar */
header .navbar,
header .navbar-nav .nav-link,
header .navbar-brand img {
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Redução sutil de fonte na rolagem da navbar */
header.sticky .navbar-nav .nav-link {
  font-size: 15px !important;
}

/* Redução do logo da navbar para economizar espaço vertical na rolagem */
header.sticky .navbar-brand img {
  max-height: 48px !important;
}

/* =========================================
   Mobile Scroll para Blocos de Produtos
   ========================================= */
@media (max-width: 767px) {
  .row-mobile-scroll {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-bottom: 15px;
    margin-left: 0;
    margin-right: 0;
    /* hide standard scrollbar on firefox */
    scrollbar-width: none;
  }

  /* hide scrollbar on webkit chrome/safari */
  .row-mobile-scroll::-webkit-scrollbar {
    display: none;
  }

  .row-mobile-scroll>[class*='col-'] {
    flex: 0 0 85% !important;
    max-width: 85% !important;
    scroll-snap-align: center;
    padding-left: 10px;
    padding-right: 10px;
  }
}