/*
Theme Name: GeneratePress Child
Theme URI: https://tool.deved.lt
Description: Custom child theme for rental equipment catalog
Author: Your Name
Template: generatepress
Version: 1.0.0
*/

/* Product Single Page Styles */
.product-single {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.product-breadcrumbs {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.product-breadcrumbs a {
    color: #0066cc;
    text-decoration: none;
}

.product-breadcrumbs a:hover {
    text-decoration: underline;
}

.product-breadcrumbs .separator {
    margin: 0 8px;
    color: #999;
}

.product-breadcrumbs .current {
    color: #333;
}

.product-header {
    margin-bottom: 30px;
}

.product-title {
    font-size: 28px;
    font-weight: 600;
    color: #222;
    line-height: 1.3;
    margin: 0 0 20px 0;
}

.product-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.product-description {
    margin-bottom: 30px;
}

.product-description p {
    margin-bottom: 15px;
}

.product-features {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 5px;
    margin: 30px 0;
}

.product-features h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.product-features p {
    margin-bottom: 10px;
    white-space: pre-line;
}

.product-youtube {
    margin: 30px 0;
}

.product-youtube iframe {
    width: 100%;
    max-width: 800px;
    height: 450px;
    border-radius: 5px;
}

.product-meta {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

/* Category Archive Styles */
.product-category-header {
    margin-bottom: 40px;
}

.category-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 15px;
}

.category-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.product-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f5f5f5;
}

.product-card-content {
    padding: 20px;
}

.product-card-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-card-title a {
    color: #333;
    text-decoration: none;
}

.product-card-title a:hover {
    color: #0066cc;
}

.product-card-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

.product-card-link {
    display: inline-block;
    padding: 10px 20px;
    background: #0066cc;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 14px;
    transition: background 0.3s ease;
}

.product-card-link:hover {
    background: #0052a3;
}

/* Responsive */
@media (max-width: 768px) {
    .product-title {
        font-size: 24px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-youtube iframe {
        height: 250px;
    }
}