/* ========================================
   PRODUCT DETAIL PAGE STYLES
   ======================================== */

.product-detail-page {
    padding: 120px 0 60px;
    background: var(--light-bg);
    min-height: 100vh;
}

.breadcrumb {
    padding: 20px 0;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumb a {
    color: var(--primary-orange);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--secondary-orange);
}

.breadcrumb span {
    color: var(--text-dark);
    font-weight: 600;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

.main-image {
    width: 100%;
    height: 500px;
    background: var(--light-bg);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

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

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

/* Product Video - Posicionado logo abaixo da imagem */
.product-video {
    width: 100%;
    margin-bottom: 20px;
    background: var(--light-bg);
    padding: 20px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.product-video h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-video h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.video-container {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.video-container iframe {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    display: block;
}

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

.thumbnail {
    width: 100%;
    height: 100px;
    background: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-orange);
    transform: translateY(-4px);
}

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

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.product-title {
    font-size: 36px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-category {
    margin-bottom: 16px;
}

.category-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.3);
}

.product-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.8;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 12px;
    border-left: 4px solid var(--primary-orange);
}

.product-specifications,
.product-features {
    background: var(--light-bg);
    padding: 24px;
    border-radius: 12px;
}

.product-specifications h3,
.product-features h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-specifications h3::before,
.product-features h3::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.product-specifications ul,
.product-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-specifications li,
.product-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: var(--text-light);
    padding: 12px;
    background: var(--white);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.product-specifications li:hover,
.product-features li:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.product-specifications li::before,
.product-features li::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    font-weight: 700;
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.product-actions .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.product-actions .btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.4);
}

.product-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.5);
}

.product-actions .btn-secondary {
    background: transparent;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
}

.product-actions .btn-secondary:hover {
    background: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

/* Related Products */
.related-products {
    margin-top: 80px;
}

.related-products h2 {
    font-size: 32px;
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 40px;
    text-align: center;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.product-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    width: 100%;
    height: 250px;
    background: var(--light-bg);
    overflow: hidden;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 24px;
}

.product-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.product-card-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.product-card-link:hover {
    gap: 12px;
    color: var(--secondary-orange);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-image {
        height: 400px;
    }

    .video-container iframe {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .product-detail-page {
        padding: 100px 0 40px;
    }

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

    .product-detail-content {
        padding: 24px;
    }

    .main-image {
        height: 300px;
    }

    .video-container iframe {
        height: 250px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .products-grid {
        grid-template-columns: 1fr;
    }

    .related-products h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 24px;
    }

    .product-detail-content {
        padding: 16px;
    }

    .main-image {
        height: 250px;
    }

    .video-container iframe {
        height: 200px;
    }

    .thumbnail-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-actions .btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .product-video {
        padding: 16px;
    }

    .product-video h3 {
        font-size: 16px;
    }
}


/* ========================================
   BOTÃO WHATSAPP - ESTILOS ESPECÍFICOS
   ======================================== */

#whatsapp-button {
    pointer-events: auto !important;
    cursor: pointer !important;
    z-index: 10 !important;
    position: relative;
}

#whatsapp-button:active,
#whatsapp-button:focus {
    outline: none;
}

.product-actions .btn {
    pointer-events: auto !important;
}
