/* Variáveis de Cores */
:root {
  --primary-color: #961914;
  --primary-color-light: #e12d27;
  --dark-bg: #333;
  --hover-bg: #444;
  --dark-color: #000000;
}

/* Reset Básico */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: "Cormorant Garamond", serif;
}

/* Container e Logo */
.container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  width: 100%;
}

.logo {
  width: 20rem;
  font-weight: bold;
  text-decoration: none;
}

/* Menu Desktop */
.nav-desktop {
  display: flex; /* Exibe o menu desktop no desktop */
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop ul li {
  margin: 0 15px;
}

.nav-desktop ul li a {
  color: var(--primary-color);
  font-family: "Lora", serif;
  text-decoration: none;
  font-size: 1.5rem;
  position: relative;
}

.nav-desktop ul li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-desktop ul li a:hover::after {
  width: 100%;
}

/* Menu Mobile (padrão não exibido) */
.menu-toggle,
.nav-mobile {
  display: none;
}

/* Efeito de Zoom no Background */
@keyframes zoomBackground {
  0% {
    background-size: 100%;
  }
  50% {
    background-size: 105%;
  }
  100% {
    background-size: 100%;
  }
}

#cart-icon-wrapper {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 80;
}

#cart-icon {
  position: relative;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  cursor: pointer;
}

#cart-count {
  background-color: white;
  color: var(--primary-color);
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 8px;
  margin-left: 6px;
}

/* Modal */
#cart-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.cart-modal-content {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.cart-modal-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.cart-modal-content ul li {
  margin-bottom: 0.5rem;
}

