/* ========== ESTILOS GERAIS ========== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right, #f64f59, #c471ed, #12c2e9);
    min-height: 100vh;
}

.container {
    max-width: 800px;
}

/* ========== HEADER / PERFIL ========== */
.profile-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto 0px;
    border-radius: 20%;
    border: 4px solid #fff;
    box-shadow: 0 0 50px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    /* REMOVA overflow: hidden */
}

.profile-avatar img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    object-position: center;
    border-radius: 10%;
}

/* ========== CARDS ========== */
.card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    margin-bottom: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Linha interna do card */
.card .row {
    min-height: auto;
}

/* ========== IMAGEM DO PRODUTO ========== */
/* Coluna da imagem */
/* ========== IMAGEM DO PRODUTO ========== */
/* Coluna da imagem */
.card .col-md-4 {
    max-width: 170px;
    flex: 0 0 170px;
    padding: 0;
}

.product-image-wrapper {
    width: 100%;
    height: 100%;              /* Ocupa toda altura */
    min-height: 100%;          /* Garante altura total */
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px 0 0 15px;
    position: relative;
}

.product-image {
    max-width: 140px;
    max-height: 150px;
    object-fit: contain;
}

/* Força a linha do card a ter altura igual */
.card .row.g-0 {
    min-height: 320px;         /* Altura mínima do card inteiro */
}

/* Faz as colunas terem a mesma altura */
.card .row.g-0 > div {
    display: flex;
}

.card .col-md-4 {
    align-items: stretch;
}

