/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #ff6a00;
  --primary-foreground: #ffffff;
  --secondary: #0b1f3a;
  --secondary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #0b1f3a;
  --card: #ffffff;
  --card-foreground: #0b1f3a;
  --muted: #f5f5f5;
  --muted-foreground: #64748b;
  --border: #e2e8f0;
  --radius: 0.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* ===== Utilities ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--secondary);
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(11, 31, 58, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

@media (min-width: 1024px) {
  .header-inner {
    height: 80px;
  }
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-btn {
  display: flex;
  background: none;
  border: none;
  color: var(--secondary-foreground);
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.2s;
  align-items: center;
  justify-content: center;
}

.menu-btn:hover {
  color: var(--primary);
}

@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  display: block;
}

@media (min-width:1024px){
  .logo-img{
    height:50px;
  }
}

.logo-text {
  color: var(--secondary-foreground);
  font-weight: 700;
  font-size: 1.25rem;
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.logo-text span {
  color: var(--primary);
}

/* Desktop Nav */
.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--primary);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 1024px) {
  .header-right {
    gap: 1rem;
  }
}

.search-bar {
  display: none;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}

@media (min-width: 768px) {
  .search-bar {
    display: flex;
  }
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--secondary-foreground);
  margin-left: 0.5rem;
  width: 160px;
  font-size: 0.875rem;
}

@media (min-width: 1024px) {
  .search-bar input {
    width: 224px;
  }
}

.search-bar input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.icon-btn {
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--secondary-foreground);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.cta-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.cta-btn:hover {
  background-color: rgba(255, 106, 0, 0.9);
}

@media (min-width: 640px) {
  .cta-btn {
    display: flex;
  }
}

.cta-btn .cta-text-short {
  display: block;
}

.cta-btn .cta-text-long {
  display: none;
}

@media (min-width: 1024px) {
  .cta-btn .cta-text-short {
    display: none;
  }
  .cta-btn .cta-text-long {
    display: block;
  }
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  top: 64px;
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 31, 58, 0.5);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 288px;
  background-color: var(--card);
  box-shadow: 4px 0 6px -1px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.mobile-menu-overlay.open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-menu-content {
  padding: 1.5rem;
}

.mobile-search {
  display: flex;
  align-items: center;
  background-color: var(--muted);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.5rem;
}

.mobile-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--foreground);
  margin-left: 0.5rem;
  width: 100%;
  font-size: 0.875rem;
}

.mobile-search input::placeholder {
  color: var(--muted-foreground);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  color: var(--foreground);
  text-decoration: none;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.mobile-nav-link:hover {
  color: var(--primary);
  background-color: var(--muted);
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  margin-top: 1.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.mobile-cta:hover {
  background-color: rgba(255, 106, 0, 0.9);
}

/* Header Spacer */
.header-spacer {
  height: 64px;
}

@media (min-width: 1024px) {
  .header-spacer {
    height: 80px;
  }
}

/* ===== Benefits Bar ===== */
.benefits-bar {
  background-color: var(--primary);
  overflow: hidden;
  padding: 0.75rem 0;
}

.benefits-track {
  display: flex;
  animation: scroll 25s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0 2rem;
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===== Carousel ===== */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-inner {
  position: relative;
  height: 400px;
}

@media (min-width: 768px) {
  .carousel-inner {
    height: 500px;
  }
}

@media (min-width: 1024px) {
  .carousel-inner {
    height: 600px;
  }
}

.carousel-slide {
  position: absolute;
  inset: 0;
  transition: all 0.7s ease;
  opacity: 0;
  transform: translateX(100%);
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.carousel-slide.prev {
  opacity: 0;
  transform: translateX(-100%);
}

.slide-content {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  background-color: var(--secondary);
}

.slide-image-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary);
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Preenche todo o contêiner sem deformar */
  object-position: center; /* Mantém o centro da imagem sempre visível */
  opacity: 0;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 1;
}

.slide-image[src]:not([src=""]) {
  opacity: 1;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.85), rgba(11, 31, 58, 0.4));
  display: flex;
  align-items: center;
}

.slide-text {
  max-width: 672px;
}

.slide-badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.slide-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--secondary-foreground);
  margin-bottom: 1rem;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .slide-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .slide-title {
    font-size: 3.75rem;
  }
}

