* {
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: #fff9f1;
  color: #1C1C1E;
  overflow-x: hidden;
}

.wrapper {
  margin: 0 auto;
  padding-inline: clamp(16px, 5vw, 60px);
}

.small {
  font-size: 16px;
}

.mobile-only, .hero-image-controls button {
  display: none;
}

header {
  align-items: center;
  background-color: #FFF9F1;
  display: flex;
  justify-content: space-between;
  left: 0;
  padding-block: 4px;
  padding-inline: clamp(16px, 5vw, 60px);
  position: fixed;
  top: 0;
  transition: all 0.3s ease;
  width: 100%;
  z-index: 1000;
}

header.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding-block: 4px;
  padding-inline: clamp(16px, 5vw, 60px);
}

header h2 {
  color: #e63946;
  font-size: 50px;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
  transition: font-size 0.3s ease;
}

.logo-link {
  text-decoration: none;
  color: #e63946;
}

header.scrolled h2 {
  font-size: 42px;
}

nav {
  align-items: center;
  display: flex;
  gap: 20px;
}

.menu {
  display: flex;
  gap: 24px;
}

.menu a {
  color: #1C1C1E;
  font-size: 20px;
  font-weight: 500;
  padding: 6px 12px;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease;
}

.menu a::after {
  background-color: #e63946;
  bottom: 0;
  content: '';
  height: 2px;
  left: 50%;
  position: absolute;
  transform-origin: center;
  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s ease;
  width: 100%;
}

.menu a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.menu a:hover {
  background-color: rgba(230, 57, 70, 0.05);
  border-radius: 6px;
}

.login {
  align-items: center;
  border-radius: 6px;
  color: #1C1C1E;
  display: flex;
  font-size: 22px;
  font-weight: 500;
  gap: 8px;
  margin-left: 10px;
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.login:hover {
  background-color: rgba(247, 92, 76, 0.1);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  color: #f75c4c;
}

.login-icon {
  height: 20px;
  position: relative;
  width: 20px;
}

.login-icon::before {
  background-color: #1C1C1E;
  border-radius: 50%;
  content: '';
  height: 12px;
  left: 6.41px;
  position: absolute;
  top: 2px;
  width: 12px;
}

.login-icon::after {
  background-color: #1C1C1E;
  border-radius: 8px 8px 0 0;
  bottom: -4px;
  content: '';
  height: 11px;
  left: 3px;
  position: absolute;
  width: 18px;
}

.menu-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 24px;
  justify-content: center;
  width: 30px;
  z-index: 1001;
}

.menu-toggle span {
  background-color: #1C1C1E;
  border-radius: 2px;
  display: block;
  height: 3px;
  transition: all 0.3s ease;
  width: 100%;
}

/* Animação de toggle */
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

.hero {
  background-color: #fdc849;
  overflow: hidden;
  padding: 40px 0 32px;
}

.hero-content {
  align-items: center;
  display: flex;
  gap: 43px;
  justify-content: center;
  margin-top: 60px;
}

.hero-text {
  max-width: 480px;
}

.hero-text h1 {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15);
}

.hero-text button {
  background-color: #e63946;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  color: white;
  cursor: pointer;
  font-weight: 600;
  padding: 16px 32px;
  transition: all 0.3s ease;
}

.hero-text button:hover {
  background-color: #d62839;
  box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  transform: translateY(-2px);
}

.hero-image {
  align-items: center;
  display: flex;
  height: 476px;
  justify-content: center;
  position: relative;
  width: 516px;
}

.hero-image .carousel-img {
  background-color: transparent;
  height: 500px;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: transform 0.6s ease, opacity 0.6s ease;
  width: 500px;
  z-index: 0;
}

.hero-image .carousel-img.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1.05) translateX(0);
  z-index: 3;
}

.hero-image .carousel-img.next {
  opacity: 0.85;
  transform: scale(0.95) translateX(140px);
  z-index: 2;
}

.hero-image .carousel-img.prev {
  opacity: 0.85;
  transform: scale(0.95) translateX(-140px);
  z-index: 2;
}

.hero-image .carousel-img.behind {
  opacity: 0;
  transform: scale(0.7);
  z-index: 1;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  margin-top: 40px;
  pointer-events: all;
  position: relative;
  z-index: 10;
}

