*:focus {
  outline: none;
}

*:focus-visible {
  outline: 2px solid #7b2929;
  outline-offset: 2px;
  border-radius: 4px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: #7b2929;
  box-shadow: 0 0 0 3px rgba(123, 41, 41, 0.2);
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(123, 41, 41, 0.3);
}

.header-moderno {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(33, 37, 41, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.header-moderno.scrolled {
  background: rgba(33, 37, 41, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-moderno {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo .logo-img {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.nav-logo .logo-img:hover {
  transform: scale(1.1);
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #f8f9fa;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #7b2929;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-login {
  background: transparent;
  color: white;
  border: 2px solid #7b2929;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background: #7b2929;
  color: white;
  transform: translateY(-2px);
}

.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.nav-mobile-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  transform-origin: center;
}

.footer {
  background: var(--foreground);
  color: var(--background);
  padding: 4rem 1rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

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

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

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

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: background var(--transition-base);
}

.footer-social-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: white;
}

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

.footer-contact li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

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

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.4;
}

.footer-logo-right {
  display: flex;
  align-items: center;
}

.footer-mtco-logo-small {
  height: 20px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-mtco-logo-small:hover {
  opacity: 1;
}

.mtco-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.mtco-link:hover {
  transform: scale(1.05);
}

@media (max-width: 767px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(33, 37, 41, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    gap: 2rem;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile-toggle {
    display: flex;
    position: relative;
    z-index: 1110;
  }

  .nav-mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .nav-mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .nav-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active .nav-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu.active .nav-item:nth-child(2) {
    transition-delay: 0.2s;
  }

  .nav-menu.active .nav-item:nth-child(3) {
    transition-delay: 0.3s;
  }

  .nav-menu.active .nav-item:nth-child(4) {
    transition-delay: 0.4s;
  }

  .nav-link {
    font-size: 1.25rem;
    padding: 1rem 2rem;
    display: block;
    text-align: center;
    border-radius: 8px;
    transition: all 0.3s ease;
  }

  .nav-link:hover {
    background: rgba(123, 41, 41, 0.2);
    transform: translateX(10px);
  }

  .nav-link::after {
    display: none;
  }

  .nav-actions {
    margin-left: auto;
    margin-right: 1rem;
  }

  .btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-logo-right {
    justify-content: center;
  }

  .footer-mtco-logo-small {
    height: 18px;
  }
}

@media (max-width: 479px) {
  .footer-copyright-text {
    font-size: 0.8rem;
  }

  .footer-mtco-logo-small {
    height: 16px;
  }
}

body.menu-open {
  overflow: hidden;
}

body {
  padding-top: 80px;
}

@media (max-width: 767px) {
  body {
    padding-top: 120px;
    /* Aumentar para acomodar a barra de pesquisa */
  }

  .header-moderno {
    padding: 0.5rem 0;
  }

  .nav-moderno {
    padding: 0.5rem 0;
  }

  .service-button-section {
    margin-top: 60px;
    /* Ajustar posição do botão de serviços */
  }
}

@media (max-width: 1200px) {
  .products-wrapper {
    margin-top: 1rem;
  }
}

/* Garantir que o loading screen fique acima dos filtros */
.loading-screen {
  z-index: 1060;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #7b2929;
  --primary-light: #a53535;
  --primary-dark: #5a1f1f;
  --background: #fafafa;
  --foreground: #1a1a1a;
  --muted: #f0f0f0;
  --muted-foreground: #666666;
  --border: #e5e5e5;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(123, 41, 41, 0.3);
  --radius: 0.75rem;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #7b2929 #f5f5f5;
}

html::-webkit-scrollbar {
  width: 8px;
}

html::-webkit-scrollbar-track {
  background: #f5f5f5;
}

html::-webkit-scrollbar-thumb {
  background: #7b2929;
  border-radius: 4px;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue",
    Arial, sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #f0ebe5 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.7);
  transition: transform 20s ease-out;
}

.hero-section:hover .hero-bg-image {
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem 1rem;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-title .text-primary {
  color: var(--primary);
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  max-width: 680px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: rgba(123, 41, 41, 0.1);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: float 3s ease-in-out infinite;
}

.scroll-indicator-dot {
  width: 24px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

.section {
  padding: 6rem 1rem;
}

.section-product {
  padding-top: 20px !important;
}

.section-dark {
  background: var(--foreground);
  color: var(--background);
}

.section-muted {
  background: rgba(240, 235, 229, 0.3);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: var(--muted-foreground);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.7);
}

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

.text-center {
  text-align: center;
}

.products-modern-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

.product-modern-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-modern-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

.product-modern-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-5px);
}

.product-image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.product-image.lazy-load,
.product-overlay-image.lazy-load {
  opacity: 0.5;
  filter: blur(5px);
  background-color: #f0f0f0;
}

.product-image.lazy-loaded,
.product-overlay-image.lazy-loaded {
  opacity: 1;
  filter: blur(0);
  animation: fadeInImage 0.5s ease-in-out;
}

@keyframes fadeInImage {
  from {
    opacity: 0.5;
    filter: blur(5px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

.product-modern-card:hover .product-image {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-modern-card.active .product-overlay {
  opacity: 1;
}

.product-overlay-image {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: var(--radius);
}

.product-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-category {
  display: inline-block;
  background: rgba(123, 41, 41, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.product-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.product-price {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.product-description {
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  line-clamp: 3;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all var(--transition-base);
  max-height: 4.8em;
  flex: 1;
}

.product-modern-card.active .product-description {
  line-clamp: none;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
  overflow: visible;
  max-height: none;
  display: block;
}

@media (max-width: 479px) {
  .product-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .btn-carrinho-produto {
    width: 100%;
    justify-content: center;
  }
}

.product-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

@media (min-width: 1400px) {
  .products-modern-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 1200px) and (min-width: 1399px) {
  .products-modern-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) and (min-width: 1199px) {
  .products-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 766px) {
  .products-modern-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0 0.5rem;
  }
}

.btn-carrinho-produto {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-carrinho-produto:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-carrinho-produto svg {
  width: 16px;
  height: 16px;
}

.product-stock {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.features-content {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-content.revealed {
  opacity: 1;
  transform: translateX(0);
}

.features-list {
  list-style: none;
  margin: 2rem 0;
}

.features-list li {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.features-list li.revealed {
  opacity: 1;
  transform: translateX(0);
}

.check-icon {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-text-bold {
  font-weight: 600;
}

.feature-text-muted {
  color: var(--muted-foreground);
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(123, 41, 41, 0.2);
  border-left: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.loading-screen p {
  color: var(--muted-foreground);
  font-size: 1rem;
}

.floating-actions {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: all var(--transition-base);
}

.floating-actions.hidden {
  transform: translateX(150%);
  opacity: 0;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
}

.floating-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.floating-btn-whatsapp {
  background: #25d366;
  animation: pulse-whatsapp 2s ease-in-out infinite;
}

.floating-btn-instagram {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #f77737 100%);
  animation: pulse-instagram 2.5s ease-in-out infinite;
}

.floating-btn-youtube {
  background: #ff0000;
  animation: pulse-youtube 3s ease-in-out infinite;
}

@keyframes pulse-whatsapp {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 8px 35px rgba(37, 211, 102, 0.6);
  }
}

@keyframes pulse-instagram {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(131, 58, 180, 0.4);
  }

  50% {
    box-shadow: 0 8px 35px rgba(131, 58, 180, 0.6);
  }
}

@keyframes pulse-youtube {
  0%,
  100% {
    box-shadow: 0 8px 25px rgba(253, 29, 29, 0.4);
  }

  50% {
    box-shadow: 0 8px 35px rgba(253, 29, 29, 0.6);
  }
}

.floating-btn svg {
  width: 24px;
  height: 24px;
  color: white;
}

.badge {
  font-size: 0.7em;
  padding: 0.25em 0.4em;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  50% {
    transform: translateY(-10px) translateX(-50%);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.mt-4 {
  margin-top: 1rem;
}

@media (max-width: 767px) {
  body {
    padding-top: 70px;
  }

  .hero-section {
    min-height: 80vh;
  }

  .hero-content {
    padding: 1rem;
  }

  .hero-bg-image {
    object-position: center 30%;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 4rem 1rem;
  }

  .products-modern-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .floating-actions {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .offcanvas-end {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .hero-section {
    min-height: 70vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .product-modern-card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
  }

  .product-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .btn-carrinho-produto {
    width: 100%;
    justify-content: center;
  }
}

.offcanvas-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.modal,
.offcanvas {
  z-index: 1060;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-primary {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: white !important;
}

.btn-primary:hover {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
}

.btn-carrinho-header {
  display: flex;
  align-items: center;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
  background: rgba(123, 41, 41, 0.2) !important;
}

.btn-carrinho-header:hover {
  background: rgba(123, 41, 41, 0.6) !important;
  transform: translateY(-2px);
}

.offcanvas-end {
  width: 500px !important;
  transform: translateX(100%);
}

.offcanvas.show {
  transform: translateX(0);
}

.offcanvas-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.offcanvas-body {
  padding: 1rem;
}

.modal-backdrop,
.offcanvas-backdrop {
  z-index: 1050;
}

@media (max-width: 575px) {
  .offcanvas-end {
    width: 100%;
  }

  .btn-carrinho-header {
    padding: 0.5rem;
  }
}

.service-button-section {
  padding: 3rem 1rem 1rem;
  text-align: center;
}

.service-button-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  transition: all var(--transition-base);
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.btn-service:hover {
  background: rgba(123, 41, 41, 0.1);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-service svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
}

.btn-service:hover svg {
  transform: translateX(3px);
}

@media (max-width: 767px) {
  .service-button-section {
    padding: 2rem 1rem 1rem;
  }

  .btn-service {
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    width: 100%;
    min-width: 280px;
  }
}

@media (max-width: 479px) {
  .service-button-section {
    padding: 1.5rem 1rem 0.5rem;
  }

  .btn-service {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }
}

.mobile-carrinho-btn {
  position: fixed;
  bottom: 80px;
  left: 10px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
}

.mobile-carrinho-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.carrinho-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.carrinho-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #dc3545;
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  border: 2px solid white;
}

@media (max-width: 767px) {
  .mobile-carrinho-btn {
    display: flex;
  }

  .btn-carrinho-header {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .floating-actions {
    bottom: 80px;
  }
}

/* ===== VLIBRAS ===== */
.vw-plugin-top-wrapper {
  z-index: 1060;
}

@media (max-width: 767px) {
  .vw-plugin-top-wrapper {
    bottom: 70px !important;
  }

  .back-to-top {
    width: 44px;
    height: 44px;
    left: 0.75rem;
    bottom: 0.75rem;
  }
}

.back-to-top {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
  transition: all var(--transition-base);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.filtros-container {
  width: 300px;
  margin-right: 2rem;
  flex-shrink: 0;
}

.products-main-container {
  display: flex;
  gap: 2rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
  width: 100%;
}

.products-content-wrapper {
  flex: 1;
  min-width: 0;
}

.filtros-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-top: 4rem;
}

.filtro-busca {
  margin-bottom: 1.5rem;
}

.search-box {
  position: relative;
  width: 100%;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: all var(--transition-base);
  background: white;
  box-shadow: var(--shadow-sm);
}

.search-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123, 41, 41, 0.1);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted-foreground);
  width: 16px;
  height: 16px;
}

.search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted-foreground);
  cursor: pointer;
  padding: 0.25rem;
  display: none;
}

.search-input:not(:placeholder-shown) + .search-clear {
  display: block;
}

.filtros-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.filtros-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.btn-limpar-filtros {
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: all var(--transition-base);
}

.btn-limpar-filtros:hover {
  color: var(--primary);
  background: rgba(123, 41, 41, 0.1);
}

.filtros-ativos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.filtro-ativo {
  background: rgba(123, 41, 41, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  animation: slideIn 0.3s ease;
}

.filtro-ativo button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.filtro-grupo {
  margin-bottom: 2rem;
}

.filtro-label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.categorias-list {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
}

.categorias-list::-webkit-scrollbar {
  width: 4px;
}

.categorias-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.categorias-list::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 2px;
}

.categoria-item {
  padding: 0.5rem 0;
  cursor: pointer;
  transition: all var(--transition-base);
  border-radius: 4px;
  padding-left: 0.5rem;
}

.categoria-item:hover {
  background: rgba(123, 41, 41, 0.05);
}

.categoria-item label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  width: 100%;
}

.categoria-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.range-container {
  padding: 2rem 0 1rem;
  position: relative;
}

.range-slider-container {
  position: relative;
  height: 40px;
  margin: 0 8px;
}

.range-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  transform: translateY(-50%);
}

.range-fill {
  position: absolute;
  top: 50%;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: all var(--transition-base);
}

.range-slider {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
  pointer-events: none;
  transform: translateY(-50%);
  z-index: 2;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  pointer-events: auto;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
}

.range-slider-min {
  z-index: 3;
}

.range-slider-max {
  z-index: 4;
}

.range-values {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.range-value {
  background: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  min-width: 80px;
  text-align: center;
}

.range-value-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.range-value-display {
  color: var(--primary);
  font-weight: 500;
  animation: countUp 0.5s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes countUp {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1200px) {
  .products-main-container {
    flex-direction: column;
  }

  .filtros-container {
    width: 100%;
    margin-right: 0;
    margin-bottom: 2rem;
  }

  .filtros-card {
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  .filtros-card {
    padding: 1rem;
  }

  .filtros-title {
    font-size: 1.125rem;
  }

  .products-modern-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .range-container {
    padding: 1.5rem 0 0.5rem;
  }
}

@media (max-width: 479px) {
  .products-modern-grid {
    grid-template-columns: 1fr;
  }

  .range-values {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .filtros-title {
    font-size: 1.125rem;
  }

  .filtros-title svg {
    width: 18px;
    height: 18px;
  }

  .range-value {
    width: 100%;
    min-width: 200px;
  }
}

.filtros-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filtros-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* ===== AJUSTES NO BOTÃO LIMPAR FILTROS ===== */
.btn-limpar-filtros {
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  transition: all var(--transition-base);
  opacity: 0.5;
  pointer-events: none;
}

.btn-limpar-filtros.active {
  opacity: 1;
  pointer-events: auto;
}

.btn-limpar-filtros:hover {
  color: var(--primary);
  background: rgba(123, 41, 41, 0.1);
}

.btn-limpar-filtros svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-base);
}

.btn-limpar-filtros:hover svg {
  transform: rotate(90deg);
}

/* ===== AJUSTES NO HEADER DOS FILTROS ===== */
.filtros-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.filtros-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filtros-title svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
}

/* ===== AJUSTES NA ÁREA DE FILTROS ATIVOS ===== */
.filtros-ativos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
  opacity: 0.7;
  transition: opacity var(--transition-base);
}

.filtros-ativos:not(:empty) {
  opacity: 1;
}

.filtro-ativo {
  background: rgba(123, 41, 41, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  animation: slideIn 0.3s ease;
}

.filtro-ativo button {
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  transition: transform var(--transition-base);
}

.filtro-ativo button:hover {
  transform: scale(1.2);
}

/* ===== ANIMAÇÕES ===== */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 767px) {
  .btn-limpar-filtros {
    padding: 0.375rem 0.625rem;
    font-size: 0.8125rem;
  }

  .filtros-title {
    font-size: 1.125rem;
  }

  .filtros-title svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 380px) {
  .products-modern-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }

  .product-modern-card {
    padding: 1rem;
  }

  .product-image-container {
    height: 180px;
  }

  .product-name {
    font-size: 1.125rem;
  }

  .product-price {
    font-size: 1rem;
  }
}
