/* ===== PREVENÇÃO DE OVERFLOW HORIZONTAL ===== */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

.container, .container-fluid {
  max-width: 100%;
  overflow-x: hidden;
  padding-left: 15px;
  padding-right: 15px;
}

.row {
  margin-left: 0;
  margin-right: 0;
  max-width: 100%;
}

/* Garantir que elementos não ultrapassem a largura da tela */
img, video, iframe, embed, object {
  max-width: 100%;
  height: auto;
}

/* Prevenir overflow em elementos flex */
.flex-container, .d-flex {
  max-width: 100%;
  overflow-x: hidden;
}

/* ===== QUANTITY SELECTOR DESIGN RADICALMENTE NOVO ===== */
.quantity-selector, .quantity-selector-cart {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.quantity-selector .input-group, .quantity-selector-cart .input-group {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 
    0 4px 20px rgba(0,0,0,0.08),
    0 2px 8px rgba(0,0,0,0.04);
  overflow: hidden;
  min-width: 140px;
  max-width: 200px;
  width: 100%;
  height: 45px;
  border: 1px solid #e1e5e9;
  position: relative;
}

.quantity-selector .btn, .quantity-selector-cart .btn {
  flex: 0 0 45px !important;
  width: 45px !important;
  min-width: 45px !important;
  max-width: 45px !important;
  height: 100% !important;
  background: #f8f9fa;
  color: #495057 !important;
  font-size: 16px;
  font-weight: 600;
  border: none !important;
  outline: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
  position: relative;
  z-index: 2;
}

.quantity-selector .btn:hover, .quantity-selector-cart .btn:hover {
  background: #e9ecef;
  color: #212529 !important;
  transform: none;
}

.quantity-selector .btn:active, .quantity-selector-cart .btn:active {
  background: #dee2e6;
  transform: scale(0.98);
}

.quantity-selector .btn i, .quantity-selector-cart .btn i {
  font-size: 12px;
  pointer-events: none;
  transition: transform 0.2s ease;
}

.quantity-selector .btn:hover i, .quantity-selector-cart .btn:hover i {
  transform: scale(1.1);
}

.quantity-selector .form-control, .quantity-selector-cart .form-control {
  flex: 1 1 auto !important;
  min-width: 60px !important;
  max-width: none !important;
  width: auto !important;
  height: 100% !important;
  border: none !important;
  background: #ffffff !important;
  color: #212529 !important;
  font-size: 16px;
  font-weight: 600;
  text-align: center !important;
  padding: 0 12px !important;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  line-height: 45px !important;
  transition: all 0.2s ease;
  position: relative;
  z-index: 2;
}

.quantity-selector .form-control:focus, .quantity-selector-cart .form-control:focus {
  background: #ffffff !important;
  color: #212529 !important;
  box-shadow: inset 0 0 0 2px #007bff !important;
}

.quantity-selector .form-control::-webkit-outer-spin-button,
.quantity-selector .form-control::-webkit-inner-spin-button,
.quantity-selector-cart .form-control::-webkit-outer-spin-button,
.quantity-selector-cart .form-control::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.quantity-selector .form-control[type=number],
.quantity-selector-cart .form-control[type=number] {
  -moz-appearance: textfield !important;
  appearance: textfield !important;
}

/* Responsivo */
@media (max-width: 768px) {
  .quantity-selector .input-group, .quantity-selector-cart .input-group {
    min-width: 120px;
    max-width: 160px;
    height: 40px;
  }
  .quantity-selector .btn, .quantity-selector-cart .btn {
    flex: 0 0 40px !important;
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    font-size: 14px;
  }
  .quantity-selector .form-control, .quantity-selector-cart .form-control {
    font-size: 14px;
    padding: 0 10px !important;
    line-height: 40px !important;
  }
  .quantity-selector .btn i, .quantity-selector-cart .btn i {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .quantity-selector .input-group, .quantity-selector-cart .input-group {
    min-width: 100px;
    max-width: 140px;
    height: 36px;
  }
  .quantity-selector .btn, .quantity-selector-cart .btn {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    font-size: 12px;
  }
  .quantity-selector .form-control, .quantity-selector-cart .form-control {
    font-size: 12px;
    padding: 0 8px !important;
    line-height: 36px !important;
  }
  .quantity-selector .btn i, .quantity-selector-cart .btn i {
    font-size: 8px;
  }
}

/* ===== CARRINHO ESPECÍFICO ===== */
.quantity-selector-cart .input-group {
  min-width: 110px;
  max-width: 150px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid #e1e5e9;
}

.quantity-selector-cart .btn {
  flex: 0 0 38px !important;
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 100% !important;
  font-size: 12px;
  background: #f8f9fa;
  color: #495057 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.quantity-selector-cart .form-control {
  font-size: 12px;
  padding: 0 8px !important;
  line-height: 38px !important;
  background: #ffffff !important;
  color: #212529 !important;
  font-weight: 600;
}

.quantity-selector-cart .btn i {
  font-size: 8px;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.quantity-selector-cart .btn:hover {
  background: #e9ecef;
  color: #212529 !important;
}

.quantity-selector-cart .form-control:focus {
  background: #ffffff !important;
  color: #212529 !important;
  box-shadow: inset 0 0 0 2px #007bff !important;
}

/* Garantir que a quantidade seja sempre visível */
.quantity-selector-cart .form-control,
.quantity-selector-cart .form-control:focus,
.quantity-selector-cart .form-control:hover {
  background: #ffffff !important;
  color: #212529 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
}

/* Override para qualquer estilo que possa estar interferindo */
.quantity-selector-cart .form-control[type="number"] {
  background: #ffffff !important;
  color: #212529 !important;
  font-weight: 600 !important;
  text-shadow: none !important;
  -webkit-text-fill-color: #212529 !important;
  -webkit-text-stroke: 0 !important;
}

/* Garantir que os ícones sejam sempre visíveis */
.quantity-selector-cart .btn i.fa-plus,
.quantity-selector-cart .btn i.fa-minus {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-size: 8px !important;
  color: #495057 !important;
}

/* ===== CARDS DOS PRODUTOS MODERNOS ===== */
#prod-module .card {
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
  border: none;
  border-radius: 20px;
  overflow: visible !important;
  box-shadow: 
    0 20px 40px rgba(0,0,0,0.3),
    0 8px 20px rgba(226,185,84,0.1),
    inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(20px);
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 450px; /* Altura mínima para garantir proporcionalidade */
}

#prod-module .card img {
  transition: all 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
  width: 100%;
  height: 220px; /* Altura fixa para proporcionalidade */
  object-fit: cover;
  object-position: center;
  border-radius: 20px 20px 0 0;
  flex-shrink: 0; /* Impede que a imagem seja redimensionada */
}

#prod-module .card:hover img {
  filter: brightness(1.1) contrast(1.2);
  transform: scale(1.05);
}

#prod-module .card-body {
  background: linear-gradient(145deg, #1a1a1a 0%, #2d2d2d 100%);
  padding: 25px 20px 30px 20px !important;
  position: relative;
  z-index: 2;
  overflow: visible !important;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 230px; /* Altura mínima para garantir consistência */
}

/* Forçar que o conteúdo superior ocupe o espaço disponível */
#prod-module .card-body > *:not(.add-to-cart-with-quantity):not(.btn-outline-info) {
  flex-shrink: 0;
}

/* Forçar que os botões fiquem sempre na parte inferior */
#prod-module .card-body .card-buttons-wrapper {
  margin-top: auto !important;
  flex-shrink: 0;
}

/* Garantir que os botões tenham altura consistente */
#prod-module .card-buttons-wrapper .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

#prod-module .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(226,185,84,0.05) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

