:root {
    --site-gutter-left: 0.65rem;
    --site-gutter-right: 1.25rem;
    --brand-primary: #b54a30;
    --brand-primary-dark: #8a3822;
    --brand-primary-soft: #f3ebe8;
    --brand-surface: #fdfcfb;
    --brand-border: #ebe6e4;
    --brand-text-muted: #5c6670;
}

html {
    margin: 0;
    padding: 0;
    overflow-x: clip;
}

body {
    margin: 0;
    padding: 0;
    font-family: "nta", Arial, sans-serif;
    height: 100%;
    width: 100%;
    min-width: 0;
    padding-bottom: 3rem;
}

img {
    border: 0 solid #fff;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-surface) 100%);
    min-width: 0;
    border-bottom: 0;
    box-shadow: 0 4px 18px rgba(36, 42, 47, 0.06);
}

    .site-header .header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0.95rem var(--site-gutter-right) 0.85rem var(--site-gutter-left);
        min-height: 4.75rem;
        box-sizing: border-box;
    }

    .site-header .hs2-logo img {
        height: 2.75rem;
        width: auto;
        display: block;
    }

    .site-header .site-brand,
    .site-header .site-title {
        display: flex;
        align-items: center;
        gap: 0.9rem;
        flex: 0 0 auto;
        max-width: none;
        margin: 0;
        padding: 0.15rem 0;
        text-decoration: none;
        border-radius: 10px;
        transition: transform 0.15s ease;
    }

        .site-header .site-brand:hover,
        .site-header .site-title:hover {
            text-decoration: none;
            transform: translateY(-1px);
        }

            .site-header .site-brand:hover .site-brand-name,
            .site-header .site-title:hover .site-brand-name,
            .site-header .site-brand:hover .site-brand-tagline,
            .site-header .site-title:hover .site-brand-tagline {
                color: var(--brand-primary-dark);
            }

            .site-header .site-brand:focus-visible,
            .site-header .site-title:focus-visible {
                outline: 2px solid var(--brand-primary);
                outline-offset: 4px;
            }

    .site-header .site-brand-text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.15rem;
        line-height: 1.25;
        min-width: 0;
        padding-left: 0.15rem;
    }

    .site-header .site-brand-name,
    .site-header .site-brand-tagline {
        display: block;
    }

    .site-header .site-brand-name {
        color: var(--brand-primary);
        font-size: 1.22rem;
        font-weight: 700;
        letter-spacing: -0.01em;
        line-height: 1.2;
    }

    .site-header .site-brand-tagline {
        color: var(--brand-text-muted);
        font-size: 0.86rem;
        font-weight: 600;
        letter-spacing: 0.01em;
        line-height: 1.3;
    }

.site-header-accent {
    height: 3px;
    background: linear-gradient(90deg, #8a3822 0%, var(--brand-primary) 35%, #d4735a 65%, #8a3822 100%);
}

.site-header .header-toolbar,
.site-header .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.85rem;
    flex: 1 1 auto;
    min-width: 0;
    padding-left: 1.25rem;
    border-left: 1px solid var(--brand-border);
}

    .site-header .header-search {
        display: flex;
        align-items: stretch;
        flex: 1 1 15rem;
        max-width: 24rem;
        min-width: 0;
        border: 1px solid #d9d1ce;
        border-radius: 999px;
        overflow: hidden;
        background-color: #fff;
        box-shadow: inset 0 1px 2px rgba(36, 42, 47, 0.04), 0 2px 8px rgba(36, 42, 47, 0.05);
        transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }

        .site-header .header-search:focus-within {
            border-color: var(--brand-primary);
            box-shadow: inset 0 1px 2px rgba(36, 42, 47, 0.04), 0 0 0 3px rgba(181, 74, 48, 0.12);
        }

.header-search-leading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 1rem;
    color: #9ca3af;
    font-size: 0.88rem;
    flex-shrink: 0;
}

    .site-header .header-search:focus-within .header-search-leading {
        color: var(--brand-primary);
    }

    .site-header .header-nav {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        gap: 0.15rem;
        padding: 0.22rem;
        margin: 0;
        float: none;
        background: linear-gradient(180deg, #ffffff 0%, #f8f5f4 100%);
        border: 1px solid var(--brand-border);
        border-radius: 999px;
        box-shadow: 0 1px 4px rgba(36, 42, 47, 0.05);
    }





div.menu {
    width: 450px;
    float: left;
    overflow-y: auto;
    margin-top: 5px;
}

div.el {
    margin-left: 2px;
    background-color: #F3F4F4;
    border-radius: 11px;
    padding: 15px 15px;
    cursor: pointer;
    border-bottom: solid 4px #FFF;
    color: #b54a30;
}

.level .el {
    padding-left: 30px
}

.level .level .el {
    padding-left: 45px;
}

.level .level .level .el {
    padding-left: 60px;
}

.level .level .level .level .el {
    padding-left: 75px;
}

.el .fName {
    display: block;
    margin-left: 20px;
}

.el span.fimg {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../images/fcontr.png');
    float: left;
}



.el.expanded span.fimg {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../images/fexpand.png');
}



.el.selected span.fimg {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../images/fcontractive.png');
}

.el.selected.expanded span.fimg {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('../images/fexpandactive.png');
}

.content {
    margin-left: 490px;
    margin-top: 0;
    padding-top: 20px;
    margin-right: 1rem;
    color: #242A2F;
    min-width: 400px;
}

    .content h1 {
        color: #b54a30;
        font-size: 24px;
        margin-top: 0;
        padding-top: 20px;
    }

    .content #folderDescription {
        padding-bottom: 40px;
        border-bottom: 3px solid #E8E9E9;
        font-size: 90%;
        line-height: 140%;
    }

    .content .message {
        color: #b8b8b8;
        font-size: 20px;
        margin-top: 0;
        padding-top: 20px;
    }


.fileList {
    margin-right: 0;
    width: 100%;
}

.el div.desc {
    display: none;
}
.search {
    text-decoration: none;
    color: #242A2F;
    font-size: 90%;
}
.pdf {
    margin-left: 25px;
    margin-right: 25px;
    height: 40px;
    float: left;
    position: relative;
    top: -7px;
}
.files {
    display: none;
    width: 100%;
}

