/* ===== VARIABLES ===== */
:root {
  --primary: #1a56db;
  --primary-dark: #1e40af;
  --primary-light: #dbeafe;
  --success: #00A651;
  --success-light: #d1fae5;
  --dark: #0f172a;
  --gray: #64748b;
  --gray-light: #f1f5f9;
  --border: #e2e8f0;
  --white: #ffffff;
  --orange: #ff6b35;
  --shadow: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-fluid {
  width: 100%;
}

/* ===== PROMO SLIDER ===== */
.promo-slider {
  background: var(--primary);
  color: var(--white);
  padding: 12px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.promo-slider-track {
  display: flex;
  width: fit-content;
  animation: scroll 25s linear infinite;
}

.promo-text {
  padding: 0 60px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--white);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo svg {
  display: block;
}

.header-title {
  flex: 1;
  text-align: center;
}

.header-title h1 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
}

.nav {
  display: none; /* Removido conforme solicitado */
}

.cart-btn {
  position: relative;
  padding: 12px;
  background: var(--primary);
  border: none;
  border-radius: var(--radius-sm);
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.cart-btn svg {
  width: 22px;
  height: 22px;
}

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--success);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  min-width: 20px;
  height: 20px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ===== BANNERS ===== */
.main-banner {
  width: 100%;
  margin-bottom: 60px;
}

.banner-desktop {
  display: block;
}

.banner-mobile {
  display: none;
}

.main-banner img,
.secondary-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.secondary-banner {
  margin: 60px 0;
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
  padding: 60px 0;
}

.section-title-main {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  color: var(--dark);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border);
  cursor: pointer;
  animation: fadeIn 0.5s ease-out;
  animation-fill-mode: both;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--gray-light);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: var(--success);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-badge.bestseller {
  background: var(--primary);
}

.product-badge.kit {
  background: var(--orange);
}

.product-info {
  padding: 20px;
}