.cart-modal-content button {
  margin-top: 1rem;
  background: var(--primary-color);
  color: white;
  padding: 0.8rem 1.2rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.hidden {
  display: none !important;
}

#clear-cart-button {
  margin-top: 0.5rem;
  background: #ccc;
  color: #000;
  padding: 0.6rem 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* Modal de Imagem do Produto */
.product-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.product-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.product-modal-content {
  background: white;
  border-radius: 15px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.product-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.product-modal-close:hover {
  background: var(--primary-color-light);
  transform: scale(1.1);
}

.product-modal-body {
  display: flex;
  flex-direction: row;
  min-height: 400px;
}

.product-modal-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: #f8f9fa;
}

.product-modal-image img {
  max-width: 100%;
  max-height: 500px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.product-modal-info {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.product-modal-info h3 {
  font-family: "Lora", serif;
  font-size: 1.8rem;
  color: #333;
  margin: 0;
  line-height: 1.3;
}

.product-modal-info p {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 0.5rem;
  text-align: justify;
}

.product-modal-info p::-webkit-scrollbar {
  width: 6px;
}

.product-modal-info p::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.product-modal-info p::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.product-modal-info p::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.product-modal-info p strong {
  font-size: 1.5rem;
  color: var(--primary-color);
}

.modal-add-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-size: 1.1rem;
  font-family: "Cormorant Garamond", serif;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.modal-add-button:hover {
  background: var(--primary-color-light);
  transform: translateY(-2px);
}

.modal-add-button:disabled {
  background: #999;
  cursor: not-allowed;
  transform: none;
}

/* Responsividade do Modal */
@media (max-width: 768px) {
  .product-modal-body {
    flex-direction: column;
  }

  .product-modal-image {
    padding: 1rem;
  }

  .product-modal-info {
    padding: 1rem;
  }

  .product-modal-info h3 {
    font-size: 1.4rem;
  }

  .product-modal-close {
    top: 10px;
    right: 15px;
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }
}

/* Seção Home */
.Home {
  background: url("./assets/background-home.webp") no-repeat center bottom;
  background-size: cover;
  width: 100%;
  height: 100vh;
  animation: zoomBackground 10s infinite ease-in-out;
  position: relative;
  z-index: 1;
}

/* Seção de Títulos */
.titles {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4rem;
  gap: 4rem;
  text-align: center;
}

.title {
  font-family: "Lora", serif;
  font-size: 3rem;
  color: #fff;
  line-height: 1.2;
}

.subtitle {
  font-family: "Lora", serif;
  font-size: 2rem;
  color: #fff;
  line-height: 1.2;
}

.paragraph {
  font-family: "Cormorant Garamond", serif;
  color: #fff;
  font-size: 1.5rem;
  line-height: 1.2;
}

/* Seção Produtos em Destaque */
.featured-products {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2c1810 0%, #4a2c1f 100%);
  padding: 4rem 2rem;
  gap: 1.5rem;
  width: 100%;
  min-height: 80vh;
}

.featured-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.featured-subtitle {
  font-family: "Lora", serif;
  font-size: 1.2rem;
  color: #f0e6d2;
  text-align: center;
  margin-bottom: 2rem;
}

.featured-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1400px;
  padding: 2rem 4rem;
}

.featured-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 1rem 0;
}

.featured-carousel::-webkit-scrollbar {
  display: none;
}

.featured-carousel .card {
  flex: 0 0 auto;
  width: 280px;
  min-width: 280px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-carousel .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.featured-carousel-arrows {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.featured-carousel-prev,
.featured-carousel-next {
  pointer-events: all;
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  font-size: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-carousel-prev:hover,
.featured-carousel-next:hover {
  background-color: #7a140f;
  transform: scale(1.1);
}

.featured-carousel-prev:active,
.featured-carousel-next:active {
  transform: scale(0.95);
}

.featured-carousel-prev {
  left: 0;
}

.featured-carousel-next {
  right: 0;
}

/* Seção About */
.about {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-image: url("./assets/background-about.webp");
  background-size: cover;
  background-position: center;
  gap: 2rem;
  width: 100%;
  padding: 2rem 8rem;
}

.title-about {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
}

.about .about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.container-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 0 10rem;
}

.paragraph-about {
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.3;
  font-family: "Cormorant Garamond", serif;
  text-align: left;
  background-color: #00000084;
  border-radius: 10px;
  padding: 1rem;
}

.about img {
  width: 25rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.about-button {
  text-decoration: none;
  font-family: "lora", serif;
  color: #fff;
  font-size: 1.2rem;
  border: solid 2px #fff;
  background: var(--primary-color);
  padding: 1rem;
  border-radius: 10px;
  transition: 0.3s ease;
}

.about-button:hover {
  transform: scale(1.05);
  background: var(--primary-color-light);
}

/* Seção Delivery */
.delivery-info {
  background: linear-gradient(135deg, #4a2c1f 0%, #6b3e2e 50%, #2c1810 100%);
  padding: 3rem 2rem;
  text-align: center;
  width: 100%;
  position: relative;
}

.delivery-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(150, 25, 20, 0.1);
  pointer-events: none;
}

.delivery-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.delivery-info h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.8rem;
  color: #f0e6d2;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.delivery-info p {
  font-family: "Lora", serif;
  font-size: 1.3rem;
  color: #e6d7c3;
  margin-bottom: 1rem;
  line-height: 1.6;
  font-weight: 400;
}

.delivery-button {
  display: inline-block;
  text-decoration: none;
  font-family: "Cormorant Garamond", serif;
  color: #f0e6d2;
  font-size: 1.3rem;
  font-weight: 700;
  border: solid 2px var(--primary-color);
  background: var(--primary-color);
  padding: 1.2rem 2.5rem;
  border-radius: 10px;
  transition: 0.3s ease;
  margin-top: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.delivery-button:hover {
  transform: scale(1.05);
  background: #7a140f;
  border-color: #7a140f;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.products {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-image: url("./assets/background-products.webp");
  background-size: cover;
  height: 120vh;
  gap: 2rem;
  padding: 2rem 0;
}

.products h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: #fff;
  text-align: center;
  margin-bottom: 2rem;
}

/* Dropdown de Categorias */
.categories {
  position: relative;
  margin-bottom: 2rem;
  text-align: center;
}

.dropdown-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1.2rem;
}

.arrow-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* Gira a seta para cima quando o menu está visível */
.dropdown-button.open .arrow-icon {
  transform: rotate(180deg);
}

.dropdown-button:hover {
  background-color: var(--primary-color-light);
  transform: scale(1.05);
  transition: 0.3s ease;
}

.dropdown-menu {
  display: block; /* mudamos de "none" para "block" para manter a altura controlada */
  position: absolute;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  list-style: none;
  padding: 0;
  margin: 0;
  width: 200px;
  z-index: 10;
  transition: max-height 0.4s ease, opacity 0.4s ease;
}

.dropdown-menu.show {
  max-height: 400px;
  overflow-y: scroll;
  opacity: 1;
}

.dropdown-menu li {
  padding: 10px;
  cursor: pointer;
  text-align: left;
  font-family: "Lora", serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.li-arrow {
  transition: transform 0.3s ease;
  font-size: 1rem;
  color: var(--primary-color);
  flex-shrink: 0;
  min-width: 20px;
  text-align: center;
}

/* Quando o item estiver ativo (selecionado) */
.dropdown-menu li.active .li-arrow {
  transform: rotate(90deg);
  color: #fff;
}

.dropdown-menu li:hover {
  background-color: var(--hover-bg);
  color: #fff;
}

/* Carrossel de Produtos */
.carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 120vh;
  max-width: 100vw;
  padding: 1rem 4rem;
}

/* Faixa de rolagem/carrossel */
.carousel {
  display: flex;
  transition: transform 0.4s ease-in-out;
  will-change: transform;
  gap: 1rem;
}

/* Card de produto */
.card {
  box-sizing: border-box;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  text-align: center;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 350px;
  overflow: hidden; /* Previne conteúdo cortado */
}

.card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 6px;
  margin-bottom: 0.5rem;
  cursor: zoom-in;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.card img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.card h4 {
  font-size: 1.1rem;
  margin: 0.5rem 0;
  font-family: "Lora", serif;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  line-height: 1.3;
}

.card p {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  font-family: "Cormorant Garamond", serif;
  flex-grow: 1;
}

.card button {
  padding: 0.5rem;
  background: var(--primary-color);
  border: none;
  border-radius: 10px !important;
  color: white;
  border-radius: var(--radius);
  cursor: pointer;
  width: 100%;
  font-family: "Cormorant Garamond", serif;
  margin-top: auto;
}

.card .btn-saiba-mais {
  background: #555;
  padding: 0.4rem;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.card .btn-saiba-mais:hover {
  background: #666;
  transform: scale(1.03);
}

.card .btn-add-cart {
  margin-top: 0;
}

.card button:hover {
  background: var(--primary-color-light);
  transform: scale(1.05);
  transition: 0.3s ease;
}

.card button:disabled {
  background: #999 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

.card button:disabled:hover {
  background: #999 !important;
  transform: none !important;
}

.card p strong {
  font-family: "Cormorant Garamond", serif; /* para o preço */
}

/* Botões do Carrossel */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--primary-color, #961914);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 1rem;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.carousel-prev {
  left: 10px;
}

.carousel-next {
  right: 10px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: var(--primary-color-light);
  transform: translateY(-50%) scale(1.1);
  transition: 0.3s ease;
}

/* Desktop grande - setas maiores */
@media (min-width: 1200px) {
  .carousel-prev,
  .carousel-next {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .carousel-prev {
    left: 20px;
  }

  .carousel-next {
    right: 20px;
  }
}

.carousel-arrows.hidden {
  display: none;
}

.dropdown-menu li.active {
  background-color: var(--primary-color);
  color: #fff;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.footer {
  background-color: #3e1f1f;
  border-top: 1px solid #3e1f1f;
  box-shadow: 0 -2px 20px #462323;
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
}

.footer p {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.footer-content h4 {
  color: #fff;
  font-size: 1.5rem;
  text-align: center;
  font-family: "Lora", serif;
  margin-top: 1rem;
}

.footer-content img {
  width: 35rem;
  border-radius: 10px;
}

.footer-content a {
  display: flex;
  transition: 0.3s ease;
  text-decoration: none;
}

.footer-content a:hover {
  transform: scale(1.05);
}

.footer-content p {
  color: #fff;
  font-size: 1.2rem;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
}

.whatsapp-float {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: white;
  font-size: 2rem;
  padding: 0.85rem 0.9rem;
  border-radius: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  text-align: center;
  text-decoration: none;
  z-index: 10;
  transition: transform 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1ebe5b;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.social-links h4 {
  font-family: "Lora", serif;
  color: #fff;
  font-size: 1.5rem;
}

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

.social-content a {
  display: flex;
  transition: 0.3s ease;
  text-decoration: none;
  color: #fff;
}

.social-content a:hover {
  transform: translateY(-4px);
}

.copy {
  margin-top: 1rem;
}

/* Crédito do desenvolvedor */
.developer-credit {
  text-align: center;
  margin-top: 1.5rem;
  font-family: "Lora", serif;
}

.developer-credit p {
  font-size: 0.9rem;
  margin: 0;
}

.developer-credit a {
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
}

.developer-credit a:hover {
  text-decoration: none;
  transform: scale(1.1);
}

.togyro-black {
  color: #ffffff;
}

.group-red {
  color: var(--primary-color);
}

/* Responsividade para Tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .card {
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    min-height: 340px;
  }

  .carousel-container {
    padding: 1rem 3rem;
  }

  .carousel-prev,
  .carousel-next {
    display: block;
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }

  .carousel-prev {
    left: 15px;
  }

  .carousel-next {
    right: 15px;
  }

  .carousel {
    gap: 1rem;
    padding: 0 2rem;
    justify-content: flex-start;
  }
}

/* Responsividade para Notebooks (1025px - 1366px) */
@media (min-width: 1025px) and (max-width: 1366px) {
  .card {
    width: 260px;
    min-width: 260px;
    max-width: 260px;
    min-height: 350px;
  }

  .carousel-container {
    padding: 1rem 2rem;
  }

  .carousel {
    gap: 1rem;
    padding: 0 1rem;
    justify-content: center;
  }

  .carousel-prev,
  .carousel-next {
    display: block;
    width: 40px;
    height: 40px;
  }

  /* Delivery - Tablet */
  .delivery-info {
    padding: 2.5rem 1rem;
  }

  .delivery-info h3 {
    font-size: 2.4rem;
  }

  .delivery-info p {
    font-size: 1.2rem;
  }

  .delivery-button {
    font-size: 1.2rem;
    padding: 1rem 2rem;
  }
}

/* Responsividade para Mobile */
@media (max-width: 768px) {
  /* Logo Redimensionada */
  .logo {
    width: 10rem;
    margin: 0 auto;
    display: block;
  }

  /* Exibe Botão de Menu Mobile */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 11;
    will-change: opacity, transform;
  }

  /* Oculta Menu Desktop */
  .nav-desktop {
    display: none;
  }

  /* Ajuste de Textos para Mobile */
  .title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    max-width: 90%;
    line-height: 1.4;
    text-align: center;
  }

  .subtitle {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    max-width: 90%;
    line-height: 1;
    text-align: center;
  }

  .paragraph {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    max-width: 80%;
    text-align: center;
    background-color: #000000b6;
    border-radius: 10px;
    padding: 0.2rem;
  }

  .paragraph-about {
    text-align: center;
    font-size: 1rem;
    padding: 0.5rem;
  }

  .titles {
    padding: 0;
    gap: 0;
  }

  /* Seção Home Ajustada para Mobile */
  .Home {
    background-position: center top;
    height: auto;
    padding: 2rem 0 9rem;
    /* Caso haja necessidade de manter altura fixa, opte por min-height */
    height: 27.2vh;
    animation: none !important;
  }

  /* Menu Mobile com Transição Suave */
  .nav-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Inicia no topo */
    background-color: var(--dark-bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 80vh;
    padding: 2rem 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 90;
    overflow-y: auto;
    will-change: transform;
  }

  .nav-mobile.active {
    transform: translateY(0);
  }

  /* Itens da Lista do Menu Mobile */
  .nav-mobile ul {
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .nav-mobile ul li {
    width: 100%;
    border-bottom: 1px solid #444;
    text-align: center;
  }

  .nav-mobile ul li a {
    display: block;
    width: 100%;
    padding: 15px 0;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
  }

  .nav-mobile ul li a:hover {
    background-color: var(--hover-bg);
  }

  /* Botão de Fechar do Menu Mobile (posicionado à direita) */
  .menu-close {
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    align-self: flex-end;
    margin: 0 1rem 1rem 0;
    z-index: 100;
  }

  /* Ajuste Opcional para Seção About em Mobile */
  .about {
    height: 100%;
    padding: 2rem 0;
  }

  .about .about-content {
    flex-direction: column;
    gap: 1rem;
    padding: 0;
  }

  .about .container-content {
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 1rem;
    text-align: center;
  }

  .about img {
    width: 10rem;
  }

  .about-button {
    font-size: 1rem;
  }

  /* Delivery - Mobile */
  .delivery-info {
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #4a2c1f 0%, #6b3e2e 50%, #2c1810 100%);
    color: #f0e6d2;
  }

  .delivery-info h3 {
    font-size: 2rem;
    font-family: "Cormorant Garamond", serif;
    color: #e6d7c3;
  }

  .delivery-info p {
    font-size: 1rem;
    color: #f0e6d2;
    font-family: "Cormorant Garamond", serif;
  }

  .delivery-button {
    font-size: 1rem;
    padding: 0.8rem 1.2rem;
    background: var(--primary-color);
    color: #f0e6d2;
    border: none;
    border-radius: 8px;
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .delivery-button:hover {
    background: #b8350e;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .carousel-container {
    padding: 1rem 0.5rem;
    position: relative;
  }

  .carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding: 0 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .carousel::-webkit-scrollbar {
    display: none;
  }

  .card {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: calc(85vw - 1rem);
    min-width: 220px;
    max-width: 280px;
    min-height: 320px;
    margin: 0;
  }

  .carousel-prev,
  .carousel-next {
    display: none;
  }

  .carousel-prev {
    left: 10px;
  }

  .carousel-next {
    right: 10px;
  }

  #cart-icon-wrapper {
    left: 1rem;
  }

  .cart {
    padding: 0.5rem;
  }

  .cart ul li {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .card img {
    height: 140px;
  }

  .categories {
    padding: 0 1rem;
  }

  .footer-content img {
    width: 22rem;
  }

  /* Produtos em Destaque - Tablet */
  .featured-products {
    padding: 3rem 1rem;
    min-height: 70vh;
  }

  .featured-title {
    font-size: 2.5rem;
  }

  .featured-subtitle {
    font-size: 1.1rem;
  }

  .featured-carousel-container {
    padding: 2rem 3rem;
  }

  .featured-carousel .card {
    width: 240px;
    min-width: 240px;
  }

  .featured-carousel-prev,
  .featured-carousel-next {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
}

/* Responsividade para Mobile pequeno (até 480px) */
@media (max-width: 480px) {
  /* Produtos em Destaque - Mobile */
  .featured-products {
    padding: 2rem 0.5rem;
    min-height: 600px;
  }

  .featured-title {
    font-size: 2rem;
    padding: 0 1rem;
  }

  .featured-subtitle {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .featured-carousel-container {
    padding: 1rem 0.5rem;
  }

  .featured-carousel {
    gap: 1rem;
    padding: 1rem 0.5rem;
  }

  .featured-carousel .card {
    width: calc(90vw - 1rem);
    min-width: 200px;
    max-width: 250px;
  }

  .featured-carousel-prev,
  .featured-carousel-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .products {
    height: 180vh;
    padding: 3rem 0;
    min-height: 900px;
  }

  .dropdown-menu li {
    padding: 12px 10px;
    font-size: 0.95rem;
    min-height: 44px;
  }

  .li-arrow {
    font-size: 1.1rem;
    min-width: 24px;
  }

  .card {
    width: calc(90vw - 1rem);
    min-width: 200px;
    max-width: 250px;
    min-height: 300px;
  }

  .carousel {
    padding: 0 0.25rem;
    gap: 0.25rem;
  }

  .carousel-container {
    padding: 1rem 0.25rem;
  }

  .card img {
    height: 120px;
  }

  .card h4 {
    font-size: 1rem;
  }

  .card p {
    font-size: 0.85rem;
  }

  .card button {
    padding: 0.4rem;
    font-size: 0.9rem;
  }
}

/* Responsividade para telas muito pequenas (até 320px) */
@media (max-width: 320px) {
  .card {
    width: calc(95vw - 0.5rem);
    min-width: 180px;
    max-width: 220px;
    min-height: 280px;
  }

  .carousel {
    padding: 0;
    gap: 0.125rem;
  }

  .card img {
    height: 100px;
  }

  .card h4 {
    font-size: 0.9rem;
    margin: 0.25rem 0;
  }

  .card p {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }
}
.search-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem auto;
  gap: 0.5rem;
  max-width: 600px;
  padding: 0 1rem;
}

#product-search {
  flex: 1;
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--primary-color);
  border-radius: 5px;
  outline: none;
}

#search-button {
  padding: 0.3rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: 0.3s ease;
}

#search-button:hover {
  background-color: var(--primary-color-light);
  transform: scale(1.05);
}

.lupa-icon {
  fill: #fff;
  width: 2rem;
  height: 2rem;
}