.carousel-indicators span {
  background-color: #999;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  height: 12px;
  margin: 0 5px;
  transition: background-color 0.3s ease;
  width: 12px;
}

.carousel-indicators .active-indicator {
  background-color: #e63946;
}

.como-funciona {
  background-color: #F4F6F8;
  padding: 80px 5vw;
  text-align: center;
}

.como-funciona h2 {
  color: #1C1C1E;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
}

.passos, .why-choose .reasons {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.passo {
  background-color: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  flex: 1 1 260px;
  max-width: 280px;
  padding: 30px 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.passo:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  transform: scale(1.05);
}

.numero-passo {
  background-color: #fdc849;
  border-radius: 50%;
  color: #1c1c1e;
  display: inline-block;
  font-size: 20px;
  font-weight: bold;
  height: 40px;
  line-height: 40px;
  margin-bottom: 16px;
  width: 40px;
}

.passo h3 {
  color: #1C1C1E;
  font-size: 18px;
  margin-bottom: 10px;
}

.passo p {
  color: #444;
  font-size: 14px;
}

.hero-image img.prev {
  filter: blur(2px);
  opacity: 0.2;
  transform: translateX(-180px) scale(0.85);
  z-index: 1;
}

.hero-image img.next {
  filter: blur(2px);
  opacity: 0.2;
  transform: translateX(180px) scale(0.85);
  z-index: 1;
}

.hero-image img.active {
  filter: drop-shadow(0 35px 65px rgba(0,0,0,0.25));
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.flavors {
  background-color: #fff;
  padding: 48px 5vw;
}

.flavors h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  text-align: center;
}

.flavor-cards {
  /* Inicia com 4 colunas */
      gap: 14px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  margin-top: 30px;
  padding: 0 5vw;
}

.flavor-card {
  /* ADICIONADO */
  background-color: #fff8e1;
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  flex: 1;
  max-width: 290px;
  overflow: hidden;
  padding: 25px;
  position: relative;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.flavor-card:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  transform: translateY(-8px);
}

.flavor-card:nth-child(1) {
  background-color: #fff2cc;
}

.flavor-card:nth-child(2) {
  background-color: #d6f5d6;
}

.flavor-card:nth-child(3) {
  background-color: #ffd8b1;
}

.flavor-card:nth-child(4) {
  background-color: #d9ebff;
}

.flavor-card img {
  border-radius: 50%;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 260px;
  object-fit: contain;
  transform: scale(1.45);
  width: 100%;
}

.flavor-card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.flavor-card p {
  color: #333;
  font-size: 15px;
  margin: 5px 0;
}

.flavor-card .info-line {
  background-color: #fdc849;
  border-radius: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  color: #1c1c1e;
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
  padding: 6px 14px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
  text-align: center;
}

.tag {
  background-color: #e3e3e3;
  border-radius: 20px;
  color: #1C1C1C;
  font-size: 14px;
  font-weight: 600;
  min-width: 210px;
  padding: 8px 16px;
}

.hero-image-controls {
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
}

.carousel-indicators {
  bottom: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
  position: absolute;
  width: 100%;
}

.carousel-indicators span {
  background-color: rgba(0,0,0,0.3);
  border-radius: 50%;
  height: 10px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  width: 10px;
}

.carousel-indicators .active-indicator {
  background-color: rgba(0,0,0,0.7);
  transform: scale(1.2);
}

.hero-image img {
  transition: transform 0.5s ease, opacity 0.5s ease;
  user-select: none;
}

.hero-image img.active:hover {
  transform: translateX(0) scale(1.05);
}

.why-choose {
  background-color: #FDF9F4;
  padding-block: 80px;
  padding-inline: clamp(16px, 5vw, 60px);
  text-align: center;
}

.why-choose h3 {
  color: #e63946;
  font-size: 32px;
  margin-bottom: 40px;
}

.reason-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 24px;
  transition: transform 0.3s ease;
  width: 260px;
}

.reason-card:hover {
  transform: scale(1.05);
}

.reason-card i {
  color: #e63946;
  font-size: 32px;
  margin-bottom: 16px;
}

.reason-card p {
  color: #1C1C1E;
  font-size: 16px;
}

.cta-final {
  background-color: #ffefcf;
  padding: 80px 40px;
  text-align: center;
}