ol.files {
    list-style: decimal;
    list-style-position: outside;
    padding-left: 1.75rem;
    margin: 0 0 1rem;
    width: 100%;
    float: none;
    box-sizing: border-box;
}

ol li.file {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    align-items: center;
    column-gap: 1.25rem;
    row-gap: 0.5rem;
    width: 100%;
    margin: 0;
    padding: 0.85rem 0;
    border-bottom: 1px solid #eee9e7;
    float: none;
    clear: none;
    box-sizing: border-box;
}

    ol li.file::marker {
        color: #b54a30;
        font-weight: 700;
    }

li.file .fName {
    margin: 0;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1.45;
    display: inline;
    width: auto;
}

.file .fIndex {
    display: inline-block;
    width: auto;
    flex-shrink: 0;
}

.file img {
    vertical-align: middle;
}

    .file img.pdf {
        height: 2.5rem;
        width: auto;
        margin: 0;
        float: none;
        position: static;
        flex-shrink: 0;
    }

    .file img.synopsis-button {
        height: 1.6rem;
        width: auto;
        cursor: pointer;
        float: none;
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
        margin: 0;
    }

.file a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    text-decoration: none;
    color: #242A2F;
    float: none;
    margin-right: 0;
    width: auto;
    max-width: none;
    grid-column: 1;
    grid-row: 1;
}

li.file > table {
    display: contents;
    margin: 0;
    border-collapse: collapse;
}

    li.file > table tr {
        display: contents;
    }

    li.file > table td {
        padding: 0;
        vertical-align: middle;
        white-space: nowrap;
    }

        li.file > table td:first-child {
            grid-column: 2;
            grid-row: 1;
            justify-self: end;
            padding-right: 0;
            font-weight: 600;
            color: #4a5568;
        }

        li.file > table td:last-child {
            grid-column: 3;
            grid-row: 1;
            justify-self: end;
        }

.addToBasket {
    display: inline-block;
    padding: 0.5rem 1.15rem;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.4;
    color: #fff !important;
    background-color: #b54a30;
    border: 2px solid #b54a30;
    border-radius: 6px;
    cursor: pointer;
    white-space: nowrap;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(36, 42, 47, 0.14);
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

    .addToBasket:hover,
    .addToBasket:focus {
        background-color: #8a3822 !important;
        border-color: #8a3822 !important;
        color: #fff !important;
        box-shadow: 0 2px 6px rgba(36, 42, 47, 0.18);
    }

    .addToBasket:focus-visible {
        outline: 2px solid #b54a30;
        outline-offset: 2px;
    }

    .addToBasket:active {
        background-color: #7a3520 !important;
        border-color: #7a3520 !important;
        box-shadow: 0 1px 2px rgba(36, 42, 47, 0.12);
    }

li.file .addToBasket {
    float: none;
    margin: 0;
}

li.file .synopsis-text {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    float: none;
    clear: none;
    margin-top: 0.25rem;
    padding: 0.65rem 0.85rem;
    background-color: #faf9f8;
    border-radius: 4px;
    border: 1px solid #eee9e7;
}

.site-header a.button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #374151;
    padding: 0.48rem 0.85rem;
    font-size: 0.88rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 999px;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
}

    .site-header a.button i {
        font-size: 0.82rem;
        opacity: 0.85;
    }

    .site-header a.button:hover {
        color: var(--brand-primary);
        background-color: var(--brand-primary-soft);
        text-decoration: none;
        transform: translateY(-1px);
    }

    .site-header a.button.is-active,
    .site-header a.button[aria-current="page"] {
        color: #fff;
        background: linear-gradient(180deg, #c45638 0%, var(--brand-primary) 100%);
        box-shadow: 0 2px 8px rgba(181, 74, 48, 0.28);
    }

        .site-header a.button.is-active i,
        .site-header a.button[aria-current="page"] i {
            opacity: 1;
        }

        .site-header a.button.is-active:hover,
        .site-header a.button[aria-current="page"]:hover {
            color: #fff;
            background: linear-gradient(180deg, #b54a30 0%, var(--brand-primary-dark) 100%);
            transform: translateY(-1px);
        }

        .site-header a.button.is-active:focus-visible,
        .site-header a.button[aria-current="page"]:focus-visible {
            outline: 2px solid #242a2f;
            outline-offset: 2px;
        }

    .site-header #searchbox {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    margin: 0;
    padding: 0.55rem 0.5rem 0.55rem 0.35rem;
    font-size: 0.92rem;
    font-family: inherit;
    background: transparent;
    color: #242a2f;
    vertical-align: middle;
}

    .site-header #searchbox::placeholder {
        color: #6b7280;
    }

    .site-header #searchbox:focus {
        outline: none;
    }

.site-header .search-btn {
    flex-shrink: 0;
    background: linear-gradient(180deg, #c45638 0%, var(--brand-primary) 100%);
    color: #fff;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0 1.1rem;
    font-size: 0.84rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    margin: 0;
    transition: background 0.15s ease, transform 0.15s ease;
}

    .site-header .search-btn:hover {
        background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    }

    .site-header .search-btn i {
        display: none;
        font-size: 0.9rem;
    }

    .site-header .search-btn span {
        display: inline;
    }

    .site-header .search-btn:focus-visible {
        outline: 2px solid #242a2f;
        outline-offset: -2px;
    }

.navigation {
    font-size: 0.95rem;
    color: #242a2f;
}

.synopsis-text {
    display: none;
    font-size: 0.9rem;
    line-height: 1.55;
}

/* ---------------  start page      */
.container-fluid {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: var(--site-gutter-left);
    padding-right: var(--site-gutter-right);
    box-sizing: border-box;
}

#start-content {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 1.75rem;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 2rem 0 1.75rem;
    overflow: auto;
    margin-bottom: 10px;
    color: #242a2f;
}

#start-content .home-section + .home-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee9e7;
}

#start-content .home-section--last {
    padding-bottom: 0.25rem;
}

#start-content h2 {
    color: #b54a30;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid #f3ebe8;
}

#start-content .home-lead {
    font-size: 16px;
    line-height: 1.7;
}

#start-content p {
    font-size: 15px;
    line-height: 1.65;
    margin: 0 0 0.85rem;
}