.slide-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .slide-desc {
    font-size: 1.25rem;
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--foreground);
  padding: 0.5rem;
  border-radius: 9999px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-arrow:hover {
  background-color: var(--background);
}

.carousel-arrow.prev {
  left: 1rem;
}

.carousel-arrow.next {
  right: 1rem;
}

.carousel-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dot.active {
  background-color: var(--primary);
}

/* ===== Offers Section ===== */
.offers-section {
  padding: 3rem 0;
  background-color: var(--muted);
}

@media (min-width: 1024px) {
  .offers-section {
    padding: 4rem 0;
  }
}

.offers-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .offers-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.offers-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .offers-title {
    font-size: 1.875rem;
  }
}

.offers-title span {
  color: var(--primary);
}

.offers-subtitle {
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.offers-timer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--secondary), rgba(11, 31, 58, 0.95));
  padding: 1rem 1.5rem; 
  border-radius: 1rem;
  border: 2px solid var(--primary);
  box-shadow: 0 10px 25px -5px rgba(255, 106, 0, 0.3);
}

@media (min-width: 768px) {
  .offers-timer-container {
    flex-direction: row;
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
}

.offers-timer-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-foreground);
  font-weight: 600;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .offers-timer-label {
    font-size: 1rem;
  }
}

.offers-timer-boxes {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.timer-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, var(--primary), rgba(255, 106, 0, 0.8));
  padding: 0.5rem 0.75rem; 
  border-radius: 0.5rem;
  min-width: 50px;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.4);
}

@media (min-width: 768px) {
  .timer-box {
    padding: 0.5rem 0.75rem;
    min-width: 50px;
  }
}

.timer-value {
  font-size: 1.25rem; 
  font-weight: 800;
  color: var(--primary-foreground);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 768px) {
  .timer-value {
    font-size: 1.5rem; 
  }
}

