/* Shared Magentopood shell. Loaded after styles.css so the homepage does not need a Tailwind rebuild. */
@font-face {
    font-family: Inter;
    src: url("../fonts/InterVariable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

:root {
    --mp-font: Inter, "Segoe UI", Arial, sans-serif;
    --mp-navy: #10182c;
    --mp-ink: #121a2e;
    --mp-soft: #59677f;
    --mp-accent: #6556ed;
    --mp-line: #e3e6ee;
    --mp-paper: #fff;
    --mp-wash: #f6f7fa;
    --mp-gutter: 48px;
    --mp-content: 1440px;
    --font-sans: var(--mp-font);
    --default-font-family: var(--mp-font);
    --color-primary: var(--mp-accent);
    --color-primary-lighter: #7d70f1;
    --color-primary-darker: #5143d6;
    --color-on-primary: #fff;
    --color-bg: var(--mp-wash);
    --color-fg: var(--mp-ink);
    --color-fg-secondary: var(--mp-soft);
    --color-surface: var(--mp-paper);
    --color-ink: var(--mp-ink);
    --form-active-color: var(--mp-accent);
}

html,
body,
button,
input,
select,
textarea {
    font-family: var(--mp-font);
}

body {
    background: var(--mp-wash);
    color: var(--mp-ink);
}

.page-header,
.page-footer,
.mp-home {
    font-family: var(--mp-font);
    color: var(--mp-ink);
}

.page-header,
.page-footer {
    margin: 0;
    padding: 0;
    background: var(--mp-paper);
    border: 0;
    box-shadow: none;
}

#header {
    position: relative;
    z-index: 30;
    background: #fff;
    border-bottom: 1px solid #edf0f5;
}

.mp-header,
.mp-footer {
    align-items: center;
    gap: 12px 20px;
    max-width: var(--mp-content);
    margin: 0 auto;
    padding: 16px var(--mp-gutter) 8px;
}

.mp-header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto auto;
    grid-template-areas: "logo nav tools cta lang";
}

.mp-footer {
    display: flex;
    flex-wrap: wrap;
    padding-top: 18px;
    padding-bottom: 18px;
}

.mp-logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--mp-ink);
    font-size: 22px;
    font-weight: 750;
    letter-spacing: -0.8px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.mp-logo img {
    display: block;
    width: 33px;
    height: 33px;
}

.mp-logo {
    grid-area: logo;
}

.mp-nav {
    display: flex;
    grid-area: nav;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 16px;
    min-width: 0;
    color: #465068;
    font-size: 14px;
    font-weight: 550;
}

.mp-store-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 23px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mp-store-item {
    position: relative;
    display: flex;
    align-items: center;
}

.mp-store-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.mp-store-sub {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 8px;
    list-style: none;
}

.mp-store-sub a {
    padding: 0 8px;
}

.mp-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    text-decoration: none;
}

.mp-nav a:hover,
.mp-footer a:hover,
.mp-lang a:hover {
    color: var(--mp-accent);
}

.mp-tools {
    display: flex;
    grid-area: tools;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    min-width: 0;
    margin-left: 0;
}

.mp-tools .btn,
.mp-icon-btn {
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border-color: transparent;
    background: transparent;
    color: #465068;
}

.mp-icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mp-cart-count {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 18px;
    padding: 2px 4px;
    border-radius: 999px;
    background: var(--mp-accent);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

.mp-lang a,
.mp-footer a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: inherit;
    font-size: 14px;
    font-weight: 550;
    text-decoration: none;
}

.mp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 18px;
    border: 0;
    border-radius: 7px;
    background: var(--mp-accent);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}

.mp-button:hover {
    filter: brightness(1.07);
}

.mp-header-cta {
    grid-area: cta;
}

.mp-header .mp-lang {
    display: flex;
    grid-area: lang;
    align-items: center;
    justify-content: flex-end;
}

.mp-header .mp-lang a {
    justify-content: center;
    gap: 6px;
    width: auto;
    min-width: 44px;
    padding: 0 8px;
}

