

/* Estilos para o topo */
.top-header {
    background-color: #2c3e50;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.nav-icons {
    display: flex;
    gap: 20px;
}

.icon-link {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.8rem;
}

.icon-link i {
    font-size: 1.5rem;
    margin-bottom: 3px;
}

.icon-text {
    display: none;
}

/* Media query para dispositivos móveis */
@media (max-width: 768px) {
    .top-header {
        padding: 10px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-icons {
        gap: 15px;
    }

    .icon-link i {
        font-size: 1.2rem;
    }

    .icon-text {
        display: block;
        font-size: 0.7rem;
    }
}

/* Ajuste para o conteúdo principal */
.product-page {
    margin-top: 5px;
}

.product-page {
    max-width: 1200px;
    margin: 5px auto;
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.product-gallery {
    flex: 1;
    min-width: 300px;
    margin-right: 40px;
}



.main-image {
    width: 100%;
    height: auto;
    margin-bottom: 5px;
    border-radius: 8px;
    overflow: hidden;
}

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

.main-image img:hover {
    transform: scale(1.05);
}

.thumbnail-slider {
    display: flex;
    align-items: center;
    position: relative;
	width: 100%;
}

.thumbnails {
display: inline-block;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    text-align: center;
    width: 80%;
    margin: 0px auto;
}

.thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 4px;
}

.thumbnails img:hover,
.thumbnails img.active {
    opacity: 1;
    transform: scale(1.1);
}

.slider-button {
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.slider-button:hover {
    background-color: rgba(0,0,0,0.7);
}

.slider-button.prev {
    left: 0;
}

.slider-button.next {
    right: 0;
}

.product-info {
    flex: 1;
    min-width: 300px;
}

.product-info-list {
    padding: 0;
	list-style-type: square;
	list-style-position: inside;
	text-align: left;
}

 .product-info-list ol {
   list-style: none;
   counter-reset: item;
 }
 .product-info-list li {
counter-increment: item;
    margin-left: 1px;
    font-size: 14px;
    margin-bottom: 5px;
 }
 .product-info-list li:before {
margin-right: 10px;
    content: counter(item);
    background: #25d155;
    border-radius: 100%;
    color: white;
    width: 1.3em;
    text-align: center;
    display: inline-block;
 }


.product-info-prices {
display: inline-block;
    text-align: center;
    background-color: #fff;
    padding: 5px;
    /* border: 1px solid #ddd; */
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
}

.product-info-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1.2em;
    margin-right: 10px;
}

.product-info-discont {
    color: #11ad59;
    font-size: 2.5em;
    font-weight: bold;
}

.product-info-options {
    display: block;
    width: 100%;
    text-align: center;
}


.product-info-alert {
    color: red;
    font-size: 22px;
    font-weight: 600;
    padding: 2px 0px !important;
    margin: 0px auto !important;
}


h1 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.price {
    font-size: 24px;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 20px;
}

.description {
    margin-bottom: 25px;
    color: #555;
    line-height: 1.8;
}

.add-to-cart {
    display: block;
    width: 100%;
    max-width: 350px;
    padding: 15px;
    border-radius: 35px;
    font-size: 24px;
    background: orange;
    margin: 5px auto;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    color: #fff;
	text-decoration: none;
}

.add-to-cart a {
	text-decoration: none;
}

.add-to-cart:hover {
    background-color: #2980b9;
}




.image-circle {
    width: 150px; /* Ajuste o tamanho conforme necessário */
    height: 150px; /* Ajuste o tamanho conforme necessário */
    border-radius: 50%;
    object-fit: cover;
}




#countdown{
    display: block;
    width: 100%;
    margin: 5px auto;
    max-width: 300px;
    font-size: 1.3em;
    color: #333;
    text-align: center;
    backgroud: #ccc;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.countdown-timer {
  color: red;
  font-size: 14px;
}



.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

.loading-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}






.bt-spinners {
    position: relative;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: opacity 0.3s ease; /* Transição suave para opacidade */
}

.bt-spinners.loading {
    opacity: 0.5; /* Semi-transparente enquanto carrega */
    cursor: not-allowed; /* Cursor de bloqueado */
}

.bt-spinner {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #fff;
    border-top: 2px solid #4CAF50;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}



.product-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Configuração padrão para telas grandes */
.product-item {
    display: flex;
	position: relative;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 10px;
    align-items: center;
    flex: 1 1 calc(49% - 20px); /* 4 colunas para telas ≥ 1200px */
}

.product-item .top {
    position: absolute;
    top: -8px;
    left: -5px;
    background: #f00;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    padding: 8px 6px 0px 8px;
    border-radius: 6px;
}

.product-item img {
    width: 120px;
    height: auto;
    border-radius: 5px;
}

.product-infos {
    margin-left: 20px;
    flex: 1;
}

.product-infos h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-infos p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.product-infos .bt-buy {
    display: block;
    width: 90%;
    max-width: 300px;
    background-color: #366cf4;
    font-size: 24px;
    color: white;
    text-decoration: none;
    border: none;
    padding: 10px 12px;
    cursor: pointer;
    border-radius: 25px;
    margin: 5px auto;
}



.product-infos .bt-buy:hover {
    background-color: #45a049;
}

/* Para telas de até 992px */
@media (max-width: 1200px) {
    .product-item {
        flex: 1 1 calc(49.33% - 20px); /* 3 colunas para telas ≥ 992px */
    }
}

/* Para telas de até 768px */
@media (max-width: 992px) {
    .product-item {
        flex: 1 1 calc(50% - 20px); /* 2 colunas para telas ≥ 768px */
    }
}

/* Para telas de até 576px */
@media (max-width: 768px) {
    .product-item {
        flex: 1 1 100%; /* 1 coluna para telas menores que 768px */
        flex-direction: row; /* Imagem à esquerda */
    }

    .product-item img {
        width: 120px;
    }

    .product-infos {
        margin-left: 10px;
        text-align: center;
    }
}

/* Para telas de até 320px */
@media (max-width: 576px) {
    .product-item img {
        width: 120px; /* Reduzindo ainda mais a imagem para telas pequenas */
    }
}







@media (max-width: 768px) {
    .product-page {
        flex-direction: column;
        padding: 5px;
    }

    .product-gallery {
        margin-right: 0;
        margin-bottom: 5px;
    }

    .slider-button {
        font-size: 30px;
        padding: 15px 20px;
    }

    .thumbnails img {
        width: 50px;
        height: 50px;
    }

    h1 {
        font-size: 24px;
    }

    .price {
        font-size: 22px;
    }

    .add-to-cart {
    display: block;
    width: 100%;
    max-width: 350px;
    padding: 15px;
    border-radius: 35px;
    font-size: 24px;
    background: orange;
    margin: 5px auto;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    color: #fff;
		text-decoration: none;
    }
}