/* Storefront navbar and product search */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    min-height: 64px;
    padding: 0 24px;
    background: rgba(219, 234, 254, 0.94);
    border-bottom: 1px solid rgba(147, 197, 253, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.logo-web {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 10px;
}

.logo-web .logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.logo-web .text {
    color: #1e3a8a;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.logo-web strong {
    font-weight: 700;
}

.pencarian-produk {
    position: relative;
    flex: 0 1 360px;
    width: min(360px, 42vw);
    margin-left: auto;
}

.pencarian-produk input {
    width: 100%;
    height: 40px;
    padding: 0 14px 0 42px;
    border: 1px solid rgba(147, 197, 253, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--teks);
    font-family: inherit;
    font-size: 14px;
    box-shadow: var(--bayangan);
}

.pencarian-produk input::placeholder {
    color: #94a3b8;
}

.ikon-pencarian {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 1;
    width: 18px;
    height: 18px;
    transform: translateY(-50%);
    fill: var(--abu);
    pointer-events: none;
}

@media (max-width: 768px) {
    .navbar {
        min-height: 58px;
        padding: 0 16px;
    }

    .logo-web .logo {
        width: 32px;
        height: 32px;
    }

    .logo-web .text {
        font-size: 16px;
    }

    .pencarian-produk {
        flex-basis: min(300px, 48vw);
        width: min(300px, 48vw);
    }
}

@media (max-width: 600px) {
    .navbar {
        flex-wrap: nowrap;
        gap: 10px;
        padding: 8px 12px;
    }

    .logo-web {
        gap: 7px;
    }

    .logo-web .text {
        max-width: 38vw;
        overflow: hidden;
        font-size: 15px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .pencarian-produk {
        flex: 0 1 240px;
        width: min(240px, 52vw);
    }

    .pencarian-produk input {
        height: 38px;
        padding-left: 38px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .navbar {
        gap: 6px;
        padding: 8px;
    }

    .logo-web .text {
        max-width: 34vw;
        font-size: 14px;
    }

    .pencarian-produk {
        flex-basis: 145px;
        width: 48vw;
    }
}
