:root {
    --primary: #0C4B59;
    --secondary: #F22973;
    --accent: #F2AE2E;
    --tertiary: #F27B13;
    --highlight: #F23005;
    --text-light: #ffffff;
    --text-dark: #333333;
  }

.container-index {
    width: 100%;
    min-height: 100vh;
    background-color: var(--text-light);
    color: black;
    padding-bottom: 1.5rem;
    text-align: center;
    font-family: Poppins, serif;
    overflow: hidden;
    padding-inline: 1.5rem;
    margin-top: 30px;
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

@media (max-width: 480px) {
    .container-index {
        border-top-left-radius: 30px;
        border-top-right-radius: 30px;
    }
}

#products {
    gap: 1rem;
    margin-top: 1rem;
}

#products h2 {
    font-size: 1.5rem;
    margin-top: 1rem;
    text-align: left;
    padding-block: 0.5rem;
    margin-left: 10px;
}

#products .product {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.card {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 15px;
    width: 100%;
    max-width: 250px;
    text-align: left;
    margin: 0; /* Remove margens do card para evitar espaçamento duplo */
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 450px; /* Aumentado de 400px para 450px */
    border: 1px solid #eee;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(242, 174, 46, 0.2);
}

.card img {
    max-width: 100%;
    max-height: 250px; /* Aumentado de 200px para 250px */
    object-fit: cover; /* Ajustar a imagem para cobrir o espaço */
    border-radius: 30px;
}

.card h3 {
    margin: 10px 0;
    font-size: 0.9rem;
    height: 40px; /* Fixed height for two lines */
    line-height: 1.2; /* Better line spacing */
    
}

.card .price {
    font-size: 1.1rem;
    color: var(--tertiary);
    margin: 10px 0;
}

.card .discount-price {
    color: var(--highlight);
}

.card p {
    font-size: 0.9rem;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card .details-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: var(--secondary);
    color: var(--text-light);
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.card .details-button:hover {
    background-color: var(--tertiary);
}

.swiper {
    width: 100%;
    height: 100%;
    padding: 40px;
    position: relative;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px !important;
    margin-right: 5px !important;
    padding: 10px; /* Adiciona espaço interno para o card */
}

.swiper-button-next,
.swiper-button-prev {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    color: #025959;
    z-index: 100;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px;
}

.swiper-button-next {
    right: 0;
    transform: translateX(-10px);
}

.swiper-button-prev {
    left: 0;
    transform: translateX(10px);
}

.swiper-pagination-bullet-active {
    background: #025959;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #025959;
    color: #f0f0f0;
    border-top: 2px solid #ff6347;
    padding-block: 1rem;
    width: 100%;
    font-family: Poppins, serif;
}

.footerContent {
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.companyInfo {
    text-align: left;
}

.companyInfo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f0f0f0;
}

.companyInfo p {
    font-size: 1rem;
    color: #e0e0e0;
}

.credits {
    text-align: right;
}

.credits p {
    font-size: 0.875rem;
    color: #e0e0e0;
}

.credits a {
    color: #ff6347;
    text-decoration: none;
}

.credits a:hover {
    text-decoration: underline;
}

