header {
    width: 100%;
    height: 45px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--color-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}

header img {
    height: 40px;
    cursor: pointer;
}

header a {
    display: flex;
    align-items: center;
}

header span {
    font-size: var(--font-size-nav);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    color: var(--color-text-subtle);
    font-weight: 500;
    transition: color 0.2s ease;
}

.header-btn:hover {
    color: var(--color-accent);
}

.header-btn span.material-symbols-outlined {
    font-size: var(--font-size-nav-icon) !important;
}

.header-btn-text {
    font-size: var(--font-size-nav-text);
    font-weight: 500;
}

.header-divider {
    width: 1px;
    height: 14px;
    background-color: var(--color-border);
}

.header-cart {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-text-main);
    transition: color 0.2s ease;
}

.header-cart:hover {
    color: var(--color-accent);
}

.header-cart span.material-symbols-outlined {
    font-size: var(--font-size-nav-icon) !important;
}

.cart-badge {
    font-size: var(--small-font-size);
    font-weight: 700;
    margin-left: 4px;
}

footer {
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--color-primary);
    color: var(--color-background);
    margin-top: auto;
}

footer .footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 20px 70px;
}

.footer-content>div {
    max-width: calc(100%/2.2);
}

.footer-legal {
    display: flex;
    flex-direction: column;
}

footer img {
    height: 80px;
    filter: invert(100%);
}

footer h2,
footer p,
footer a {
    font-size: var(--normal-font-size);
    font-weight: 400;
    color: var(--color-background);
}

.footer-info h2 {
    text-align: justify;
}

footer a {
    text-decoration: none;
    transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    footer a:hover {
        color: var(--color-accent);
    }
}

.footer-info a {
    text-decoration: underline;
    text-underline-offset: 4px;
}

footer>p {
    text-align: center;
    padding: 5px;
    border-top: 1px solid var(--color-surface);
}

@media (max-width: 768px) {
    header {
        padding: 15px 24px;
    }

    .header-btn-text {
        display: none;
    }

    .header-actions {
        gap: 12px;
    }

    footer .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 30px 24px;
    }

    .footer-content>div {
        max-width: 100%;
    }
}