/*
 * Plugin Name: Littino Social Share for WooCommerce
 * Description: Styles for the social share buttons.
 * Author: Lino Titto Sam/Webzieh Creations Limited
 * Author URI: https://webzieh.com
 */

/* --- Main Wrapper Styles --- */
.littino-share-wrapper {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Important for responsiveness */
    gap: 10px;
}

.littino-share-heading {
    font-size: 1em;
    font-weight: 600;
    margin-right: 10px;
    line-height: 1;
    color: #333;
}

/* --- Buttons List and Container --- */
.littino-share-buttons {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
}

.littino-share-buttons li {
    margin: 0;
    padding: 0;
}

/* --- Individual Button Styles (Clean & Classic) --- */
.littino-share-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;      
    height: 40px;
    border-radius: 50%; /* Round icons */
    color: #fff !important; 
    background-color: #333; /* Default fallback color */
    font-size: 18px;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); 
}

.littino-share-button:hover {
    opacity: 0.9;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* --- Platform Specific Colors --- */
.littino-share-facebook { background-color: #1877F2; }
.littino-share-twitter { background-color: #000000; } 
.littino-share-linkedin { background-color: #0A66C2; }
.littino-share-whatsapp { background-color: #25D366; }
.littino-share-copy { background-color: #6c757d; }

/* --- Mobile Responsiveness (Screen size < 480px) --- */
@media (max-width: 480px) {
    .littino-share-wrapper {
        justify-content: center; /* Center the entire block */
    }
    
    .littino-share-heading {
        width: 100%; /* Heading takes full width on mobile */
        text-align: center;
        margin-bottom: 10px;
    }
    
    .littino-share-button {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}