#prod-module .card:hover::before {
  opacity: 1;
}

#prod-module .card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.4),
    0 15px 30px rgba(226,185,84,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

#prod-module .produto-name {
  color: #e2b954;
  font-weight: 900;
  font-size: 18px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 15px;
  letter-spacing: 1px;
  line-height: 1.3;
  min-height: 48px; /* Altura mínima para nomes de produtos */
  display: flex;
  align-items: center;
  justify-content: center;
}

#prod-module .show-preco h1 {
  background: linear-gradient(135deg, #e2b954 0%, #f39c12 50%, #e2b954 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 32px;
  font-weight: 900;
  text-shadow: 0 4px 8px rgba(226,185,84,0.3);
  margin: 15px 0;
  letter-spacing: 2px;
  animation: pulse 3s ease-in-out infinite;
  line-height: 1.2;
  min-height: 40px; /* Altura mínima para preços */
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* ===== EFEITOS ESPECIAIS PARA CARDS ===== */
#prod-module .card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(226,185,84,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(226,185,84,0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(226,185,84,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}

#prod-module .card:hover::after {
  opacity: 1;
}

/* ===== GARANTIR ALTURA IGUAL DOS CARDS ===== */
#prod-module .col-md-4 {
  display: flex;
  margin-bottom: 20px;
}

#prod-module .col-md-4 .card {
  width: 100%;
  margin-bottom: 0;
}

/* Responsividade para altura dos cards */
@media (max-width: 768px) {
  #prod-module .card {
    min-height: 400px; /* Altura mínima reduzida para mobile */
  }
  
  #prod-module .card img {
    height: 180px; /* Altura reduzida para mobile */
  }
  
  #prod-module .card-body {
    min-height: 220px; /* Altura mínima reduzida para mobile */
  }
  
  #prod-module .produto-name {
    font-size: 16px;
    min-height: 44px;
  }
  
  #prod-module .show-preco h1 {
    font-size: 28px;
    min-height: 36px;
  }
  
  #prod-module .card-buttons-wrapper .btn {
    /* Maintain original button sizing */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  #prod-module .card {
    min-height: 380px; /* Altura mínima ainda menor para mobile pequeno */
  }
  
  #prod-module .card img {
    height: 160px; /* Altura ainda menor para mobile pequeno */
  }
  
  #prod-module .card-body {
    min-height: 220px; /* Altura mínima mantida */
  }
  
  #prod-module .produto-name {
    font-size: 15px;
    min-height: 40px;
  }
  
  #prod-module .show-preco h1 {
    font-size: 24px;
    min-height: 32px;
  }
  
  #prod-module .card-buttons-wrapper .btn {
    /* Maintain original button sizing */
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }
}

/* Garantir espaçamento consistente entre elementos */
/* These rules are now handled by the wrapper structure */

/* Product card content and button wrappers for better alignment */
#prod-module .card-body .card-content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 140px; /* Altura mínima aumentada */
}

#prod-module .card-body .card-buttons-wrapper {
    flex-shrink: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Ensure consistent spacing within content wrapper */
#prod-module .card-body .card-content-wrapper .produto-name {
    margin-bottom: 15px !important;
    flex-shrink: 0;
}

#prod-module .card-body .card-content-wrapper .show-preco {
    margin-bottom: 15px !important;
    flex-shrink: 0;
}

#prod-module .card-body .card-content-wrapper .quantity-selector {
    margin-bottom: 15px !important;
    flex-shrink: 0;
}

/* Ensure buttons maintain their original sizing while being aligned */
#prod-module .card-body .card-buttons-wrapper .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Responsive adjustments for the new structure */
@media (max-width: 768px) {
    #prod-module .card-body .card-content-wrapper {
        min-height: 120px; /* Altura mínima reduzida para mobile */
    }
}

@media (max-width: 480px) {
    #prod-module .card-body .card-content-wrapper {
        min-height: 110px; /* Altura mínima ainda menor para mobile pequeno */
    }
}

/* Melhorias adicionais para proporcionalidade */
#prod-module .sidebar-module {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#prod-module .sidebar-module .card {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Garantir que as imagens mantenham proporção em diferentes resoluções */
@media (min-width: 1200px) {
  #prod-module .card img {
    height: 240px; /* Altura maior para telas grandes */
  }
  
  #prod-module .card {
    min-height: 480px; /* Altura mínima maior para telas grandes */
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #prod-module .card img {
    height: 220px; /* Altura padrão para telas médias */
  }
  
  #prod-module .card {
    min-height: 450px; /* Altura mínima padrão */
  }
}

/* Melhorar a responsividade das imagens */
#prod-module .card img {
  aspect-ratio: 16/9; /* Manter proporção 16:9 */
  object-fit: cover;
  object-position: center;
}

/* Garantir que os cards tenham largura consistente e espaçamento adequado */
#prod-module .col-md-4 {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Espaçamento maior entre cards */
}

@media (max-width: 768px) {
  #prod-module .col-md-4 {
    margin-bottom: 20px; /* Espaçamento reduzido para mobile */
  }
}

@media (max-width: 480px) {
  #prod-module .col-md-4 {
    margin-bottom: 15px; /* Espaçamento ainda menor para mobile pequeno */
  }
}

/* ===== TABELA DO CARRINHO MODERNA ===== */
.carrinho .table {
  background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
  border-radius: 16px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.3),
    0 8px 20px rgba(226,185,84,0.1);
  border: 1px solid rgba(226,185,84,0.2);
  margin-bottom: 25px;
  width: 100%;
  table-layout: auto;
  overflow: hidden;
}

