/* =================================================================
   PRICE.CSS — Pricing columns · Rows · Page intro
   ================================================================= */

/* Page intro block */
.pricing-intro {
    text-align: center;
    margin-bottom: 32px;
    margin-top: 32px;
}

/* Apply same reduced heading style as hero-title-service (25% smaller) and center it */
.pricing-intro h1 {
    /* reduced by 25% from previous clamp values */
    font-size: clamp(0.975rem, 4.125vw, 2.925rem);
    margin: 0;
    text-align: center;
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Pricing columns layout */
.pricing-info-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3xl);
    flex-wrap: wrap;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--radius-lg);
}

.pricing-info-header p {
    margin: 0;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.pricing-legend {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.pricing-legend-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.legend-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: white;
}

.legend-badge.ironing {
    background: var(--color-green);
}

.legend-badge.washing {
    background: var(--color-orange);
}

.legend-badge .service-icon-img {
    width: 14px;
    height: 14px;
    filter: brightness(0) invert(1);
}

.pricing-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

@media (max-width: 1000px) {
    .pricing-columns {
        grid-template-columns: 1fr;
    }
}

.pricing-column {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow);
}

.pricing-column:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex: 1;
}

.header-right {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.column-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    border-radius: 8px;
    font-size: 1.5rem;
    color: white;
}

.column-icon.washing {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.column-icon.ironing {
    background: var(--color-green);
}

.column-icon.additional {
    background: var(--primary);
}

.column-icon .service-icon-img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

.column-header h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 600;
}

/* Slim header modifier — reduces vertical height without changing horizontal spacing */
.column-header.slim {
    padding-top: calc(var(--space-lg) / 2);
    padding-bottom: calc(var(--space-lg) / 2);
    /* keep left/right padding unchanged to preserve layout */
    gap: var(--space-md);
}

.column-header.slim .column-icon {
    min-width: 40px;
    height: 40px;
}

.column-header.slim h3 {
    font-size: 1rem;
    line-height: 1;
}

.column-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.pricing-items-list {
    padding: var(--space-xl);
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
    gap: var(--space-md);
}

.pricing-row:last-child {
    border-bottom: none;
}

.item-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
}

.item-price {
    font-weight: 700;
    font-size: 0.95rem;
    white-space: nowrap;
}

.item-price.washing {
    color: var(--color-orange);
}

.item-price.ironing {
    color: var(--color-green);
}

/* Dark theme */
[data-theme="dark"] .pricing-info-header {
    background: rgba(255, 255, 255, 0.02);
}

[data-theme="dark"] .pricing-column {
    background: var(--gray-800);
    border-color: var(--gray-700);
}

[data-theme="dark"] .pricing-column:hover {
    box-shadow: 0 8px 24px rgba(90, 173, 219, 0.15);
}

[data-theme="dark"] .column-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .04));
}

[data-theme="dark"] .pricing-row {
    border-bottom-color: var(--gray-700);
}

/* Responsive */
@media (max-width: 540px) {
    .column-header {
        flex-direction: row;
        align-items: center;
        gap: var(--space-sm);
    }

    .header-left {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-left h3 {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .header-right {
        display: flex;
        justify-content: flex-end;
        gap: var(--space-sm);
        flex: 0 0 auto;
        margin-left: var(--space-sm);
    }

    /* Make the pricing page H1 larger and less heavy on phones */
    .pricing-intro h1 {
        font-size: 2rem;
        line-height: 1.08;
        font-weight: 400;
        letter-spacing: -0.01em;
    }
}