.cta-final h3 {
  color: #1C1C1E;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cta-final p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.dish-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.dish-card {
  align-items: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  overflow: visible;
  padding: 0;
  position: relative;
  transition: transform 0.3s;
  width: 290px;
}

.card-content {
  align-items: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: 50px;
  padding: 24px;
  position: relative;
  width: 100%;
}

.dish-card:hover {
  transform: scale(1.03);
}

.dish-card img {
  filter: drop-shadow(0 14px 12px rgba(0, 0, 0, 0.15));
  max-height: 180px;
  object-fit: contain;
  transform: scale(1.8);
  width: 100%;
}

.dish-name {
  color: #1C1C1E;
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 10px;
}

.price-tag {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 10px 0;
  transition: opacity 0.3s ease;
}

.portion-options label {
  color: #444;
  font-size: 0.95rem;
  margin-right: 10px;
}

.quantity-input {
  margin: 10px 0;
}

.quantity-input input {
  border-radius: 5px;
  border: 1px solid #ccc;
  padding: 6px;
  text-align: center;
  width: 60px;
}

.qty-btn {
  background-color: #fdc849;
  border-radius: 8px;
  border: none;
  color: #1C1C1E;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  margin: 0 6px;
  padding: 6px 12px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.qty-btn:hover {
  background-color: #f7b800;
  transform: scale(1.05);
}

.badge-popular {
  background: #ffb347;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #1C1C1E;
  font-size: 0.75rem;
  font-size: 15px;
  font-weight: bold;
  left: -40px;
  padding: 5px 0;
  pointer-events: none;
  position: absolute;
  text-align: center;
  top: 39px;
  transform: rotate(-45deg);
  width: 187px;
  z-index: 1;
}

.site-footer {
  background-color: #1C1C1E;
  color: #fff;
  padding: 60px 5vw 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.footer-logo h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fdc849;
}

.footer-social p {
  margin-bottom: 10px;
}

.footer-social .icons a {
  color: #fff;
  font-size: 20px;
  margin-right: 10px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 14px;
  padding-top: 30px;
  text-align: center;
}

.cart-icon {
  position: relative;
  font-size: 24px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.cart-icon:hover {
  transform: scale(1.1);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: #e63946;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 50%;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  display: flex !important;
}

/* Mostrar em todos os tamanhos */
@media (max-width: 768px) {
  .cart-icon {
  font-size: 30px;
  margin-left: 10px;
  position: relative;
  bottom: -3px;
  }
}


@media (max-width: 1435px) {
  .flavor-cards {
    grid-template-columns: repeat(3, 1fr);
  /* Reduz para 3 colunas */;
}

}

    @media (max-width: 1091px) {
  .flavor-cards {
    grid-template-columns: repeat(2, 1fr);
  /* Reduz para 2 colunas */;
}

}

    @media (max-width: 720px) {
  .flavor-cards {
    grid-template-columns: 1fr;
}

}
@media (max-width: 650px) {
.dish-card {
  margin-bottom: 20px;
}
}

@media (max-width: 1024px) {
  .menu-toggle {
  display: flex;
  left: 16px;
  position: relative;
  top: 1px;
}

nav {
  justify-content: flex-end;
  position: relative;
  width: 100%;
}

.menu {
  /* Bordas mais arredondadas */
  box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.1);
  /* Sombra suave para profundidade */
  transform: translateX(100%);
  /* Um tom de bege suave */
  width: 260px;
  background-color: #fdf9f4;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  opacity: 0;
  padding: 20px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 60px;
  transition: all 0.4s ease;
  z-index: 999;
}

.menu.show {
  opacity: 1;
  pointer-events: all;
  transform: translateX(0);
}

.hero-content {
  /* Alinha o conteúdo verticalmente em telas menores */
    gap: 0;
  /* Menor espaçamento entre os elementos */
    margin-top: 95px;
  flex-direction: column;
}

.hero-text {
  text-align: center;
}

.hero-text h1 {
  /* Centraliza o texto em telas pequenas */
  /* Reduz o tamanho da fonte em telas menores */
  text-align: center;
  font-size: 40px;
}

.hero-text button {
  /* Ajusta o tamanho do botão */
  font-size: 14px;
  padding: 12px 24px;
}

.hero-image {
  /* Ajusta a largura da imagem em telas menores */
  width: 80%;
}

.hero-image img {
  /* Faz a imagem cobrir completamente o espaço disponível */
  object-fit: cover;
}

}


@media (max-width: 511px) {
  .hero-image {
    display: none;
  /* Ajusta a largura da imagem em telas menores */;
}

.hero-text h1 {
  /* Centraliza o texto em telas pequenas */
  /* Reduz o tamanho da fonte em telas menores */
  text-align: center;
  font-size: 30px;
}
}

.add-to-cart {
  background-color: #e5892a;
  color: #fffefb;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  padding: 14px 24px;
  position: absolute;
  bottom: -29px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.2);
  cursor: pointer;
  font-size: 16px;
  transition: all 0.25s ease-in-out;
}

