
main {
    width: 95%;
    margin-top: 30px;
    margin-bottom: 50px;
}
main h1 {
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
h2, h3 {
    color: var(--text2-color);;
}


.contact-section {
    max-width: 600px;
    margin: auto;
    padding: 0 28px 30px;
    color: var(--text2-color);
    border: 2px solid var(--tertiary-color);
    border-radius: 30px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: var(--secondaryGlass2-color);
    animation: fadeIn 1.3s ease-in-out forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0 14px 36px rgba(49, 42, 0, 0.25);
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -70px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 251, 0, 0.36), rgba(255, 251, 0, 0));
    z-index: 0;
}

.contact-section > * {
    position: relative;
    z-index: 1;
}

.contact-section > h1 {
    margin: 0 -28px 24px;
    padding: 18px 28px 16px;
    font-size: clamp(25px, 4vw, 32px);
    line-height: 1.2;
    background: linear-gradient(100deg, rgba(255, 251, 0, 0.62), rgba(255, 251, 0, 0.12));
    border-bottom: 3px solid var(--secondary-color);
}

.contact-section a {
    color: var(--link-color);
    text-decoration: none;
}

.contact-section a:hover {
    text-decoration: underline;
}

.contact-details, .store-details, .opening-hours {
    margin-bottom: 18px;
    padding: 16px 18px;
    border-left: 4px solid var(--secondary-color);
    border-radius: 0 12px 12px 0;
    background: rgba(255, 255, 255, 0.2);
}

.contact-details h2, .store-details h2, .opening-hours h2 {
    border-bottom: 2px solid var(--secondary-background-color);
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.contact-section > a {
    display: inline-block;
    margin: 0 0 18px 18px;
    padding: 8px 14px;
    color: var(--text2-color);
    font-weight: 600;
    background: var(--background-yellow);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
}

.contact-details p, .store-details p {
    margin: 5px 0;
}

.contact-details dl {
    display: flex;
    flex-wrap: wrap;
    max-width: 500px;
}

.contact-details dt, .contact-details dd {
    width: 50%;
    margin: 0;
    padding: 0;
}

.contact-details dt {
    font-weight: bold;
}

.payment-methods ul {
    list-style-type: disc;
    margin-left: 20px;
}

.opening-hours dl {
    margin-left: 20px;
}

.opening-hours dt {
    font-weight: bold;
    width: 150px; /* Nastavte šířku podle potřeby */
    float: left;
    clear: both;
}

.opening-hours dd {
    margin-left: 160px; /* Měla by odpovídat šířce dt */
    margin-bottom: 5px;
}

.location {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

@media (max-width: 600px) {
    .contact-section {
        padding: 0 18px 22px;
        border-radius: 20px;
    }
    .contact-section > h1 {
        margin: 0 -18px 18px;
        padding: 14px 18px 12px;
        font-size: 24px;
    }
    .contact-details, .store-details, .opening-hours {
        padding: 13px 14px;
    }
    .contact-details dl {
        display: grid;
        grid-template-columns: 1fr;
        gap: 3px;
    }
    .contact-details dt, .contact-details dd {
        width: auto;
    }
    .contact-details dd {
        margin-bottom: 8px;
    }
    .opening-hours dl {
        margin-left: 0;
    }
    .location iframe {
        width: 100%;
        max-width: 400px;
    }
}