#start-content ol,
#start-content ul {
    font-size: 15px;
    line-height: 1.65;
    margin: 0.25rem 0 1rem;
    padding-left: 1.35rem;
}

#start-content ol li {
    margin-bottom: 0.55rem;
    padding-left: 0.15rem;
}

#start-content ol li::marker {
    color: #b54a30;
    font-weight: 700;
}

#start-content .home-phases {
    list-style: none;
    padding-left: 0;
    counter-reset: home-phase;
}

    #start-content .home-phases li {
        position: relative;
        counter-increment: home-phase;
        margin-bottom: 0.65rem;
        padding: 0.75rem 0.85rem 0.75rem 2.75rem;
        background-color: #faf9f8;
        border: 1px solid #eee9e7;
        border-radius: 4px;
    }

        #start-content .home-phases li::before {
            content: counter(home-phase);
            position: absolute;
            left: 0.85rem;
            top: 0.8rem;
            width: 1.5rem;
            height: 1.5rem;
            line-height: 1.5rem;
            text-align: center;
            font-size: 13px;
            font-weight: 700;
            color: #fff;
            background-color: #b54a30;
            border-radius: 50%;
        }

#start-content .home-ap-list {
    list-style: none;
    padding-left: 0;
}

    #start-content .home-ap-list li {
        position: relative;
        margin-bottom: 0.65rem;
        padding: 0.75rem 0.85rem 0.75rem 1.1rem;
        background-color: #faf9f8;
        border-left: 3px solid #b54a30;
        border-radius: 0 4px 4px 0;
    }

        #start-content .home-ap-list li::before {
            display: none;
        }

#start-content ul:not(.home-ap-list) {
    list-style: none;
    padding-left: 0;
}

    #start-content ul:not(.home-ap-list) li {
        position: relative;
        padding-left: 1.1rem;
        margin-bottom: 0.65rem;
    }

        #start-content ul:not(.home-ap-list) li::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.62em;
            width: 7px;
            height: 7px;
            background-color: #b54a30;
            border-radius: 50%;
        }

#info-column {
    flex: 1 1 0;
    min-width: 0;
    width: auto;
    float: none;
}

    #info-column .info-content {
        margin: 0;
        max-width: none;
    }

#map-column {
    flex: 0 0 18rem;
    width: auto;
    float: none;
}

#map-column .home-sidebar-label {
    margin: 0 0 0.35rem;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #8a3822;
}

#map-column h2 {
    font-size: 18px;
    margin-top: 0;
}

    #map-column h2 + h2,
    #map-column p + h2 {
        margin-top: 1.5rem;
    }

#map-column strong {
    color: #b54a30;
}

#map-content {
    margin: 0;
}

    #map-content.home-sidebar {
        background-color: #faf9f8;
        border: 1px solid #ebe6e4;
        border-left: 4px solid #b54a30;
        border-radius: 6px;
        padding: 1.5rem 1.35rem 1.65rem;
        box-shadow: 0 2px 8px rgba(36, 42, 47, 0.06);
    }

    #map-content img {
        margin: 20px auto 0 auto;
        width: 100%;
    }

#start-content a {
    color: #b54a30;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

    #start-content a:hover {
        color: #8a3822;
    }

    #start-content a:focus-visible {
        outline: 2px solid #b54a30;
        outline-offset: 2px;
    }

    #start-content a[target="_blank"]::after {
        content: " \2197";
        font-size: 0.85em;
        font-weight: 400;
    }

#start-content .home-cta-wrap {
    text-align: center;
    margin-top: 1.25rem;
}

#start-content .home-cta-button {
    display: inline-block;
    margin-top: 0.25rem;
    padding: 0.65rem 1.5rem;
    background-color: #b54a30;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

    #start-content .home-cta-button:hover {
        background-color: #8a3822;
        color: #fff !important;
    }

/*  --------------- end start page     */

/* --------------- static pages (Contact, Help, etc.) */
.static-page {
    padding: 2.5rem 0 3rem;
    color: #242a2f;
}

.static-page-inner {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.75rem;
    box-sizing: border-box;
}

.static-page-header {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid #f3ebe8;
}

    .static-page-header h1 {
        margin: 0 0 0.65rem;
        color: #b54a30;
        font-size: 2rem;
        font-weight: 700;
        line-height: 1.25;
    }

.static-page-intro {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #4a5568;
}

.contact-page-inner {
    max-width: 56rem;
}

.contact-page-header {
    text-align: center;
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-page-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a3822;
}

.contact-page-header .static-page-intro {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem;
    align-items: stretch;
}

.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background-color: #fff;
    border: 1px solid #e8e3e1;
    border-radius: 10px;
    padding: 1.65rem 1.75rem 1.5rem;
    box-shadow: 0 4px 16px rgba(36, 42, 47, 0.06);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .contact-card::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background-color: #b54a30;
    }

    .contact-card:hover {
        border-color: #d4ccc9;
        box-shadow: 0 8px 24px rgba(36, 42, 47, 0.09);
        transform: translateY(-2px);
    }

.contact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background-color: #f3ebe8;
    color: #b54a30;
    font-size: 1.15rem;
}

.contact-card-title {
    margin: 0 0 0.65rem;
    color: #b54a30;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
}

.contact-card-text {
    margin: 0;
    flex: 1 1 auto;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4a5568;
}

    .contact-card-text strong {
        color: #242a2f;
        font-weight: 700;
    }

.contact-card-action {
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 1px solid #eee9e7;
}

.contact-card-label {
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #b54a30;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    word-break: break-word;
}

.contact-card-link--cta {
    width: 100%;
    max-width: 100%;
    padding: 0.7rem 1rem;
    background-color: #faf9f8;
    border: 1px solid #e8e3e1;
    border-radius: 8px;
    box-sizing: border-box;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

    .contact-card-link--cta:hover {
        color: #8a3822;
        background-color: #fff;
        border-color: #b54a30;
        text-decoration: none;
    }

    .contact-card-link:focus-visible {
        outline: 2px solid #b54a30;
        outline-offset: 2px;
    }

    .contact-card-link i {
        flex-shrink: 0;
        font-size: 1rem;
    }

.contact-page-aside {
    margin-top: 2rem;
    padding: 1.15rem 1.35rem;
    text-align: center;
    background-color: #f3ebe8;
    border-radius: 8px;
    border: 1px solid #ebe6e4;
}

    .contact-page-aside p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.6;
        color: #242a2f;
    }

    .contact-page-aside a {
        color: #b54a30;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .contact-page-aside a:hover {
            color: #8a3822;
        }

