/* ===================== PRODUTO PAGE ===================== */

/* Breadcrumb */
.breadcrumb-section {
    background: var(--bg-secondary, #1a1a1a);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color, #333);
}

.breadcrumb {
    background: transparent;
}

.breadcrumb-item a {
    color: var(--text-secondary, rgba(255,255,255,0.7));
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-muted, rgba(255,255,255,0.5));
}

/* Product Details Section */
.product-details-section {
    padding: 40px 0;
    background: var(--bg-primary, #222);
}

/* Gallery */
.product-gallery {
    position: sticky;
    top: 20px;
}

.main-image-container {
    position: relative;
    background: var(--bg-secondary, #1a1a1a);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.main-image {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

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

.discount-badge-large {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-color);
    color: #000;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.4);
}

.thumbnail-container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px;
}

.thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    background: var(--bg-secondary, #1a1a1a);
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-color);
}

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

/* Product Info */
.product-info {
    color: var(--text-primary, #fff);
}

.product-category {
    display: inline-block;
    background: rgba(29, 185, 84, 0.15);
    color: var(--primary-color);
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    border: 1px solid rgba(29, 185, 84, 0.3);
}

.product-info .product-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--text-primary, #fff);
}

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

.rating-text {
    color: var(--text-secondary, rgba(255,255,255,0.7));
    font-size: 14px;
}

/* Price Section */
.product-price-section {
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(29, 185, 84, 0.05));
    border: 1px solid rgba(29, 185, 84, 0.25);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
}

.product-price-section .old-price {
    display: block;
    font-size: 16px;
    color: var(--text-muted, #727272);
    text-decoration: line-through;
    margin-bottom: 5px;
}

.product-price-section .current-price {
    display: block;
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.price-installments {
    display: block;
    font-size: 14px;
    color: var(--text-secondary, rgba(255,255,255,0.7));
}

/* Availability */
.product-availability {
    margin-bottom: 20px;
}

.product-availability .badge {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 8px;
}

/* Short Description */
.product-short-description {
    color: var(--text-secondary, #b3b3b3);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 28px;
    padding: 18px;
    background: var(--bg-tertiary, #282828);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

/* Action Buttons */
.product-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.btn-add-cart-large {
    width: 100%;
    background: var(--primary-color);
    color: #000;
    padding: 18px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.btn-add-cart-large:hover {
    background: var(--primary-hover, #1ed760);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.4);
}

.btn-whatsapp-large {
    width: 100%;
    background: transparent;
    color: var(--primary-color);
    padding: 16px 30px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-whatsapp-large:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(29, 185, 84, 0.35);
}

.btn-wishlist-large {
    background: rgba(255,255,255,0.1);
    color: white;
    padding: 16px 25px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.btn-wishlist-large:hover {
    background: rgba(255,255,255,0.2);
    color: #ff6b6b;
    border-color: #ff6b6b;
}

/* Extra Info */
.product-extra-info {
    background: var(--bg-tertiary, rgba(255,255,255,0.03));
    border-radius: 12px;
    padding: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color, rgba(255,255,255,0.05));
}

.info-item:last-child {
    border-bottom: none;
}

.info-item i {
    font-size: 24px;
    color: var(--primary-color);
    width: 30px;
    text-align: center;
}

.info-item span {
    color: var(--text-secondary, rgba(255,255,255,0.8));
    font-size: 14px;
}

/* Tabs Section */
.product-tabs-section {
    padding: 40px 0;
    background: var(--bg-secondary, #1a1a1a);
}

.custom-tabs {
    border-bottom: 2px solid var(--border-color, #333);
    margin-bottom: 0;
}

.custom-tabs .nav-link {
    color: var(--text-secondary, rgba(255,255,255,0.6));
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 15px 30px;
    font-weight: 600;
    margin-bottom: -2px;
    transition: all 0.3s ease;
}

.custom-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: transparent;
}

.custom-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-color: var(--primary-color);
}

.custom-tab-content {
    background: var(--bg-primary, #222);
    border-radius: 0 0 12px 12px;
    padding: 30px;
}

/* Description */
.description-content {
    color: var(--text-secondary, rgba(255,255,255,0.85));
    font-size: 15px;
    line-height: 1.8;
}

/* Reviews */
.reviews-content {
    color: var(--text-primary, #fff);
}

.no-reviews {
    text-align: center;
    padding: 60px 20px;
}

.no-reviews i {
    font-size: 60px;
    color: var(--text-muted, rgba(255,255,255,0.2));
    margin-bottom: 20px;
    display: block;
}

.no-reviews p {
    color: var(--text-muted, rgba(255,255,255,0.5));
    font-size: 16px;
}

.reviews-summary {
    text-align: center;
    padding: 30px;
    background: var(--bg-tertiary, rgba(255,255,255,0.03));
    border-radius: 12px;
    margin-bottom: 30px;
}

.rating-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rating-number {
    font-size: 48px;
    font-weight: 700;
    color: #ffc107;
}

.rating-count {
    color: var(--text-secondary, rgba(255,255,255,0.6));
    font-size: 14px;
}

/* Review Cards */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.review-card {
    background: var(--bg-card, rgba(255,255,255,0.03));
    border: 1px solid var(--border-color, rgba(255,255,255,0.08));
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: rgba(29, 185, 84, 0.4);
    box-shadow: 0 8px 25px rgba(29, 185, 84, 0.1);
}

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

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: #000;
    flex-shrink: 0;
}

.review-info {
    flex: 1;
}

.review-author {
    margin: 0 0 5px 0;
    font-weight: 600;
    color: var(--text-primary, #fff);
}

.review-date {
    color: var(--text-muted, rgba(255,255,255,0.5));
    font-size: 13px;
}
.review-text {
    color: rgba(255,255,255,0.75);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

/* Related Products */
.related-products-section {
    padding: 50px 0;
    background: var(--bg-secondary, #f5f5f5);
}

.related-products-section .product-title a {
    color: var(--text-primary, #222);
    text-decoration: none;
}

.related-products-section .product-title a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 991px) {
    .product-info .product-title {
        font-size: 24px;
    }
    
    .product-price-section .current-price {
        font-size: 28px;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .btn-whatsapp-large,
    .btn-wishlist-large {
        width: 100%;
    }
    
    .custom-tabs .nav-link {
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .product-details-section {
        padding: 20px 0;
    }
    
    .main-image {
        max-height: 350px;
    }
    
    .discount-badge-large {
        font-size: 14px;
        padding: 8px 15px;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .product-info .product-title {
        font-size: 20px;
    }
    
    .product-price-section .current-price {
        font-size: 24px;
    }
    
    .review-header {
        flex-wrap: wrap;
    }
    
    .review-date {
        width: 100%;
        margin-top: 10px;
    }
    
    .site-footer {
        padding-bottom: 80px;
    }
}