/* ========== CORPO DO CARD ========== */
.card-body {
    padding: 14px 16px;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* ========== DESCRIÇÃO ========== */
.product-description {
    line-height: 1.4;
    font-size: 0.85rem;
    margin-top: 8px;
    margin-bottom: 8px;
}

.description-preview,
.description-full {
    background: #fafafa;
    padding: 8px 10px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.description-full {
    background: #f5f7ff;
}

.show-more,
.show-less {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-size: 0.8rem;
}

/* ========== BENEFÍCIOS ========== */
.benefits-indicators {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.75rem;
    margin-bottom: 8px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.benefit-item i {
    font-size: 0.9rem;
}

/* ========== PREÇO DINÂMICO ========== */
.dynamic-price-box {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border: 1px dashed #667eea;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

/* ========== MENU DE CATEGORIAS ========== */
.category-menu {
    margin: 20px 0;
}

.category-btn {
    display: inline-block !important;
    padding: 10px 20px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    transition: all 0.3s ease !important;
    background: rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.category-btn.active {
    background: #ffffff !important;
    color: #667eea !important;
    border-color: #ffffff !important;
}

.category-btn i {
    margin-right: 5px;
}

/* ========== BOTÕES ========== */
.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.btn-lg {
    padding: 10px 18px;
    font-weight: 600;
}

/* Botão pulsante */
.pulse-button {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4); }
    70% { box-shadow: 0 0 0 12px rgba(102, 126, 234, 0); }
    100% { box-shadow: 0 0 0 0 rgba(102, 126, 234, 0); }
}



/* ========== PAGINAÇÃO ========== */
.pagination .page-link {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    border: 2px solid #e0e0e0;
    color: #667eea;
    font-weight: 600;
    transition: all 0.3s;
}

.pagination .page-link:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .page-item.active .page-link {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination .page-item:first-child .page-link,
.pagination .page-item:last-child .page-link {
    border-radius: 25px;
    width: auto;
    padding: 0 20px;
}



/* ========== DISCLAIMER ========== */
.disclaimer-text {
    font-size: 0.68rem;
    color: #999;
    border-top: 1px solid #eee;
    padding-top: 6px;
    margin-top: 6px;
}

/* ========== FOOTER ========== */
/* ========== FOOTER ========== */
.social-links {
    margin: 20px 0;
}

.social-links .btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 1.2rem;
    text-decoration: none;
}

.social-links .btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    color: #ffffff;
    border-color: #ffffff;
}


.social-links .btn i {
    color: #ffffff !important;
    font-size: 1.3rem;
}

.footer-text {
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.footer-text p {
    font-size: 1rem;
    margin-bottom: 15px;
}


/* Texto do footer */
footer p,
.footer p,
.text-muted-footer {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

footer a,
.footer a {
    color: #ffffff;
    font-weight: 600;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
    .card .col-md-4 {
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    .product-image-wrapper {
        height: 200px;
        border-radius: 15px 15px 0 0;
    }

    .product-image {
        max-height: 180px;
    }

    .card-body {
        padding: 12px 14px;
    }

    .container {
        padding: 10px;
    }
}


/* ========== CARROSSEL - MOBILE ========== */
/*@media (max-width: 768px) {
    .carousel-item {
        height: auto !important;
        min-height: 350px;
    }
    
    .carousel-item img {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        max-height: 180px;
        max-width: 80%;
        margin: 0 auto 15px;
        display: block;
        order: -1;
    }
    
    .carousel-item .container {
        text-align: center;
    }
    
    .carousel-item .col-md-6 {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .carousel-item h2 {
        font-size: 1.1rem;
        margin-top: 10px;
    }
    
    .carousel-item .btn {
        margin-top: 10px;
    }
}
*/


/* Apenas borda arredondada e sombra no carrossel */
/*#carrosselPromocoes {
    margin-top: 10px;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.carousel-control-prev,
.carousel-control-next {
    z-index: 10 !important;
    opacity: 0.8 !important;
    width: 50px !important;
    height: 50px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: rgba(0,0,0,0.5) !important;
    border-radius: 50% !important;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1 !important;
    background: rgba(0,0,0,0.7) !important;
}


.carousel-item .col-md-6 {
    padding-left: 90px;
}


.carousel {
    margin-bottom: 30px;
}

.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    z-index: 10;
}*/


/*Start Swiper 1 */
.swiper {
    border-radius: 15px;
    overflow: hidden;
}

.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px;
}

.swiper-pagination-bullet {
    background: #fff;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff;
}


/*So funciona com essas duas classes
se não fica duplicado na tela*/
.desktop-layout{
    display:flex;
}

.mobile-layout{
    display:none;
}

@media screen and (max-width:768px){

    .desktop-layout{
        display:none;
    }

    .mobile-layout{
        display:block;
    }

}

.custom-slide{
    background: linear-gradient(135deg, #667eea, #764ba2); 
    color: white;
    min-height:300px; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    border-radius:15px;
}


/*.swiper-slide h2 {
    max-width: 40%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
}*/
/*
.swiper-slide h2 {
    font-size: 1.1rem;
    max-width: 100%;   
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 1.3;
}


@media (max-width: 768px) {
    .swiper-slide h2 {
        max-width: 90%;
        font-size: 1rem;
    }
}*/

.swiper-slide h2 {
    font-size: 1.4rem;
    max-width: 60%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .swiper-slide h2 {
        font-size: 1.1rem;
        max-width: 80%;
    }
}

/*Para alinhar a direita o texto*/
.swiper-slide h2,
.swiper-slide .badge,
.swiper-slide .btn {
    margin-left: 10px;
}


/*End Swiper 1 */


/*.preco-destaque {
    color: #FFD700;  Dourado 
    font-weight: 700;
}

.data-preco {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}*/


/*********************/
/*Inicio do Swiper 2  */
/*********************/
/*.swiper{
    width: 100%;
    height: 320px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 35px;
}

.swiper-slide{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    background: #111;
}

.swiper-slide img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content{
    position: absolute;
    left: 50px;
    z-index: 2;
    color: white;
}

.slide-content h2{
    font-size: 38px;
    margin-bottom: 10px;
}

.slide-content p{
    font-size: 18px;
}

.slide-overlay{
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to right,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.2),
        transparent
    );

    z-index: 1;
}

 MOBILE 
@media screen and (max-width:700px){

    .swiper{
        height: 220px;
    }

    .slide-content{
        left: 20px;
    }

    .slide-content h2{
        font-size: 24px;
    }

}

.swiper-button-next,
.swiper-button-prev{
    color: white;
}

.swiper-pagination-bullet{
    background: white;
}*/

/*Fim do Swiper 2*/

.lang-select {
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    outline: none;
    font-size: 0.9rem;
}

.lang-select option {
    color: #333;
    background: #fff;
}


.affiliate-disclaimer {
    background: #f8f9fa;
    border-top: 2px solid #FF9900;
    padding: 15px 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    margin-top: 30px;
}

.affiliate-disclaimer i {
    color: #FF9900;
}