/* ============================================================
   REMECO.SK — Pricing Page Specific Styles
   ============================================================ */

/* ============= PRICING TABLE SECTION ============= */
.pricing-table-section {
    padding: var(--section-padding);
    background: var(--color-bg-white);
}

.pricing-table-wrapper {
    margin-top: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ============= PRICING TABLE ============= */
.pricing-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--color-bg-white);
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    min-width: 500px;
}

.pricing-table thead {
    background: var(--gradient-btn);
    color: var(--color-text-white);
}

.pricing-table th {
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-body);
}

.pricing-table th:last-child {
    text-align: right;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-default);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-table tbody tr:hover {
    background: var(--color-alt-05);
}

.pricing-table td {
    padding: 1.25rem 1.5rem;
    color: var(--color-text-primary);
    font-size: var(--font-size-body);
}

.pricing-table td:first-child {
    font-weight: var(--font-weight-medium);
}

.pricing-table .price-cell {
    text-align: right;
    font-weight: var(--font-weight-bold);
    color: var(--color-primary);
    font-size: 1.1rem;
    white-space: nowrap;
}

/* ============= PRICING CARDS ENHANCEMENTS ============= */
.pricing-cards {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.pricing-card .price {
    font-size: 2.8rem;
}

/* "Zistiť viac" link style */
.pricing-card .btn-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--color-primary);
    font-size: var(--font-size-small);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: var(--transition-default);
}

.pricing-card .btn-link:hover {
    text-decoration: underline;
}

.pricing-card .btn-link::after {
    content: ' →';
}

/* ============= RESPONSIVE ============= */
@media (max-width: 767px) {
    .pricing-card .price {
        font-size: 1.8rem;
    }

    .pricing-card h3 {
        font-size: 1.3rem;
    }
    .pricing-table {
        min-width: 100%;
    }

    .pricing-table th,
    .pricing-table td {
        padding: 1rem;
        font-size: var(--font-size-small);
    }

    .pricing-table th:nth-child(2),
    .pricing-table td:nth-child(2) {
        display: none;
    }

    .pricing-table-wrapper {
        margin: 2rem -20px 0;
        padding: 0 20px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 479px) {
    .pricing-table th,
    .pricing-table td {
        padding: 0.75rem;
    }

    .pricing-table .price-cell {
        font-size: 1rem;
    }

    .pricing-card .price {
        font-size: 1.5rem;
    }
}
