@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Body */
body {
    position: relative;
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    /*height: 100vh;*/
    color: #333;
    /* padding: 20px; */
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 30px;
    background-color: #000000;
    color: white;
    /* margin-bottom: 20px; */
    /* border-radius: 8px; */
}

.header .logo {
    width: 150px;
    height: 60px;
}

.header form select {
    padding: 10px;
    /* margin-right: 20px; */
    border: none;
    /* border-radius: 5px; */
    background-color: #000;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
}

.header form select option {
    font-size: 14px;
}

/* Título Principal */
h1 {
    font-size: 24px;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
}

/* Container dos Cards */
.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    /* Espaço entre os cards */
    padding: 10px;
}

/* Card */


.card {
    position: relative; /* Necessário para posicionar o botão Add ao Carrinho */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*padding: 15px;*/
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    /*height: 100%;*/
    width: 100%;
    /* Padrão de 100% */
    max-width: 250px;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    height: auto;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
    /* border-radius: 8px; */
    /* margin-bottom: 15px; */
}

.card h2 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    /*margin-bottom: 5px;*/
    text-align: center;
    padding: 0px 10px 0px;
}

.card p {
    font-size: 16px;
    color: #343434;
    text-align: center;
    padding: 0px 10px 0px;
    /* margin-bottom: 15px; */
}

.card p strong {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 15px;
}

.card a {
    display: inline-block;
    padding: 7px 20px;
    margin-top: 10px;
    color: white;
    background-color: #000000;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}

.card a:hover {
    background-color: #ffffff;
}

.card a:hover {
    color: #000000;
}

/*.card-container .card .btn-ver-produto {*/
/*    width: 100%;*/
/*    padding: 8px;*/
/*    margin-top: 10px;*/
/*    border: none;*/
/*    color: #fff !important;*/
/*    font-size: 16px;*/
/*    font-weight: 500;*/
/*    cursor: pointer;*/
/*    transition: all 0.3s ease;*/
/*    background: #000 !important;*/
/*}*/

/* Layout Responsivo */
@media (max-width: 700px) {
    .card-container {
        gap: 20px;
    }

    .header {
        padding: 8px 10px;
    }
}

@media (min-width: 360px) {
    .card {
        width: calc(50% - 20px);
        /* Ocupa metade da tela em dispositivos médios */
    }

    /* .card-container {
        gap: 20px;
        
    } */
}

@media (min-width: 900px) {
    .card {
        width: calc(33.33% - 20px);
        /* Ocupa um terço da tela em dispositivos grandes */
    }
}

@media (min-width: 1200px) {
    .card {
        width: calc(25% - 20px);
        /* Ocupa um quarto da tela em dispositivos extra grandes */
    }
}

.ban_sec {
    width: 100%;
}

.ban_img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
    position: relative;
}

.ban_img img {
    width: 90%;
    background-size: cover;
    border-radius: 25px;
}

