:root {
    --abba-gold: #b79a2f;
    --abba-gold-dark: #8c7420;
}

/* Mantém a mensagem central e oculta moeda e idioma. */
#app > .max-lg\:hidden > div {
    justify-content: center;
    border: 0 !important;
    background: var(--abba-gold-dark);
    color: #fff;
}

#app > .max-lg\:hidden > div > :first-child,
#app > .max-lg\:hidden > div > :last-child {
    display: none !important;
}

/* Cabeçalho comercial Abba usado em todas as páginas. */
header {
    box-shadow: 0 2px 10px rgba(25, 28, 24, .1) !important;
}

header > .flex.max-lg\:hidden > .flex.min-h-\[78px\] {
    display: grid !important;
    grid-template-columns: minmax(150px, 220px) minmax(420px, 760px) minmax(150px, 220px);
    grid-template-rows: 80px 46px;
    justify-content: center !important;
    column-gap: 34px;
    min-height: 126px !important;
    padding-inline: max(28px, calc((100vw - 1440px) / 2)) !important;
    border: 0 !important;
    background: linear-gradient(90deg, #a88920, var(--abba-gold), #a88920);
}

header > .flex.max-lg\:hidden > .flex.min-h-\[78px\] > div {
    display: contents !important;
}

header > .flex.max-lg\:hidden > .flex.min-h-\[78px\] > div:first-child > a {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    width: fit-content;
}

header > .flex.max-lg\:hidden > .flex.min-h-\[78px\] > div:first-child > :last-child {
    grid-column: 1 / -1;
    grid-row: 2;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline: calc(-1 * max(28px, calc((100vw - 1440px) / 2)));
    padding-inline: max(28px, calc((100vw - 1440px) / 2));
    border-top: 1px solid rgba(0, 0, 0, .05);
    background: #fff;
}

header > .flex.max-lg\:hidden > .flex.min-h-\[78px\] > div:last-child > .relative {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 100%;
}

header > .flex.max-lg\:hidden > .flex.min-h-\[78px\] > div:last-child > .relative form {
    max-width: none !important;
}

header > .flex.max-lg\:hidden > .flex.min-h-\[78px\] > div:last-child > .relative input {
    min-height: 50px;
    border-radius: 999px !important;
    background: #fff !important;
    font-size: 14px !important;
    box-shadow: 0 4px 14px rgba(65, 50, 4, .12);
}

header > .flex.max-lg\:hidden > .flex.min-h-\[78px\] > div:last-child > .mt-1\.5 {
    grid-column: 3;
    grid-row: 1;
    align-self: center;
    justify-self: end;
    color: #fff;
}

@media (max-width: 1023px) {
    header {
        background: var(--abba-gold) !important;
    }

    header > div > .flex.flex-wrap.gap-4 {
        padding-top: 14px;
        background: var(--abba-gold);
        color: #fff;
    }

    header form input {
        background: #fff !important;
    }
}