.product-category {
  font-size: 12px;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.product-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.4;
  min-height: 44px;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.stars {
  color: #fbbf24;
  font-size: 14px;
  letter-spacing: 2px;
}

.rating-count {
  font-size: 13px;
  color: var(--gray);
}

.product-sales {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
  margin-bottom: 12px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.price-current {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
}

.price-old {
  font-size: 16px;
  color: var(--gray);
  text-decoration: line-through;
}

.price-discount {
  background: var(--success-light);
  color: var(--success);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.btn-add-cart {
  width: 100%;
  padding: 14px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-cart:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-add-cart svg {
  width: 18px;
  height: 18px;
}

/* ===== TRUST SECTION ===== */
.trust-section {
  background: var(--gray-light);
  padding: 60px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.trust-item {
  text-align: center;
  padding: 24px;
}

.trust-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.trust-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}

.trust-item p {
  font-size: 14px;
  color: var(--gray);
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
  padding: 80px 0;
  background: var(--white);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: var(--transition);
}

.review-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.review-stars {
  color: #fbbf24;
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.review-author strong {
  font-size: 14px;
  color: var(--dark);
}

.review-author span {
  font-size: 13px;
  color: var(--gray);
}

.verified-badge {
  display: none; /* Removido */
}

/* ===== CART SIDEBAR ===== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: var(--white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 201;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: var(--transition);
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h2 {
  font-size: 22px;
  font-weight: 700;
}

.cart-close {
  padding: 8px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gray);
  transition: var(--transition);
}

.cart-close:hover {
  color: var(--dark);
}

.cart-close svg {
  width: 24px;
  height: 24px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 24px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: var(--gray);
  text-align: center;
}

.cart-empty svg {
  width: 64px;
  height: 64px;
  margin-bottom: 16px;
  opacity: 0.3;
}

.cart-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--gray-light);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  background: var(--gray-light);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: var(--border);
}

.cart-item-qty {
  font-weight: 600;
  min-width: 24px;
  text-align: center;
}

.btn-remove {
  margin-left: auto;
  padding: 6px;
  background: transparent;
  border: none;
  color: var(--gray);
  cursor: pointer;
  transition: var(--transition);
}

.btn-remove:hover {
  color: #ef4444;
}

.btn-remove svg {
  width: 18px;
  height: 18px;
}

.cart-footer {
  padding: 24px;
  border-top: 1px solid var(--border);
  background: var(--gray-light);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 700;
}

.cart-total-value {
  font-size: 28px;
  color: var(--primary);
}

.btn-checkout {
  width: 100%;
  padding: 18px;
  background: var(--success);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-checkout:hover {
  background: #009246;
  transform: translateY(-2px);
}

.btn-checkout svg {
  width: 20px;
  height: 20px;
}

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail {
  padding: 40px 0 80px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 32px;
  transition: var(--transition);
}

.back-link:hover {
  color: var(--dark);
}

.back-link svg {
  width: 20px;
  height: 20px;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.product-detail-image {
  position: sticky;
  top: 100px;
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-light);
}

.product-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-info {
  padding-top: 20px;
}

.product-detail-category {
  font-size: 14px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  font-weight: 600;
}

.product-detail-title {
  font-family: 'Cormorant', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 24px;
}

.product-detail-price {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.detail-price-current {
  font-size: 42px;
  font-weight: 700;
  color: var(--dark);
}

.detail-price-old {
  font-size: 24px;
  color: var(--gray);
  text-decoration: line-through;
}

.product-detail-description {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 32px;
}

.product-detail-benefits {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.product-detail-benefits h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}

.product-detail-benefits ul {
  list-style: none;
}

.product-detail-benefits li {
  padding: 8px 0;
  padding-left: 28px;
  position: relative;
  color: var(--dark);
}

.product-detail-benefits li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.product-detail-actions {
  display: flex;
  gap: 16px;
}

.btn-add-large {
  flex: 1;
  padding: 20px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.btn-add-large:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-add-large svg {
  width: 22px;
  height: 22px;
}

/* ===== RELATED PRODUCTS ===== */
.related-section {
  padding: 60px 0 100px;
  background: var(--gray-light);
}

.section-title {
  font-family: 'Cormorant', serif;
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
}

.products-grid-small {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .product-detail-image {
    position: relative;
    top: 0;
  }
}

@media (max-width: 768px) {
  .promo-text {
    font-size: 12px;
    padding: 0 30px;
  }
  
  .header-title h1 {
    font-size: 16px;
  }
  
  .banner-desktop {
    display: none;
  }
  
  .banner-mobile {
    display: block;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .product-card {
    border-radius: 8px;
  }
  
  .product-info {
    padding: 12px;
  }
  
  .product-name {
    font-size: 14px;
    min-height: auto;
  }
  
  .price-current {
    font-size: 18px;
  }
  
  .price-old {
    font-size: 14px;
  }
  
  .btn-add-cart {
    padding: 12px;
    font-size: 13px;
  }
  
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .trust-item {
    padding: 16px;
  }
  
  .trust-icon {
    font-size: 36px;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title-main {
    font-size: 24px;
    margin-bottom: 32px;
  }
  
  .cart-sidebar {
    max-width: 100%;
  }
  
  .product-detail-title {
    font-size: 32px;
  }
  
  .detail-price-current {
    font-size: 32px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .header {
    padding: 12px 0;
  }
  
  .header-inner {
    gap: 16px;
  }
  
  .logo svg {
    width: 100px;
    height: 26px;
  }
  
  .header-title h1 {
    font-size: 14px;
  }
  
  .cart-btn {
    padding: 10px;
  }
  
  .cart-btn svg {
    width: 20px;
    height: 20px;
  }
  
  .products-section {
    padding: 40px 0;
  }
  
  .products-grid {
    gap: 12px;
  }
  
  .product-image {
    aspect-ratio: 1/1;
  }
  
  .product-info {
    padding: 10px;
  }
  
  .product-name {
    font-size: 13px;
    margin-bottom: 6px;
  }
  
  .product-rating {
    margin-bottom: 6px;
  }
  
  .stars {
    font-size: 12px;
  }
  
  .rating-count {
    font-size: 11px;
  }
  
  .product-sales {
    font-size: 11px;
    margin-bottom: 8px;
  }
  
  .price-current {
    font-size: 16px;
  }
  
  .price-old {
    font-size: 12px;
  }
  
  .price-discount {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .btn-add-cart {
    padding: 10px;
    font-size: 12px;
  }
  
  .btn-add-cart svg {
    width: 16px;
    height: 16px;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-section,
  .reviews-section {
    padding: 40px 0;
  }
  
  .secondary-banner {
    margin: 40px 0;
  }
}

/* ===== APAGUE TODO O BLOCO DE LOGOS DO SEU style.css E SUBSTITUA POR ESTE ===== */

/* ===== LOGOS HEADER ===== */
.logo {
    display: flex !important;
    align-items: center;
}

.logo-desktop {
    display: block !important;
    height: 32px;
    width: auto;
}

.logo-mobile {
    display: none !important;
    height: 28px;
    width: auto;
}

/* ===== LOGOS FOOTER ===== */
.footer-logo-desktop {
    margin-bottom: 16px;
    display: block !important;
}

.footer-logo-mobile {
    display: none !important;
    margin: 0 auto 16px;
}

.footer-logo-desktop img,
.footer-logo-mobile img {
    height: 32px;
    width: auto;
}

/* ===== MOBILE - LOGOS ===== */
@media (max-width: 768px) {
    /* Header Mobile - Logo Centralizada */
    .header-inner {
        justify-content: center !important;
        position: relative;
    }
    
    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        order: 0;
    }
    
    .logo-desktop {
        display: none !important;
    }
    
    .logo-mobile {
        display: block !important;
    }
    
    .cart-btn {
        margin-left: auto;
    }
    
    /* Footer Mobile - Logo Centralizada */
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo-desktop {
        display: none !important;
    }
    
    .footer-logo-mobile {
        display: block !important;
    }
    
    .footer-tagline {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .logo-desktop {
        height: 28px;
        display: none !important;
    }
    
    .logo-mobile {
        height: 24px;
        display: block !important;
    }
    
    .footer-logo-desktop {
        display: none !important;
    }
    
    .footer-logo-mobile {
        display: block !important;
    }
    
    .footer-logo-desktop img,
    .footer-logo-mobile img {
        height: 28px;
    }
}