@media (max-width: 720px) {
    .contact-page-header {
        text-align: left;
    }

    .contact-page-header .static-page-intro {
        margin-left: 0;
        margin-right: 0;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .contact-card:hover {
        transform: none;
    }
}

.static-page-body {
    font-size: 0.98rem;
    line-height: 1.65;
}

    .static-page-body a {
        color: #b54a30;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .static-page-body a:hover {
            color: #8a3822;
        }

.help-page-inner {
    max-width: 44rem;
}

.help-page-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.help-page-eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8a3822;
}

.help-page-header .static-page-intro {
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.help-page-body {
    margin: 0;
}

.help-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.help-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
    margin: 0;
    padding: 1.25rem 1.35rem;
    background-color: #fff;
    border: 1px solid #e8e3e1;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(36, 42, 47, 0.05);
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

    .help-step:hover {
        border-color: #d4ccc9;
        box-shadow: 0 6px 20px rgba(36, 42, 47, 0.08);
        transform: translateY(-1px);
    }

    .help-step:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 2.35rem;
        top: calc(100% + 0.1rem);
        width: 2px;
        height: 0.75rem;
        background-color: #e8e3e1;
        z-index: 0;
    }

.help-step-badge {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    width: 3.25rem;
    min-height: 3.25rem;
    padding: 0.35rem 0.25rem;
    background-color: #f3ebe8;
    border-radius: 10px;
    color: #b54a30;
}

.help-step-num {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a3822;
    line-height: 1;
}

.help-step-badge i {
    font-size: 1.15rem;
    line-height: 1;
}

.help-step-content {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 0.1rem;
}

.help-step-title {
    margin: 0 0 0.4rem;
    color: #b54a30;
    font-size: 1.12rem;
    font-weight: 700;
    line-height: 1.35;
}

.help-step p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.65;
    color: #4a5568;
}

    .help-step p strong {
        color: #242a2f;
        font-weight: 700;
    }

.help-page-aside,
.help-tip {
    margin-top: 1.75rem;
    padding: 1.15rem 1.35rem;
    text-align: center;
    background-color: #f3ebe8;
    border-radius: 8px;
    border: 1px solid #ebe6e4;
}

    .help-page-aside p,
    .help-tip p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.6;
        color: #242a2f;
    }

    .help-page-aside a,
    .help-tip a {
        color: #b54a30;
        font-weight: 700;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .help-page-aside a:hover,
        .help-tip a:hover {
            color: #8a3822;
        }

@media (max-width: 720px) {
    .help-page-header {
        text-align: left;
    }

    .help-page-header .static-page-intro {
        margin-left: 0;
        margin-right: 0;
    }

    .help-step {
        gap: 0.9rem;
        padding: 1.1rem 1rem;
    }

        .help-step:hover {
            transform: none;
        }

        .help-step:not(:last-child)::after {
            left: 2rem;
        }

    .help-step-badge {
        width: 2.85rem;
        min-height: 2.85rem;
    }
}

.basket-page-inner {
    max-width: 56rem;
}

.basket-empty {
    text-align: center;
    padding: 2.5rem 1.5rem 3rem;
    background-color: #faf9f8;
    border: 1px solid #ebe6e4;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(36, 42, 47, 0.05);
}

.basket-empty-icon {
    font-size: 2.75rem;
    color: #d4ccc9;
    margin-bottom: 1rem;
}

.basket-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #242a2f;
}

.basket-empty-text {
    margin: 0 0 1.5rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.search-page-inner {
    max-width: 56rem;
}

.search-empty {
    text-align: center;
    padding: 2.5rem 1.5rem 3rem;
    background-color: #faf9f8;
    border: 1px solid #ebe6e4;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(36, 42, 47, 0.05);
}

.search-empty-icon {
    font-size: 2.75rem;
    color: #d4ccc9;
    margin-bottom: 1rem;
}

.search-empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #242a2f;
}

.search-empty-text {
    margin: 0 0 1.5rem;
    color: #4a5568;
    font-size: 1rem;
    line-height: 1.6;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}

.search-empty-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.search-results-count {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a5568;
}

.search-results-panel {
    background-color: #fff;
    border: 1px solid #ebe6e4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(36, 42, 47, 0.06);
    overflow: hidden;
}

.search-results-table-wrap {
    overflow-x: auto;
}

.search-results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

    .search-results-table thead th {
        background-color: #f3ebe8;
        color: #242a2f;
        font-weight: 700;
        text-align: left;
        padding: 0.85rem 1rem;
        border-bottom: 2px solid #e8ddd9;
        white-space: nowrap;
    }

    .search-results-table tbody td {
        padding: 0.9rem 1rem;
        border-bottom: 1px solid #eee9e7;
        vertical-align: middle;
    }

    .search-results-table tbody tr:hover {
        background-color: #faf9f8;
    }

.search-col-icon {
    width: 4.5rem;
    text-align: center;
}

    .search-col-icon .pdf {
        height: 2.5rem;
        width: auto;
        margin: 0;
        float: none;
        top: 0;
    }

.search-col-title {
    min-width: 12rem;
}

    .search-col-title a.search {
        color: #242a2f;
        font-weight: 700;
        text-decoration: none;
    }

        .search-col-title a.search:hover {
            color: #b54a30;
            text-decoration: underline;
        }

.search-col-price {
    width: 6rem;
    text-align: right;
    white-space: nowrap;
    font-weight: 600;
}

.search-col-action {
    width: 10rem;
    text-align: right;
}

.basket-panel {
    background-color: #ffffff;
    border: 1px solid #ebe6e4;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(36, 42, 47, 0.06);
    overflow: hidden;
}

.basket-table-wrap {
    overflow-x: auto;
}

