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

}

body {
    margin: 0;
    padding: 0;
    background-color: #fffaf0;
    color: #333;
}

/* Cabeçalho */
header {
    display: flex;
    height: 80px;
    justify-content: space-between;
    align-items: center;
    background-color: #c4520c;
    padding: 30px 20%;
    color: white;                   
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    nav ul li a i {
    margin-right: 6px;
}
}
.logo {
    font-size: 15px;
    font-weight: bold;
     display: flex;
  align-items: center;

}
.logo img {
  height: 60px; 
  border-radius: 10px;

}
    .carousel-track {
      display: flex;
      transition: transform 0.3s ease-in-out;
    }

    .carousel-card {
      min-width: 550px;
      height: 300px;
      margin: 0 10px;
      border-radius: 20px;
      overflow: hidden;
      flex-shrink: 0;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }
        .carousel-card:hover{
        transition: transform 0.3s ease-in-out;
        transform: scale(1.05);
    }

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

    .carousel-button {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background-color: orange;
      border: none;
      color: white;
      font-size: 24px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      cursor: pointer;
      z-index: 1;
    }

    .carousel-button.left {
      left: -0px;
    }

    .carousel-button.right {
      right: -0px;
    }

.logo {
    font-size: 18px;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    position: relative;
    transition: color 0.3s;
}

/* Linha embaixo do link */
nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: #ffcc33;
    transition: width 0.3s ease;
    border-radius: 2px;
}

/* Efeito hover */
nav ul li a:hover {
    color: #ffeb3b;
}

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


/* Modal perfil */
#modal-perfil {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: none; /* por padrão escondido */
  align-items: center;
  justify-content: center;
  z-index: 999;
}

#modal-perfil .modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
  max-width: 90%;
  text-align: center;
}

#modal-perfil .close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

.btn-pagar {
  padding: 10px 15px;
  background: #321110;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
}

.btn-pagar:hover {
  background: #955643;
}

/* Hero Section */
.hero {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    padding: 50px 0%;
    height: 550px;
    color: #000;
}

.hero-content {
    max-width: 50%;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 10px;
    color: #c4520c; 
}

.hero-content span {
    color: #c4520c;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #ffeb3b;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}

.btn:hover {
    background-color: #fff;
}

.hero-image img {
    max-width: 350px;
}

/* Categorias */
.categories, .best-seller {
    padding: 50px 10%;
    text-align: center;
}

.categories h2, .best-seller h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.category-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.category {
    background-color: #ff8c42;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.category:hover {
    background-color: #ff6f61;
    transform: scale(1.05);
}


.foto-perfil{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fffaf0;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 120px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product p {
    font-size: 18px;
    font-weight: bold;
}

.product span {
    display: inline;
    font-size: 16px;
    color: #ff8c42;
    margin: 5px 0;
    
}

.product .btn {
    margin-top: 10px;
}
.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Produtos */
.carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* Container dos produtos */
.products {
  display: inline-flex;
  transition: transform 0.3s ease-in-out;
  will-change: transform;
  gap: 20px; /* espaçamento mais equilibrado entre cards */
}

/* Card do produto */
.product {
  position: relative;
  min-width: 250px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #fff;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

/* Imagem */
.product img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.product img:hover {
  transform: scale(1.05);
}

/* Nome do produto */
.product p {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 8px 0 4px;
}

/* Preço antigo */
.product span {
  display: block;
  font-size: 14px;
  color: #999;
  text-decoration: line-through;
  margin-bottom: 3px;
}

/* Preço novo */
.product .new-price {
  font-size: 18px;
  font-weight: bold;
  color: #c4520c;
  margin-bottom: 12px;
}

/* Botão */
.product .btn {
  display: inline-block;
  background: #ffeb3b;
  color: #000000;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.product .btn:hover {
  background: #e67e22;
}

/* Tag de desconto */
.discount-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #ffeb3b;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.product:hover {
  transform: translateY(-5px);
}


.product p {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.product span {
  display: block;
  font-size: 16px;
  color: #ff8c42;
  margin: 5px 0;
  text-decoration: line-through; /* Preço original com linha */
}

.product .new-price {
  font-size: 18px;
  font-weight: bold;
  color: #c4520c; /* Cor do preço com desconto */
  text-decoration: none;
}

/* Tag de Desconto */
.discount-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background-color: #ffeb3b;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1;
}

/* Rodapé */
footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 40px;
}

header {
    color: white;
    padding: 30px;
}

.slick-next {
    right: -25px;
}
.slick-next, .slick-prev {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 20px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0,-50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: 0;
    background: 0 0;
}

element.style {
    transform: translate3d(-5460px, 0px, 0px);
    width: 20020px;
}
.slick-prev {
    left: -25px;
}

 /* Estilo da seção de Produtos Recomendados */

.best-seller {
  margin: 0 auto;
  padding: 60px 20px;
  max-width: 100%;
  overflow: hidden;
  background-color: #fdfaf4; /* mesma cor do fundo do site? */
}
  .best-seller h2 {
    text-align: center;
    margin-bottom: 20px;
  }

  /* Wrapper do Carrossel */
  .carousel-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* permite quebrar linha se não couber */
    padding: 10px 0;
    justify-content: center;
  }

  /* Estilo dos Produtos */
.product {
  flex: 0 0 auto;
  width: 250px;
  display: inline;
  margin: 0 10px;
  border: 1px solid #ddd;
  padding: 15px;
  text-align: center;
  background: #fff;
  position: relative;
}

  /* Etiqueta de Desconto */
  .discount-tag {
    background-color: red;
    color: white;
    padding: 5px;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 12px;
  }

  /* Estilo do Texto de Preço */
  .product span {
    display: block;
    font-size: 14px;
  }

  .new-price {
    font-weight: bold;
    color: green;
  }

  /* Botão de Adicionar ao Carrinho */
  .btn {
    display: inline-block;
    margin-top: 10px;
    background-color: #ffd700;
    padding: 8px 12px;
    text-decoration: none;
    color: #000;
    font-weight: bold;
    border-radius: 4px;
  }

  /* Botões de Navegação (setas laterais) */
  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4);
    border: none;
    color: white;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
  }

  .nav-left {
    left: 0;
  }

  .nav-right {
    right: 0;
  }





.carousel {
    display: flow-root;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    height: 550px;
    overflow: hidden;
    position: relative;
    color: #000;
}

.carousel-track {
    display: flex;
    transition: transform 0.8s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;  /* Garante que cada slide ocupe 100% da largura do carrossel */
    height: 100%; /* Ajusta a altura para não cortar as imagens */
}

/* Imagens dentro do slide */
.carousel-slide img {
    width: 100%;
    height: 100%;  /* Faz com que as imagens ocupem 100% da altura do carrossel */
    object-fit: contain;  /* Ajusta as imagens para que não sejam cortadas */
    display: block; /* Elimina o espaço abaixo da imagem */
}

/* Ajuste para garantir que a imagem não distorça e ocupe o espaço disponível */
.carousel-slide img {
    object-fit: contain;  /* A imagem ocupa o espaço sem cortar */
    width: 100%; /* Garante que a imagem ocupe a largura total */
    height: 100%; /* Garante que a imagem ocupe a altura total */
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
    .carousel {
        height: 350px; /* Reduz a altura do carrossel em telas menores */
    }

    .carousel-slide img {
        height: auto; /* Ajusta a altura das imagens em dispositivos móveis */
        width: 100%; /* Ajusta a largura da imagem */
    }
}