/**
 * Producty Catalog Frontend Styles
 * Version: 1.0.0
 */

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }
}

/* ============================================
   CATALOG EXAMPLES GRID
   ============================================ */
.content-area {
    display: flex;
    flex-wrap: wrap;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.content-area .item {
    width: 320px !important;
    padding: 10px;
}

.content-area .item img {
    width: 240px;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
}

.content-area .item h3 {
    margin-top: 3px;
    margin-bottom: 0;
}

.content-area .item p {
    margin-top: 0;
}

/* ============================================
   FEATURES MATRIX
   ============================================ */
.producty-features-matrix {
    max-width: 1200px;
    margin: 0 auto;
}

.producty-features-matrix .feature-category {
    margin-bottom: 40px;
}

.producty-features-matrix .category-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
}

.producty-features-matrix .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.producty-features-matrix .feature-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

.producty-features-matrix .feature-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.producty-features-matrix .feature-card.has-link {
    cursor: pointer;
}

.producty-features-matrix .feature-card a.feature-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.producty-features-matrix .feature-icon {
    font-size: 2rem;
    color: #0073aa;
    margin-bottom: 15px;
}

.producty-features-matrix .feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.producty-features-matrix .feature-excerpt {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.producty-features-matrix .learn-more {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    font-size: 0.9rem;
}

/* ============================================
   CATALOG FEATURES (5-column row)
   ============================================ */
.producty-catalog-features-row {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.catalog-features-grid-5col {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 992px) {
    .catalog-features-grid-5col {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .catalog-features-grid-5col {
        grid-template-columns: repeat(2, 1fr);
    }
}

.catalog-feature-col {
    text-align: center;
    padding: 15px;
}

.catalog-feature-col.has-link a {
    text-decoration: none;
    color: inherit;
}

.catalog-feature-col-icon {
    font-size: 2rem;
    color: #0073aa;
    margin-bottom: 10px;
}

.catalog-feature-col-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.catalog-feature-col-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.catalog-col-read-more {
    display: inline-block;
    margin-top: 8px;
    color: #0073aa;
    font-size: 0.85rem;
}

/* ============================================
   PRICING TABLE
   ============================================ */
.producty-pricing-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
}

.pricing-header-row,
.pricing-row {
    display: flex;
}

.pricing-cell {
    flex: 1;
    padding: 15px;
    border: 1px solid #e0e0e0;
    margin: -1px 0 0 -1px;
}

.pricing-cell.feature-header,
.pricing-cell.feature-name {
    flex: 0 0 250px;
    background: #f9f9f9;
    font-weight: 500;
}

.pricing-cell.header-cell {
    text-align: center;
}

.pricing-cell.plan-name-header {
    background-color: var(--plan-color, #0073aa);
    color: #fff;
    font-weight: 600;
    font-size: 1.2rem;
}

.pricing-cell.plan-header {
    background: linear-gradient(180deg, var(--plan-color, #0073aa) 0%, rgba(255,255,255,0.9) 100%);
}

.plan-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 10px 0;
}

.plan-price-yearly {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #666;
}

.plan-onboarding {
    font-size: 0.75rem;
    color: #666;
    margin-top: 5px;
}

.pricing-row.category-row {
    background: #f0f0f0;
}

.pricing-cell.category-header {
    font-weight: 600;
    font-size: 1rem;
    color: #333;
}

.pricing-cell.feature-value {
    text-align: center;
}

.pricing-cell .checkmark {
    color: #28a745;
    font-size: 1.2rem;
}

.pricing-cell .no-check {
    color: #ccc;
}

.feature-note {
    display: block;
    font-size: 0.75rem;
    color: #666;
    margin-top: 3px;
}

.pricing-signup-button {
    display: inline-block;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    color: #fff !important;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pricing-signup-button:hover {
    opacity: 0.9;
}

/* Mobile Pricing */
.producty-pricing-mobile {
    max-width: 600px;
    margin: 0 auto;
}

.mobile-plan-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.mobile-plan-header {
    background: linear-gradient(180deg, var(--plan-color, #0073aa) 0%, rgba(255,255,255,0.9) 100%);
    padding: 20px;
    text-align: center;
}

.mobile-plan-header .plan-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
}

.mobile-plan-header .plan-price {
    font-size: 2.5rem;
    font-weight: 700;
}

.mobile-plan-details {
    padding: 15px 20px;
}

.mobile-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.mobile-signup-row {
    padding: 15px 0;
    text-align: center;
}

.mobile-category-section {
    border-top: 1px solid #e0e0e0;
}

.mobile-category-header {
    background: #f0f0f0;
    padding: 12px 20px;
    font-weight: 600;
}

.mobile-feature-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
}

/* ============================================
   BENEFITS
   ============================================ */
.producty-benefits-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.benefits-container.layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.benefits-container.layout-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.2s ease;
}

.benefit-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.benefit-item.has-link a {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 15px;
}

.benefit-icon {
    font-size: 2rem;
    color: #0073aa;
    flex-shrink: 0;
}

.benefit-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-summary {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.benefit-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.benefit-item .read-more {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    font-size: 0.9rem;
}

/* ============================================
   SINGLE FEATURE CARD
   ============================================ */
.producty-feature-card-single {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    max-width: 400px;
    transition: box-shadow 0.2s ease;
}

.producty-feature-card-single:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.producty-feature-card-single.has-link a {
    text-decoration: none;
    color: inherit;
}

.producty-feature-card-single .feature-icon {
    font-size: 2.5rem;
    color: #0073aa;
    margin-bottom: 15px;
}

.producty-feature-card-single .feature-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.producty-feature-card-single .feature-description {
    color: #666;
    line-height: 1.6;
}

.producty-feature-card-single .learn-more {
    display: inline-block;
    margin-top: 15px;
    color: #0073aa;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.hideThis {
    display: none;
}
