* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-avaliar {
  background-color: #2c3e50;
  color: white;
  padding: 20px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}


.pricing {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.price-current-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.divisoria {
  width: 100%;
  height: 1px;
  background-color: #ddd; /* Cor cinza suave */
  margin: 30px 0; /* Espaço acima e abaixo */
}

.discount {
  background-color: #ff4d4d;
  color: white;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 0.9rem;
}

.price-current {
  font-size: 1.5rem;
  font-weight: bold;
  color: #000;
}

.price-old {
  text-decoration: line-through;
  color: #999;
  font-size: 1rem;
}


.shipping-banner {
    background: linear-gradient(135deg, #ff3131, #ff3131);
    color: white;
    text-align: center;
    padding: 12px 0;
    font-weight: 600;
    font-size: 14px;
}


.header {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.menu-toggle:hover {
    background-color: #f5f5f5;
}

.logo h1 {
    font-size: 24px;
    font-weight: 700;
    color: #000;
}

.cart {
    position: relative;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s;
}

.cart:hover {
    background-color: #f5f5f5;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}


.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    transition: left 0.3s ease;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-content {
    background: white;
    width: 280px;
    height: 100%;
    padding: 20px;
    position: relative;
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
}

.mobile-menu ul {
    list-style: none;
    margin-top: 60px;
}

.mobile-menu li {
    margin-bottom: 20px;
}

.mobile-menu a {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}


.main {
    padding: 40px 0;
}


.product-badge {
    background: linear-gradient(135deg, #70f488, #70f488);
    color: white;
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 30px;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.image-gallery {
    width: 100%;
    max-width: 500px;
}

.main-image {
    width: 100%;
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.main-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

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

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

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.thumbnail {
    width: 100%;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.thumbnail:hover {
    border-color: #000;
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.thumbnail:hover img {
    transform: scale(1.1);
}

.main-image.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.product-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #000;
}

.rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 20px;
    color: #ddd;
}

.star.filled {
    color: #ffc107;
}

.rating-text {
    color: #666;
    font-weight: 500;
}

.product-variant {
    margin-bottom: 30px;
}

.product-variant label {
    font-weight: 600;
    color: #333;
}

.pricing {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.price-old {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
}

.price-current {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}

.discount {
    background: #ff4444;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.payment-info {
    margin-bottom: 30px;
}

.payment-info p {
    margin-bottom: 8px;
    color: #666;
}

.shipping-info {
    color: #28a745 !important;
    font-weight: 600;
}

.delivery-info {
    color: #007bff !important;
    font-weight: 600;
}

.buy-button {
    width: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 18px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.guarantees {
    margin-bottom: 30px;
}

.guarantee-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid #28a745;
}

.guarantee-item .material-icons {
    color: #28a745;
    font-size: 20px;
    margin-top: 2px;
}

.guarantee-item span:last-child {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.product-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #ddd;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    font-size: 14px;
}

.action-btn:hover {
    border-color: #000;
    color: #000;
}

.reviews-section {
    margin-bottom: 60px;
}

.reviews-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.reviews-summary {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 16px;
}

.rating-overview {
    text-align: center;
}

.rating-score {
    font-size: 48px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
}

.rating-stars {
    font-size: 24px;
    color: #ffc107;
    margin-bottom: 10px;
}

.rating-count {
    color: #666;
    font-size: 14px;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.rating-bar span:first-child {
    width: 20px;
    color: #ffc107;
}

.bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.fill {
    height: 100%;
    background: #ffc107;
    transition: width 0.3s;
}

.rating-bar span:last-child {
    width: 30px;
    text-align: right;
    color: #666;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review {
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 16px;
    background: white;
    transition: all 0.3s;
}

.review:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-color: #ddd;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.review-stars {
    color: #ffc107;
    font-size: 16px;
}

.review-author {
    font-weight: 600;
    color: #000;
}

.review-time {
    color: #858585;
    font-size: 14px;
    font-weight: 400;
    margin-left: auto;
}

.review-text {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.review-actions {
    display: flex;
    gap: 15px;
}

.review-action {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #eee;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    color: #666;
    font-size: 14px;
}

.review-action:hover {
    border-color: #000;
    color: #000;
}

.review-action.like:hover {
    border-color: #28a745;
    color: #28a745;
}

.review-action.dislike:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.faq-section {
    margin-bottom: 60px;
}

.faq-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-align: left;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question .material-icons {
    transition: transform 0.3s;
}

.faq-item.active .faq-question .material-icons {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.6;
}


.footer {
    background: #ff3131;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    margin: 0;
    font-size: 14px;
}


.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateX(400px);
    transition: transform 0.3s;
    z-index: 1000;
}

.toast.show {
    transform: translateX(0);
}


.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-backdrop {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal-content img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-title {
        font-size: 24px;
    }

    .price-current {
        font-size: 28px;
    }

    .pricing {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .reviews-summary {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }

    .rating-breakdown {
        max-width: 300px;
        margin: 0 auto;
    }

    .footer .container {
        flex-direction: column;
        gap: 10px;
    }

    .product-actions {
        flex-direction: column;
    }

    .action-btn {
        justify-content: center;
    }

    .main-image {
        height: 300px;
    }

    .thumbnail-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .thumbnail {
        height: 60px;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 20px 0;
    }

    .product-title {
        font-size: 20px;
    }

    .price-current {
        font-size: 24px;
    }

    .buy-button {
        font-size: 16px;
        padding: 15px 25px;
    }

    .reviews-section h2,
    .faq-section h2 {
        font-size: 24px;
    }

    .rating-score {
        font-size: 36px;
    }

    .review {
        padding: 20px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 15px;
    }

    .faq-answer p {
        padding: 0 20px 15px;
    }

    .main-image {
        height: 250px;
    }

    .thumbnail {
        height: 50px;
    }
}




        .comment-box {
            position: fixed;
            right: 30px;
            bottom: 30px;
            background: white;
            border-radius: 12px;
            padding: 16px 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            border-left: 4px solid #3bf64b;
            max-width: 400px;
            width: 80%;
            z-index: 1111;
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .comment-box:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        }

        .comment-content {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: linear-gradient(135deg, #3bf664, #40ca00);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: 600;
            font-size: 16px;
            flex-shrink: 0;
        }

        .comment-text {
            flex: 1;
        }

        .comment-message {
            color: #374151;
            font-size: 15px;
            line-height: 1.4;
        }

        .username {
            font-weight: 600;
            color: #1f2937;
        }

        .timestamp {
            color: #6b7280;
            font-size: 13px;
            margin-top: 4px;
        }

        .comment-icon {
            width: 20px;
            height: 20px;
            color: #13ce2c;
            flex-shrink: 0;
        }

      
        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(-20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .comment-box {
            animation: slideIn 0.3s ease-out;
        }

       
        @media (max-width: 480px) {
            .comment-box {
                margin: 0 10px;
                padding: 14px 16px;
            }
            
            .avatar {
                width: 36px;
                height: 36px;
                font-size: 14px;
            }
            
            .comment-message {
                font-size: 14px;
            }
        }

.comment_none {
    display: none;
}

.imgs {
    width: 100%;
    display: flex;
}

.imgs > img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.imgs > img:nth-child(2) {
  margin-left: 20px;
  
}

.imgs_produto {
    display: grid;
    grid-template-columns: auto;
    justify-content: center;
}

.imgs_produto > img {
    width: 210px;
    height: 310px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.select {
    display: flex;
}

.select > img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    padding: 5px;
    border: 1.5px solid rgb(119, 119, 119);
}

 
.select > img:nth-child(1) {
    border: 1.5px solid #0086ff;
}

.select > img:nth-child(2) {
    margin-left: 10px;
}




.avalie {
    display: grid;
    max-width: 300px;
    grid-template-columns: 100%;
    gap:10px;
    justify-content: center;
    margin: 30px auto;
    text-align: center;
}

.avalie > button {
    padding: 10px;
    font-weight: 500;
    background:#28a745;
    border: none;
    border-radius: 5px;
}

.avalie > input,textarea {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid gray;
}


.star {
  cursor: pointer;
  font-size: 24px;
  color: #ccc;
}

.star.active {
  color: gold;
}

.review {
  border: 1px solid #ddd;
  padding: 10px;
  margin-top: 10px;
  border-radius: 8px;
}

.review-header {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
}

.review-stars {
  color: gold;
}

.review-actions {
  margin-top: 5px;
}

.review-action {
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 10px;
}

#avaliar-button {
    width: 300px;
    
    padding: 10px;
    background: #3bf64b;
    border: 1px solid rgba(0, 0, 0, 0.658);
    border-radius: 5px;
    font-family: Arial, Helvetica, sans-serif;
}

.avalie-none {
    display: none;
}