.basket-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

    .basket-table thead th {
        background-color: #f3ebe8;
        color: #242a2f;
        font-weight: 700;
        text-align: left;
        padding: 0.85rem 1rem;
        border-bottom: 2px solid #e8ddd9;
        white-space: nowrap;
    }

    .basket-table tbody td,
    .basket-table tbody th {
        padding: 0.9rem 1rem;
        border-bottom: 1px solid #eee9e7;
        vertical-align: middle;
    }

    .basket-table tbody tr:hover {
        background-color: #faf9f8;
    }

.basket-col-num {
    width: 2.5rem;
    text-align: center;
}

.basket-col-view,
.basket-col-remove {
    text-align: center;
    width: 4rem;
}

.basket-col-qty {
    width: 8.5rem;
    text-align: center;
}

.basket-col-price,
.basket-col-vat {
    text-align: right;
    white-space: nowrap;
}

.basket-doc-id {
    display: block;
    font-weight: 700;
    color: #b54a30;
    font-size: 0.85rem;
}

.basket-doc-title {
    display: block;
    margin-top: 0.15rem;
    color: #242a2f;
}

.basket-pdf-link {
    display: inline-block;
    line-height: 0;
}

    .basket-pdf-link .pdf {
        float: none;
        margin: 0;
        top: 0;
        height: 2rem;
    }

.basket-qty {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #faf9f8;
    border: 1px solid #e8e3e1;
    border-radius: 6px;
    padding: 0.2rem 0.35rem;
}

.basket-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    color: #b54a30;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
}

    .basket-qty-btn:hover {
        background-color: #f3ebe8;
        color: #8a3822;
    }

.basket-qty-value {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 600;
}

.basket-remove-btn {
    display: inline-flex;
    color: #8a3822;
    font-size: 1.35rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

    .basket-remove-btn:hover {
        color: #b54a30;
    }

.basket-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background-color: #faf9f8;
    border-top: 2px solid #f3ebe8;
}

.basket-total {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.basket-total-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.basket-total-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #b54a30;
}

.basket-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-basket {
    display: inline-block;
    padding: 0.65rem 1.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-align: center;
}

.btn-basket-primary {
    background-color: #b54a30;
    color: #fff !important;
    border-color: #b54a30;
}

    .btn-basket-primary:hover {
        background-color: #8a3822;
        border-color: #8a3822;
        color: #fff !important;
        text-decoration: none;
    }

.btn-basket-secondary {
    background-color: #fff;
    color: #b54a30 !important;
    border-color: #b54a30;
}

    .btn-basket-secondary:hover {
        background-color: #f3ebe8;
        color: #8a3822 !important;
        text-decoration: none;
    }

@media (max-width: 768px) {
    .basket-summary {
        flex-direction: column;
        align-items: stretch;
    }

    .basket-actions {
        flex-direction: column;
    }

    .btn-basket {
        width: 100%;
    }
}

/* --------------- address entry */
.address-page-inner {
    max-width: 40rem;
}

.address-page-header {
    margin-bottom: 1.35rem;
    padding-bottom: 1rem;
}

.address-form {
    width: 100%;
    min-width: 0;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.address-stack {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.address-card {
    background-color: #faf9f8;
    border: 1px solid #ebe6e4;
    border-left: 4px solid #b54a30;
    border-radius: 8px;
    padding: 1.1rem 1.25rem 1.2rem;
    box-shadow: 0 2px 8px rgba(36, 42, 47, 0.05);
}

.address-card--billing {
    padding-bottom: 1rem;
}

.address-card-title {
    margin: 0 0 0.75rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid #eee9e7;
    color: #b54a30;
    font-size: 1.05rem;
    font-weight: 700;
}

.address-billing-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem 1rem;
    margin-bottom: 0.5rem;
}

    .address-billing-top .address-card-title {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: 0;
        flex: 1 1 auto;
    }

.address-same-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    padding: 0.4rem 0.65rem;
    background-color: #fff;
    border: 1px solid #e8e3e1;
    border-radius: 999px;
    flex-shrink: 0;
}

    .address-same-checkbox label {
        margin: 0;
        font-weight: 600;
        font-size: 0.88rem;
        color: #242a2f;
        cursor: pointer;
        white-space: nowrap;
    }

    .address-same-checkbox input[type="checkbox"] {
        width: 1rem;
        height: 1rem;
        accent-color: #b54a30;
        cursor: pointer;
    }

.address-billing-same-note {
    margin: 0 0 0.25rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #4a5568;
    background-color: #fff;
    border: 1px dashed #d4ccc9;
    border-radius: 6px;
}

.address-billing-hidden {
    display: none !important;
}

.address-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0.85rem;
    row-gap: 0.5rem;
    align-items: start;
}

.address-field {
    margin: 0;
    min-width: 0;
}

    .address-field label {
        display: block;
        margin-bottom: 0.2rem;
        font-size: 0.8rem;
        font-weight: 600;
        color: #4a5568;
    }

.address-field--full {
    grid-column: 1 / -1;
}

.address-locality-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.15fr 1.15fr 0.9fr;
    gap: 0.85rem;
}

.address-optional-lines {
    grid-column: 1 / -1;
    margin: 0.15rem 0 0;
    padding: 0.45rem 0.65rem;
    background-color: #fff;
    border: 1px solid #ebe6e4;
    border-radius: 6px;
}

    .address-optional-lines[open] {
        padding-bottom: 0.55rem;
    }

.address-optional-summary {
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 600;
    color: #b54a30;
    list-style: none;
    user-select: none;
}

    .address-optional-summary::-webkit-details-marker {
        display: none;
    }

    .address-optional-summary::before {
        content: "+ ";
        font-weight: 700;
    }

.address-optional-lines[open] .address-optional-summary::before {
    content: "− ";
}

.address-optional-hint {
    font-weight: 400;
    color: #6b7280;
}

.address-optional-body {
    display: grid;
    gap: 0.5rem;
    margin-top: 0.55rem;
    padding-top: 0.55rem;
    border-top: 1px solid #eee9e7;
}

.address-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

.address-input {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.45rem 0.7rem;
    font-size: 0.92rem;
    font-family: inherit;
    color: #242a2f;
    background-color: #fff;
    border: 1px solid #d4ccc9;
    border-radius: 6px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

    .address-input:focus {
        outline: none;
        border-color: #b54a30;
        box-shadow: 0 0 0 3px rgba(181, 74, 48, 0.12);
    }

.address-validation,
.address-page .field-validation-error {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: #a33b2a;
    font-weight: 600;
}

.address-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.35rem;
    padding-top: 1.15rem;
    border-top: 2px solid #f3ebe8;
}

    .address-actions .btn-basket {
        min-width: 10rem;
    }

