.main-content {
    max-width: none;
    padding: 0;
}
/*MILAGRE DA TELA CHEIA*/

:root {
    --card-bg-color: #ffffff;
    --primary-text-color: #2c3e50;
    --secondary-text-color: #8a94a6;
    --button-gradient: linear-gradient(to right, #a824e0ff, #0803ffff);
    --mobile-bg-color: #f8f9fa;
}
.main-top-nav, .mobile-nav {
    display: none !important;
}
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    background-color: var(--mobile-bg-color);
}
.product-page-wrapper {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.desktop-product-view {
    display: none;
}

.product-image-background {
    flex-shrink: 0;
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom-left-radius: 24px;
    border-bottom-right-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: -24px;
    z-index: 5;
}
.product-header-actions {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    z-index: 100;
}
.product-header-actions a,
.product-header-actions button {
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}
.product-content-card {
    background-color: var(--card-bg-color);
    padding: 25px;
    position: relative;
    flex-grow: 1;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}
.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-text-color);
    margin: 0 0 8px 0;
}
.product-price {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 20px;
}
.product-description {
    font-size: 1rem;
    color: var(--secondary-text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}
.btn-store {
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    background: var(--button-gradient);
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
.btn-store:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

@media (min-width: 768px) {

    .product-page-wrapper-mobile {
        display: none;
    }
    .desktop-product-view {
        display: grid;
    }

    .main-content {
        max-width: 1140px;
        padding: 20px;
        margin: 0 auto;
    }

    .product-image-background {
        display: none;
    }

    .product-content-card {
        margin: 0;
        box-shadow: none;
        padding: 0;
        background: none;
    }

    .desktop-product-view {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        background-color: var(--card-bg-color);
        padding: 2rem;
        border-radius: 20px;
        box-shadow: 0 8px 32px var(--shadow-color);
    }

    .product-gallery {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .main-image-container {
        width: 100%;
        padding-top: 100%;
        position: relative;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 4px 15px var(--shadow-color);
    }

    .main-image-container img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .thumbnail-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .thumbnail {
        width: 100%;
        padding-top: 100%;
        position: relative;
        border-radius: 8px;
        overflow: hidden;
        cursor: pointer;
        opacity: 0.7;
        transition: opacity 0.2s, box-shadow 0.2s;
        border: 2px solid transparent;
    }
    
    .thumbnail.active {
        opacity: 1;
        border-color: var(--accent-color);
        box-shadow: 0 0 10px rgba(142, 68, 173, 0.3);
    }

    .thumbnail img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .product-details-desktop {
        display: flex;
        flex-direction: column;
    }

    .product-details-desktop .product-title {
        font-size: 2.5rem;
    }

    .product-details-desktop .product-price {
        font-size: 2rem;
    }

    .product-details-desktop .product-description {
        font-size: 1.1rem;
        flex-grow: 1;
    }
}
.section-divider {
    border: none;
    height: 1px;
    background-color: #e9ecef;
    margin: 2rem 0;
}

.seller-info-card {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
}

.seller-details {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.seller-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

.seller-text {
    display: flex;
    flex-direction: column;
}

.sold-by {
    font-size: 0.85rem;
    color: var(--secondary-text-color);
}

.seller-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-text-color);
    text-decoration: none;
}
.seller-name:hover {
    text-decoration: underline;
}

.seller-rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.star-rating i.fa-star {
    color: #d1d1d1;
}
.star-rating i.fa-star.filled {
    color: #ffc107;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--secondary-text-color);
}

.rate-seller-card {
    margin-top: 1.5rem;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
}
.rate-seller-card p {
    font-weight: 500;
    margin-bottom: 10px;
}

.rate-seller-stars i.fa-star {
    font-size: 1.5rem;
    color: #d1d1d1;
    cursor: pointer;
    padding: 5px;
    transition: color 0.2s, transform 0.2s;
}
.rate-seller-stars:hover i.fa-star {
    color: #ffc107;
}
.rate-seller-stars i.fa-star:hover ~ i.fa-star {
    color: #d1d1d1;
}
.rating-feedback {
    margin-top: 10px;
    font-size: 0.9rem;
    color: green;
    min-height: 1.2em;
}
.contact-card {
    margin-top: 1.5rem;
    text-align: center;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
}
.contact-card h3 {
    font-weight: 600;
    margin-bottom: 8px;
}
.contact-card p {
    color: var(--secondary-text-color);
    margin-bottom: 15px;
}
.btn-contact {
    display: inline-block;
    padding: 10px 20px;
    background-color: #2c3e50;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s;
}
.btn-contact:hover {
    background-color: #425c75;
    color: white;
}