/*cabeçalho*/
body {
    font-family: "Lucida Console", Monaco, monospace;
    font-weight: normal;
    background-color: #ffffff;
    width: 100%;
}

.header {
    font-family: "Titan One", sans-serif;
    background-color: #fefefe;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10px;
}

.nav-menu ul{
    list-style: none;
    display: flex;
    margin-right: -15px;
    gap: 90px;
    font-size: 19px;
}

.logo{
    margin-top: 5px;
    margin-left: 5px;
}

.nav-menu ul li.dropdown {
    position: relative;
    z-index: 1000;
}

.nav-menu ul li a{
    text-decoration: none;
    color: #3a1b6c;
}

.nav-menu ul li a:hover{
    color: #389731;
}

.nav-menu ul li .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fefefe;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-menu ul li .dropdown-menu li {
    padding: 12px;
    background-color: #ffffff;
    white-space: nowrap;
}

.nav-menu ul li .dropdown-menu li a {
    color: #389731;
    text-decoration: none;
    font-size: 16px;
    font-weight: normal;
    transition: color 1s;
    display: block;
    text-decoration: none;
}

.nav-menu ul li .dropdown-menu li a:hover {
    color: #3a1b6c;
    
}

.nav-menu ul li.dropdown:hover .dropdown-menu {
    display: block;
}

.search-container {
    margin-left: 50px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    border: 1px solid #3a1b6c; 
    border-radius: 25px; 
    padding: 5px; 
    width: 100%; 
    max-width: 400px; 
    background-color: #ffffff; 
}

.search-input {
    border: none;
    outline: none;
    flex: 1;
    padding: 5px;
    font-size: 14px;
    background-color: transparent; 
}

.search-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    outline: none;
}

.search-button img {
    width: 28px; 
    height: 26px;
}

.icons img {
    width: 12%;
    margin-top: 6px;
    margin-left: 30px;
}


@media (max-width: 768px) {
    .header {
        flex-direction: column; 
        align-items: flex-start; 
        padding: 10px;
    }

    .nav-menu ul {
        flex-direction: column; 
        gap: 10px; 
        width: 100%; 
    }

    .nav-menu ul li {
        width: 100%; 
    }

    .search-container {
        margin: 10px 0; 
        width: 100%; 
    }

    .search-input {
        font-size: 16px; 
    }

    .icons {
        margin-top: 10px; 
        display: flex; 
        gap: 10px; 
        width: 100%; 
        justify-content: flex-start; 
    }
}

@media (max-width: 480px) {
    .nav-menu ul {
        gap: 5px; 
    }

    .search-input {
        font-size: 14px; 
    }

    .search-button img {
        width: 20px; 
        height: 20px;
    }

    .icons img {
        width: 30px; 
        height: 30px;
    }
}

.product {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    gap: 2rem;
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

@media (max-width: 768px) {
    .product {
        flex-direction: column;
        align-items: center; /* Center content for smaller screens */
    }

    .product-details {
        margin-right: 0; /* Remove extra margin on small screens */
    }

    .product-gallery {
        margin-left: 0; /* Remove extra margin on small screens */
    }
}

.main-image-container {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 600px) {
    .main-image-container {
        width: 100%;
        height: 300px;
    }

    .thumbnail {
        width: 60px;
        height: 60px;
    }
}
.product-details {
    padding: 1.5rem;
    flex: 1;
    margin-right: 55px;
}


table {
    width: 96%;
    border-collapse: collapse;
    background-color: #d1d3d5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    table {
        font-size: 14px; /* Smaller font for table content */
    }

    th, td {
        padding: 8px; /* Reduce padding for smaller screens */
    }
}


.product {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    gap: 2rem;

}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin: left 50px;
}

.main-image-container {
    position: relative;
    width: 450px;
    height: 450px;
    overflow: hidden;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.main-image:hover {
    transform: scale(1.1);
    cursor: zoom-out;
}

.thumbnails {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease, opacity 0.3s ease;
}

.thumbnail:hover, .thumbnail.active {
    border-color: #333;
}

.product-details {
    padding: 1.5rem;
    flex: 1;
    margin-right: 55px;
}

.product-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    margin-right: 20px;
        
}