@media (max-width: 600px) {
    .address-fields-grid {
        grid-template-columns: 1fr;
    }

    .address-locality-row {
        grid-template-columns: 1fr;
    }

    .address-billing-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .address-same-checkbox label {
        white-space: normal;
    }
}

/* --------------- checkout review */
.checkout-page-inner {
    max-width: 56rem;
}

.checkout-section {
    margin-bottom: 2rem;
}

.checkout-section-title {
    margin: 0 0 1rem;
    color: #b54a30;
    font-size: 1.2rem;
    font-weight: 700;
}

.checkout-summary-inline {
    justify-content: flex-end;
}

.checkout-summary-inline .basket-total {
    align-items: flex-end;
    text-align: right;
}

.checkout-address-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.checkout-address-card {
    background-color: #faf9f8;
    border: 1px solid #ebe6e4;
    border-left: 4px solid #b54a30;
    border-radius: 8px;
    padding: 1rem 1.15rem 1.1rem;
    box-shadow: 0 2px 8px rgba(36, 42, 47, 0.05);
}

.checkout-address-card-title {
    margin: 0 0 0.65rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid #eee9e7;
    color: #b54a30;
    font-size: 1rem;
    font-weight: 700;
}

.address-review-list {
    margin: 0;
}

.address-review-list--compact .address-review-row {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.35rem 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid #eee9e7;
    font-size: 0.88rem;
    line-height: 1.4;
}

    .address-review-list--compact .address-review-row:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .address-review-list--compact .address-review-row dt {
        margin: 0;
        font-weight: 600;
        color: #4a5568;
    }

    .address-review-list--compact .address-review-row dd {
        margin: 0;
        color: #242a2f;
        word-break: break-word;
    }

.address-review-address {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.address-line--locality {
    color: #4a5568;
}

.address-review-contact a {
    color: #b54a30;
    font-weight: 600;
    text-decoration: none;
}

    .address-review-contact a:hover {
        text-decoration: underline;
    }

.address-contact-sep {
    color: #9ca3af;
}

.checkout-test-banner {
    margin-bottom: 1.5rem;
    padding: 0.9rem 1.1rem;
    background-color: #fff8e6;
    border: 1px solid #f0d58c;
    border-left: 4px solid #c9a227;
    border-radius: 8px;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #5c4a12;
}

.checkout-test-banner--confirm {
    margin-bottom: 1.25rem;
}

.checkout-legal {
    margin-bottom: 1.5rem;
    padding: 1.15rem 1.35rem;
    background-color: #f3ebe8;
    border-radius: 6px;
    border-left: 4px solid #b54a30;
}

.checkout-accept-terms {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

    .checkout-accept-terms input[type="checkbox"] {
        flex-shrink: 0;
        width: 1.15rem;
        height: 1.15rem;
        margin-top: 0.2rem;
        accent-color: #b54a30;
        cursor: pointer;
    }

    .checkout-accept-terms label {
        margin: 0;
        font-size: 0.92rem;
        line-height: 1.65;
        color: #242a2f;
        cursor: pointer;
        font-weight: 400;
    }

    .checkout-legal a {
        color: #b54a30;
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 2px;
    }

        .checkout-legal a:hover {
            color: #8a3822;
        }

.btn-basket-primary:disabled,
.btn-basket-primary[disabled],
.btn-basket-primary.btn-basket-disabled {
    background-color: #c5bcb8 !important;
    border-color: #c5bcb8 !important;
    color: #f8f6f5 !important;
    cursor: not-allowed !important;
    opacity: 1;
    box-shadow: none;
    pointer-events: none;
}

    .btn-basket-primary:disabled:hover,
    .btn-basket-primary[disabled]:hover,
    .btn-basket-primary.btn-basket-disabled:hover {
        background-color: #c5bcb8 !important;
        border-color: #c5bcb8 !important;
        color: #f8f6f5 !important;
    }

.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f3ebe8;
}

.checkout-pay-form {
    margin: 0;
    padding: 0;
    width: auto;
    min-width: 0;
    box-shadow: none;
    border-radius: 0;
}

@media (max-width: 768px) {
    .checkout-address-columns {
        grid-template-columns: 1fr;
    }

    .address-review-list--compact .address-review-row {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .checkout-actions {
        flex-direction: column;
    }

    .checkout-actions .btn-basket,
    .checkout-pay-form {
        width: 100%;
    }

    .checkout-pay-form .btn-basket {
        width: 100%;
    }
}

/* --------------- order confirmation */
.order-confirm-page-inner {
    max-width: 48rem;
}

.order-confirm-hero {
    text-align: center;
    margin-bottom: 2rem;
    padding: 2rem 1.5rem 1.75rem;
    border-radius: 10px;
    border: 1px solid #ebe6e4;
    box-shadow: 0 4px 16px rgba(36, 42, 47, 0.06);
}

.order-confirm-hero--success {
    background: linear-gradient(180deg, #ffffff 0%, #faf9f8 100%);
    border-left: 4px solid #3d8b5f;
}

.order-confirm-hero--error {
    background: linear-gradient(180deg, #ffffff 0%, #fdf8f7 100%);
    border-left: 4px solid #b54a30;
}

.order-confirm-icon {
    font-size: 3rem;
    color: #3d8b5f;
    margin-bottom: 0.85rem;
    line-height: 1;
}

.order-confirm-icon--error {
    color: #b54a30;
}

.order-confirm-header {
    margin: 0 0 1.25rem;
}

    .order-confirm-header h1 {
        margin: 0 0 0.5rem;
        color: #242a2f;
        font-size: 1.75rem;
        font-weight: 700;
        line-height: 1.25;
    }

.order-confirm-lead {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1rem;
    line-height: 1.65;
    color: #4a5568;
}

.order-confirm-meta {
    display: inline-grid;
    grid-template-columns: auto auto;
    gap: 0.5rem 2rem;
    margin: 0;
    padding: 1rem 1.35rem;
    text-align: left;
    background-color: #fff;
    border: 1px solid #eee9e7;
    border-radius: 8px;
}

.order-confirm-meta-row {
    display: contents;
}

.order-confirm-meta dt {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.order-confirm-meta dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #242a2f;
}

.order-confirm-section {
    margin-bottom: 1.5rem;
}

.order-confirm-aside {
    margin-bottom: 1.5rem;
    padding: 1rem 1.2rem;
    text-align: center;
    background-color: #f3ebe8;
    border: 1px solid #ebe6e4;
    border-radius: 8px;
}

    .order-confirm-aside p {
        margin: 0;
        font-size: 0.95rem;
        line-height: 1.6;
        color: #242a2f;
    }

.order-confirm-link {
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

    .order-confirm-link:hover {
        color: var(--brand-primary-dark);
    }

.order-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

@media (max-width: 600px) {
    .order-confirm-hero {
        padding: 1.5rem 1rem 1.25rem;
    }

    .order-confirm-header h1 {
        font-size: 1.45rem;
    }

    .order-confirm-meta {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: 100%;
        box-sizing: border-box;
    }

    .order-confirm-meta-row {
        display: block;
    }

    .order-confirm-actions {
        flex-direction: column;
    }

        .order-confirm-actions .btn-basket {
            width: 100%;
        }
}

/* --------------- end static pages */

#go-to-document-library {
    text-align: center;
}

    #go-to-document-library img {
        width: 450px;
        margin-top: 50px;
    }

/* --------------- interactive map page */
.map-page-inner {
    max-width: 64rem;
}

.map-page-header {
    text-align: left;
}

.map-embed-panel {
    margin-bottom: 1rem;
    border: 1px solid #ebe6e4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(36, 42, 47, 0.08);
    background-color: #faf9f8;
}

.map-embed-frame {
    display: block;
    width: 100%;
    height: min(70vh, 42rem);
    min-height: 24rem;
    border: 0;
}

.map-embed-note {
    margin: 0 0 1.5rem;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #4a5568;
    background-color: #f3ebe8;
    border-radius: 6px;
    border-left: 4px solid #b54a30;
}

    .map-embed-note i {
        color: #b54a30;
        margin-right: 0.35rem;
    }

.map-placeholder {
    text-align: center;
    padding: 3rem 1.5rem;
    margin-bottom: 1.5rem;
    background-color: #faf9f8;
    border: 1px dashed #d4ccc9;
    border-radius: 8px;
}

.map-placeholder-icon {
    font-size: 2.75rem;
    color: #d4ccc9;
    margin-bottom: 1rem;
}

.map-placeholder-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #242a2f;
}

.map-placeholder-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.6;
    color: #4a5568;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
}

.map-page-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

@media (max-width: 600px) {
    .map-embed-frame {
        min-height: 18rem;
        height: 55vh;
    }
}


#top-navigation {
    padding: 0;
    height: 100%;
    margin-top: 0;

}

    #top-navigation li {
        float: left;
        width: 20%;
        text-align: center;
        padding: 18px 0;
        background-color: #b54a30;
        list-style-type: none;
        font-size: 17px;
    }

        #top-navigation li a {
            text-decoration: none;
            color: white;
        }