.mp-header .mp-lang-code {
    color: var(--mp-ink);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
}

.mp-header .mp-lang img {
    display: block;
    width: 22px;
    height: 14px;
    object-fit: contain;
    border-radius: 1px;
    box-shadow: 0 0 0 1px #121a2e29;
}

.mp-menu {
    display: none;
    grid-area: menu;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 8px;
    border: 0;
    background: transparent;
    color: var(--mp-ink);
    font-size: 22px;
    line-height: 1;
}

.mp-nav .mp-button.mp-nav-cta {
    display: none;
}

#search-content {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 40;
    border-top: 1px solid var(--mp-line);
    background: #fff;
    box-shadow: 0 12px 30px #121a2e14;
}

.mp-footer {
    justify-content: space-between;
    border-top: 1px solid var(--mp-line);
    color: var(--mp-soft);
    font-size: 13px;
}

.mp-footer .mp-logo {
    color: #283249;
    font-size: 16px;
}

.mp-footer .mp-logo img {
    width: 23px;
    height: 23px;
}

.mp-footer-links {
    display: flex;
    flex: 1 1 280px;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px 18px;
    min-width: 0;
}

.page-header :focus-visible,
.page-footer :focus-visible,
.mp-home :focus-visible {
    outline: 3px solid var(--mp-accent);
    outline-offset: 4px;
}

@media (min-width: 768px) and (max-width: 1279px) {
    .mp-header {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas:
            "logo tools cta lang"
            "nav nav nav nav";
        row-gap: 0;
    }

    .mp-nav {
        padding-top: 4px;
        border-top: 1px solid #edf0f5;
    }
}

@media (min-width: 1280px) {
    .mp-header {
        grid-template-columns: auto minmax(0, 1fr) auto auto auto;
        grid-template-areas: "logo nav tools cta lang";
        align-items: center;
    }

    .mp-nav,
    .mp-store-nav {
        flex-wrap: nowrap;
    }
}

@media (max-width: 1023px) {
    :root {
        --mp-gutter: 24px;
    }

    .mp-header,
    .mp-footer {
        padding-right: var(--mp-gutter);
        padding-left: var(--mp-gutter);
    }
}

@media (max-width: 767px) {
    :root {
        --mp-gutter: 16px;
    }
}

@media (max-width: 767px) {
    .mp-header {
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        grid-template-areas: "logo menu tools lang";
        padding: 16px;
    }

    .mp-logo {
        font-size: 20px;
    }

    .mp-menu {
        display: inline-flex;
    }

    .mp-header .mp-button.mp-header-cta {
        display: none;
    }

    .mp-nav {
        display: none;
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding-top: 8px;
        border-top: 1px solid var(--mp-line);
    }

    .mp-store-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
    }

    .mp-store-item {
        flex-wrap: wrap;
        width: 100%;
    }

    .mp-store-sub {
        flex-basis: 100%;
        padding: 0 0 8px 12px;
    }

    .mp-nav.is-open {
        display: flex;
    }

    .mp-nav.is-open .mp-button.mp-nav-cta {
        display: inline-flex;
        margin: 8px 0;
    }

    .mp-footer {
        flex-wrap: wrap;
        padding: 16px;
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .mp-store-sub {
        position: absolute;
        top: calc(100% - 6px);
        left: 0;
        z-index: 50;
        min-width: 240px;
        background: #fff;
        border: 1px solid var(--mp-line);
        border-radius: 8px;
        box-shadow: 0 12px 30px #121a2e14;
    }
}

@media (max-width: 389px) {
    .mp-header {
        gap: 8px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .mp-header .mp-logo {
        position: relative;
    }

    .mp-header .mp-logo-word {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .mp-logo {
        gap: 0;
        font-size: 18px;
    }

    .mp-logo img {
        width: 29px;
        height: 29px;
    }
}

.mp-honeypot[hidden] {
    display: none !important;
}
