*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
	height: 100%;
}

body {
    margin: 0;
	min-height: 100%;
}

#wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 16px;
    font-family: Arial, Helvetica, sans-serif
}

/* Form page: keep a single scrollbar (inside the embedded form) and make the
    iframe reliably fill the viewport on iOS Safari. */
body.page-form {
    overflow: hidden;
}

body.page-form #wrapper {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0 auto;
    justify-content: flex-start;
}

body.page-form main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body.page-form #body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body.page-form #body iframe {
    display: block;
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    border: 0;
}

.site-header {
	padding: 10px;
	justify-content: center;
}

.logo img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .logo img {
        max-height: 120px;
    }
}

.navigation-bar {
	text-align: center;
    font-size: 18px;
}

.navigation-bar ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 16px;
    width: 100%;
}

.navigation-bar li {
    display: block;
    margin: 0;
}

.navigation-bar a {
	text-decoration: none;
	color: black;
}

.navigation-bar a {
    display: inline-block;
    padding: 6px 4px;
}

@media (min-width: 768px) {
    .navigation-bar {
        font-size: 20px;
    }

    .navigation-bar ul {
        gap: 12px 20px;
    }
}

@media (max-width: 360px) {
    .navigation-bar {
        font-size: 16px;
    }
}

#body {
    width: 100%;
    margin: 0 auto; 
}

#opening-hours-table {
    width: auto;
    font-style: italic;
}

#opening-hours-table td:first-child {
    text-align: left;
    padding-right: 20px;
}

#opening-hours-table td:last-child {
    text-align: right;
    padding-left: 20px;
}

#map {
    display: flex;
    justify-content: center;
}

#map iframe {
    width: 100%;
	max-width: 99%;
    height: 50vh;
    margin: 0 auto;
}

#site-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    padding: 5px 0;
    width: 100%;
}

#site-footer a {
	color: black;
    text-decoration: none;
}

#site-footer a:hover {
    text-decoration: underline;
}

.footer-left,
.footer-center,
.footer-right {
    margin: 0;
}

.footer-center {
    text-align: center;
}

.price-list-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
}

.separator {
    text-align: center;
    font-size: 24px;
    margin: 10px 0;
}

.price-list-container {
    width: 70%;
    margin: 0 auto;
}

.price-list-table {
    width: 100%;
    margin: 20px auto;
    font-size: 24px;
    text-align: left;
}

@media (min-width: 768px) {
    .price-list-title {
        font-size: 20px;
        margin: 14px 0;
    }

    .separator {
        font-size: 18px;
        margin: 6px 0;
    }

    .price-list-table {
        font-size: 18px;
        margin: 14px auto;
        border-collapse: collapse;
        table-layout: fixed;
        width: min(640px, 100%);
    }

    .price-list-table td:nth-child(1) { width: 20%; }
    .price-list-table td:nth-child(2) { width: 14%; }
    .price-list-table td:nth-child(3) { width: 46%; }
    .price-list-table td:nth-child(4) { width: 20%; }

    .price-list-table td {
        padding: 8px 12px;
        vertical-align: top;
    }

    .price-list-table td:not(.note):last-child {
        text-align: right;
        white-space: nowrap;
    }

    .price-list-table .note {
        padding-top: 12px;
    }
}

.price-list-table td {
    padding: 12px;
}

@media (max-width: 767px) {
    .price-list-title {
        font-size: 18px;
        margin: 14px 0;
    }

    .separator {
        font-size: 18px;
        margin: 6px 0;
    }

    .price-list-table {
        font-size: 16px;
        width: 100%;
        table-layout: fixed;
    }

    .price-list-table td {
        padding: 8px 6px;
        white-space: normal;
        word-break: normal;
        overflow-wrap: break-word;
    }

    .price-list-table td:nth-child(1) { width: 22%; }
    .price-list-table td:nth-child(2) { width: 18%; }
    .price-list-table td:nth-child(3) { width: 45%; }
    .price-list-table td:nth-child(4) { width: 15%; text-align: right; }

    /* Give the additional services table a bit more room in the first columns so
        labels like MOUNTED SLIDE / PER ORDER don't get split mid-word. */
    .price-list-table--additional td:nth-child(1) { width: 28%; }
    .price-list-table--additional td:nth-child(2) { width: 22%; }
    .price-list-table--additional td:nth-child(3) { width: 35%; }
    .price-list-table--additional td:nth-child(4) { width: 15%; }
}

.price-list-table .note {
    text-align: center;
    font-size: 14px;
    font-style: italic;
    padding-top: 20px;
}