.menu > .child > div.el {
    background-color: #E8E9E9;
}

    div.el.selected, .menu > .child > div.el.selected {
        background-color: #b54a30;
        color: #fff;
    }

/* ----------- footer ----------- */
#footer {
    position: fixed;
    bottom: 0;
    background-color: #3C3C3C;
    color: #fff;
    text-align: center;
    height: 40px;
    font-size: 80%;
    line-height: 40px;
    clear: both;
    margin-top: 20px;
    width: 100%;
}

    #footer a {
        color: #fff;
        text-decoration: underline;
    }


#search {
    cursor: pointer;
}





#top-navigation-container {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    background-color: #b54a30;
    width: 100vw;
    position: relative;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
    overflow: visible;
}

.dropdown {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: min-content;
    position: relative;
    margin: 0;
    padding: 0;
    border-right: 1px solid #fff;
    box-sizing: border-box;
}

    .dropdown .dropdown-label {
        flex: 1 1 auto;
        background-color: #b54a30;
        color: white;
        text-align: left;
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 8px;
        padding-bottom: 8px;
        font-size: 15px;
        font-weight: 700;
        white-space: normal;
        max-width: none;
        width: 100%;
        min-height: 40px;
        display: flex;
        align-items: center;
        box-sizing: border-box;
    }

        .dropdown .dropdown-label a,
        .dropdown .dropdown-label-link {
            color: #fff;
            font-weight: 700;
            text-decoration: none;
        }

        .dropdown .dropdown-label:hover {
            background-color: #8a3822;
        }

        .dropdown .dropdown-label a:hover,
        .dropdown .dropdown-label-link:hover {
            color: #fff;
            text-decoration: none;
        }

.dropdown-label-text,
.dropdown-label-link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    line-height: 1.25;
    width: 100%;
}

.dropdown-label-title {
    font-weight: 700;
}

.dropdown-label-date {
    font-size: 0.88rem;
    font-weight: 700;
    opacity: 0.92;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: auto;
    min-width: 100%;
    width: max-content;
    max-width: min(32rem, calc(100vw - 2rem));
    padding: 0 !important;
    z-index: 100;
    box-sizing: border-box;
}

    .dropdown-menu ul li {
        list-style: none;
        display: block;
        padding: 0;
        margin: 0;
        background-color: #b54a30 !important;
    }

    .dropdown-menu ul {
        margin: 0;
        padding: 0;
    }

        .dropdown-menu ul li a {
            color: white;
            text-decoration: none;
            display: block;
            margin: 0;
            padding: 10px 20px;
            line-height: 1.4;
            white-space: normal;
        }

        .dropdown-menu ul li:hover {
            background-color: #8a3822 !important;
        }

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown:hover .dropdown-label {
    background-color: #8a3822;
}

/* =============== Responsive layout =============== */

@media (max-width: 1100px) {
    #start-content {
        flex-wrap: wrap;
    }

    #map-column {
        flex: 1 1 100%;
        max-width: none;
    }
}

