/*
Theme Name: Astra Child - Electrimancy
Theme URI: https://electrimancy.com
Description: Child theme for Astra with custom product card styles for Electrimancy blog
Author: Electrimancy
Template: astra
Version: 1.0.0
*/

/* Import parent theme styles */
@import url("../astra/style.css");

/* ============================================
   ELECTRIMANCY PRODUCT CARD STYLES
   For "10 Best Kitchen Island Pendants" post
   ============================================ */

.ep-product-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 32px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ep-product-card:hover {
    border-color: #FF8C42;
    box-shadow: 0 4px 16px rgba(255, 140, 66, 0.15);
}

.ep-product-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
}

.ep-image-section {
    background: #f9fafb;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-right: 1px solid #e5e7eb;
    min-height: 350px;
}

.ep-image-section img {
    max-width: 100%;
    max-height: 350px;
    object-fit: contain;
}

.ep-badge-container {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ep-badge {
    background: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.ep-badge-style {
    color: #7c3aed;
}

.ep-badge-retailer {
    color: #FF8C42;
}

.ep-info-section {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.ep-product-name {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 8px;
    line-height: 1.3;
}

.ep-price-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.ep-product-price {
    font-size: 28px;
    font-weight: 800;
    color: #FF8C42;
    margin-bottom: 16px;
}

.ep-product-description {
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 14px;
}

.ep-features-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ep-product-features {
    list-style: none;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 0;
}

.ep-product-features li {
    padding: 6px 0 6px 24px;
    position: relative;
    color: #6b7280;
    font-size: 13px;
}

.ep-product-features li:before {
    content: "●";
    position: absolute;
    left: 8px;
    color: #FFBA08;
    font-size: 12px;
}

.ep-button-row {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.ep-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-size: 14px;
    display: inline-block;
}

.ep-btn-primary {
    background: #FF8C42;
    color: white !important;
    border: none;
}

.ep-btn-primary:hover {
    background: #ff7a29;
    color: white !important;
}

.ep-btn-outline {
    background: transparent;
    color: #6b7280 !important;
    border: 1.5px solid #d1d5db;
}

.ep-btn-outline:hover {
    border-color: #9ca3af;
    color: #374151 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .ep-product-grid {
        grid-template-columns: 1fr;
    }

    .ep-image-section {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .ep-product-features {
        grid-template-columns: 1fr;
    }
}
