:root {
    --blue: #004f75;
    --red: #e30613;
    --text: #222;
    --sidebar-width: 222px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    font-family: Lato, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.site {
    max-width: 1260px;
    margin: 0 auto;
}

.site-header {
    position: relative;
    height: 47px;
    background: var(--blue);
}

.site-logo {
    display: block;
    width: var(--sidebar-width);
    height: 47px;
    background: #fff url("/navbar-logo.png") no-repeat center;
}

.lang-switch {
    position: absolute;
    top: 0;
    right: 0;
}

.lang-switch a {
    display: block;
    padding: 15px 13px;
    color: #fff;
    font-size: 12px;
    line-height: 17px;
    text-decoration: none;
    text-transform: uppercase;
}

.site-header-burger {
    display: none;
}

.site-main {
    display: flex;
    min-height: calc(100vh - 47px);
}

.secondary {
    flex: 0 0 var(--sidebar-width);
    background: var(--blue);
}

.secondary-navigation ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.secondary-navigation li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.secondary-navigation a {
    display: block;
    padding: 6px 9px;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    text-decoration: none;
    text-transform: uppercase;
}

.secondary-navigation a:hover,
.secondary-navigation a.active {
    background: var(--red);
    color: #fff;
}

.content {
    width: calc(100% - var(--sidebar-width));
    padding: 92px 40px 60px;
}

.entry-header h1 {
    margin: 0 0 28px;
    font-size: 30px;
    font-weight: 400;
}

.entry-content h3,
.entry-content h4 {
    margin-top: 24px;
}

.entry-content p {
    margin: 0 0 22px;
}

.home > p:first-child {
    margin: 0 0 35px;
    text-align: center;
}

a {
    color: var(--red);
}

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

.isnew {
    color: var(--red);
}

.product-card {
    margin-top: 36px;
    padding-top: 1px;
    border-top: 1px solid #ddd;
}

.product-card h4 {
    margin: 22px 0 16px;
    font-size: 18px;
    text-transform: uppercase;
}

.product-card-body {
    display: grid;
    grid-template-columns: minmax(180px, 300px) minmax(260px, 1fr);
    gap: 30px;
    align-items: start;
}

.product-image img {
    display: block;
    max-height: 300px;
    margin: 0 auto;
    object-fit: contain;
}

.product-summary p,
.product-summary ul {
    margin-top: 0;
}

.document-links a,
.product-actions a {
    display: inline-block;
    margin: 6px 20px 6px 0;
}

.product-detail {
    max-width: 900px;
}

.product-detail-image {
    display: block;
    max-width: 420px;
    max-height: 360px;
    object-fit: contain;
}

.product-detail-image-link {
    display: inline-block;
}

.product-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 28px 0;
}

.product-gallery img {
    display: block;
    width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.product-documents {
    margin-top: 32px;
    padding-top: 18px;
    border-top: 1px solid #ddd;
}

.product-documents h2 {
    font-size: 21px;
}

.order-button,
.order-form button {
    display: inline-block;
    border: 0;
    background: var(--red);
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
    font: inherit;
    text-decoration: none;
}

.order-form {
    display: grid;
    max-width: 650px;
    gap: 7px;
    margin-top: 30px;
}

.form-honeypot {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-status {
    max-width: 650px;
}

.form-status.success,
.form-status.error {
    margin: 0 0 20px;
    padding: 12px 15px;
    border: 1px solid;
}

.form-status.success {
    border-color: #277c3a;
    background: #edf8ef;
    color: #175526;
}

.form-status.error {
    border-color: #b0000b;
    background: #fff0f1;
    color: #8a0009;
}

.product-contact-note {
    margin-top: 28px;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    margin-bottom: 13px;
    border: 1px solid #aaa;
    padding: 9px;
    font: inherit;
}

.order-form .checkbox-row {
    display: flex;
    gap: 9px;
    align-items: center;
}

.order-form .checkbox-row input {
    width: auto;
    margin: 0;
}

.field-help {
    margin: -3px 0 15px;
    color: #555;
    font-size: 14px;
}

@media (max-width: 900px) {
    .site-header {
        height: 47px;
    }

    .site-header-burger {
        display: block;
        height: 42px;
        background: var(--blue);
    }

    .burger {
        height: 42px;
        border: 0;
        padding: 0 12px 0 43px;
        background: transparent url("/hamburger_icon_klein_white.png") no-repeat 10px center;
        color: #fff;
        font: inherit;
        font-weight: 700;
        cursor: pointer;
    }

    .secondary {
        position: fixed;
        z-index: 20;
        top: 0;
        bottom: 0;
        left: calc(-1 * var(--sidebar-width));
        width: var(--sidebar-width);
        overflow-y: auto;
        transition: left 0.25s ease;
    }

    .secondary.active {
        left: 0;
    }

    .content {
        width: 100%;
        padding: 30px 20px 50px;
    }

    .product-card-body {
        grid-template-columns: 1fr;
    }
}
