body { margin: 0; }

html.tc-inline-translation body { top: 0 !important; }

html.tc-inline-translation iframe.goog-te-banner-frame,
html.tc-inline-translation iframe.VIpgJd-ZVi9od-ORHb-OEVmcd,
html.tc-inline-translation #goog-gt-tt {
    display: none !important;
}

.site-header,
.site-footer {
    --green: #177a49;
    --line: #ebedeb;
    color: #192723;
    background: #fdfdfd;
    font-family: "Segoe UI", Arial, sans-serif;
    line-height: normal;
    letter-spacing: normal;
}

.site-header *,
.site-footer,
.site-footer * { box-sizing: border-box; }

.site-header a {
    color: inherit;
    text-decoration: none;
}

.site-header a:focus-visible,
.site-products-toggle:focus-visible {
    outline: 2px solid var(--green);
    outline-offset: 4px;
}

.site-header {
    position: relative;
    z-index: 10;
    border-bottom: 1px solid var(--line);
}

.header-inner {
    width: min(94.5%, 1644px);
    min-height: 83px;
    margin-inline: auto;
    padding-right: min(1.25vw, 22px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-navigation {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    min-width: 0;
    padding-block: 8px;
}

.site-languages {
    position: relative;
    direction: ltr;
}

.site-languages button {
    min-height: 36px;
    padding: 7px 13px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #305640;
    font: 600 13px/1.4 "Segoe UI", Arial, sans-serif;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.site-languages button:hover { background: #deece2; }
.site-languages button[aria-pressed="true"] { background: #e9f3ec; color: #12623c; }
.site-languages button:focus-visible { outline: 2px solid #177a49; outline-offset: 2px; }
.site-languages .site-language-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid #dce9e0;
    background: #f1f7f3;
}
.site-language-trigger [data-current-language] {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.site-language-globe { flex: none; }
.site-language-chevron {
    width: 6px;
    height: 6px;
    margin: -3px 2px 0 1px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .2s ease;
}
.site-language-trigger[aria-expanded="true"] .site-language-chevron { transform: translateY(3px) rotate(225deg); }
.site-languages[aria-busy="true"] .site-language-globe { opacity: .45; }
.site-language-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 30;
    width: min(350px, calc(100vw - 32px));
    max-height: min(520px, 70vh);
    overflow-y: auto;
    padding: 14px;
    border: 1px solid #e0eae3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 14px 44px rgb(24 58 39 / 14%);
    animation: site-language-reveal .18s ease-out;
}
.site-language-panel[hidden] { display: none; }
.site-language-heading {
    margin: 0 0 10px;
    padding-inline: 6px;
    color: #65796e;
    font-size: 12px;
    font-weight: 600;
}
.site-language-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 6px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.site-language-original { grid-column: 1 / -1; }
.site-languages .site-language-list button {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    min-height: 54px;
    padding: 8px 25px 8px 11px;
    border-radius: 9px;
    text-align: left;
}
.site-language-list [data-language-name] { font-size: 14px; line-height: 1.5; }
.site-language-list small { color: #738079; font-size: 11px; font-weight: 400; }
.site-language-list button[aria-pressed="true"]::after {
    position: absolute;
    right: 11px;
    top: 16px;
    width: 5px;
    height: 10px;
    border-right: 1.5px solid #177a49;
    border-bottom: 1.5px solid #177a49;
    content: "";
    transform: rotate(45deg);
}
@keyframes site-language-reveal {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.site-language-feedback {
    width: min(94.5%, 1644px);
    margin: 0 auto;
    padding-bottom: 8px;
    color: #52685e;
    font-size: 13px;
    text-align: right;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(18px, 1.55vw, 25px);
    font-weight: 750;
    letter-spacing: .2px;
    line-height: 1.15;
}

.brand-mark {
    /* The brand mark occupies pixels (44, 5) to (115, 74) in the supplied mockup. */
    width: clamp(48px, 4.4375vw, 71px);
    aspect-ratio: 71 / 69;
    flex: none;
    background: url("home-reference.jpg") 2.878% .458% / 2253.521% 1681.159% no-repeat;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: clamp(16px, 2.375vw, 38px);
    row-gap: 8px;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.35;
}

.site-nav a { padding-block: 10px; }

.site-nav a:hover,
.site-nav a[aria-current] { color: var(--green); }

.site-nav-products {
    display: flex;
    align-items: center;
    gap: 3px;
}

.site-nav-products > a { position: relative; }

.site-nav-products > a::after {
    position: absolute;
    inset: auto 0 3px;
    height: 2px;
    background: var(--green);
    content: "";
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.site-nav-products[data-open] > a { color: var(--green); }
.site-nav-products[data-open] > a::after { transform: scaleX(1); }

.site-products-toggle {
    width: 30px;
    height: 32px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 6px;
    color: var(--green);
    background: transparent;
    cursor: pointer;
    transition: background-color .18s ease;
}

.site-products-toggle:not([hidden]) { display: grid; }
.site-products-toggle:hover,
.site-products-toggle[aria-expanded="true"] { background: #eaf4ed; }

.site-products-toggle::before {
    width: 7px;
    height: 7px;
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    content: "";
    transform: translateY(-2px) rotate(45deg);
    transition: transform .22s ease;
}

.site-products-toggle[aria-expanded="true"]::before { transform: translateY(2px) rotate(225deg); }

.site-products-menu {
    position: absolute;
    inset: calc(100% - 10px) 0 auto;
    width: min(94.5%, 1200px);
    margin-inline: auto;
    padding-top: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-7px);
    transition: opacity .2s ease, transform .24s ease, visibility 0s .24s;
}

.site-nav-products[data-open] .site-products-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
}

.site-products-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(8px, 1.2vw, 16px);
    max-height: 64vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    margin: 0;
    padding: clamp(10px, 1.3vw, 18px);
    border: 1px solid #dbe8df;
    border-radius: 12px;
    background: #fbfdfb;
    box-shadow: 0 16px 35px rgb(25 69 43 / 15%);
    list-style: none;
}

.site-nav .site-products-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 6px;
    border: 1px solid #e0eae3;
    border-radius: 8px;
    background: #fff;
    transition: border-color .2s ease, background-color .2s ease;
}

.site-nav .site-products-card:hover,
.site-nav .site-products-card[aria-current] {
    border-color: #98bca7;
    background: #f1f7f2;
}

.site-nav .site-products-card:focus-visible { outline-offset: -2px; }

.site-products-photo {
    display: block;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 5px;
    background: #fff;
}

.site-products-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .28s ease;
}

.site-products-card:hover img { transform: scale(1.025); }

.site-products-label {
    display: block;
    padding: 9px 5px 6px;
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.site-footer {
    padding: 25px 16px 32px;
    border-top: 1px solid var(--line);
    color: #788782;
    font-size: 14px;
    text-align: center;
}

.site-footer p { margin: 0; }

.products-page,
.product-detail { width: min(92%, 1600px); }

.catalog-category-banner {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 5;
    object-fit: cover;
    object-position: center;
    margin-bottom: clamp(18px, 2.2vw, 32px);
    border-radius: 10px;
}

.catalog-category-banner.is-corner {
    background: linear-gradient(90deg, #f3f0e9 20%, #cdbb9e 80%);
}

@media (max-width: 800px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
        padding: 8px 0 4px;
    }

    .site-nav {
        justify-content: center;
        width: 100%;
        font-size: 14px;
    }

    .header-navigation { width: 100%; padding-block: 5px 0; }
    .site-languages { margin-bottom: 3px; }

    .site-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .site-products-photo { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
    .site-nav { column-gap: clamp(8px, 2.4vw, 16px); }
    .site-nav-products { gap: 1px; }
    .site-products-toggle { width: 28px; }
}

@media (max-width: 540px) {
    .site-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 72vh;
    }

    .site-products-photo { aspect-ratio: 3 / 2; }
}

@media (max-width: 1200px) {
    .legacy-page-content { overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
    .site-nav-products > a::after,
    .site-products-menu,
    .site-products-toggle,
    .site-products-toggle::before,
    .site-nav .site-products-card,
    .site-products-photo img,
    .site-languages button,
    .site-language-chevron { transition: none; }
    .site-language-panel { animation: none; }
}
