 @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');
 
 * {
     font-family: 'Montserrat', sans-serif;
 }
 
 /* Prevent horizontal overflow globally */
 html, body {
     max-width: 100%;
     overflow-x: hidden;
 }
 
 * {
     box-sizing: border-box;
 }
 
 img {
     max-width: 100%;
     height: auto;
 }
 
 .brand-green {
     background-color: #fe5000;
 }
 
 .brand-dark-green {
     background-color: #000;
 }
 
 .brand-light-green {
     background-color: #4CAF50;
 }
 
 .price-tag {
     background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
 }
 
 .discount-badge {
     background: #ff4444;
     color: white;
     font-weight: bold;
     padding: 4px 8px;
     border-radius: 4px;
     font-size: 12px;
     display: inline-block;
 }
 
 .product-card {
     transition: all 0.3s ease;
     border: 1px solid #e0e0e0;
 }
 
 .product-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0,0,0,0.1);
 }
 
 .btn-comprar {
     background-color: #00A859;
     color: white;
     font-weight: 600;
     padding: 10px 20px;
     border-radius: 6px;
     transition: all 0.3s;
 }
 
 .btn-comprar:hover {
     background-color: #008847;
 }
 
 .category-icon {
     width: 60px;
     height: 60px;
     display: flex;
     align-items: center;
     justify-content: center;
     margin: 0 auto;
 }
 
 .carousel-container {
     overflow: hidden;
     position: relative;
 }
 
 .carousel-track {
     display: flex;
     transition: transform 0.5s ease;
 }
 
 @keyframes slideIn {
     from {
         opacity: 0;
         transform: translateY(20px);
     }
     to {
         opacity: 1;
         transform: translateY(0);
     }
 }
 
 .animate-slide-in {
     animation: slideIn 0.6s ease forwards;
 }
 
 /* Mobile Responsive Styles */
 @media (max-width: 768px) {
     /* Prevent horizontal scroll */
     body {
         overflow-x: hidden !important;
     }
     
     .container {
         max-width: 100% !important;
         padding-left: 0 !important;
         padding-right: 0 !important;
     }
     
     /* Hide desktop top header on mobile */
     .desktop-top-header {
         display: none !important;
     }
     
     /* Mobile header adjustments */
     .mobile-header {
         padding: 12px 16px !important;
     }
     
     .mobile-header > div {
         padding-left: 16px !important;
         padding-right: 16px !important;
     }
     
     .mobile-header .flex {
         flex-direction: row !important;
         flex-wrap: wrap !important;
     }
     
     .mobile-logo {
         font-size: 18px !important;
         order: 1 !important;
         flex: 0 0 auto !important;
     }
     
     .mobile-logo > div {
         font-size: 18px !important;
     }
     
     .mobile-search {
         width: 100% !important;
         margin: 12px 0 0 0 !important;
         max-width: 100% !important;
         order: 3 !important;
         flex: 0 0 100% !important;
     }
     
     .mobile-search input {
         font-size: 14px !important;
         padding: 10px 12px !important;
         padding-right: 45px !important;
     }
     
     .mobile-search button {
         padding: 8px 12px !important;
         font-size: 14px !important;
         right: 4px !important;
         top: 50% !important;
         transform: translateY(-50%) !important;
     }
     
     .mobile-icons {
         gap: 12px !important;
         order: 2 !important;
         flex: 0 0 auto !important;
         margin-left: auto !important;
     }
     
     .mobile-icons a {
         font-size: 10px !important;
     }
     
     .mobile-icons i {
         font-size: 20px !important;
     }
     
     /* Category bar - horizontal scroll */
     .category-scroll {
         overflow-x: auto;
         overflow-y: hidden;
         -webkit-overflow-scrolling: touch;
         scrollbar-width: none;
         padding: 12px 0;
     }
     
     .category-scroll::-webkit-scrollbar {
         display: none;
     }
     
     .category-icons-mobile {
         display: flex !important;
         gap: 20px;
         padding: 0 16px;
         min-width: max-content;
     }
     
     .category-icon-mobile {
         width: 50px !important;
         height: 50px !important;
         flex-shrink: 0;
     }
     
     .category-icon-mobile span {
         font-size: 10px !important;
         white-space: nowrap;
     }
     
     /* Banner adjustments for mobile */
     .mobile-banner {
         padding: 24px 16px !important;
         margin: 12px 16px !important;
     }
     
     .mobile-banner h1 {
         font-size: 24px !important;
         margin-bottom: 8px !important;
     }
     
     .mobile-banner h2 {
         font-size: 32px !important;
         margin-bottom: 12px !important;
     }
     
     .mobile-banner p {
         font-size: 13px !important;
         margin-bottom: 8px !important;
     }
     
     .mobile-banner button {
         font-size: 14px !important;
         padding: 10px 24px !important;
         margin-top: 16px !important;
     }
     
     .banner-cards-mobile {
         position: relative !important;
         right: auto !important;
         top: auto !important;
         transform: none !important;
         margin-top: 20px !important;
         display: flex !important;
         justify-content: center !important;
     }
     
     .banner-cards-mobile > div {
         grid-template-columns: repeat(2, 1fr) !important;
         gap: 12px !important;
         max-width: 200px !important;
     }
     
     .banner-cards-mobile .bg-purple-500 {
         padding: 12px !important;
     }
     
     .banner-cards-mobile .bg-yellow-400 {
         width: 80px !important;
         height: 80px !important;
     }
     
     .banner-cards-mobile .text-2xl {
         font-size: 18px !important;
     }
     
     .banner-cards-mobile .text-3xl {
         font-size: 24px !important;
     }
     
     /* Product grid - 2 columns on mobile */
     .mobile-grid-2 {
         grid-template-columns: repeat(2, 1fr) !important;
         gap: 12px !important;
         padding: 0 16px !important;
     }
     
     /* Product card adjustments */
     .mobile-product-card {
         padding: 8px !important;
     }
     
     .mobile-product-card img {
         margin-bottom: 8px !important;
     }
     
     .mobile-product-card p {
         font-size: 11px !important;
         line-height: 1.3 !important;
         margin-bottom: 4px !important;
     }
     
     .mobile-product-card .text-xs {
         font-size: 10px !important;
     }
     
     .mobile-product-card .text-lg {
         font-size: 16px !important;
     }
     
     .mobile-product-card button {
         padding: 8px 12px !important;
         font-size: 12px !important;
     }
     
     .discount-badge {
         font-size: 10px !important;
         padding: 3px 6px !important;
     }
     
     /* Section titles */
     .mobile-section-title {
         font-size: 18px !important;
         padding: 0 16px !important;
         margin-bottom: 16px !important;
         margin-top: 8px !important;
     }
     
     /* Container adjustments */
     .mobile-container {
         padding-left: 0 !important;
         padding-right: 0 !important;
         max-width: 100% !important;
     }
     
     /* All sections padding */
     @media (max-width: 768px) {
         .container.mx-auto {
             padding-left: 0 !important;
             padding-right: 0 !important;
         }
     }
     
     /* Featured products - horizontal scroll */
     .mobile-scroll-container {
         overflow-x: auto;
         overflow-y: hidden;
         -webkit-overflow-scrolling: touch;
         scrollbar-width: none;
         padding: 0 16px;
         margin: 0 !important;
     }
     
     .mobile-scroll-container::-webkit-scrollbar {
         display: none;
     }
     
     .mobile-scroll-grid {
         display: flex !important;
         gap: 12px;
         min-width: max-content;
         grid-template-columns: none !important;
     }
     
     .mobile-scroll-item {
         width: 160px !important;
         flex-shrink: 0;
     }
     
     .mobile-scroll-item img {
         width: 100% !important;
         height: auto !important;
     }
     
     .mobile-scroll-item p {
         font-size: 12px !important;
         line-height: 1.3 !important;
     }
     
     .mobile-scroll-item button {
         font-size: 13px !important;
         padding: 8px 16px !important;
         width: 100% !important;
     }
     
     /* Banners mobile */
     .mobile-banner-stack {
         grid-template-columns: 1fr !important;
         gap: 12px !important;
         padding: 0 !important;
         margin: 0 16px !important;
     }
     
     .mobile-banner-item {
         padding: 20px 16px !important;
         margin: 0 !important;
         width: 100% !important;
         box-sizing: border-box !important;
     }
     
     .mobile-banner-item h3 {
         font-size: 20px !important;
         margin-bottom: 12px !important;
     }
     
     .mobile-banner-item p {
         font-size: 14px !important;
         margin-bottom: 8px !important;
     }
     
     .mobile-banner-item button {
         font-size: 14px !important;
         padding: 10px 20px !important;
     }
     
     .mobile-banner-item .flex {
         flex-wrap: wrap !important;
         gap: 8px !important;
     }
     
     .mobile-banner-item img {
         height: 24px !important;
         width: auto !important;
     }
     
     /* App download section */
     .mobile-app-section {
         grid-template-columns: 1fr !important;
         gap: 20px !important;
         padding: 20px 16px !important;
     }
     
     .mobile-app-section > div {
         width: 100% !important;
     }
     
     .mobile-app-section img {
         max-width: 120px !important;
         height: auto !important;
     }
     
     .mobile-app-section h3 {
         font-size: 20px !important;
     }
     
     .mobile-app-section p {
         font-size: 14px !important;
     }
     
     .mobile-app-section .flex {
         flex-wrap: wrap !important;
     }
     
     /* Brand partners */
     .mobile-brands {
         flex-wrap: wrap !important;
         gap: 16px !important;
         padding: 16px !important;
     }
     
     .mobile-brands img {
         height: 30px !important;
     }
     
     /* Blog section */
     .mobile-blog {
         grid-template-columns: 1fr !important;
         gap: 12px !important;
         padding: 0 16px !important;
     }
     
     /* Newsletter */
     .mobile-newsletter {
         padding: 20px 16px !important;
         margin: 12px 16px !important;
         box-sizing: border-box !important;
     }
     
     .mobile-newsletter-content {
         flex-direction: column !important;
         gap: 16px !important;
         align-items: flex-start !important;
     }
     
     .mobile-newsletter h3 {
         font-size: 18px !important;
         margin-bottom: 8px !important;
     }
     
     .mobile-newsletter p {
         font-size: 14px !important;
         margin-bottom: 0 !important;
     }
     
     .mobile-newsletter-form {
         flex-direction: column !important;
         width: 100% !important;
         gap: 12px !important;
     }
     
     .mobile-newsletter input {
         width: 100% !important;
         max-width: 100% !important;
         box-sizing: border-box !important;
     }
     
     .mobile-newsletter button {
         width: 100% !important;
         max-width: 100% !important;
         box-sizing: border-box !important;
     }
     
     /* Footer */
     .mobile-footer {
         grid-template-columns: 1fr !important;
         gap: 24px !important;
     }
     
     .mobile-footer h4 {
         font-size: 16px !important;
     }
     
     .mobile-footer-bottom {
         flex-direction: column !important;
         gap: 16px !important;
         text-align: center !important;
     }
     
     /* Container padding */
     .mobile-container {
         padding-left: 16px !important;
         padding-right: 16px !important;
     }
     
     /* Hide elements on mobile */
     .hide-mobile {
         display: none !important;
     }
     
     /* Show only on mobile */
     .show-mobile {
         display: block !important;
     }
     
     /* Additional fixes for container widths */
     .mobile-grid-2 {
         padding: 0 16px !important;
         box-sizing: border-box !important;
     }
     
     /* Fix for all sections with py-6 */
     [class*="py-6"] {
         padding-left: 0 !important;
         padding-right: 0 !important;
     }
     
     /* Exclusive brands banner fix */
     .bg-gradient-to-r {
         margin-left: 16px !important;
         margin-right: 16px !important;
         padding: 24px 16px !important;
         box-sizing: border-box !important;
         width: calc(100% - 32px) !important;
     }
     
     /* Blog section individual items */
     .mobile-blog > div {
         width: 100% !important;
     }
     
     /* Footer text alignment */
     .mobile-footer-bottom > div:first-child {
         width: 100% !important;
     }
 }
 
 /* Desktop only */
 @media (min-width: 769px) {
     .show-mobile {
         display: none !important;
     }
 }
 
.dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: #fff;
  opacity: 0.4;
  cursor: pointer;
}
.dot.active {
  opacity: 1;
}
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}
  
.product-image {
    width: 100%;
    height: 120px;          /* altura fixa */
    object-fit: contain;    /* não estica */
    background: #f9fafb;    /* fundo neutro */
    padding: 8px;
}
  
.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
  
.product-footer {
    margin-top: auto;
}
/* ========================================== */
/* OVERLAY */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
  z-index: 40;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* SIDEBAR BASE */
.cart-sidebar {
  position: fixed;
  background: #fff;
  z-index: 50;
  display: flex;
  flex-direction: column;
  transition: transform .35s ease;
}

/* HEADER */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}

/* ITENS */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
}

/* FOOTER */
.cart-footer {
  border-top: 1px solid #eee;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

/* BOTÕES */
.btn-primary {
  background: #16a34a;
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  font-weight: bold;
}

.btn-outline {
  border: 1px solid #16a34a;
  color: #16a34a;
  padding: 12px;
  border-radius: 8px;
}

/* =========================
   DESKTOP
========================= */
@media (min-width: 768px) {
  .cart-sidebar {
    top: 0;
    right: 0;
    width: 380px;
    height: 100vh;
    transform: translateX(100%);
  }

  .cart-sidebar.open {
    transform: translateX(0);
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 767px) {
  .cart-sidebar {
    left: 0;
    bottom: 0;
    width: 100%;
    height: 85vh;
    border-radius: 16px 16px 0 0;
    transform: translateY(100%);
  }

  .cart-sidebar.open {
    transform: translateY(0);
  }
}
#cartCount {
    display: flex; /* ou inline-flex */
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    width: 1.25rem;
    height: 1.25rem;
    justify-content: center;
    align-items: center;
    border-radius: 9999px;
    background-color: #000;
    color: white;
    font-size: 0.75rem;
}
