/*
Theme Name: ColorMag Pro Child
Theme URI: https://www.example.com
Description: Thème enfant ColorMag Pro pour produits PDF
Author: Votre Nom
Author URI: https://www.example.com
Template: colormag-pro
Version: 1.0.0
Text Domain: colormag-pro-child
*/

/* Import du style parent */
@import url("../colormag-pro/style.css");

/* Styles spécifiques pour les produits PDF */
.pdf-product-badge {
    background: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-left: 10px;
}

.woocommerce .products .product .pdf-product-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
}

/* Adaptation pour ColorMag */
.tg-block-wrapper .secure-pdf-viewer {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
}

.pdf-library-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .pdf-grid {
        grid-template-columns: 1fr !important;
    }
    
    .secure-pdf-viewer iframe {
        height: 400px !important;
    }
}

.social-share-icons {
    margin: 30px 0;
    padding: 25px;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
    text-align: center;
    background: #fafafa;
}

.social-share-icons h4 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    font-size: 20px;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Couleurs officielles des réseaux sociaux */
.whatsapp { 
    background: linear-gradient(135deg, #25D366, #128C7E);
}
.whatsapp:hover { 
    background: linear-gradient(135deg, #128C7E, #25D366);
}

.facebook { 
    background: linear-gradient(135deg, #1877F2, #0D5FD7);
}
.facebook:hover { 
    background: linear-gradient(135deg, #0D5FD7, #1877F2);
}

.x-twitter { 
    background: linear-gradient(135deg, #000000, #2D2D2D);
}
.x-twitter:hover { 
    background: linear-gradient(135deg, #2D2D2D, #000000);
}

.instagram { 
    background: linear-gradient(135deg, #E4405F, #C13584, #833AB4, #5851DB, #405DE6);
}
.instagram:hover { 
    background: linear-gradient(135deg, #405DE6, #5851DB, #833AB4, #C13584, #E4405F);
}

.threads { 
    background: linear-gradient(135deg, #000000, #2D2D2D);
}
.threads:hover { 
    background: linear-gradient(135deg, #2D2D2D, #000000);
}

.linkedin { 
    background: linear-gradient(135deg, #0077B5, #00669B);
}
.linkedin:hover { 
    background: linear-gradient(135deg, #00669B, #0077B5);
}

.email { 
    background: linear-gradient(135deg, #EA4335, #D14836);
}
.email:hover { 
    background: linear-gradient(135deg, #D14836, #EA4335);
}

/* Responsive */
@media (max-width: 768px) {
    .share-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .share-buttons {
        gap: 10px;
    }
    
    .social-share-icons {
        padding: 20px 15px;
    }
}

@media (max-width: 480px) {
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .share-buttons {
        gap: 8px;
    }
}