.add-to-cart:hover {
  background-color: #cf7621;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(230, 57, 70, 0.3);
}

@media (max-width: 720px) {
  .desktop-only {
    display: none;
}

.mobile-only {
  align-items: center;
  border-radius: 6px;
  color: #1C1C1E;
  display: flex;
  font-size: 18px;
  font-weight: 500;
  gap: 8px;
  padding: 6px 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.mobile-only:hover {
  background-color: rgba(247, 92, 76, 0.1);
  color: #f75c4c;
}

.como-funciona {
  /* Reduz o padding para telas menores */
  padding: 40px 5vw;
}

.why-choose {
  /* Reduz o padding para telas menores */
  padding-block: 40px;
  padding-inline: clamp(16px, 5vw, 60px);
}

.cta-final, .site-footer {
  /* Ajusta o padding para telas menores */
  padding: 40px 20px;
}
}


/* ====== CARRINHO COM SVG ====== */
.cart-icon-wrapper {
  position: relative;
  cursor: pointer;
  margin-left: 16px;
}

.cart-icon-svg {
  stroke: #000000;
  transition: transform 0.2s ease-in-out;
  width: 30px;
  height: 30px;
  position: relative;
  top: 6px;
}

.cart-icon-wrapper:hover .cart-icon-svg {
  transform: scale(1.1);
}

.cart-panel {
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  background-color: #fffefb;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  padding: 20px;
  transition: right 0.3s ease-in-out;
  z-index: 2000;
  display: flex;
  flex-direction: column;
}

.cart-panel.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
}

.cart-footer {
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.checkout-button {
  background-color: #e5892a;
  color: white;
  border: none;
  padding: 12px;
  width: 100%;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.cart-line {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.cart-line span {
  display: block;
}

.dish-card {
  cursor: pointer;
}
.dish-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.cart-total {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #e63946;
  text-align: right;
}

.cart-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1C1C1E;
}

#close-cart {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #999;
  transition: color 0.2s;
}

#close-cart:hover {
  color: #e63946;
}


.cart-line {
  background-color: #fff;
  border-radius: 10px;
  padding: 12px 16px;
  margin-bottom: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  font-size: 15px;
  color: #1C1C1E;
  font-weight: 500;
  flex-direction: column;
}

.line-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.item-title {
  font-weight: 600;
}

.item-price {
  font-size: 14px;
  color: #333;
}

.cart-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.cart-actions button {
  background-color: #f3f3f3;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  padding: 6px 10px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.cart-actions button:hover {
  background-color: #e0e0e0;
}

.remove-item {
  background-color: #ffe5e5;
  color: #e63946;
}

.remove-item:hover {
  background-color: #ffd1d1;
}

.add-to-cart:active {
  transform: scale(0.96);
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* ==== CARRINHO PADRÃO UNIFICADO ==== */
.cart-item {
  background-color: #fff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.cart-item-info {
  font-weight: 600;
  margin-bottom: 8px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cart-item-controls button.qty-btn {
  background-color: #f2f2f2;
  border: none;
  padding: 4px 10px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cart-item-controls button.qty-btn:hover {
  background-color: #ddd;
}

.cart-item-controls .item-price {
  font-weight: bold;
  margin-left: auto;
}

.cart-item-controls .remove-item {
  background-color: #f7d7d7;
  color: #e63946;
  border: none;
  font-size: 1rem;
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.cart-item-controls .remove-item:hover {
  background-color: #e63946;
  color: #fff;
}