.estrelas{
    margin-right:222px;

}
.vezes{
font-size: 18px;
margin-top: -10px;
margin-right: 190px;

}

.textinho{
    margin-top: 17px;
    text-align: justify;
    margin-left: 32px;
}

.preco {
    margin-left: 15px;
    font-size: 30px;
    color:#653baa;;
    margin-right: 200px;
    margin-top: -15px
}


.quantity-container {
    display: flex;
    align-items: center;
    margin-right: 10px; /* Margem entre os botões de quantidade e curtida */
    margin-left:-50px;
    margin-top:-30px;
}

.quantity-btn {
    width: 40px; 
    height: 40px; 
    border: 1px solid #e0dddd;
    background-color: #9c5cf0;
    font-size: 18px;
    cursor: pointer;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: background-color 0.3s;
}

.quantity-btn:hover {
    background-color: #ddd;
}

#quantity {
    width: 40px;
    height: 40px; 
    text-align: center;
    border: 1px solid #dbd5d5;
    margin: 0 5px;
    font-size: 16px;
}

.like-button {
    display: flex;
    align-items: center;
    margin-top:-30px;

}

input[type="checkbox"] {
    display: none;
}

.heart {
    font-size: 50px;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

input[type="checkbox"]:checked + .heart {
    color: #3a1b6c;
    transform: scale(1.3);
}

.buy-button {
    padding: 0.75rem 1.5rem;
    background-color: #3a1b6c;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    margin-right: 150px;
    margin-top: -35px;
}

.buy-button:hover {
    background-color: #5d388f;
}


.fotodescricao{
    margin-top: -50px;
}

.descricao {
    max-width: 100%;
    margin: auto;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

table {
    width: 96%; 
    border-collapse: collapse;
    background-color: #d1d3d5;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #b0b3b5; 
}

th {
    background-color: #b0b3b5; 
    font-weight: bold;
    color: #fff; 
}

tbody tr:hover {
    background-color: #a3a5a7; 
}

tbody tr:nth-child(even) {
    background-color: #d7d9db; 
}

tbody tr:nth-child(odd) {
    background-color: #ffffff;
}

tbody td {
    transition: background-color 0.3s; 
}




/*cards*/

.container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 80px;
    margin-top: -60px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 15px;
    transition: transform 0.2s;
    height: 100%;
}

.card img {
    width: 100%;
    height: auto;
}

.card h3 {
    font-size: 1.2em;
    margin: 10px 0;
}

.price {
    font-size: 1.1em;
    margin: 10px 0;
}

.original-price {
    color: #888;
    text-decoration: line-through;
    margin-right: 10px;
}

.discounted-price {
    color: #6d4ea0;
    font-weight: bold;
}

.botao a {
    text-decoration: none;
}

.botao {
    margin-top: -50px;
    margin-right: 90px;
}

button a {
    text-decoration: none;
}

button {
    background-color: #3a1b6c;
    border: none;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 1em;
    margin: 10px 0;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #6d4ea0;
}

.card:hover {
    transform: scale(1.05);
}

.container .card .desconto {
    top: 1rem;
    padding: 6px;
    font-size: 15px;
    color: #ffffff;
    background-color: #389742be;
    border-radius: 5px;
    z-index: 2;
    font-weight: normal;
    margin-right: 200px;
    position: relative;
}

/* Media Queries for Responsive Layout */

@media (max-width: 1200px) {
    .container {
        grid-template-columns: repeat(3, 1fr);
        padding: 60px;  /* Reduce padding */
        margin-top: -50px;
    }
}

@media (max-width: 900px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
        padding: 40px;  /* Further reduce padding */
        margin-top: -40px;
    }
}

