/* =========================================================
   HEADER / TOPO
========================================================= */

.top-bar {
    background: var(--primary-dark);
    color: var(--white);
    font-size: 13px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 0;
}

.main-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.header-content {
    min-height: 82px;
    display: grid;
    grid-template-columns: 220px 1fr 130px;
    align-items: center;
    gap: 24px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-size: 31px;
    font-weight: 800;
    color: var(--primary);
}

.logo-sub {
    font-size: 16px;
    color: var(--muted);
    letter-spacing: 1px;
}

.search-form {
    display: flex;
    background: #f9fafb;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
}

.search-form input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 14px 18px;
    outline: none;
    font-size: 15px;
    min-width: 0;
}

.search-form button {
    border: 0;
    background: var(--primary);
    color: var(--white);
    padding: 0 22px;
    cursor: pointer;
    font-weight: 700;
}

.search-form button:hover {
    background: var(--primary-dark);
}

.cart-link {
    background: var(--secondary);
    color: #3b2508;
    padding: 13px 16px;
    border-radius: 999px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
}

.cart-link span {
    display: inline-flex;
    min-width: 24px;
    height: 24px;
    background: var(--white);
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
}

.category-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.category-nav-content {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 14px 0;
    scrollbar-width: none;
}

.category-nav-content::-webkit-scrollbar {
    display: none;
}

.category-nav-content a {
    white-space: nowrap;
    font-weight: 700;
    color: var(--primary-dark);
}

.category-nav-content a:hover {
    color: var(--primary);
}