.timer-unit {
  font-size: 0.625rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

.timer-separator {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  animation: blink 1s ease-in-out infinite;
}

@media (min-width: 768px) {
  .timer-separator {
    font-size: 1.5rem;
  }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.offers-grid {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1.5rem; 
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.offers-grid::-webkit-scrollbar {
  height: 8px;
}
.offers-grid::-webkit-scrollbar-track {
  background: var(--muted);
  border-radius: 8px;
}
.offers-grid::-webkit-scrollbar-thumb {
  background-color: var(--primary);
  border-radius: 8px;
}

.offer-card {
  min-width: 300px; 
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: 1rem;
  padding: 1.5rem;
  color: white;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

@media (min-width: 1024px) {
  .offer-card {
    padding: 2rem;
    min-width: 360px;
  }
}

.offer-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.offer-card.gradient-1 {
  background: linear-gradient(135deg, var(--primary), rgba(255, 106, 0, 0.7));
}

.offer-card.gradient-2 {
  background: linear-gradient(135deg, var(--secondary), rgba(11, 31, 58, 0.7));
}

.offer-card.gradient-3 {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.8), rgba(11, 31, 58, 0.6));
}

.offer-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  pointer-events: none;
}

.offer-bg-circle-1 {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 160px;
  height: 160px;
  background-color: white;
  border-radius: 9999px;
}

.offer-bg-circle-2 {
  position: absolute;
  left: -40px;
  bottom: -40px;
  width: 128px;
  height: 128px;
  background-color: white;
  border-radius: 9999px;
}

.offer-content {
  position: relative;
  z-index: 10;
}

.offer-badge {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.offer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.offer-desc {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.offer-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: white;
  color: var(--foreground);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.offer-card:hover .offer-btn {
  transform: translateX(4px);
}

.offer-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
}

/* ===== Products Section ===== */
.products-section {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .products-section {
    padding: 4rem 0;
  }
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.section-title span {
  color: var(--primary);
}

/* Filters */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
  padding: 1rem;
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}

@media (min-width: 768px) {
  .filters {
    gap: 1rem;
    padding: 1.5rem;
  }
}

.filter-group {
  flex: 1;
  min-width: 140px;
}

.filter-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.filter-select {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  background-color: var(--background);
  color: var(--foreground);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-clear {
  display: flex;
  align-items: flex-end;
}

.filter-clear-btn {
  padding: 0.5rem 1rem;
  background-color: transparent;
  color: var(--muted-foreground);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-clear-btn:hover {
  background-color: var(--muted);
  color: var(--foreground);
}

/* Seções de Categorias e Carrosseis */
.category-section {
  margin-bottom: 3rem;
}

.category-section-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--border);
  padding-bottom: 0.5rem;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.scroll-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s;
}

.scroll-arrow:hover {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.scroll-arrow.left {
  left: -15px;
}

.scroll-arrow.right {
  right: -15px;
}

/* Product Grid */
.products-grid {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 16px;
  padding: 10px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  /* Hide scrollbar completely to look like a true carousel */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.products-grid::-webkit-scrollbar {
  display: none;
}

.product-card {
  flex: 0 0 250px; 
  background-color: var(--card);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
}

.products-empty {
  text-align: center;
  padding: 5rem 0;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .scroll-arrow {
    display: none; /* Let mobile native scroll take over */
  }
  .products-grid {
    padding: 10px;
  }
}

/* ===== Product Card Elements ===== */
.product-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.product-image {
  position: relative;
  aspect-ratio: 1;
  background-color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 2;
}

.product-badge.sale {
  background-color: #ef4444;
  color: white;
}

.product-badge.new {
  background-color: #22c55e;
  color: white;
}

.product-badge.bestseller {
  background-color: var(--primary);
  color: white;
}

.product-favorite {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  padding: 0.5rem;
  background-color: var(--background);
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.product-favorite:hover {
  background-color: #fef2f2;
}

.product-favorite.active {
  background-color: #fef2f2;
}

.product-favorite i {
  color: var(--muted-foreground);
  font-size: 18px;
}

.product-favorite.active i {
  color: #ef4444;
}

.product-info {
  padding: 1rem;
}

.product-brand {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.product-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--card-foreground);
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.product-price-current {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.product-price-original {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.product-installments {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.product-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  opacity: 0;
  transition: opacity 0.2s;
}

.product-card:hover .product-actions {
  opacity: 1;
}

.product-view-btn {
  flex: 1;
  padding: 0.5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: none;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}

.product-view-btn:hover {
  background-color: rgba(255, 106, 0, 0.9);
}

/* ===== Product Modal ===== */
.modal-overlay {
  display: none !important; /* Força mobile sheet globalmente */
}

/* ===== Botão Comprar Base ===== */
.btn-comprar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background-color 0.2s;
  font-size: 1rem;
}

.btn-comprar:hover {
  background-color: rgba(255, 106, 0, 0.9);
  color: white;
}

/* ===== Mobile Bottom Sheet Modal ===== */
.mobile-sheet-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-sheet-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-sheet-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(11, 31, 58, 0.6);
  backdrop-filter: blur(4px);
}

.mobile-sheet-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--card);
  border-radius: 1.5rem 1.5rem 0 0;
  max-height: 85vh;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-sheet-overlay.open .mobile-sheet-panel {
  transform: translateY(0);
}

.mobile-sheet-handle {
  width: 40px;
  height: 4px;
  background-color: var(--border);
  border-radius: 2px;
  margin: 0.75rem auto;
}

.mobile-sheet-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 1rem 1rem;
  border-bottom: 1px solid var(--border);
}

.mobile-sheet-product-preview {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.mobile-sheet-image {
  width: 80px;
  height: 80px;
  background-color: var(--muted);
  border-radius: 0.75rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.mobile-sheet-info {
  flex: 1;
  min-width: 0;
}

.mobile-sheet-brand {
  font-size: 0.625rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.mobile-sheet-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mobile-sheet-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.mobile-sheet-price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
}

.mobile-sheet-original-price {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-decoration: line-through;
}

.mobile-sheet-close {
  background: none;
  border: none;
  color: var(--muted-foreground);
  padding: 0.25rem;
  cursor: pointer;
  margin-left: 0.5rem;
  display: flex;
}

.mobile-sheet-content {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.mobile-sheet-section {
  margin-bottom: 1.25rem;
}

.mobile-sheet-section:last-child {
  margin-bottom: 0;
}

.mobile-sheet-section-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.mobile-sheet-description {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.mobile-sheet-specs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-sheet-spec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.mobile-sheet-spec:last-child {
  border-bottom: none;
}

.spec-label {
  font-size: 0.8125rem;
  color: var(--muted-foreground);
}

.spec-value {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--foreground);
}

.mobile-sheet-footer {
  padding: 1rem;
  border-top: 1px solid var(--border);
  background-color: var(--card);
}

@media (min-width: 768px) {
  .mobile-sheet-panel {
    max-width: 500px;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    border-radius: 1.5rem 1.5rem 0 0;
  }
  
  .mobile-sheet-overlay.open .mobile-sheet-panel {
    transform: translateX(-50%) translateY(0);
  }
  
  .mobile-sheet-content {
    padding: 1.5rem;
  }
  
  .mobile-sheet-image {
    width: 100px;
    height: 100px;
  }
  
  .mobile-sheet-name {
    font-size: 1rem;
  }
  
  .mobile-sheet-price {
    font-size: 1.25rem;
  }
  
  .mobile-sheet-section-title {
    font-size: 1rem;
  }
}

@media (min-width: 1024px) {
  .mobile-sheet-panel {
    max-width: 600px;
    max-height: 80vh;
  }
  
  .mobile-sheet-header {
    padding: 0 1.5rem 1.5rem;
  }
  
  .mobile-sheet-content {
    padding: 2rem;
  }
  
  .mobile-sheet-image {
    width: 120px;
    height: 120px;
  }
  
  .mobile-sheet-name {
    font-size: 1.125rem;
  }
  
  .mobile-sheet-price {
    font-size: 1.5rem;
  }
}

/* ===== Footer ===== */
.footer {
  background-color: var(--secondary);
  color: var(--secondary-foreground);
}

.footer-main {
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .footer-main {
    padding: 4rem 0;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
  }
}

.footer-about-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.footer-social-link {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-foreground);
  transition: background-color 0.2s;
  text-decoration: none;
}

.footer-social-link:hover {
  background-color: var(--primary);
}

.footer-title {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
  cursor: pointer;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.footer-contact-item span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-copyright {
    text-align: left;
  }
}

.footer-legal {
  display: flex;
  gap: 1rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: var(--primary);
}

/* ===== Floating Social Buttons ===== */
.floating-social{
  position: fixed;
  left: 20px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.floating-btn {
  width: 45px;
  height: 45px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.2s;
  text-decoration: none;
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.floating-btn.whatsapp {
  background-color: #25d366;
}

.floating-btn.instagram {
  background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
}

.floating-social.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ===== Mobile Search Button ===== */
.mobile-search-btn {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-search-btn {
    display: none;
  }
}

/* ===== Search Results Dropdown ===== */
.search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--card);
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
  max-height: 300px;
  overflow-y: auto;
  z-index: 100;
  display: none;
}

.search-dropdown.open {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  border-bottom: 1px solid var(--border);
}

.search-result-item:last-child {
  border-bottom: none;
}

.search-result-item:hover {
  background-color: var(--muted);
}

.search-result-image {
  width: 40px;
  height: 40px;
  background-color: var(--muted);
  border-radius: 0.375rem;
  flex-shrink: 0;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-price {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
}

.search-no-results {
  padding: 1.5rem;
  text-align: center;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Mobile search modal */
.mobile-search-modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  background-color: var(--card);
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.mobile-search-modal.open {
  transform: translateY(0);
}

.mobile-search-modal-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background-color: var(--secondary);
}

.mobile-search-modal-input {
  flex: 1;
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
}

.mobile-search-modal-input input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--secondary-foreground);
  margin-left: 0.5rem;
  width: 100%;
  font-size: 1rem;
}

.mobile-search-modal-input input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.mobile-search-modal-close {
  background: none;
  border: none;
  color: var(--secondary-foreground);
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
}

.mobile-search-modal-results {
  padding: 0.5rem;
  overflow-y: auto;
  max-height: calc(100vh - 70px);
}

/* Estilo para os links de ação no rodapé */
.footer-link-action {
  color: inherit; /* Herda a cor do texto do rodapé */
  text-decoration: none; /* Remove o sublinhado */
  transition: color 0.3s ease;
}

.footer-link-action:hover {
  color: var(--primary); /* Muda para a cor principal da FixPrime ao passar o mouse */
  text-decoration: underline; /* Opcional: apenas um detalhe visual no hover */
}

/* Garante que o item de contato mantenha o alinhamento */
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px; /* Espaço entre o ícone e o link */
  margin-bottom: 0.5rem;
}

