/* --- SEKCOVÝ CENNÍK (PRICING) --- */
.pricing {
    max-width: 1280px;
    margin: 0 auto;
    padding: 80px 20px;
}

.main-text-pricing {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
}

.main-text-pricing h2 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.main-text-pricing p {
    color: var(--mutedText);
    line-height: 1.6;
}

/* Kontajner pre tabuľky cien */
.pricing-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    max-width: 960px; /* Zúženie pre elegantnejší vzhľad dvoch stĺpcov */
    margin: 0 auto;
}

/* Základná tabuľka */
.pricing-table {
    background-color: var(--cardBg);
    border: 1px solid #23262d;
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}

/* Špeciálne zvýraznenie pre prémiový Mercedes VIP Van */
.pricing-table.premium-table {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-table:hover {
    transform: translateY(-5px);
    border-color: var(--goldColor);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.05);
}

/* Hlavička cenníka */
.pricing-header {
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 25px;
    margin-bottom: 25px;
}

.pricing-icon {
    color: var(--goldColor);
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 700;
}

.pricing-car-name {
    color: var(--mutedText);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.pricing-rate {
    margin-top: 15px;
}

.pricing-rate .price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
}

.premium-table .pricing-rate .price {
    color: var(--goldColor); /* Zlatá cena pre VIP triedu */
}

.pricing-rate .per {
    color: var(--mutedText);
    font-size: 1rem;
}

/* Zoznam položiek a cien */
.pricing-features {
    list-style: none;
    margin-bottom: 35px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    color: #e2e8f0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.pricing-features li span {
    color: var(--mutedText);
    text-align: left;
    padding-right: 15px;
}

.pricing-features li strong {
    color: #ffffff;
    font-weight: 600;
    white-space: nowrap; /* Zabráni zalomeniu ceny na nový riadok */
}

/* Tlačidlo */
.pricing-footer {
    margin-top: auto; /* Tlačidlo padne na spodok, ak by mali zoznamy rôznu dĺžku */
}

.btn-pricing {
    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.03);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}
.add-pricing{
    margin-top: 25px;
}
.add-to-price h3 {
    text-align: left;
}

.premium-table .btn-pricing,
.pricing-table:hover .btn-pricing {
    background-color: var(--goldColor);
    color: #0f1012;
    border-color: var(--goldColor);
}

/* --- RESPONSIVITA (PRE MOBILY) --- */
@media (max-width: 768px) {
    .pricing-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-table {
        padding: 30px 20px;
    }
    
    .pricing-features li {
        font-size: 0.9rem;
    }
}

/* Spodná lišta platieb */
.payment-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--cardBg);
    /* border: 1px solid #23262d; */
    padding: 25px;
    border-radius: 12px;
    background-color: transparent;
    margin: 50px auto 0 auto;
}

.payment-title {
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-weight: 600;
}

.payment-method i {
    color: var(--goldColor);
    font-size: 1.4rem;
}

/* --- RESPONZIVITA PRE MOBILY --- */
@media (max-width: 768px) {
    .pricing-table-header {
        display: none; /* Skryje záhlavie na mobiloch */
    }

    .pricing-row {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 25px 20px;
    }

    .col-route { text-align: center; font-size: 1.1rem; margin-bottom: 5px; }
    .col-action { text-align: center; width: 100%; }
    .btn-order { width: 100%; }

    .payment-bar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}