@media (max-width: 992px) {
    .site-header .header-inner {
        flex-wrap: wrap;
        gap: 0.85rem;
        padding: 0.75rem var(--site-gutter-right) 0.75rem var(--site-gutter-left);
    }

    .site-header .site-brand,
    .site-header .site-title {
        flex: 1 1 100%;
        max-width: none;
    }

    .site-header .site-brand-name {
        font-size: 1.1rem;
    }

    .site-header .header-toolbar,
    .site-header .header-actions {
        flex: 1 1 100%;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding-left: 0;
        border-left: 0;
    }

    .site-header .header-search {
        flex: 1 1 100%;
        max-width: none;
    }

    .site-header .header-nav {
        flex: 1 1 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.25rem;
        border-radius: 10px;
    }

    .site-header a.button {
        padding: 0.45rem 0.7rem;
        font-size: 0.9rem;
    }

    #top-navigation-container {
        width: 100%;
        margin-left: 0;
        display: flex;
        flex-direction: column;
    }

    .dropdown {
        display: flex;
        flex: 1 1 auto;
        width: 100%;
        min-width: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    }

        .dropdown:last-child {
            border-bottom: 0;
        }

    .dropdown .dropdown-label {
        max-width: none;
        width: 100%;
        box-sizing: border-box;
        cursor: pointer;
    }

    .dropdown-label-date {
        white-space: normal;
    }

    .dropdown:has(.dropdown-menu) .dropdown-label::after {
        content: "";
        display: inline-block;
        width: 0.45rem;
        height: 0.45rem;
        margin-left: auto;
        border-right: 2px solid #fff;
        border-bottom: 2px solid #fff;
        transform: rotate(45deg);
        transition: transform 0.15s ease;
        flex-shrink: 0;
    }

    .dropdown.is-open .dropdown-label::after {
        transform: rotate(-135deg);
    }

    .dropdown:hover .dropdown-menu {
        display: none;
    }

    .dropdown.is-open .dropdown-menu,
    .dropdown:focus-within .dropdown-menu {
        display: block;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        max-width: none;
        box-shadow: inset 0 4px 8px rgba(0, 0, 0, 0.12);
    }

    .row.no-gutters > div {
        width: 100%;
    }

    div.menu {
        width: 100%;
        float: none;
        max-height: min(42vh, 20rem);
        box-sizing: border-box;
    }

    .content {
        margin-left: 0;
        margin-right: 0;
        min-width: 0;
        padding-top: 1rem;
        width: 100%;
    }

    .fileList {
        margin-right: 0;
    }

    .static-page {
        padding: 1.75rem 0 2.5rem;
    }

    .static-page-inner {
        padding: 0 1rem;
    }

    .static-page-header h1 {
        font-size: 1.65rem;
    }

    .checkout-summary-inline {
        flex-direction: column;
        align-items: stretch;
    }

    .checkout-summary-inline .basket-total {
        align-items: flex-start;
        text-align: left;
    }
}

@media (max-width: 768px) {
    :root {
        --site-gutter-left: 0.5rem;
        --site-gutter-right: 0.75rem;
    }

    #start-content {
        padding: 1.25rem 0 1rem;
        gap: 1.25rem;
    }

    #start-content h2 {
        font-size: 1.25rem;
    }

    #start-content .home-lead,
    #start-content p,
    #start-content ol,
    #start-content ul {
        font-size: 0.95rem;
    }

    .basket-table {
        font-size: 0.85rem;
    }

        .basket-table thead th,
        .basket-table tbody td,
        .basket-table tbody th {
            padding: 0.65rem 0.5rem;
        }

    .basket-col-qty {
        width: auto;
    }

    ol li.file {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
    }

    li.file > a {
        width: 100%;
    }

    li.file > table {
        display: block;
        width: 100%;
    }

        li.file > table tr {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            gap: 0.65rem 1rem;
        }

        li.file > table td {
            display: block;
            white-space: normal;
            grid-column: unset;
            grid-row: unset;
            justify-self: unset;
        }

            li.file > table td:first-child {
                padding-right: 0;
            }

    li.file .addToBasket {
        margin-left: auto;
        width: auto;
        max-width: none;
        text-align: center;
        box-sizing: border-box;
    }

    .file img.synopsis-button {
        align-self: flex-end;
        grid-column: unset;
        grid-row: unset;
    }

    #footer.site-footer,
    #footer {
        position: static;
        height: auto;
        min-height: 2.5rem;
        line-height: 1.45;
        padding: 0.75rem 1rem;
        font-size: 0.78rem;
    }

    body {
        padding-bottom: 0;
    }

    .address-actions {
        flex-direction: column;
    }

        .address-actions .btn-basket {
            width: 100%;
            min-width: 0;
        }

    .checkout-accept-terms {
        align-items: flex-start;
    }
}

@media (max-width: 1100px) {
    .site-header .search-btn span {
        display: none;
    }

    .site-header .search-btn i {
        display: inline;
    }

    .site-header .search-btn {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .site-header .header-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
    }

        .site-header .header-nav .button {
            justify-content: center;
            justify-self: stretch;
        }

    .site-header a.button {
        white-space: normal;
    }

    .contact-card,
    .address-card,
    .checkout-address-card {
        padding: 1rem 1rem 1.1rem;
    }

    .basket-doc-title {
        font-size: 0.9rem;
    }
}

/* Legacy document tables */
.row.no-gutters table {
    width: 100%;
    max-width: 100%;
}

@media (max-width: 768px) {
    .search-results-table thead {
        display: none;
    }

    .search-results-table tbody tr {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem;
        border-bottom: 1px solid #eee9e7;
    }

    .search-results-table tbody td {
        display: block;
        width: 100% !important;
        padding: 0 !important;
        border: 0;
    }

    .search-col-action {
        text-align: left;
    }

    .search-col-action .addToBasket {
        width: 100%;
        max-width: 16rem;
    }

    .search-empty-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .search-empty-actions .btn-basket {
            width: 100%;
        }

    .row.no-gutters table tr {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
        border-bottom: 1px solid #eee9e7;
    }

    .row.no-gutters table td {
        display: block;
        width: 100% !important;
        padding: 0 !important;
    }

    .row.no-gutters table .addToBasket {
        width: 100%;
        max-width: 16rem;
    }
}
