/* Navbar — shared horizontal padding (100px sides) */
.navbar-px-100 {
    padding-left: 100px;
    padding-right: 100px;
}

/* Info bar */
.navbar-info-bar {
    background: #000;
    padding-top: 8px;
    padding-bottom: 8px;
}

/* Main bar */
.navbar-main-bar {
    background: #fff;
    padding-top: 24px;
    padding-bottom: 24px;
}

/* Search form */
.navbar-search-form {
    flex: 1;
    max-width: 813px;
    height: 44px;
    border: 1px solid #a9a9a9;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-search-input {
    flex: 1;
    outline: none;
    font-family: Montserrat, sans-serif;
    font-size: 15px;
    color: #a2a2a2;
    background: transparent;
    border: 0;
    padding: 0;
}

.navbar-search-input::placeholder {
    color: #a2a2a2;
}

/* Category tiles */
.navbar-cat-item {
    flex: 1 0 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    text-decoration: none;
}

.navbar-cat-item:hover {
    text-decoration: none;
}

.navbar-cat-img {
    width: 100%;
    height: 170px;
    overflow: hidden;
    flex-shrink: 0;
}

.navbar-cat-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.navbar-cat-placeholder {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
}

.navbar-cat-label {
    color: #292929;
    text-align: center;
    margin: 0;
    width: 100%;
}

/* Promo bar */
.navbar-promo-bar {
    background: #ff0000;
    padding-top: 4px;
    padding-bottom: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Mobile */
.navbar-mobile-bar {
    background: #000;
    padding: 12px 20px;
}

.navbar-mobile-menu {
    background: #111;
    padding: 12px 20px;
}

.navbar-mobile-menu-item {
    border-bottom: 1px solid #333;
}

/* Cart dropdown */
.navbar-cart-wrapper {
    position: relative;
}

.navbar-cart-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 480px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    padding: 24px;
}

.navbar-cart-wrapper:hover .navbar-cart-dropdown,
.navbar-cart-wrapper.is-pinned .navbar-cart-dropdown {
    display: block;
}

/* Invisible bridge over the gap so hover doesn't break when moving mouse to dropdown */
.navbar-cart-dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.navbar-cart-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    border-bottom: 1px solid #9d9d9d;
}

.navbar-cart-item-img {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    object-fit: cover;
}

.navbar-cart-item-name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.navbar-cart-item-remove {
    width: 37px;
    height: 38px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.navbar-cart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    gap: 16px;
}

.navbar-cart-total {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #000;
    flex: 1;
    min-width: 0;
}

.navbar-cart-btn {
    background: var(--primary);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 20px;
    padding: 8px 24px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.navbar-cart-btn:hover {
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}
