:root {
  --primary: #FFD700;
  --primary-dark: #FFA500;
  --black: #000;
  --white: #FFF;
  --gray-dark: #181818;
  --gray-light: #232323;
  --text-xs: 0.75rem;
  --text-sm: 0.9rem;
  --text-md: 1rem;
  --text-lg: 1.17rem;
  --text-xl: 1.38rem;
  --space-xs: 0.4rem;
  --space-sm: 0.7rem;
  --space-md: 1.1rem;
  --space-lg: 1.8rem;
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-full: 999px;
  --transition: all 0.3s cubic-bezier(.23,1,.32,1);
}

/* Reset & Base */
*, *::before, *::after { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

html, body { 
  height: 100%; 
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: var(--gray-dark);
  color: var(--white);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

a { 
  color: inherit; 
  text-decoration: none; 
}

img { 
  max-width: 100%; 
  display: block; 
  height: auto;
}

/* Container padrão */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

/* Barra de aviso (top) */
.info-bar.premium-bar {
  background: linear-gradient(
    90deg, 
    rgba(255, 215, 0, 0.75),
    rgba(255, 165, 0, 0.75)
  );
  padding: 8px 0;
  font-size: var(--text-sm);
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll 17s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* HEADER FIXO PREMIUM - Versão Compacta */
.header.premium-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1500;
  background: linear-gradient(135deg, var(--gray-dark), var(--gray-light));
  border-bottom: 1.5px solid rgba(255,215,0,0.13);
  box-shadow: 0 4px 20px #0004;
  transition: none;
  padding: 0;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  gap: var(--space-sm);
  padding: 0 var(--space-sm);
  width: 100%;
}

/* LOGO COMPACTA */
.logo {
  display: flex;
  align-items: center;
  min-width: 60px;
}

.logo-img {
  height: 50px;
  aspect-ratio: 1/1;
  transition: var(--transition);
}

.logo-img.pulse { 
  animation: pulse 2s infinite; 
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* BUSCA CENTRALIZADA COMPACTA */
.search-container {
  position: relative;
  max-width: 300px;
  width: 100%;
  margin: 0 var(--space-sm);
}

.search-input {
  width: 100%;
  background: rgba(40,40,40,0.92);
  border: 1.5px solid rgba(255,215,0,0.15);
  border-radius: var(--radius-full);
  padding: 8px 40px 8px 15px;
  color: var(--white);
  font-size: var(--text-sm);
  transition: var(--transition);
  backdrop-filter: blur(3px);
  outline: none;
}

.search-input:focus {
  border-color: var(--primary);
  background: rgba(40,40,40,0.98);
}

.search-btn {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
}

.search-btn:hover { 
  color: var(--primary-dark); 
}

/* CARRINHO COMPACTO */
.cart.premium-cart {
  position: relative;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  min-width: 50px;
  justify-content: flex-end;
}

.cart.premium-cart:hover { 
  color: var(--primary-dark); 
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -10px;
  background: var(--primary);
  color: var(--black);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  border: 2px solid var(--gray-light);
  box-shadow: 0 1px 6px #0003;
}

.cart-count.pulse { 
  animation: pulse 1.7s infinite; 
}

/* CONTEÚDO PRINCIPAL */
.product-page.premium-product {
  padding: var(--space-lg) 0;
  padding-top: 80px;
  min-height: 70vh;
  background: radial-gradient(circle at 20% 50%, rgba(255,215,0,0.06) 0%, transparent 40%);
  position: relative;
}

.product-details {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  z-index: 1;
  margin-top: var(--space-lg);
  width: 100%;
}

/* SEÇÃO DE INFORMAÇÕES DO PRODUTO */
.product-info-section {
  background: rgba(30,30,30,0.93);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1.2px solid rgba(255,215,0,0.17);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px #0007;
  flex: 1 1 350px;
  min-width: 300px;
  max-width: 500px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-badge {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: var(--black);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(255,215,0,0.17);
  z-index: 2;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 5px;
  transform: rotate(2deg);
  min-width: 80px;
  max-width: 65vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sold-count {
  background: rgba(255,215,0,0.07);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--space-md);
  font-size: var(--text-xs);
  border: 1px solid rgba(255,215,0,0.13);
  margin-top: 15px;
}

h1, h2, h3 {
  font-family: 'Montserrat', 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 800;
}

h1 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: var(--space-xs);
  margin-top: 10px;
  text-align: center;
}

.delivery-info {
  color: var(--primary-dark);
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  text-align: center;
  justify-content: center;
}

/* IMAGEM DO PRODUTO */
.product-image-container {
  width: 100%;
  margin: var(--space-md) 0;
  display: flex;
  justify-content: center;
}

.image-wrapper {
  background: var(--gray-light);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 22px rgba(0,0,0,0.19);
  padding: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  max-width: 250px;
}

.product-img {
  max-height: 200px;
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 5px 14px rgba(0,0,0,0.12));
  transition: var(--transition);
  margin: 0 auto;
}

.product-img.floating { 
  animation: floating 3s infinite ease-in-out; 
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* AVALIAÇÃO */
.rating {
  display: flex;
  align-items: center;
  margin: var(--space-md) 0;
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  gap: var(--space-sm);
  justify-content: center;
  width: 100%;
}

.rating .stars {
  color: var(--primary);
  font-size: 1.1rem;
  margin-right: var(--space-xs);
  display: flex;
}

.rating .reviews {
  color: rgba(255,255,255,0.82);
  font-size: var(--text-xs);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* PREÇO */
.price-section {
  margin: var(--space-md) 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-container {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-bottom: var(--space-xs);
  justify-content: center;
}

.old-price {
  text-decoration: line-through;
  color: rgba(255,255,255,0.4);
  font-size: var(--text-md);
}

.price {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.discount-badge {
  background: var(--primary-dark);
  color: var(--black);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 700;
  margin-left: var(--space-xs);
  letter-spacing: 0.5px;
}

.installment {
  color: rgba(255,255,255,0.7);
  font-size: var(--text-xs);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stock-alert {
  color: #f44336;
  font-size: var(--text-xs);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* QUANTIDADE PREMIUM */
.quantity-selector {
  margin: var(--space-lg) 0 var(--space-xs) 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.quantity-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.69);
  margin-bottom: 3px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

.bulk-discount {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: var(--text-xs);
  display: flex;
  align-items: center;
  gap: 4px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  margin-top: 2px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.quantity-btn {
  background: var(--gray-light);
  color: var(--primary);
  border: none;
  width: 36px;
  height: 36px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: var(--primary);
  color: var(--black);
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input[type=number] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity-input {
  width: 50px;
  height: 36px;
  text-align: center;
  background: var(--gray-dark);
  border: 1.5px solid var(--primary);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius-full);
  font-size: var(--text-md);
}

.btn-bulk {
  background: var(--primary-dark);
  color: var(--black);
  border: none;
  border-radius: var(--radius-full);
  padding: 0 15px;
  height: 36px;
  font-size: var(--text-xs);
  font-weight: 700;
  margin-left: var(--space-xs);
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 3px;
}

.btn-bulk:hover {
  background: var(--primary);
  color: var(--black);
}

.bulk-save {
  color: #388e3c;
  font-weight: 700;
}

/* BOTÕES DE AÇÃO */
.action-buttons {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0 var(--space-sm) 0;
  flex-wrap: wrap;
  width: 100%;
  justify-content: center;
}

.btn {
  border: none;
  padding: 12px 0;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-md);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  box-shadow: 0 2px 8px #0002;
  margin-bottom: 5px;
  max-width: 240px;
}

.btn.buy-now {
  background: linear-gradient(45deg, var(--primary), var(--primary-dark));
  color: var(--black);
  box-shadow: 0 5px 15px rgba(255,215,0,0.23);
}

.btn.buy-now:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 22px rgba(255,215,0,0.29);
}

.btn.add-to-cart {
  background: var(--gray-light);
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn.add-to-cart:hover {
  background: var(--primary);
  color: var(--black);
}

/* GARANTIA */
.warranty-banner {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-md) 0;
  padding: var(--space-sm) 0;
  background: rgba(0,0,0,0.13);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.09);
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;
}

.warranty-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: rgba(255,255,255,0.82);
  font-size: var(--text-xs);
}

.warranty-item i {
  color: var(--primary);
  font-size: 1.1em;
}

/* MÉTODOS DE PAGAMENTO */
.payment-methods {
  margin: var(--space-lg) 0 var(--space-md) 0;
  padding: var(--space-md) 0;
  background: rgba(0,0,0,0.13);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.09);
  width: 100%;
}

.payment-methods h3 {
  color: var(--primary-dark);
  font-size: var(--text-md);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  text-align: center;
}

.methods {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xs);
  justify-content: center;
}

.payment-icon {
  height: 26px;
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 3px 8px;
  box-shadow: 0 1px 5px #0002;
}

.payment-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.payment-option {
  color: var(--primary-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* DESCRIÇÃO DO PRODUTO */
.product-description {
  background: rgba(30, 30, 30, 0.93);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 215, 0, 0.14);
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.11);
  flex: 1 1 350px;
  min-width: 300px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-description h2 {
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-align: center;
  width: 100%;
  justify-content: center;
}

.product-description p {
  margin-bottom: var(--space-sm);
  color: var(--white);
  font-size: var(--text-sm);
  text-align: center;
}

.steps {
  list-style: none;
  padding: 0;
  margin: var(--space-md) 0;
  width: 100%;
}

.steps li {
  margin-bottom: var(--space-sm);
  padding-left: 38px;
  position: relative;
  color: var(--white);
  font-size: var(--text-sm);
}

.steps li i {
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary);
  font-size: 1.1em;
  width: 26px;
  height: 26px;
  background: rgba(255,215,0,0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CARROSSEL DE AVALIAÇÕES */
.reviews-carousel {
  background: rgba(30, 30, 30, 0.93);
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 215, 0, 0.2);
  margin: 25px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  position: relative;
  width: 100%;
  overflow: hidden;
}

.reviews-carousel h2 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 15px;
  font-size: var(--text-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.review-item {
  background: rgba(40, 40, 40, 0.8);
  padding: 15px;
  border-radius: var(--radius-md);
  margin: 0 8px;
  border: 1px solid rgba(255, 215, 0, 0.1);
  transition: all 0.3s ease;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.review-stars {
  color: var(--primary);
  font-size: var(--text-md);
}

.review-author {
  font-weight: bold;
  color: var(--primary);
  font-size: var(--text-sm);
}

.review-text {
  color: #eee;
  font-style: italic;
  margin-bottom: 10px;
  line-height: 1.5;
  font-size: var(--text-sm);
}

.review-date {
  font-size: var(--text-xs);
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* SELOS DE SEGURANÇA */
.security-seals {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 8px auto;
  width: 100%;
  max-width: 160px;
}

.security-seals h3 {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.security-seals-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 100%;
}

.security-seals-logos img {
  height: 20px;
  max-height: 20px;
  width: auto;
  max-width: 36px;
  object-fit: contain;
}

/* FOOTER */
.footer.premium-footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  padding: var(--space-lg) 0 var(--space-md) 0;
  border-top: 1px solid rgba(255, 215, 0, 0.09);
  width: 100%;
  margin-top: var(--space-lg);
}

.footer-bottom {
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-size: var(--text-xs);
}

/* REMOVE CHAT */
.chat-widget, .chat-btn, .footer-chat, .footer__chat, .footer-chatbox, #footer-chat, .footer-chat-wrapper {
  display: none !important;
}

/* MEDIA QUERIES PARA RESPONSIVIDADE */
@media (max-width: 1100px) {
  .product-details {
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
  }
  
  .product-description {
    margin-left: 0;
    margin-top: var(--space-md);
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .header-flex {
    min-height: 55px;
    padding: 0 10px;
  }
  
  .logo-img {
    height: 45px;
  }
  
  .search-container {
    max-width: 240px;
  }
  
  .search-input {
    padding: 7px 35px 7px 12px;
    font-size: 0.9rem;
  }
  
  .cart.premium-cart {
    font-size: 1.3rem;
    min-width: 40px;
  }
  
  .product-info-section, 
  .product-description {
    padding: var(--space-md);
    min-width: unset;
    max-width: 100%;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  .image-wrapper {
    max-width: 200px;
    padding: 10px;
  }
  
  .product-img {
    max-height: 160px;
  }
  
  .price {
    font-size: 1.6rem;
  }
  
  .btn {
    max-width: 100%;
    padding: 10px 0;
  }
  
  .warranty-banner {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }
  
  .slick-prev {
    left: -15px;
  }

  .slick-next {
    right: -15px;
  }
}

@media (max-width: 480px) {
  .header-flex {
    min-height: 50px;
  }
  
  .logo-img {
    height: 40px;
  }
  
  .search-container {
    max-width: 180px;
  }
  
  .search-input {
    padding: 6px 30px 6px 10px;
    font-size: 0.8rem;
  }
  
  .search-btn {
    font-size: 0.9rem;
    right: 6px;
  }
  
  .cart.premium-cart {
    font-size: 1.2rem;
  }
  
  .cart-count {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
    top: -4px;
    right: -8px;
  }
  
  .product-badge {
    font-size: 0.6rem;
    padding: 4px 8px;
    min-width: 70px;
  }
  
  h1 {
    font-size: 1.3rem;
  }
  
  .image-wrapper {
    max-width: 160px;
  }
  
  .product-img {
    max-height: 120px;
  }
  
  .price {
    font-size: 1.4rem;
  }
  
  .quantity-btn, 
  .quantity-input, 
  .btn-bulk {
    height: 32px;
  }
  
  .quantity-btn {
    width: 32px;
    font-size: 0.9rem;
  }
  
  .quantity-input {
    width: 45px;
  }
  
  .reviews-carousel h2 {
    font-size: var(--text-md);
  }
  
  .review-text {
    font-size: var(--text-xs);
  }
  
  .security-seals h3 {
    font-size: 1rem;
  }
  
  .security-seals-logos img {
    height: 16px;
    max-width: 30px;
  }
}
