﻿


.obchodni-podminky OL {
    counter-reset: item;
    margin-left: 40px;
}

    .obchodni-podminky OL LI:before {
        content: counters(item,".") " ";
        counter-increment: item;
        position: absolute;
        left: -70px;
        width: 60px;
        overflow: visible;
        text-align: right;
        color: var(--teal);
    }

    .obchodni-podminky OL LI {
        display: block;
        position: relative;
        margin-top: 10px;
    }

.obchodni-podminky > ol > li {
    font-weight: bold;
}

.obchodni-podminky OL > LI > ol > li > ol > li {
    font-weight: normal;
}

@media(max-width: 960px){
    .obchodni-podminky OL {
        margin-left: 20px;
    }
}


/* ═══════════════════════ HISTORIE PODMÍNEK ═══════════════════════ */
.history-section {
    padding: var(--section-y) 0;
    background: var(--navy);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.history-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 32px 40px;
    transition: all 0.3s;
}

    .history-card.active {
        border: 1px solid rgba(45, 217, 179, 0.2);
        background: linear-gradient(135deg, rgba(45, 217, 179, 0.06), rgba(255, 255, 255, 0.01));
    }

.history-period {
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 20px;
    color: var(--white);
}

.history-card.active .history-period {
    color: var(--teal);
}

.history-docs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Styl pro samotný klikací odkaz na PDF */
.doc-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray-200);
    font-size: 14.5px;
    font-weight: 500;
    transition: all 0.25s cubic-bezier(.4,0,.2,1);
}

/* Ikonka PDF dokumentu */
.doc-icon {
    color: var(--gray-400);
    flex-shrink: 0;
    transition: color 0.25s;
}

.history-card.active .doc-icon {
    color: var(--teal-dim);
}


.doc-link:hover {
    color: var(--white);
    border-color: var(--teal);
    background: rgba(45, 217, 179, 0.08);
}

    .doc-link:hover .doc-icon {
        color: var(--teal);
    }

/* Responzivita pro mobily */
@media (max-width: 600px) {
    .history-period{
        font-size: 16px;
    }

    .history-card {
        padding: 24px 20px;
    }

    .doc-link {
        padding: 14px 16px;
    }
}