/**
 * Pricing Table Styles – WooCommerce Fotosběrna configurator.
 * Minimal styles to let theme elements dictate layout, while maintaining responsive grid alignment.
 *
 * @package Aw3smPhotoLab\Frontend
 */

.apl-pricing-table-container {
    margin: 20px 0;
    width: 100%;
    box-sizing: border-box;
}

.apl-pricing-section {
    margin-bottom: 30px;
}

.apl-section-title {
    margin: 0 0 15px 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #333 !important;
    border-bottom: 2px solid #ddd;
    padding-bottom: 6px;
}

.apl-group-title {
    margin: 15px 0 10px 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #555 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pricing Grid */
.apl-pricing-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(var(--cols-mobile, 1), 1fr);
    margin-bottom: 20px;
}

.apl-grid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
}

.apl-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.apl-option-name {
    font-weight: 600;
    color: #333;
}

.apl-option-meta {
    font-size: 11px;
    color: #777;
}

.apl-item-price {
    text-align: right;
    color: #000;
}

/* Surcharge Badges */
.apl-badge {
    display: inline-block;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    white-space: nowrap;
}

/* Responsive columns mapping */
@media (min-width: 600px) {
    .apl-pricing-grid {
        grid-template-columns: repeat(var(--cols-tablet, 2), 1fr);
    }
}

@media (min-width: 1024px) {
    .apl-pricing-grid {
        grid-template-columns: repeat(var(--cols-desktop, 3), 1fr);
    }
}
