/**
 * Frontend styles for Product Details Section
 */

.pds-product-details-section {
    margin: 20px 0;
    padding: 20px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-family: inherit;
}

.pds-section-title {
    margin: 0 0 20px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #0073aa;
    padding-bottom: 10px;
}

/* Contact Section */
.pds-contact-section {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #fff;
    border-radius: 6px;
    border-left: 4px solid #0073aa;
}

.pds-question {
    margin-bottom: 10px;
}

.pds-question-text {
    font-size: 1.1em;
    font-weight: 500;
    color: #333;
}

.pds-contact-methods {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.pds-phone,
.pds-chat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.pds-phone:hover,
.pds-chat-link:hover {
    background-color: #005a87;
    color: #fff;
    text-decoration: none;
}

.pds-phone-icon,
.pds-chat-icon {
    font-size: 1.1em;
}

/* Features Grid */
.pds-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.pds-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    transition: box-shadow 0.3s ease;
}

.pds-feature-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pds-feature-icon {
    font-size: 1.5em;
    line-height: 1;
    margin-top: 2px;
}

.pds-feature-content {
    flex: 1;
}

.pds-feature-title {
    margin: 0 0 5px 0;
    font-size: 1em;
    font-weight: 600;
    color: #333;
    line-height: 1.3;
}

.pds-feature-text {
    margin: 0;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pds-product-details-section {
        margin: 15px 0;
        padding: 15px;
    }
    
    .pds-contact-methods {
        gap: 10px;
    }
    
    .pds-phone,
    .pds-chat-link {
        padding: 6px 12px;
        font-size: 0.9em;
    }
    
    .pds-features-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .pds-feature-item {
        padding: 12px;
    }
    
    .pds-feature-icon {
        font-size: 1.3em;
    }
    
    .pds-section-title {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .pds-contact-methods {
        flex-direction: column;
        gap: 8px;
    }
    
    .pds-phone,
    .pds-chat-link {
        justify-content: center;
        text-align: center;
    }
    
    .pds-feature-item {
        gap: 10px;
        padding: 10px;
    }
}

/* Theme Compatibility */
.woocommerce div.product .pds-product-details-section {
    margin: 20px 0;
}

/* Color scheme variations */
.pds-product-details-section.pds-theme-light {
    background-color: #ffffff;
    border-color: #e8e8e8;
}

.pds-product-details-section.pds-theme-dark {
    background-color: #2c2c2c;
    border-color: #404040;
    color: #ffffff;
}

.pds-product-details-section.pds-theme-dark .pds-section-title {
    color: #ffffff;
    border-bottom-color: #0073aa;
}

.pds-product-details-section.pds-theme-dark .pds-feature-item {
    background-color: #3c3c3c;
    border-color: #505050;
}

.pds-product-details-section.pds-theme-dark .pds-feature-title {
    color: #ffffff;
}

.pds-product-details-section.pds-theme-dark .pds-feature-text {
    color: #cccccc;
}

.pds-product-details-section.pds-theme-dark .pds-contact-section {
    background-color: #3c3c3c;
    border-left-color: #0073aa;
}

.pds-product-details-section.pds-theme-dark .pds-question-text {
    color: #ffffff;
}