.carrinho .table thead th {
  background: linear-gradient(135deg, #e2b954 0%, #f39c12 50%, #e2b954 100%);
  color: #1a1a1a;
  padding: 15px 10px;
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.3);
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.carrinho .table tbody td {
  padding: 15px 10px;
  border-bottom: 1px solid rgba(226,185,84,0.1);
  vertical-align: middle;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.carrinho .table tbody td:first-child {
  color: #e2b954;
  font-weight: 700;
  font-size: 15px;
  width: 25%;
  min-width: 120px;
}

.carrinho .table tbody td:nth-child(2) {
  color: #f39c12;
  font-weight: 600;
  font-size: 13px;
  width: 20%;
  min-width: 100px;
}

.carrinho .table tbody td:nth-child(3) {
  width: 15%;
  min-width: 80px;
}

.carrinho .table tbody td:nth-child(4) {
  color: #00c853;
  font-weight: 700;
  font-size: 14px;
  width: 15%;
  min-width: 80px;
}

.carrinho .table tbody td:nth-child(5) {
  color: #e2b954;
  font-weight: 900;
  font-size: 16px;
  width: 15%;
  min-width: 90px;
}

.carrinho .table tbody td:last-child {
  width: 10%;
  min-width: 60px;
}

.carrinho .table tbody tr:hover {
  background: rgba(226,185,84,0.05);
}

.carrinho .table .actions .btn {
  margin: 2px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.carrinho .table .actions .btn:first-child {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: white;
  border: none;
}

.carrinho .table .actions .btn:last-child {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  color: white;
  border: none;
}

/* ===== PÁGINA DE CHECKOUT MODERNA E LEGÍVEL ===== */
.box-body {
  background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
  border-radius: 16px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.3),
    0 8px 20px rgba(226,185,84,0.1);
  border: 1px solid rgba(226,185,84,0.2);
  padding: 25px;
  margin-bottom: 20px;
  color: #e2b954;
  overflow: hidden;
}

.box-title {
  background: linear-gradient(135deg, #e2b954 0%, #f39c12 50%, #e2b954 100%);
  color: #1a1a1a;
  padding: 15px 20px;
  border-radius: 12px 12px 0 0;
  font-weight: 900;
  font-size: 18px;
  margin: -25px -25px 20px -25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

/* Card CUPOM específico */
.box.mt-3 {
  background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
  border-radius: 16px;
  box-shadow: 
    0 15px 35px rgba(0,0,0,0.3),
    0 8px 20px rgba(226,185,84,0.1);
  border: 1px solid rgba(226,185,84,0.2);
  margin-top: 20px !important;
  overflow: hidden;
}

.box.mt-3 .box-title-cupom {
  background: linear-gradient(135deg, #e2b954 0%, #f39c12 50%, #e2b954 100%) !important;
  color: #1a1a1a !important;
  padding: 15px 20px !important;
  border-radius: 12px 12px 0 0 !important;
  font-weight: 900 !important;
  font-size: 18px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.3) !important;
  margin: 0 !important;
}

.box.mt-3 .box-body {
  background: linear-gradient(145deg, #1e1e1a 0%, #2a2a2a 100%);
  border-radius: 0 0 16px 16px;
  box-shadow: none;
  border: none;
  padding: 25px;
  margin: 0;
  color: #e2b954;
}

.box-title-cupom {
  background: linear-gradient(135deg, #e2b954 0%, #f39c12 50%, #e2b954 100%);
  color: #1a1a1a;
  padding: 15px 20px;
  border-radius: 12px 12px 0 0;
  font-weight: 900;
  font-size: 18px;
  margin: -25px -25px 20px -25px;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(255,255,255,0.3);
}

/* Estilos para elementos de texto no checkout */
.box-body h6 {
  color: #e2b954 !important;
  font-weight: 600;
  margin-bottom: 8px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.box-body span {
  color: #fff !important;
  font-weight: 700;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.box-body .valorDesconto {
  color: #f39c12 !important;
}

.box-body .valorTotal {
  color: #00c853 !important;
  font-weight: 900 !important;
  text-shadow: 0 1px 2px rgba(0,200,83,0.3);
}

/* Formulários no checkout */
.box-body input[type="text"],
.box-body input[type="number"] {
  background: rgba(255,255,255,0.1) !important;
  border: 1px solid rgba(226,185,84,0.3) !important;
  color: #fff !important;
  border-radius: 8px !important;
  padding: 12px 15px !important;
  width: 100% !important;
  margin-bottom: 15px !important;
  box-sizing: border-box;
}

.box-body input[type="text"]:focus,
.box-body input[type="number"]:focus {
  background: rgba(255,255,255,0.15) !important;
  border-color: #e2b954 !important;
  box-shadow: 0 0 0 2px rgba(226,185,84,0.2) !important;
}

.box-body input[type="text"]::placeholder,
.box-body input[type="number"]::placeholder {
  color: rgba(226,185,84,0.6) !important;
}

/* Reduzir espaçamento entre seções */
.box-body + .box-body {
  margin-top: 15px;
}

/* Layout responsivo para checkout */
@media (max-width: 768px) {
  .box-body {
    padding: 20px;
    margin-bottom: 15px;
  }
  
  .box-title, .box-title-cupom {
    margin: -20px -20px 15px -20px;
    padding: 12px 15px;
    font-size: 16px;
  }
  
  .box.mt-3 .box-title-cupom {
    padding: 12px 15px !important;
    font-size: 16px !important;
  }
  
  .box.mt-3 .box-body {
    padding: 20px;
  }
  
  .box-body h6 {
    font-size: 14px;
    margin-bottom: 6px;
  }
  
  .box-body input[type="text"],
  .box-body input[type="number"] {
    padding: 10px 12px !important;
    font-size: 14px;
    margin-bottom: 12px !important;
  }
  
  /* Reduzir espaçamento entre seções no mobile */
  .box-body + .box-body {
    margin-top: 10px;
  }
  
  .box.mt-3 {
    margin-top: 15px !important;
  }
  
  /* Layout de colunas para tablet */
  .col-md-8, .col-md-4 {
    width: 100% !important;
    margin-bottom: 20px;
  }
  
  /* Container responsivo */
  .container {
    padding: 0 15px;
  }
  
  /* Row responsivo */
  .row {
    margin: 0 -10px;
  }
  
  .col-md-8, .col-md-4 {
    padding: 0 10px;
  }
  
  /* Tabela responsiva para tablet */
  .carrinho .table {
    font-size: 12px;
    margin-bottom: 20px;
    table-layout: auto;
    border-radius: 12px;
    overflow: hidden;
  }
  
  .carrinho .table thead th {
    padding: 10px 6px;
    font-size: 11px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .carrinho .table tbody td {
    padding: 10px 6px;
    font-size: 11px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .carrinho .table tbody td:first-child {
    font-size: 12px;
    width: 25%;
    min-width: 100px;
  }
  
  .carrinho .table tbody td:nth-child(2) {
    font-size: 11px;
    width: 20%;
    min-width: 80px;
  }
  
  .carrinho .table tbody td:nth-child(3) {
    width: 15%;
    min-width: 70px;
  }
  
  .carrinho .table tbody td:nth-child(4) {
    font-size: 12px;
    width: 15%;
    min-width: 70px;
  }
  
  .carrinho .table tbody td:nth-child(5) {
    font-size: 13px;
    width: 15%;
    min-width: 80px;
  }
  
  .carrinho .table tbody td:last-child {
    width: 10%;
    min-width: 50px;
  }
  
  /* Botões de ação */
  .carrinho .table .actions .btn {
    padding: 4px 6px;
    font-size: 9px;
    margin: 1px;
  }
  
  /* Quantity selector tablet */
  .quantity-selector-cart .input-group {
    min-width: 90px;
    max-width: 120px;
    height: 34px;
  }
  
  .quantity-selector-cart .btn {
    flex: 0 0 34px !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    font-size: 11px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .quantity-selector-cart .form-control {
    font-size: 11px;
    padding: 0 6px !important;
    line-height: 34px !important;
    background: #ffffff !important;
    color: #212529 !important;
    font-weight: 600 !important;
  }
  
  .quantity-selector-cart .btn i {
    font-size: 7px;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Garantir que os ícones sejam sempre visíveis no tablet */
  .quantity-selector-cart .btn i.fa-plus,
  .quantity-selector-cart .btn i.fa-minus {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 7px !important;
    color: #495057 !important;
  }
  
  /* Formulário de pagamento responsivo */
  .gateway {
    display: block;
    margin-bottom: 15px;
  }
  
  .gateway .form-check {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(226,185,84,0.3);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
  }
  
  .gateway img {
    max-width: 80px;
    height: auto;
    margin-left: 10px;
  }
  
  /* Botão de finalizar responsivo */
  .btn-primary.btn-lg {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 15px;
  }
  
  /* Valores responsivos */
  .box-body h6 span {
    margin-left: 0 !important;
    display: block !important;
    text-align: right;
    float: none;
  }
  
  /* Ajustar margens específicas */
  .box-body h6 {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Checkbox e termos responsivos */
  .d-inline-block {
    display: block !important;
    font-size: 13px;
    line-height: 1.4;
    margin-top: 10px;
  }
  
  /* Links nos termos */
  .d-inline-block a {
    color: #e2b954 !important;
    text-decoration: underline;
  }
}

@media (max-width: 480px) {
  .box-body {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 12px;
  }
  
  .box-title, .box-title-cupom {
    margin: -15px -15px 10px -15px;
    padding: 10px 12px;
    font-size: 14px;
    border-radius: 12px 12px 0 0;
  }
  
  .box.mt-3 .box-title-cupom {
    padding: 10px 12px !important;
    font-size: 14px !important;
    border-radius: 12px 12px 0 0 !important;
  }
  
  .box.mt-3 {
    border-radius: 12px;
    margin-top: 10px !important;
  }
  
  .box.mt-3 .box-body {
    padding: 15px;
    border-radius: 0 0 12px 12px;
  }
  
  .box-body h6 {
    font-size: 13px;
    margin-bottom: 5px;
  }
  
  .box-body input[type="text"],
  .box-body input[type="number"] {
    padding: 8px 10px !important;
    font-size: 13px;
    margin-bottom: 10px !important;
  }
  
  /* Reduzir ainda mais o espaçamento no mobile */
  .box-body + .box-body {
    margin-top: 8px;
  }
  
  /* Layout de colunas para mobile */
  .col-md-8, .col-md-4 {
    width: 100% !important;
    margin-bottom: 15px;
    padding: 0 5px;
  }
  
  /* Ajustar container para mobile */
  .container {
    padding: 0 10px;
  }
  
  /* Reduzir margens da row */
  .row {
    margin: 0 -5px;
  }
  
  .col-md-8, .col-md-4 {
    padding: 0 5px;
  }
}

/* ===== HEADER MOBILE MELHORADO ===== */
@media (max-width: 768px) {
  /* Header responsivo */
  .navbar {
    padding: 10px 15px;
  }
  
  .navbar-brand {
    font-size: 18px;
  }
  
  .navbar-nav .nav-link {
    padding: 8px 12px;
    font-size: 14px;
  }
  
  .navbar-toggler {
    padding: 4px 8px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  /* Header mobile */
  .navbar {
    padding: 8px 10px;
  }
  
  .navbar-brand {
    font-size: 16px;
  }
  
  .navbar-nav .nav-link {
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .navbar-toggler {
    padding: 3px 6px;
    font-size: 14px;
  }
}

/* ===== BOTÕES DE COMPRA MODERNOS ===== */
.add-to-cart-with-quantity {
  background: linear-gradient(145deg, #28a745 0%, #20c997 50%, #28a745 100%) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 50px !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  padding: 15px 30px !important;
  font-size: 16px !important;
  transition: all 0.3s ease !important;
  box-shadow: 
    0 6px 20px rgba(40, 167, 69, 0.3),
    0 3px 10px rgba(40, 167, 69, 0.2) !important;
  position: relative !important;
  overflow: hidden !important;
  margin-top: 10px !important;
  z-index: 10 !important;
}

.add-to-cart-with-quantity:hover {
  background: linear-gradient(145deg, #20c997 0%, #28a745 50%, #20c997 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: 
    0 10px 25px rgba(40, 167, 69, 0.4),
    0 5px 15px rgba(40, 167, 69, 0.3) !important;
  color: #fff !important;
}

.add-to-cart-with-quantity:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3) !important;
}

.add-to-cart-with-quantity:disabled {
  background: #6c757d !important;
  transform: none !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  cursor: not-allowed !important;
}

.add-to-cart-with-quantity i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.add-to-cart-with-quantity:hover i {
  transform: scale(1.1);
}

/* Botão Ver Detalhes */
.btn-outline-info {
  background: transparent !important;
  color: #17a2b8 !important;
  border: 2px solid #17a2b8 !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
  font-size: 14px !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  position: relative !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}

.btn-outline-info:hover {
  background: #17a2b8 !important;
  color: #fff !important;
  border-color: #17a2b8 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 15px rgba(23, 162, 184, 0.3) !important;
}

.btn-outline-info:active {
  transform: translateY(0) scale(0.98) !important;
  box-shadow: 0 3px 8px rgba(23, 162, 184, 0.3) !important;
}

.btn-outline-info i {
  margin-right: 6px;
  transition: transform 0.3s ease;
}

.btn-outline-info:hover i {
  transform: scale(1.1);
}

/* ===== RESPONSIVIDADE ESPECÍFICA PARA TABELA DO CARRINHO ===== */
@media (max-width: 768px) {
  .carrinho .table {
    font-size: 12px;
    margin-bottom: 20px;
    table-layout: auto;
    border-radius: 12px;
    overflow: visible;
    width: 100%;
  }
  
  .carrinho .table thead th {
    padding: 10px 6px;
    font-size: 11px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
  }
  
  .carrinho .table tbody td {
    padding: 10px 6px;
    font-size: 11px;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: visible;
    text-overflow: clip;
  }
  
  .carrinho .table tbody td:first-child {
    font-size: 12px;
    width: auto;
    min-width: 120px;
  }
  
  .carrinho .table tbody td:nth-child(2) {
    font-size: 11px;
    width: auto;
    min-width: 100px;
  }
  
  .carrinho .table tbody td:nth-child(3) {
    width: auto;
    min-width: 80px;
  }
  
  .carrinho .table tbody td:nth-child(4) {
    font-size: 12px;
    width: auto;
    min-width: 80px;
  }
  
  .carrinho .table tbody td:nth-child(5) {
    font-size: 13px;
    width: auto;
    min-width: 80px;
  }
  
  .carrinho .table tbody td:last-child {
    width: auto;
    min-width: 60px;
  }
  
  /* Botões de ação */
  .carrinho .table .actions .btn {
    padding: 4px 6px;
    font-size: 9px;
    margin: 1px;
  }
}

@media (max-width: 480px) {
  /* Tabela mobile - layout melhorado */
  .carrinho .table {
    font-size: 11px;
    margin-bottom: 15px;
    border-radius: 12px;
    table-layout: auto;
    width: 100%;
    overflow: visible;
    display: block;
  }
  
  .carrinho .table thead {
    display: block;
    width: 100%;
  }
  
  .carrinho .table tbody {
    display: block;
    width: 100%;
  }
  
  .carrinho .table thead tr,
  .carrinho .table tbody tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(226,185,84,0.2);
    padding-bottom: 8px;
  }
  
  .carrinho .table thead th {
    padding: 8px 4px;
    font-size: 10px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
  }
  
  .carrinho .table tbody td {
    padding: 8px 4px;
    font-size: 11px;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-wrap: break-word;
    overflow-wrap: break-word;
    vertical-align: middle;
    flex: 1;
    min-width: 0;
  }
  
  .carrinho .table tbody td:first-child {
    font-size: 12px;
    flex: 2;
    min-width: 120px;
  }
  
  .carrinho .table tbody td:nth-child(2) {
    font-size: 10px;
    flex: 2;
    min-width: 100px;
  }
  
  .carrinho .table tbody td:nth-child(3) {
    flex: 1;
    min-width: 80px;
  }
  
  .carrinho .table tbody td:nth-child(4) {
    font-size: 11px;
    flex: 1;
    min-width: 80px;
  }
  
  .carrinho .table tbody td:nth-child(5) {
    font-size: 12px;
    flex: 1;
    min-width: 90px;
  }
  
  .carrinho .table tbody td:last-child {
    flex: 1;
    min-width: 60px;
  }
  
  /* Botões de ação mobile */
  .carrinho .table .actions .btn {
    padding: 4px 6px;
    font-size: 9px;
    margin: 1px;
    min-width: 28px;
    height: 28px;
  }
  
  /* Melhorar legibilidade das informações */
  .carrinho .table tbody td:first-child,
  .carrinho .table tbody td:nth-child(2) {
    font-weight: 600;
    line-height: 1.3;
  }
  
  /* ===== FORMAS DE PAGAMENTO GIGANTES NO MOBILE ===== */
  .gateway {
    display: block;
    margin-bottom: 20px;
  }
  
  .gateway .form-check {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid rgba(226,185,84,0.4);
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 12px;
    transition: all 0.3s ease;
  }
  
  .gateway .form-check:hover {
    border-color: rgba(226,185,84,0.6);
    background: rgba(255,255,255,0.12);
  }
  
  .gateway img {
    max-width: 120px !important;
    height: auto;
    margin-left: 16px;
    border-radius: 8px;
  }
  
  /* Botão de finalizar mobile gigante */
  .btn-primary.btn-lg {
    width: 100%;
    padding: 18px;
    font-size: 18px;
    margin-top: 20px;
    border-radius: 12px;
  }
  
  /* Valores responsivos mobile */
  .box-body h6 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .box-body h6 span {
    margin-left: 0 !important;
    display: inline-block !important;
    text-align: right;
    float: none !important;
    font-weight: 700;
  }
  
  /* Ajustes específicos para mobile */
  .text-white {
    color: #e2b954 !important;
  }
  
  .pull-right {
    float: none !important;
    display: inline-block !important;
    margin-left: 0 !important;
    text-align: right;
  }
  
  /* Checkbox e termos mobile */
  .d-inline-block {
    display: block !important;
    font-size: 13px;
    line-height: 1.5;
    margin-top: 12px;
  }
  
  /* Links nos termos */
  .d-inline-block a {
    color: #e2b954 !important;
    text-decoration: underline;
  }
  
  /* Ajustar margens específicas para mobile */
  .box-body h6 b {
    font-size: 14px;
  }
  
  .box-body h6 span {
    font-size: 14px;
  }
  
  /* Ajustar espaçamento dos valores */
  .box-body h6:first-child {
    margin-top: 0;
  }
  
  .box-body h6:last-child {
    margin-bottom: 0;
  }
  
  /* Box body mobile */
  .box-body {
    padding: 20px;
    border-radius: 12px;
  }
  
  .box-title, .box-title-cupom {
    font-size: 18px;
    margin-bottom: 15px;
    padding: 12px 0;
  }
  
  .box.mt-3 .box-title-cupom {
    font-size: 16px;
    margin-bottom: 12px;
  }
  
  .box.mt-3 {
    margin-top: 20px !important;
  }
  
  .box.mt-3 .box-body {
    padding: 15px;
  }
  
  .box-body h6 {
    font-size: 14px;
    margin-bottom: 8px;
  }
  
  .box-body input[type="text"],
  .box-body input[type="email"],
  .box-body input[type="password"] {
    font-size: 14px;
    padding: 12px;
    border-radius: 8px;
  }
  
  .box-body + .box-body {
    margin-top: 15px;
  }
  
  /* Quantity selector mobile */
  .quantity-selector-cart .input-group {
    min-width: 120px;
    height: 40px;
  }
  
  .quantity-selector-cart .btn {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    font-size: 14px;
  }
  
  .quantity-selector-cart .form-control {
    font-size: 14px;
    padding: 0 8px !important;
  }
  
  .quantity-selector-cart .btn i {
    font-size: 10px !important;
  }
  
  .quantity-selector-cart .btn i.fa-plus,
  .quantity-selector-cart .btn i.fa-minus {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 8px !important;
    color: #495057 !important;
  }
}

@media (max-width: 480px) {
  /* ===== SOLUÇÃO ULTRA COMPACTA: MOBILE PERFEITO ===== */
  
  /* Aumentar container para caber tudo */
  .container {
    padding: 0 8px;
    max-width: 100%;
  }
  
  /* Layout de colunas para mobile */
  .col-md-8, .col-md-4 {
    width: 100% !important;
    margin-bottom: 12px;
    padding: 0 3px;
  }
  
  /* Reduzir margens da row */
  .row {
    margin: 0 -3px;
  }
  
  .col-md-8, .col-md-4 {
    padding: 0 3px;
  }
  
  /* Tabela mobile - ULTRA COMPACTA */
  .carrinho .table {
    font-size: 9px;
    margin-bottom: 10px;
    border-radius: 8px;
    width: 100%;
    overflow: visible;
    display: block !important;
  }
  
  /* Esconder thead no mobile */
  .carrinho .table thead {
    display: none !important;
  }
  
  /* FORÇAR tbody como block */
  .carrinho .table tbody {
    display: block !important;
    width: 100% !important;
  }
  
  /* FORÇAR cada linha como card individual */
  .carrinho .table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    padding: 12px !important;
    background: linear-gradient(135deg, rgba(226,185,84,0.1) 0%, rgba(226,185,84,0.05) 100%);
    border: 1px solid rgba(226,185,84,0.2);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    float: none !important;
    clear: both !important;
  }
  
  /* FORÇAR cada célula como block */
  .carrinho .table tbody td {
    display: block !important;
    width: 100% !important;
    padding: 6px 0 !important;
    border: none !important;
    text-align: left !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    float: none !important;
    clear: both !important;
    margin-bottom: 8px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
  }
  
  /* Título do produto */
  .carrinho .table tbody td:first-child {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e2b954 !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(226,185,84,0.2) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    order: 1 !important;
  }
  
  /* Servidor */
  .carrinho .table tbody td:nth-child(2) {
    font-size: 10px !important;
    color: #f39c12 !important;
    margin-bottom: 10px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    order: 2 !important;
  }
  
  /* Valor Unitário */
  .carrinho .table tbody td:nth-child(4) {
    font-size: 10px !important;
    color: #00c853 !important;
    margin-bottom: 8px !important;
    order: 3 !important;
  }
  
  /* Valor Total */
  .carrinho .table tbody td:nth-child(5) {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #e2b954 !important;
    margin-bottom: 12px !important;
    padding: 6px 0 !important;
    border-top: 1px solid rgba(226,185,84,0.2) !important;
    order: 4 !important;
  }
  
  /* Quantidade - MOVIDA PARA BAIXO */
  .carrinho .table tbody td:nth-child(3) {
    margin-bottom: 10px !important;
    text-align: center !important;
    padding: 8px 0 !important;
    order: 5 !important;
  }
  
  /* Ações */
  .carrinho .table tbody td:last-child {
    text-align: center !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    order: 6 !important;
  }
  
  /* Esconder coluna vazia */
  .carrinho .table tbody td:nth-child(6) {
    display: none !important;
  }
  
  /* Botões de ação em linha */
  .carrinho .table .actions {
    display: flex !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  
  .carrinho .table .actions .btn {
    padding: 4px 8px !important;
    font-size: 9px !important;
    min-width: 30px !important;
    height: 30px !important;
    border-radius: 4px !important;
  }
  
  /* Quantity selector ULTRA COMPACTO - POSICIONADO ABAIXO */
  .quantity-selector-cart {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    order: 6 !important;
  }
  
  .quantity-selector-cart .input-group {
    min-width: 100px !important;
    max-width: 130px !important;
    height: 35px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .quantity-selector-cart .btn {
    width: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    height: 35px !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .quantity-selector-cart .form-control {
    font-size: 12px !important;
    padding: 0 8px !important;
    font-weight: 600 !important;
    text-align: center !important;
    height: 35px !important;
    line-height: 35px !important;
    min-width: 30px !important;
  }
  
  .quantity-selector-cart .btn i {
    font-size: 8px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .quantity-selector-cart .btn i.fa-plus,
  .quantity-selector-cart .btn i.fa-minus {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 6px !important;
    color: #495057 !important;
  }
  
  /* ===== FORMAS DE PAGAMENTO ULTRA COMPACTAS ===== */
  .gateway {
    display: block;
    margin-bottom: 12px;
  }
  
  .gateway .form-check {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 1px solid rgba(226,185,84,0.4);
    border-radius: 6px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 8px;
    transition: all 0.3s ease;
  }
  
  .gateway .form-check:hover {
    border-color: rgba(226,185,84,0.6);
    background: rgba(255,255,255,0.12);
  }
  
  .gateway img {
    max-width: 60px !important;
    height: auto;
    margin-left: 10px;
    border-radius: 4px;
  }
  
  /* Botão de finalizar mobile ultra compacto */
  .btn-primary.btn-lg {
    width: 100%;
    padding: 10px;
    font-size: 12px;
    margin-top: 12px;
    border-radius: 6px;
  }
  
  /* Valores responsivos mobile */
  .box-body h6 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11px;
    margin-bottom: 6px;
  }
  
  .box-body h6 span {
    margin-left: 0 !important;
    display: inline-block !important;
    text-align: right;
    float: none !important;
    font-weight: 700;
  }
  
  /* Ajustes específicos para mobile */
  .text-white {
    color: #e2b954 !important;
  }
  
  .pull-right {
    float: none !important;
    display: inline-block !important;
    margin-left: 0 !important;
    text-align: right;
  }
  
  /* Checkbox e termos mobile */
  .d-inline-block {
    display: block !important;
    font-size: 10px;
    line-height: 1.3;
    margin-top: 8px;
  }
  
  /* Links nos termos */
  .d-inline-block a {
    color: #e2b954 !important;
    text-decoration: underline;
  }
  
  /* Ajustar margens específicas para mobile */
  .box-body h6 b {
    font-size: 11px;
  }
  
  .box-body h6 span {
    font-size: 11px;
  }
  
  /* Ajustar espaçamento dos valores */
  .box-body h6:first-child {
    margin-top: 0;
  }
  
  .box-body h6:last-child {
    margin-bottom: 0;
  }
  
  /* Box body mobile */
  .box-body {
    padding: 12px;
    border-radius: 8px;
  }
  
  .box-title, .box-title-cupom {
    font-size: 13px;
    margin-bottom: 10px;
    padding: 8px 0;
  }
  
  .box.mt-3 .box-title-cupom {
    font-size: 12px;
    margin-bottom: 8px;
  }
  
  .box.mt-3 {
    margin-top: 12px !important;
  }
  
  .box.mt-3 .box-body {
    padding: 10px;
  }
  
  .box-body h6 {
    font-size: 11px;
    margin-bottom: 5px;
  }
  
  .box-body input[type="text"],
  .box-body input[type="email"],
  .box-body input[type="password"] {
    font-size: 11px;
    padding: 8px;
    border-radius: 4px;
  }
  
  .box-body + .box-body {
    margin-top: 10px;
  }
  
  /* ===== HEADER MOBILE ULTRA COMPACTA ===== */
  .navbar {
    padding: 4px 10px !important;
  }
  
  .navbar-brand {
    font-size: 14px !important;
    padding: 3px 0 !important;
  }
  
  .navbar-nav .nav-link {
    font-size: 10px !important;
    padding: 4px 8px !important;
  }
  
  .navbar-toggler {
    padding: 3px 6px !important;
    font-size: 10px !important;
  }
  
  /* Ajustes específicos para header mobile */
  .navbar .container {
    padding: 0 6px !important;
  }
  
  .navbar .navbar-nav {
    margin-top: 6px !important;
  }
  
  .navbar .navbar-nav .nav-item {
    margin-bottom: 3px !important;
  }
  
  /* Melhorar visibilidade da header no mobile */
  .navbar-dark {
    background: rgba(0,0,0,0.9) !important;
  }
  
  .navbar-dark .navbar-brand {
    color: #e2b954 !important;
    font-weight: 700 !important;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 500 !important;
  }
  
  .navbar-dark .navbar-nav .nav-link:hover {
    color: #e2b954 !important;
  }
}

/* ===== RESPONSIVIDADE ESPECÍFICA PARA COL-MD-8 ===== */
@media (max-width: 768px) {
  /* Garantir que col-md-8 seja totalmente responsivo */
  .col-md-8 {
    width: 100% !important;
    margin-bottom: 20px !important;
    padding: 0 10px !important;
    overflow: visible !important;
  }
  
  /* Container do carrinho responsivo */
  .col-md-8 .box-body {
    padding: 20px !important;
    margin-bottom: 15px !important;
    overflow: visible !important;
  }
  
  /* Título do carrinho responsivo */
  .col-md-8 .box-title {
    font-size: 16px !important;
    padding: 12px 15px !important;
    margin: -20px -20px 15px -20px !important;
  }
  
  /* Tabela responsiva dentro do col-md-8 */
  .col-md-8 .table {
    width: 100% !important;
    font-size: 12px !important;
    margin-bottom: 20px !important;
    overflow: visible !important;
    table-layout: auto !important;
  }
  
  /* Cabeçalho da tabela responsivo */
  .col-md-8 .table thead th {
    padding: 10px 6px !important;
    font-size: 11px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    min-width: 60px !important;
  }
  
  /* Células da tabela responsivas */
  .col-md-8 .table tbody td {
    padding: 10px 6px !important;
    font-size: 11px !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    overflow: visible !important;
    text-overflow: clip !important;
    vertical-align: middle !important;
    min-width: 60px !important;
  }
  
  /* Informações específicas do produto */
  .col-md-8 .table tbody td:first-child {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #e2b954 !important;
    min-width: 120px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .col-md-8 .table tbody td:nth-child(2) {
    font-size: 11px !important;
    color: #f39c12 !important;
    min-width: 100px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
  }
  
  .col-md-8 .table tbody td:nth-child(4) {
    font-size: 12px !important;
    color: #00c853 !important;
    min-width: 80px !important;
  }
  
  .col-md-8 .table tbody td:nth-child(5) {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e2b954 !important;
    min-width: 90px !important;
  }
  
  /* Formulário de pagamento responsivo */
  .col-md-8 .row {
    margin: 0 -5px !important;
  }
  
  .col-md-8 .col-md-4 {
    width: 50% !important;
    padding: 0 5px !important;
    margin-bottom: 15px !important;
  }
  
  /* Gateway responsivo */
  .col-md-8 .gateway {
    display: block !important;
    margin-bottom: 15px !important;
  }
  
  .col-md-8 .gateway .form-check {
    display: flex !important;
    align-items: center !important;
    padding: 10px !important;
    border: 1px solid rgba(226,185,84,0.3) !important;
    border-radius: 8px !important;
    background: rgba(255,255,255,0.05) !important;
  }
  
  .col-md-8 .gateway img {
    max-width: 80px !important;
    height: auto !important;
    margin-left: 10px !important;
  }
  
  /* Input do nickname responsivo */
  .col-md-8 input#nickname {
    width: 100% !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    margin-bottom: 15px !important;
    border-radius: 8px !important;
  }
  
  /* Título do usuário responsivo */
  .col-md-8 h6[style*="color: white"] {
    font-size: 14px !important;
    margin-bottom: 8px !important;
    color: #e2b954 !important;
  }
}

@media (max-width: 480px) {
  /* Garantir que col-md-8 seja totalmente responsivo no mobile */
  .col-md-8 {
    width: 100% !important;
    margin-bottom: 15px !important;
    padding: 0 5px !important;
    overflow: visible !important;
  }
  
  /* Container do carrinho mobile */
  .col-md-8 .box-body {
    padding: 15px !important;
    margin-bottom: 10px !important;
    overflow: visible !important;
  }
  
  /* Título do carrinho mobile */
  .col-md-8 .box-title {
    font-size: 14px !important;
    padding: 10px 12px !important;
    margin: -15px -15px 10px -15px !important;
  }
  
  /* Tabela mobile - FORÇAR LAYOUT FLEXBOX */
  .col-md-8 .table {
    width: 100% !important;
    font-size: 11px !important;
    margin-bottom: 15px !important;
    overflow: visible !important;
    display: block !important;
  }
  
  /* Esconder cabeçalho no mobile */
  .col-md-8 .table thead {
    display: none !important;
  }
  
  /* FORÇAR tbody como block */
  .col-md-8 .table tbody {
    display: block !important;
    width: 100% !important;
  }
  
  /* FORÇAR cada linha como card individual */
  .col-md-8 .table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    margin-bottom: 15px !important;
    padding: 12px !important;
    background: linear-gradient(135deg, rgba(226,185,84,0.1) 0%, rgba(226,185,84,0.05) 100%) !important;
    border: 1px solid rgba(226,185,84,0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    float: none !important;
    clear: both !important;
  }
  
  /* FORÇAR cada célula como block */
  .col-md-8 .table tbody td {
    display: block !important;
    width: 100% !important;
    padding: 6px 0 !important;
    border: none !important;
    text-align: left !important;
    font-size: 11px !important;
    line-height: 1.3 !important;
    float: none !important;
    clear: both !important;
    margin-bottom: 8px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
  }
  
  /* Título do produto - SEMPRE VISÍVEL */
  .col-md-8 .table tbody td:first-child {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #e2b954 !important;
    margin-bottom: 10px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(226,185,84,0.2) !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    order: 1 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Servidor - SEMPRE VISÍVEL */
  .col-md-8 .table tbody td:nth-child(2) {
    font-size: 10px !important;
    color: #f39c12 !important;
    margin-bottom: 10px !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    order: 2 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Valor Unitário - SEMPRE VISÍVEL */
  .col-md-8 .table tbody td:nth-child(4) {
    font-size: 10px !important;
    color: #00c853 !important;
    margin-bottom: 8px !important;
    order: 3 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Valor Total - SEMPRE VISÍVEL */
  .col-md-8 .table tbody td:nth-child(5) {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #e2b954 !important;
    margin-bottom: 12px !important;
    padding: 6px 0 !important;
    border-top: 1px solid rgba(226,185,84,0.2) !important;
    order: 4 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Quantidade - SEMPRE VISÍVEL */
  .col-md-8 .table tbody td:nth-child(3) {
    margin-bottom: 10px !important;
    text-align: center !important;
    padding: 8px 0 !important;
    order: 5 !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Ações - SEMPRE VISÍVEL */
  .col-md-8 .table tbody td:last-child {
    text-align: center !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    order: 6 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
  }
  
  /* Esconder coluna vazia */
  .col-md-8 .table tbody td:nth-child(6) {
    display: none !important;
  }
  
  /* Botões de ação em linha - CORRIGIDOS */
  .col-md-8 .table .actions {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    width: auto !important;
    min-width: 120px !important;
    max-width: 180px !important;
    margin: 0 auto !important;
    padding: 8px 0 !important;
    overflow: visible !important;
  }
  
  .col-md-8 .table .actions .btn {
    padding: 6px 10px !important;
    font-size: 10px !important;
    min-width: 32px !important;
    max-width: 36px !important;
    width: 34px !important;
    height: 32px !important;
    border-radius: 5px !important;
    flex: 0 0 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }
  
  /* Botão específico btn-info btn-sm - CORRIGIDO */
  .col-md-8 .table .actions .btn.btn-info.btn-sm {
    padding: 5px 8px !important;
    font-size: 9px !important;
    min-width: 30px !important;
    max-width: 34px !important;
    width: 32px !important;
    height: 30px !important;
    border-radius: 4px !important;
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(23, 162, 184, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex: 0 0 32px !important;
  }
  
  /* Botão específico btn-danger btn-sm - CORRIGIDO */
  .col-md-8 .table .actions .btn.btn-danger.btn-sm {
    padding: 5px 8px !important;
    font-size: 9px !important;
    min-width: 30px !important;
    max-width: 34px !important;
    width: 32px !important;
    height: 30px !important;
    border-radius: 4px !important;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    flex: 0 0 32px !important;
  }
  
  /* Hover effects para os botões */
  .col-md-8 .table .actions .btn.btn-info.btn-sm:hover {
    background: linear-gradient(135deg, #138496 0%, #117a8b 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(23, 162, 184, 0.4) !important;
  }
  
  .col-md-8 .table .actions .btn.btn-danger.btn-sm:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 6px rgba(220, 53, 69, 0.4) !important;
  }
  
  /* Active effects para os botões */
  .col-md-8 .table .actions .btn.btn-info.btn-sm:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 1px 3px rgba(23, 162, 184, 0.3) !important;
  }
  
  .col-md-8 .table .actions .btn.btn-danger.btn-sm:active {
    transform: translateY(0) scale(0.98) !important;
    box-shadow: 0 1px 3px rgba(220, 53, 69, 0.3) !important;
  }
  
  /* Ícones dentro dos botões */
  .col-md-8 .table .actions .btn i {
    font-size: 8px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
  }
  
  /* Garantir que os ícones sejam sempre visíveis */
  .col-md-8 .table .actions .btn i.fa-sync-alt,
  .col-md-8 .table .actions .btn i.mdi-close {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 8px !important;
    color: white !important;
  }
  
  /* Quantity selector - SEMPRE VISÍVEL */
  .col-md-8 .quantity-selector-cart {
    display: block !important;
    width: 100% !important;
    margin: 0 auto !important;
    order: 5 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .col-md-8 .quantity-selector-cart .input-group {
    min-width: 100px !important;
    max-width: 130px !important;
    height: 35px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .col-md-8 .quantity-selector-cart .btn {
    width: 35px !important;
    min-width: 35px !important;
    max-width: 35px !important;
    height: 35px !important;
    font-size: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  
  .col-md-8 .quantity-selector-cart .form-control {
    font-size: 12px !important;
    padding: 0 8px !important;
    font-weight: 600 !important;
    text-align: center !important;
    height: 35px !important;
    line-height: 35px !important;
    min-width: 30px !important;
  }
  
  .col-md-8 .quantity-selector-cart .btn i {
    font-size: 8px !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .col-md-8 .quantity-selector-cart .btn i.fa-plus,
  .col-md-8 .quantity-selector-cart .btn i.fa-minus {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-size: 6px !important;
    color: #495057 !important;
  }
  
  /* Formulário de pagamento mobile */
  .col-md-8 .row {
    margin: 0 -3px !important;
  }
  
  .col-md-8 .col-md-4 {
    width: 50% !important;
    padding: 0 3px !important;
    margin-bottom: 10px !important;
  }
  
  /* Gateway mobile */
  .col-md-8 .gateway {
    display: block !important;
    margin-bottom: 10px !important;
  }
  
  .col-md-8 .gateway .form-check {
    display: flex !important;
    align-items: center !important;
    padding: 8px !important;
    border: 1px solid rgba(226,185,84,0.4) !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,0.08) !important;
    margin-bottom: 8px !important;
  }
  
  .col-md-8 .gateway img {
    max-width: 60px !important;
    height: auto !important;
    margin-left: 8px !important;
    border-radius: 4px !important;
  }
  
  /* Input do nickname mobile */
  .col-md-8 input#nickname {
    width: 100% !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    margin-bottom: 10px !important;
    border-radius: 6px !important;
  }
  
  /* Título do usuário mobile */
  .col-md-8 h6[style*="color: white"] {
    font-size: 12px !important;
    margin-bottom: 6px !important;
    color: #e2b954 !important;
  }
  
  /* Garantir que todas as informações sejam visíveis */
  .col-md-8 * {
    overflow: visible !important;
  }
  
  /* Forçar visibilidade de todos os elementos */
  .col-md-8 .table tbody td,
  .col-md-8 .table tbody td *,
  .col-md-8 .quantity-selector-cart,
  .col-md-8 .quantity-selector-cart *,
  .col-md-8 .gateway,
  .col-md-8 .gateway *,
  .col-md-8 input,
  .col-md-8 h6 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
  }
}

/* ===== FONTES DA PÁGINA DA LOJA AUMENTADAS ===== */
@media (max-width: 768px) {
  /* Cards dos produtos - FONTES AUMENTADAS */
  #prod-module .card-body {
    padding: 20px 15px 25px 15px !important;
  }
  
  #prod-module .produto-name {
    font-size: 18px !important; /* Aumentado de 16px */
    margin-bottom: 12px !important;
  }
  
  #prod-module .show-preco h1 {
    font-size: 30px !important; /* Aumentado de 28px */
    margin: 12px 0 !important;
  }
  
  /* Botões de compra - FONTES AUMENTADAS */
  .add-to-cart-with-quantity {
    padding: 14px 26px !important; /* Aumentado */
    font-size: 15px !important; /* Aumentado de 14px */
  }
  
  .btn-outline-info {
    padding: 7px 18px !important; /* Aumentado */
    font-size: 13px !important; /* Aumentado de 12px */
  }
  
  /* Quantity selector - FONTES AUMENTADAS */
  .quantity-selector .input-group {
    min-width: 130px !important; /* Aumentado */
    max-width: 170px !important; /* Aumentado */
    height: 42px !important; /* Aumentado */
  }
  
  .quantity-selector .btn {
    flex: 0 0 42px !important; /* Aumentado */
    width: 42px !important; /* Aumentado */
    min-width: 42px !important; /* Aumentado */
    max-width: 42px !important; /* Aumentado */
    font-size: 15px !important; /* Aumentado de 14px */
  }
  
  .quantity-selector .form-control {
    font-size: 15px !important; /* Aumentado de 14px */
    padding: 0 12px !important; /* Aumentado */
    line-height: 42px !important; /* Aumentado */
  }
  
  .quantity-selector .btn i {
    font-size: 11px !important; /* Aumentado de 10px */
  }
}

@media (max-width: 480px) {
  /* Cards dos produtos mobile - FONTES AUMENTADAS */
  #prod-module .card {
    margin-bottom: 15px !important;
    border-radius: 15px !important;
  }
  
  #prod-module .card-body {
    padding: 15px 12px 20px 12px !important;
  }
  
  #prod-module .produto-name {
    font-size: 16px !important; /* Aumentado de 14px */
    margin-bottom: 10px !important;
  }
  
  #prod-module .show-preco h1 {
    font-size: 26px !important; /* Aumentado de 24px */
    margin: 10px 0 !important;
  }
  
  /* Botões de compra mobile - FONTES AUMENTADAS */
  .add-to-cart-with-quantity {
    padding: 12px 22px !important; /* Aumentado */
    font-size: 14px !important; /* Aumentado de 13px */
  }
  
  .btn-outline-info {
    padding: 6px 14px !important; /* Aumentado */
    font-size: 12px !important; /* Aumentado de 11px */
  }
  
  /* Quantity selector mobile - FONTES AUMENTADAS */
  .quantity-selector .input-group {
    min-width: 110px !important; /* Aumentado */
    max-width: 150px !important; /* Aumentado */
    height: 38px !important; /* Aumentado */
  }
  
  .quantity-selector .btn {
    flex: 0 0 38px !important; /* Aumentado */
    width: 38px !important; /* Aumentado */
    min-width: 38px !important; /* Aumentado */
    max-width: 38px !important; /* Aumentado */
    font-size: 13px !important; /* Aumentado de 12px */
  }
  
  .quantity-selector .form-control {
    font-size: 13px !important; /* Aumentado de 12px */
    padding: 0 10px !important; /* Aumentado */
    line-height: 38px !important; /* Aumentado */
  }
  
  .quantity-selector .btn i {
    font-size: 9px !important; /* Aumentado de 8px */
  }
}

/* Melhorar a responsividade das imagens */
#prod-module .card img {
  aspect-ratio: 16/9; /* Manter proporção 16:9 */
  object-fit: cover;
  object-position: center;
}

/* Garantir que os cards tenham largura consistente e espaçamento adequado */
#prod-module .col-md-4 {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px; /* Espaçamento maior entre cards */
}

@media (max-width: 768px) {
  #prod-module .col-md-4 {
    margin-bottom: 20px; /* Espaçamento reduzido para mobile */
  }
}

@media (max-width: 480px) {
  #prod-module .col-md-4 {
    margin-bottom: 15px; /* Espaçamento ainda menor para mobile pequeno */
  }
}

/* Melhorias específicas para imagens dos produtos */
#prod-module .card img.img-fluid {
  width: 100%;
  height: 220px; /* Altura fixa para proporcionalidade */
  object-fit: cover;
  object-position: center;
  border-radius: 20px 20px 0 0;
  transition: all 0.4s ease;
  filter: brightness(0.9) contrast(1.1);
  flex-shrink: 0; /* Impede que a imagem seja redimensionada */
}

#prod-module .card:hover img.img-fluid {
  filter: brightness(1.1) contrast(1.2);
  transform: scale(1.05);
}

/* Garantir que as imagens sejam responsivas em diferentes tamanhos de tela */
@media (max-width: 768px) {
  #prod-module .card img.img-fluid {
    height: 180px; /* Altura reduzida para mobile */
  }
}

@media (max-width: 480px) {
  #prod-module .card img.img-fluid {
    height: 160px; /* Altura ainda menor para mobile pequeno */
  }
}

@media (min-width: 1200px) {
  #prod-module .card img.img-fluid {
    height: 240px; /* Altura maior para telas grandes */
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #prod-module .card img.img-fluid {
    height: 220px; /* Altura padrão para telas médias */
  }
}

/* Garantir que as imagens não quebrem o layout */
#prod-module .card img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Melhorar a qualidade das imagens */
#prod-module .card img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Garantir que as imagens tenham fallback adequado */
#prod-module .card img:not([src]), 
#prod-module .card img[src=""], 
#prod-module .card img[src*="data:image/svg+xml"] {
  background: linear-gradient(145deg, #2d2d2d 0%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e2b954;
  font-size: 14px;
  font-weight: 600;
}

#prod-module .card img:not([src])::after, 
#prod-module .card img[src=""]::after, 
#prod-module .card img[src*="data:image/svg+xml"]::after {
  content: "Imagem não disponível";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #e2b954;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

/* ===== PREVENÇÃO DE OVERFLOW HORIZONTAL EM MOBILE ===== */
@media (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw;
    max-width: 100vw;
  }
  
  .container, .container-fluid {
    max-width: 100vw;
    overflow-x: hidden;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100vw;
  }
  
  /* Garantir que cards não ultrapassem a largura */
  #prod-module .col-md-4 {
    max-width: 100%;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }
  
  /* Prevenir overflow em tabelas */
  .table-responsive {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* Garantir que botões não ultrapassem a largura */
  .btn {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden !important;
    width: 100vw;
    max-width: 100vw;
  }
  
  .container, .container-fluid {
    max-width: 100vw;
    overflow-x: hidden;
    padding-left: 5px;
    padding-right: 5px;
  }
  
  .row {
    margin-left: 0;
    margin-right: 0;
    max-width: 100vw;
  }
  
  /* Garantir que cards não ultrapassem a largura */
  #prod-module .col-md-4 {
    max-width: 100%;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
  }
  
  /* Prevenir overflow em tabelas */
  .table-responsive {
    overflow-x: hidden;
    max-width: 100vw;
  }
  
  /* Garantir que botões não ultrapassem a largura */
  .btn {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  /* Garantir que textos não ultrapassem a largura */
  h1, h2, h3, h4, h5, h6, p, span, div {
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}