.ban_text {
    position: absolute;
    top: 50%;
    left: 6%;
    -ms-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.ban_text strong {
    font: 800 62.22px/70px "Montserrat", sans-serif;
    color: #fff;
    text-transform: uppercase;
}

.ban_text strong span {
    font: 400 44.44px/52px "Montserrat", sans-serif;
    /* letter-spacing: 3px; */
}

.ban_text p {
    font: 400 25px/30px "Montserrat", sans-serif;
    color: #fff;
    margin: 7px 0 25px;
}

.ban_text a {
    display: inline-block;
    font: 500 19.39px/24px "Montserrat", sans-serif;
    background: #fe5f55;
    border-radius: 26px;
    color: #fff;
    padding: 12px 28px;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
}

.ban_text a:hover {
    background: #50af47;
}

@media (min-width: 1200px) and (max-width: 1399px) {
    .ban_text p {
        font-size: 21px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .ban_text p {
        font-size: 17px;
    }

    .ban_text strong {
        font-size: 50px;
        line-height: 60px;
    }

    .ban_text strong span {
        font-size: 37px;
    }

    .ban_text a {
        font-size: 16px;
        line-height: 19px;
    }
}

@media only screen and (max-width: 991px) {
    .ban_text strong {
        font-size: 35px;
        line-height: 40px;
    }

    .ban_text strong span {
        font-size: 28px;
        line-height: 35px;
        letter-spacing: 2px;
    }

    .ban_text p {
        font-size: 14px;
        line-height: 20px;
    }

    .ban_text a {
        font-size: 13.39px;
        line-height: 15px;
    }
}

@media only screen and (max-width: 767px) {
    .ban_img img {
        /*min-height: 290px;*/
        object-fit: cover;
        border-radius: 15px;
    }

    table th, table td {
        font-size: 12px;
    }
}

@media only screen and (max-width: 575px) {
    .ban_text strong {
        background: rgba(0, 0, 0, 0.8);
        padding: 10px;
        width: 100%;
        display: block;
    }

    table th, table td {
        font-size: 12px;
    }
}

@media only screen and (max-width: 480px) {
    .ban_text strong span {
        font-size: 22px;
        line-height: 31px;
        letter-spacing: 1px;
    }

    .ban_text {
        left: 2%;
    }
}

table {
    width: 80%;
    margin: 40px auto;
    border-collapse: collapse;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

table th, table td {
    padding: 10px;
    /* border: 1px solid #ddd; */
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}

table th {
    background-color: #000000;
    color: #fff;
}

.produto-info {
    display: flex;
    align-items: center;
}

.produto-info .miniatura {
    width: 50px;
    /* Define o tamanho da miniatura */
    height: 50px;
    object-fit: cover;
    margin-right: 10px;
    /* Espaço entre a imagem e o nome */
    border-radius: 5px;
    /* Deixa as bordas da imagem arredondadas */
}

.produto-info .nome-produto {
    max-width: 80px;
    /* Ajuste conforme necessário */
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
}

.paginacao {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.paginacao a {
    margin: 0 5px;
    padding: 8px 12px;
    color: #000000;
    text-decoration: none;
    border: 1px solid #ddd;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.paginacao a:hover {
    background-color: #f0f0f0;
}

.paginacao a.ativo {
    background-color: #000000;
    color: #fff;
    border-color: #000000;
}

/* Estilos para o modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    text-align: center;
    /* border-radius: 8px; */
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal img {
    max-width: 70%;
    margin-bottom: 15px;
    /* border-radius: 8px; */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
}

.cart-icon {
    position: relative;
    display: inline-block;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
}

.dropdown-cart {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
}

.dropdown-cart .cart-item {
    display: flex;
    margin-bottom: 10px;
}

.dropdown-cart .cart-item img {
    width: 50px;
    margin-right: 10px;
}

.dropdown-cart .cart-item h3 {
    font-size: 14px;
    margin: 0;
    color: #000;
    font-weight: 500;
}

.dropdown-cart .cart-item p {
    font-size: 14px;
    margin: 0;
    color: #000;
    font-weight: 500;
}

.dropdown-cart button {
    width: 100%;
    padding: 8px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.notificacao {
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 16px;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: fadeInOut 2s ease-in-out;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0;
    }

    10%, 90% {
        opacity: 1;
    }
}

.icon-button .material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 30px;
    /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

.icon-button {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;   
    color: #ffffff;
    background: #000000;
    border: none;
    outline: none;
    border-radius: 50%;
}

.icon-button:hover {
    cursor: pointer;
}

.icon-button:active {
    background: #000000;
}

.icon-button__badge {
    position: absolute;
    top: 4px;
    right: 1px;
    width: 20px;
    height: 20px;
    background: red;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.empty-cart-message {
    text-align: center;
    color: #888;
    font-size: 14px;
    padding: 20px 0;
}

.cart-dropdown {
    position: absolute;
    right: 0;
    display: none; /* Mantém o dropdown oculto inicialmente */
    width: 300px;
    border: 1px solid #ddd;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    z-index: 1000;
}

/* Estilo do botão de Adicionar ao Carrinho */
.add-to-cart-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 50%;
    padding: 12px;
    width: 40px;
    height: 40px;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card-container .btn-ver-produto {
    width: 100%; 
    padding: 8px; 
    margin-top: 10px; 
    border: none; 
    color: #fff; 
    font-size: 16px; 
    font-weight: 500; 
    cursor: pointer; 
    transition: all 0.3s ease; background: #000;
}

.out-of-stock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
    gap: 7px;
}

.pagination a {
    margin-bottom: 60px;
    padding: 8px 12px;
    text-decoration: none;
    background-color: #333;
    color: #fff;
    border-radius: 4px;
}

.pagination a.active {
    background-color: #000;
    font-weight: bold;
}

.pagination a:hover {
    background-color: #555;
}

.btn-cadastrar {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 50px;
    height: 50px;
    padding: 5px 15px;
    background-color: #000000;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 30px;
    font-weight: 500;
    border-radius: 50%;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    z-index: 10000000;
}

/* Estilo do Rodapé */
.login-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 15px 0;
    background-color: #000;
    color: #e2e2e2;
    font-size: 14px;
    /*position: absolute;*/
    bottom: 0;
    left: 0;
}

.social-icons {
    margin-top: 10px;
    margin-left: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon i {
    font-size: 24px;
    color: #fff;
    transition: transform 0.3s, color 0.3s;
}

.social-icon i:hover {
    transform: scale(1.2);
    color: #fff;
}

.instagram-grid {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
}

.instagram-grid h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.grid-item {
    position: relative;
    overflow: hidden;
}

.grid-item img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.grid-item:hover img {
    transform: scale(1.05); /* Efeito de zoom ao passar o mouse */
}

.cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.cart-item img {
    width: 50px;
    height: 50px;
    border-radius: 4px;
    margin-right: 10px;
}

.item-info {
    flex-grow: 1;
}

/* Estilo do "X" vermelho */
.remove-item {
    font-size: 18px;
    color: #ff4d4d;
    cursor: pointer;
    padding: 0 10px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: #ff1a1a;
}



/* Estilo do Rodapé */
/*.login-footer {*/
/*  width: 100%;*/
/*  text-align: center;*/
/*  padding: 15px 0;*/
/*  background-color: #000;*/
/*  ;*/
/*  color: #e2e2e2;*/
/*  font-size: 14px;*/
/*  position: fixed;*/
/*  bottom: 0;*/
/*  left: 0;*/
/*}*/

/* .add-to-cart-btn:hover {
    background-color: #555;
} */

/* Certifique-se de que os cards tenham a posição relativa para que o botão seja posicionado corretamente */
/* .card {
    position: relative;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 10px;
    width: 250px;
    text-align: center;
    border-radius: 8px;
    background-color: #fff;
} */

/* .card img {
    width: 100%;
    border-radius: 8px;
} */