@media (max-width: 600px) {
    .container {
        grid-template-columns: 1fr;
        padding: 20px;  /* Minimal padding */
        margin-top: 0;
    }

    .card {
        max-width: 50%;
        margin-left: 120px;
        padding: 10px;  /* Reduce padding inside cards */
    }

    .card h3 {
        font-size: 1em;  /* Reduce font size for small screens */
    }

    .price {
        font-size: 1em;  /* Adjust price font size */
    }

    .botao {
        margin-top: 0;
        margin-right: 0;
    }

    button {
        width: 100%;  /* Full-width buttons on small screens */
        padding: 12px;
    }

    .desconto {
        margin-right: 0;  /* Adjust positioning of discount tag */
    }
}



/*rodapé*/
.footer {
    background-color: #000000;
    color: #fff;
    padding: 30px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; 
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .footer-section {
    flex: 1 1 200px; 
    padding: 20px;
    box-sizing: border-box; 
  }
  
  .footer-section h3,
  .footer-section h4,
  .footer-section h5 {
    margin-bottom: 15px;
    font-size: 22px;
    color: #e2c5f7;
    font-weight: bold;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0; 
  }
  
  .footer-section ul li {
    margin-bottom: 12px;
    font-size: 16px;
  }
  
  .footer-section ul li a {
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s;
  }
  
  .footer-section ul li a:hover {
    color: #a77dc4;
  }
  
  .footer-section p {
    font-size: 16px;
  }
  
  .footer-section form {
    font-size: 16px;
  }
  
  .footer-section input[type="email"] {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    border: none;
    margin: 10px 0; 
  }
  
  .bottomfooter {
    width: 38%;
    padding: 2px 10px;
    background-color: #c586f1;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .bottomfooter:hover {
    background-color: #5a0366;
  }
  
  .footer-bottom {
    text-align: center;
    padding: 15px 0;
    border-top: 1px solid #ffffff;
  }
  
  .footer-bottom p {
    font-size: 16px;
    margin-left: 60%;
  }
  
  .logodesenvolvedora {
    margin-top: -40px; 
    margin-left: 6%;
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-section {
        margin-bottom: 20px; 
        text-align: center; 
    }
  
    .footer-section h3, .footer-section h4, .footer-section h5 {
        margin-left: 0; 
    }
    
    .footer-bottom p {
        margin-left: 0; 
    }
  }

  /* Base Styles */
.product {
    display: flex;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    gap: 2rem;
    flex-wrap: wrap; /* Allow content to wrap on smaller screens */
}

/* General Styles for .product-details and other elements */
.product-details {
    margin-right: 55px;
    padding: 1.5rem;
}

.product-details h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.preco {
    margin-left: 15px;
    font-size: 30px;
    color: #653baa;
}

.vezes, .textinho {
    font-size: 18px;
}

/* Responsive Styles */
@media (max-width: 600px) {
    /* Adjust .product layout on smaller screens */
    .product {
        flex-direction: column; /* Stack the product details and gallery vertically */
        gap: 1rem; /* Adjust gap between elements */
    }

    /* Adjust .product-details on smaller screens */
    .product-details {
        margin-right: 0; /* Remove margin on the right */
        padding: 1rem; /* Reduce padding */
    }

    .product-details h2 {
        font-size: 1.5rem; /* Reduce font size for heading */
    }

    .preco {
        font-size: 24px; /* Smaller font size for price */
        margin-left: 0; /* Remove left margin */
    }

    .vezes, .textinho {
        font-size: 14px; /* Adjust font size for smaller screens */
    }

    /* Adjust .quantity-container and buttons on smaller screens */
    .quantity-container {
        margin-left: 0;
        margin-top: 0;
        gap: 10px; /* Add some space between buttons */
    }

    .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 16px; /* Smaller font size for buttons */
    }

    #quantity {
        width: 40px;
        height: 35px; /* Adjust input size for quantity */
        font-size: 14px; /* Smaller font size */
    }

    /* Adjust heart button for smaller screens */
    .heart {
        font-size: 40px; /* Smaller heart icon */
        margin-top: -1px; /* Adjust position for mobile */
    }

    input[type="checkbox"]:checked + .heart {
        transform: scale(1.2); /* Slightly smaller scale for checked state */
    }

    /* Adjust the buy button style for smaller screens */
    .buy-button {
        padding: 0.5rem 1rem;
        font-size: 1rem;
        width: 100%; /* Full-width button */
    }
}
